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


Message #39 received at 49592 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 49592 <at> debbugs.gnu.org
Subject: Re: bug#49592: 28.0.50; lisp-current-defun-name and non-standard
 defuns
Date: Tue, 09 Aug 2022 17:29:46 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Should we make the "fall back: display the name of the first symbol
> after opening paren" case look different from the standard case?
>
> For which-func display in the mode-line I'd find "(progn ...)" nice,
> but I guess that would not be suitable for the "add-log" case.

Ah, I'd forgotten -- yes, that'd look better, but we'd have to rearrange
the calling sequence a bit since, as you say, we don't want that in the
add-log case.

Or perhaps we could add a hack like adding a text property to the string
to let which-func know that it should wrap the result in "( ...)"?





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.