1

I'm trying to write my pl/sql code in following way: id_sel then hit TAB or Enter and I've got id_select completion! It works with any ...sel word. I think it is an sql-mode feature. How to disable this?

egor7
  • 4,678
  • 7
  • 31
  • 55
  • I don't believe that's a `sql-mode` feature, and while it's common for people to have completion functionality on `TAB`, it seems a little unusual for it to be happening on `Enter`. What are those keys actually bound to? – phils May 21 '12 at 13:10
  • Just to support @phils, while in the sql-mode try C-h k and see what it bounds to. The only completion for sql-mode in mine is YASnippet that uses TabKey2 to complete. – Ikmal Ezzani May 21 '12 at 13:41
  • `(newline &optional ARG)` for `Enter` and `(self-insert-command N)` for `TAB` – egor7 May 21 '12 at 14:59

1 Answers1

1

It's all about abbrev-mode. abbrev-mode by default uses .abbrev_defs file, that utilizes sql-mode-abbrev-table variable from sql-mode.sql.

egor7
  • 4,678
  • 7
  • 31
  • 55