[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type fun
From: |
Stefan Monnier |
Subject: |
Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions |
Date: |
Sun, 04 Apr 2010 14:53:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>>> 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
- turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Dan Nicolaescu, 2010/04/02
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Stefan Monnier, 2010/04/02
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Richard Stallman, 2010/04/03
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Davis Herring, 2010/04/03
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Chad Brown, 2010/04/03
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Stefan Monnier, 2010/04/04
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Chad Brown, 2010/04/04
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions,
Stefan Monnier <=
- Obsoleting end-user-functions [was: turn-on-* type functions], Stephen J. Turnbull, 2010/04/04
- Re: Obsoleting end-user-functions [was: turn-on-* type functions], Daniel Colascione, 2010/04/04
- RE: Obsoleting end-user-functions [was: turn-on-* type functions], Drew Adams, 2010/04/05
- RE: Obsoleting end-user-functions [was: turn-on-* type functions], Stephen J. Turnbull, 2010/04/06
- Re: Obsoleting end-user-functions, Stefan Monnier, 2010/04/05
- Re: Obsoleting end-user-functions, Davis Herring, 2010/04/05
- Re: Obsoleting end-user-functions, Chad Brown, 2010/04/05
- Re: Obsoleting end-user-functions, Stephen J. Turnbull, 2010/04/06
- Re: Obsoleting end-user-functions, Richard Stallman, 2010/04/06
- Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Richard Stallman, 2010/04/04