From: Drew Adams <drew.adams@oracle.com>
To: Daniel Colascione <dancol@dancol.org>,
Alan Mackenzie <acm@muc.de>,
Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 16491@debbugs.gnu.org
Subject: bug#16491: 24.3.50; ?REGRESSION: `defadvice' doc removed from Elisp manual
Date: Wed, 22 Jan 2014 14:42:37 -0800 (PST) [thread overview]
Message-ID: <434fa5f1-6052-4551-bf82-c7362b06b796@default> (raw)
In-Reply-To: <52E04418.9020509@dancol.org>
> >> No, we don't document everything, and since documenting is advertising
> >> we only document those things which we want people to use.
>
> Moving the documentation to a "deprecated" section --- or even a
> separate elisp manual for deprecated functionality --- woudl be a good
> compromise.
Those were already suggested and rejected.
It should not be too difficult, and would be really helpful to users, to
extract the existing advice doc as a separate manual, and to link to (and
from) it from (and to) the new advice section in the Elisp manual.
> > How about documenting the things those people want to use? I, for one,
> > need defadvice (in CC Mode), and the message coming out is that the
> > upcoming Emacs might not be an optimal development platform the way the
> > current Emacs is.
> >
> > Also, how are we encouraging people to convert defadvice to the new
> > replacement functions if they can't easily access the former's
> > documentation?
That was my main point: deprecation involves pointing the way forward, and
a direction implies a vector: FROM here TO there. In *detail*, not just
"`defadvice' is gone now; `add-function' was added to replace it."
Deprecation should always either explicitly identify a specific replacement
or explicitly state that there is no replacement - for *each* thingie
deprecated and for each of its features/functionalities.
IOW, either (1) say what, in the new replaces what in the old - e.g., use
(new) B instead of (deprecated) A or else (2) state that there is nothing
in the new that replaces X of the old (a loss of functionality, which
might or might not be important).
Why? Because during deprecation you are *still supporting* the old, and
as Alan emphasized, you are indicating how to move toward the new, which
serves as encouragement to do so. The point of deprecation is to help
users move forward.
> What if we did it the other way around and provided a downlevel- and
> XEmacs-compatible add-function implementation written in terms of old
> defadvice?
That would be fine too - it would ensure backward compatibility, but I
do not see that happening, do you?
The attitude seems to be to simply turn a blind eye toward what has long
existed (and still exists, BTW).
prev parent reply other threads:[~2014-01-22 22:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.12294.1390113984.10748.bug-gnu-emacs@gnu.org>
2014-01-19 6:45 ` bug#16491: 24.3.50; REGRESSION: `defadvice' doc removed from Elisp manual Drew Adams
2014-01-19 16:58 ` bug#16491: 24.3.50; ?REGRESSION: " Alan Mackenzie
2014-01-19 20:40 ` Stefan Monnier
2014-01-19 22:32 ` Drew Adams
2014-01-20 2:31 ` Stefan Monnier
2014-01-22 22:11 ` Alan Mackenzie
2014-01-22 22:20 ` Daniel Colascione
2014-01-22 22:42 ` Drew Adams [this message]
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=434fa5f1-6052-4551-bf82-c7362b06b796@default \
--to=drew.adams@oracle.com \
--cc=16491@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=dancol@dancol.org \
--cc=monnier@iro.umontreal.ca \
/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).