all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Per Abrahamsen <abraham@dina.kvl.dk>
Cc: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <rj8za2holt.fsf@ssv2.dina.kvl.dk> (raw)
In-Reply-To: <200202082323.g18NNgw05648@aztec.santafe.edu> (Richard Stallman's message of "Fri, 8 Feb 2002 16:23:42 -0700 (MST)")

Richard Stallman <rms@gnu.org> 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.

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-02-09 11:38 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3665k6ayy.fsf@Janik.cz>
     [not found] ` <200201302237.g0UMb1d24844@aztec.santafe.edu>
     [not found]   ` <m3sn8jbzs6.fsf@Janik.cz>
     [not found]     ` <200202040927.g149RUF02434@aztec.santafe.edu>
     [not found]       ` <m3ofj5fs5i.fsf@Janik.cz>
     [not found]         ` <rjbsf57anr.fsf@ssv2.dina.kvl.dk>
     [not found]           ` <200202051248.g15CmDb02207@aztec.santafe.edu>
     [not found]             ` <rju1svzxxx.fsf@ssv2.dina.kvl.dk>
2002-02-07 14:57               ` [PATCH] Re: Save Options vs. default-input-method Richard Stallman
2002-02-07 17:41                 ` Per Abrahamsen
2002-02-07 21:15                   ` Pavel Janík
2002-02-08  7:50                     ` Per Abrahamsen
2002-02-07 14:57               ` Richard Stallman
2002-02-07 16:50                 ` Per Abrahamsen
2002-02-08 23:23                   ` Richard Stallman
     [not found]               ` <rjpu3jzwyd.fsf_-_@ssv2.dina.kvl.dk>
2002-02-07 14:57                 ` [PATCH] text-mode-hook-identify should be part of the standard value for text-mode-hook Richard Stallman
2002-02-07 16:27                   ` Per Abrahamsen
2002-02-08 23:23                     ` Richard Stallman
2002-02-09 11:38                       ` Per Abrahamsen [this message]
2002-02-11  2:08                         ` Richard Stallman
2002-02-13 18:04                           ` ShengHuo ZHU
     [not found]               ` <rjlme7zwja.fsf@ssv2.dina.kvl.dk>
2002-02-07 14:57                 ` [PATCH] Re: Save Options vs. default-input-method Richard Stallman
2002-02-07 16:31                   ` Per Abrahamsen
     [not found]                     ` <200202100517.g1A5Hoe06105@aztec.santafe.edu>
     [not found]                       ` <rjlme17mhm.fsf@ssv2.dina.kvl.dk>
     [not found]                         ` <200202110209.g1B29mh06648@aztec.santafe.edu>
2002-02-11 17:15                           ` Per Abrahamsen
2002-02-12  9:56                             ` Per Abrahamsen
2002-02-13 15:38                               ` Richard Stallman
2002-02-12 15:23                             ` Richard Stallman
2002-02-12 16:39                               ` Per Abrahamsen
2002-02-12 15:23                             ` Richard Stallman
2002-02-12 16:24                               ` Per Abrahamsen
2002-02-14  3:11                                 ` Richard Stallman
2002-02-14  9:34                                   ` Per Abrahamsen
2002-02-15 10:36                                     ` Richard Stallman
2002-02-17 10:31                                       ` Per Abrahamsen
2002-02-17 22:50                                         ` Richard Stallman
2002-02-19 10:31                                           ` Per Abrahamsen

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=rj8za2holt.fsf@ssv2.dina.kvl.dk \
    --to=abraham@dina.kvl.dk \
    --cc=emacs-devel@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.