From: chem <chemtov@ifrance.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Differencing a major mode from its derived modes
Date: Tue, 08 Jun 2004 11:36:38 +0200 [thread overview]
Message-ID: <86vfhy5xg4.fsf@ifrance.com> (raw)
In-Reply-To: <8665a2blop.fsf@rumba.de.uu.net> (Kai Grossjohann's message of "Tue, 08 Jun 2004 08:36:38 +0200")
> message-mode runs message-mode-hook and then text-mode-hook.
> text-mode runs text-mode-hook only.
>
> So you could toggle allout mode from both hooks. This would turn it
> on, then off again, in message-mode, which is what you want.
Thanks,
I did it already, but there are a lot of modes deriving from text mode,
and I don't want to modify them all. That's why I wanted a general
way to specify that a particular hook should only apply to the parent
mode, and not to its children.
PS: I try hard to make gnus and message use the MFT header (I post
from the mailing list), I hope I achieve it. If not, I'm sorry, and
will try harder. A typo in my emacs.el hinders me from replying
sooner.
--
Chemtov
next prev parent reply other threads:[~2004-06-08 9:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-07 22:46 Differencing a major mode from its derived modes chem
2004-06-08 6:36 ` Kai Grossjohann
2004-06-08 9:36 ` chem [this message]
2004-06-11 13:00 ` Kai Grossjohann
2004-06-11 17:34 ` chem
2004-06-12 13:36 ` Kai Grossjohann
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86vfhy5xg4.fsf@ifrance.com \
--to=chemtov@ifrance.com \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.