GNU bug report logs - #49592
28.0.50; lisp-current-defun-name and non-standard defuns

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Fri, 16 Jul 2021 02:55:02 UTC

Severity: normal

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 49592 <at> debbugs.gnu.org
Subject: bug#49592: 28.0.50; lisp-current-defun-name and non-standard defuns
Date: Wed, 24 Aug 2022 00:57:45 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> 2022-08-23  Lars Ingebrigtsen  <larsi <at> 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.




This bug report was last modified 2 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.