unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Two new entries in menu-bar's Tools menu
Date: Sun, 17 Feb 2002 15:50:28 -0700 (MST)	[thread overview]
Message-ID: <200202172250.g1HMoSC12911@santafe.santafe.edu> (raw)
In-Reply-To: <rjvgcwwha1.fsf@ssv2.dina.kvl.dk> (message from Per Abrahamsen on Sun, 17 Feb 2002 11:10:14 +0100)

    (defcustom text-mode-hook nil
      "Normal hook run when entering Text mode and many related modes."
      :type 'hook
      :options '(turn-on-auto-fill flyspell-mode)
      :group 'data)

    When you customize text-mode-hook, turn-on-auto-fill and flyspell-mode
    will be listed as checkbox options.

Now I understand.

Note that the function flyspell-mode is not the right one to use here,
just as the function auto-fill-mode is not right here.  We made a
separate function turn-on-auto-fill which does not ever turn the mode
off.  We ought to make a similar function for turning on flyspell.

      The :options above give us a "for each major mode, select
    which minor modes to turn on.

Yes, but it only lists a couple of minor modes that we specifically
think that many people would want.  So it is not a very general facility,
or else you could say, it is not very much fleshed-out.

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


  reply	other threads:[~2002-02-17 22:50 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-13 19:46 Two new entries in menu-bar's Tools menu Eli Zaretskii
2002-02-13 21:32 ` Kim F. Storm
2002-02-14  7:22   ` Pavel Janík
2002-02-14  9:49     ` Per Abrahamsen
2002-02-15 10:36       ` Richard Stallman
2002-02-15 11:26         ` Per Abrahamsen
2002-02-15 22:33           ` Stefan Monnier
2002-02-16 21:56           ` Richard Stallman
2002-02-17 10:10             ` Per Abrahamsen
2002-02-17 22:50               ` Richard Stallman [this message]
2002-02-15 10:36     ` Richard Stallman
2002-02-14 10:17   ` Eli Zaretskii
2002-02-14 12:46 ` Richard Stallman
2002-02-14 15:33   ` Eli Zaretskii
2002-02-14 16:24     ` Per Abrahamsen
2002-02-14 16:27       ` Eli Zaretskii
2002-02-14 16:56         ` Per Abrahamsen
2002-02-14 17:08           ` Eli Zaretskii
2002-02-14 16:31       ` Eli Zaretskii
2002-02-15  1:31         ` Miles Bader
2002-02-15 20:27       ` Richard Stallman
2002-02-17 12:20         ` Per Abrahamsen
2002-02-17 22:50           ` Richard Stallman

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=200202172250.g1HMoSC12911@santafe.santafe.edu \
    --to=rms@gnu.org \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).