GNU bug report logs -
#16402
24.3.50; Document nadvice.el stuff in Elisp manual before Emacs 24.4
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Thu, 9 Jan 2014 06:08:01 UTC
Severity: normal
Found in version 24.3.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #37 received at 16402 <at> debbugs.gnu.org (full text, mbox):
On 01/10/2014 07:15 AM, Drew Adams wrote:
>>> A rationale to explain why the existing advice package needs
>>> changing would also be helpful.
>>
>> Here are some of the reasons:
>
> Excellent. Very glad to see design rationale documented like this.
> Seriously. (Please keep it up.)
Agreed. nadvice sounds like a good implementation change. The advice
*interface*, however, isn't going away, so I'm hesitant to recommend the
nadvice interface as well. Users will be confused about which to use.
(Yes, we can tell users that advice is deprecated, but then a very large
amount of working elisp code users see is "deprecated". What message
does that send?)
There's one part where I'm not sure I agree though.
>> - advice.el is much too large to be preloaded,
>> so for example debug.el refrained from using it.
So what if it's large? Isn't it *because* a commonly-used package is
large that we want to preload it? This way, we pay up-front for the cost
of loading that package instead of making users load it on each start.
This bug report was last modified 11 years and 190 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.