unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Hadron Quark <hadronquark@gmail.com>
Subject: Re: Hook questions
Date: Tue, 29 Aug 2006 17:12:08 +0200	[thread overview]
Message-ID: <87r6yzwp87.fsf@mail.com> (raw)
In-Reply-To: yoijsljfr5t0.fsf@gamma02.me.chalmers.se

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	other threads:[~2006-08-29 15:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29  0:03 Hook questions Hadron Quark
2006-08-29 14:10 ` Johan Bockgård
2006-08-29 15:12   ` Hadron Quark [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6yzwp87.fsf@mail.com \
    --to=hadronquark@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).