[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add-hook

From: Richard Riley
Subject: Re: add-hook
Date: Sun, 05 Jun 2011 12:58:40 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

address@hidden (daniele.g) writes:

> Teemu Likonen <address@hidden> writes:
>>     (Add-hook 'c-mode-common-hook
>>               (lambda ()
>>                 (hs-minor-mode 1)
>>                 (linum-mode 1)
>>                 (local-set-key [(control return)] 
>>                                'semantic-ia-complete-symbol-menu)))
> You read my mind.

I think I mentioned it before, but auto-complete has an excellent
completion mechanism which you can share/use across all modes for
consistency and you can easily set the completion sources to use the
semantic completion candidates in addition to the more common sources
like dabbrev.

To wet your whistle, look here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]