emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[1]: turn-on-...


From: Eric M. Ludlam
Subject: Re[1]: turn-on-...
Date: Fri, 27 Oct 2000 09:40:40 -0400

>>> Miles Bader <address@hidden> seems to think that:
>Some minor modes, such as auto-fill-mode, have `turn-on-...'  functions
>which unconditionally turn on the mode when called with no argument
>(instead of toggling it like the primary mode function does).  These are
>handy for putting into hook lists.
>
>It seems trivial to have `define-minor-mode' generate these
>`turn-on-...' (and presumably `turn-off-...' too, for completeness)
>functions automatically, and it would be somewhat handy for the above
>reason.
>
>What do people think?
  [ ... ]

Some minor modes also include `global-something-mode' which knows how
to turn itself on in appropriate situations.  That might also be
useful, if somewhat more difficult to auto-generate.

Eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]