|
From: | Haroogan |
Subject: | Re: Extending 'emacs-lisp-mode' Disables 'auto-complete' for It |
Date: | Mon, 24 Jun 2013 00:31:41 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
If I open some *.el file, I automatically enter my elisp-mode as shown in my first mail. But as I said auto-completion does not work even though the hook should turn it on. However, I've just tried your suggestion, i.e. after opening some *.el file, I type:Good hint. If I do that, and create a new buffer, enter `elisp-mode' (with the parts of code referencing to variables that the OP didn't send along skipped), I see that the function `ac-emacs-lisp-mode-setup' has been called, i.e., `ac-sources' has been set. If I then turn on auto-complete-mode, it seems to work as intended.
[M-x] auto-complete-modethen auto-completion starts to work. Why is that? I mean in the configurations I already have:
(global-auto-complete-mode t)Why should I turn on auto-completion manually like that for my elisp-mode, but I don't have to do anything for the standard emacs-lisp-mode?
Thanks, Haroogan
[Prev in Thread] | Current Thread | [Next in Thread] |