all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* please consider keeping defadvice around
@ 2023-09-09 15:05 Madhu
  2023-09-10  8:46 ` Adam Porter
  0 siblings, 1 reply; 8+ messages in thread
From: Madhu @ 2023-09-09 15:05 UTC (permalink / raw)
  To: emacs-devel

* commit 27ed565ec6163c499191b62a4cee10d99019aa38
| Author:     Stefan Monnier <monnier@iro.umontreal.ca>
| AuthorDate: Thu Aug 3 23:41:11 2023 -0400
| Commit:     Stefan Monnier <monnier@iro.umontreal.ca>
| CommitDate: Thu Aug 3 23:41:11 2023 -0400
|
|    * lisp/emacs-lisp/advice.el (defadvice): Mark as obsolete

defadvice is a carefully designed and well documented piece of
software.  It provides a very useful abstraction on how to define
advice and provides easy hooks to disable specific advice, unadvise
and redefine advices.  At the least this is essential porcelein which
has to be reimplemente on top of the add-function add-advice plumbing.

I can see no good reason to deprecate and remove defadvice which is
valuble for both its design and beautiful documentation.  Removal
would only force the user to use the new sparesly-documented
interfaces to produce write-only opaque unnamed-closure-based
undebuggable code.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-09-11 12:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-09 15:05 please consider keeping defadvice around Madhu
2023-09-10  8:46 ` Adam Porter
2023-09-11  1:50   ` Madhu
2023-09-11  2:28     ` Eli Zaretskii
2023-09-11  2:39       ` Madhu
2023-09-11  2:55         ` Emanuel Berg
2023-09-11 12:27         ` Eli Zaretskii
2023-09-11 12:51           ` Po Lu

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.