unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chad Brown <yandros@MIT.EDU>
Cc: emacs-devel@gnu.org
Subject: Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions
Date: Sun, 04 Apr 2010 14:53:11 -0400	[thread overview]
Message-ID: <jwvfx3bjbl2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <7BC79A0C-3709-4FD4-A678-0F235B789213@mit.edu> (Chad Brown's message of "Sun, 4 Apr 2010 09:19:39 -0700")

>>> I think either method suggested by Richard would be workable, but I
>>> will point out that I have, in the past, wanted the additional forms
>>> to turn *off* a minor mode in a hook.
>> Of course (lambda () (foo-mode -1)) will still work just fine.
> Absolutely.  I'm just suggesting that if we get rid of turn-off-foo-mode,
> then we place emphasis on putting something like the above in the
> documentation and making it findable, especially in the context of
> hooks.   I was going to suggest just placing a note or ref in whatever
> spots we current mention turn-off-foo-mode, but grep'ing for turn-off
> in the current Info tree turns up only turn-off-backup in gnus.

Yes, we should advertise it more.  Although I do not intend to get rid
of turn-on/off-foo-modes, I do want to discourage their use (I'd like
to obsolete them, but currently we don't have any good way to obsolete
end-user-functions, since the obsolescence-info is only used by the
byte-compiler which the end-user is likely to never run on his .emacs).


        Stefan




  reply	other threads:[~2010-04-04 18:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-03  1:23 turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions Dan Nicolaescu
2010-04-03  2:00 ` Stefan Monnier
2010-04-03 18:00 ` Richard Stallman
2010-04-03 18:17   ` Davis Herring
2010-04-03 19:43     ` Chad Brown
2010-04-04 14:26       ` Stefan Monnier
2010-04-04 16:19         ` Chad Brown
2010-04-04 18:53           ` Stefan Monnier [this message]
2010-04-05  2:29             ` Obsoleting end-user-functions [was: turn-on-* type functions] Stephen J. Turnbull
2010-04-05  3:11               ` Daniel Colascione
2010-04-05  7:19                 ` Drew Adams
2010-04-06  6:41                   ` Stephen J. Turnbull
2010-04-05 13:48               ` Obsoleting end-user-functions Stefan Monnier
2010-04-05 14:03                 ` Davis Herring
2010-04-05 15:52                 ` Chad Brown
2010-04-06  6:48                 ` Stephen J. Turnbull
2010-04-07  3:21                   ` Richard Stallman
2010-04-04 17:36       ` turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions Richard Stallman
2010-04-03 19:23   ` Dan Nicolaescu
2010-04-03 19:23   ` Stefan Monnier

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=jwvfx3bjbl2.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=yandros@MIT.EDU \
    /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).