help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Hook questions


From: Hadron Quark
Subject: Re: Hook questions
Date: Tue, 29 Aug 2006 17:12:08 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

bojohan+news@dd.chalmers.se (Johan Bockgård) writes:

> Hadron Quark <hadronquark@gmail.com> writes:
>
>> 1) Whats the difference between, say c-mode-hook and
>> c-mode-common-hook?
> [...]
>> The info mode (while reading info files) reveals no such hook.
>
> Try the "CC Mode" manual (info "(ccmode)CC Hooks"):

Thanks. I feel like such a prick sometimes when I miss this stuff. But
there is so much info in so many different places I sometimes give up
and reach out for help. Thanks a lot.

Anyway, I mean, "c-mode-common-hook" : who would have guessed its for
ALL languages. It begins with "c" :(


>
>     -- Variable: c-mode-common-hook
>         Common hook across all languages.  It's run immediately before
>         the language specific hook.
>
>     -- Variable: c-mode-hook
>     -- Variable: c++-mode-hook
>     -- Variable: objc-mode-hook
>     -- Variable: java-mode-hook
>     -- Variable: idl-mode-hook
>     -- Variable: pike-mode-hook
>     -- Variable: awk-mode-hook
>         The language specific mode hooks.  The appropriate one is run
>         as the last thing when you enter that language mode.
>
> -- 
> Johan Bockgård

-- 


reply via email to

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