1

I am using Emacs with auto-complete package. I know that Emacs can auto-detect the language. I would like it to automatically add keywords of the detected language to the completion list, in order to allow me to complete such keywords, even if I just open an empty file.

For example, if launch Emacs with a brand new file main.c:

$ emacs main.c 

I would like to be able to auto-complete to #include if I write #inc .

2
  • yasnippets for little code snippets and more. Commented Nov 26, 2018 at 20:23
  • and icicles! Commented Nov 26, 2018 at 20:24

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.