From: Per Abrahamsen <abraham@dina.kvl.dk>
Cc: emacs-devel@gnu.org
Subject: Re: Two new entries in menu-bar's Tools menu
Date: Sun, 17 Feb 2002 11:10:14 +0100 [thread overview]
Message-ID: <rjvgcwwha1.fsf@ssv2.dina.kvl.dk> (raw)
In-Reply-To: <200202162156.g1GLu0x09942@aztec.santafe.edu> (Richard Stallman's message of "Sat, 16 Feb 2002 14:56:00 -0700 (MST)")
Richard Stallman <rms@gnu.org> writes:
> turn-on-auto-fill is a function, not an option, so I am confused
> and not sure what you meant to say.
I was refering to this:
(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.
> So I think the Options menu should probably have an item that controls
> use of Flyspell mode in Text derivatives, just as it has one that
> controls use of Auto Full in Text derivatives.
Stefan suggestion of using define-minor-mode sound good. Will you do
it Stefan?
> Hmm.. Should toggle-text-mode-auto-fill be made a customize option?
> And maybe rename it to global-auto-fill-mode? It could be implemented
> with custom :get and :set methods.
>
> Maybe, but I wonder: is it possible to provide a more general
> customization facility for controlling minor mode enablement
> in various major modes? That might provide a very clean way
> to customize where you do or don't want Auto Fill, or Flyspell,
> or whatever.
Maybe. The :options above give us a "for each major mode, select
which minor modes to turn on. The opposite "for each minor mode,
select which major modes to turn it on" might be useful too.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2002-02-17 10:10 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 [this message]
2002-02-17 22:50 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rjvgcwwha1.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.