[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Obsoleting end-user-functions [was: turn-on-* type functions]
From: |
Stephen J. Turnbull |
Subject: |
Obsoleting end-user-functions [was: turn-on-* type functions] |
Date: |
Mon, 05 Apr 2010 11:29:54 +0900 |
Stefan Monnier writes:
> [C]urrently we don't have any good way to obsolete end-user-functions,
> since the obsolescence-info is only used by the byte-compiler
Two easy, non-invasive ideas:
(1) Have help functions such as describe-function present the o-info
(and maybe apropos could have a very abbreviated notation)
(2) Provide a help-obsolete (maybe apropos-obsolete is a better name?)
function which lists all symbols with o-info in apropos style.
> which the end-user is likely to never run on his .emacs).
A harder, invasive idea: get rid of explicit byte-compilation, by
default. If Emacs always byte-compiles out-of-date libraries at load
time, the warnings would be generated.
Rationale: I don't think I've ever seen a test-suite difference
between byte-compiled and directly interpreted code in XEmacs, and
only a few such bugs in beta testing or end use. Of course in the
nature of Lisp there may need to be a way to inhibit byte compilation,
but these days I think it's appropriate to require a flag of some kind
(command-line option, Lisp variable) to inhibit.
- 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, 2010/04/04
- Obsoleting end-user-functions [was: turn-on-* type functions],
Stephen J. Turnbull <=
- 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
Re: turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode type functions, Dan Nicolaescu, 2010/04/03