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 #40 received at 16402 <at> debbugs.gnu.org (full text, mbox):
> 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.
The problems that advice-add fixes as compared to defadvice are either
problems in the interface, or internal problems which were not solved by
retargetting defadvice on top of advice-add. IOW they're still in
defadvice and are not likely to disappear any time soon.
The advice-add interface is simpler, which is why I advocate it.
> (Yes, we can tell users that advice is deprecated, but then a very
> large amount of working elisp code users see is "deprecated".
Yes, it'll take time for the code to move to advice-add. There's not
much we can do about it.
I don't think advice.el will really disappear, just like cl.el won't
really disappear. Maybe at some point it'll move to GNU ELPA, tho.
>>> - 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.
Could be. But the fact is that advice.el was not preloaded because it
was perceived to be too big and not used enough to justify it. And in
many cases the reason why it wasn't used is because it didn't seem worth
the trouble loading this big package just to tweak this little function.
Stefan
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.