all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Chad Brown <yandros@MIT.EDU>, emacs-devel@gnu.org
Subject: Obsoleting end-user-functions [was: turn-on-* type functions]
Date: Mon, 05 Apr 2010 11:29:54 +0900	[thread overview]
Message-ID: <87r5mupr6l.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <jwvfx3bjbl2.fsf-monnier+emacs@gnu.org>

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.





  reply	other threads:[~2010-04-05  2:29 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
2010-04-05  2:29             ` Stephen J. Turnbull [this message]
2010-04-05  3:11               ` Obsoleting end-user-functions [was: turn-on-* type functions] 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5mupr6l.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --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 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.