bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49592: 28.0.50; lisp-current-defun-name and non-standard defuns


From: Michael Heerdegen
Subject: bug#49592: 28.0.50; lisp-current-defun-name and non-standard defuns
Date: Wed, 24 Aug 2022 00:57:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> 2022-08-23  Lars Ingebrigtsen  <larsi@gnus.org>
>
>       * lisp/emacs-lisp/lisp-mode.el (lisp-current-defun-name): Revert
>       back to the old version before bug#49592.  The new approach just
>       doesn't work well enough -- we don't really have the data to know
>       that, say, `make-obsolete-variable' is about the second symbol and
>       not the first.

Is that because of `make-obsolete-variable's (indent defun) spec?  (And
is that even appropriate?)

Did you see examples where the edebug spec based mechanism you added
failed?  Or maybe only this part:

  (and (eq (get symbol 'lisp-indent-function) 'defun)
       (get 'defun 'edebug-form-spec))

was inappropriate?

Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]