GNU bug report logs - #41989
28.0.50; Edebug doesn't generate symbols for `cl-flet' etc.

Previous Next

Package: emacs;

Reported by: Philipp <p.stephani2 <at> gmail.com>

Date: Sun, 21 Jun 2020 17:04:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 41989 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#41989: 28.0.50; Edebug doesn't generate symbols for
 `cl-flet' etc.
Date: Tue, 02 Mar 2021 07:57:55 +0100
Philipp Stephani <p.stephani2 <at> gmail.com> writes:

>> I'm not quite sure what the status is here now.  I tried `C-u C-M-x'-ing
>> it now and got:
>>
>> Edebug: foo <at> cl-flet <at> 118
>> Edebug: foo <at> cl-flet <at> 119
>> Edebug: bar
>> bar
>>
>> Which seems correct.  And stepping through the function also works.  So
>> is there more to be done here?
>
> It would be nice to include the outer function ("bar") in the
> generated symbol, e.g. "bar <at> foo <at> cl-flet <at> 118" or similar.
> But that would really be the icing on the cake, and it's not necessary
> to avoid duplicate symbols. So more of a nice to have; feel free to
> close this bug if it's too hard to implement.

Ah, right.  Yes, that does sound like an even better way to name these
flets -- easier to identify in backtraces and the like (but I guess
normally the backtrace would also tell you the enclosing function, so
perhaps the utility would be limited)...

Perhaps Stefan M has an opinion here?  Added to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 143 days ago.

Previous Next


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