[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] text-mode-hook-identify should be part of the standard value
From: |
Per Abrahamsen |
Subject: |
Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook |
Date: |
Sat, 09 Feb 2002 12:38:22 +0100 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i686-pc-linux-gnu) |
Richard Stallman <address@hidden> writes:
> I suspect it was done with a hook because text-mode-hook is also
> called from modes not derived from text-mode.
>
> That seems very unreliable. Which are they, and why?
I remember it as being recommended practice, before
define-derived-mode existed.
A grep run-hooks.*text-mode-hook in the Emacs CVS revealed the
following modes that call text-mode-hook:
bookmark-read-annotation-mode, bookmark-edit-annotation-mode,
gnus-article-edit-mode, message-mode (fixed in Gnus CVS), the old
outline-mode, and news-reply-mode (from rnewspost... does rnews
really still exists?).
>From unbundled packages, I know the various AUC TeX modes also call
text-mode-hook explicitly, they have never been converted to use
'define-derived-mode'. I suspect other older unbundled packages for
editining "mostly plain text" do the same.
- Re: Save Options vs. default-input-method, Pavel Janík, 2002/02/02
- Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/04
- Re: Save Options vs. default-input-method, Pavel Janík, 2002/02/04
- Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/04
- Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/05
- [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/05
- [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Per Abrahamsen, 2002/02/05
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Richard Stallman, 2002/02/07
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Per Abrahamsen, 2002/02/07
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Richard Stallman, 2002/02/08
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook,
Per Abrahamsen <=
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, Richard Stallman, 2002/02/10
- Re: [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook, ShengHuo ZHU, 2002/02/13
- Re: [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/05
- Re: [PATCH] Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/07
- Re: [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/07
- Message not available
- Message not available
- Message not available
- Re: [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/11
- Re: [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/12
- Re: [PATCH] Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/13
- Re: [PATCH] Re: Save Options vs. default-input-method, Richard Stallman, 2002/02/12
- Re: [PATCH] Re: Save Options vs. default-input-method, Per Abrahamsen, 2002/02/12