GNU bug report logs - #68450
30.0.50; Eldoc fails to display argument tooltip for arguments inside (...) in `define-advice'

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Sun, 14 Jan 2024 14:26:01 UTC

Severity: normal

Found in version 30.0.50

Full log


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

From: João Távora <joaotavora <at> gmail.com>
To: Thierry Volpiatto <thievol <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Ihor Radchenko <yantar92 <at> posteo.net>,
 68450 <at> debbugs.gnu.org
Subject: Re: bug#68450: 30.0.50; Eldoc fails to display argument tooltip for
 arguments inside (...) in `define-advice'
Date: Sat, 20 Jan 2024 18:01:26 +0000
On Sat, Jan 20, 2024 at 5:45 PM Thierry Volpiatto <thievol <at> posteo.net> wrote:
>
> João Távora <joaotavora <at> gmail.com> writes:
>
> > On Sat, Jan 20, 2024 at 9:37 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> >> > Expected:
> >> > "define-advice: (SYMBOL (*HOW* LAMBDA-LIST &optional NAME DEPTH) &rest BODY)
> >> > still appears in the echo area.
> >>
> >> Thierry and João, could you please look into this?
> >
> > I'm reasonably sure the source of this bug isn't in ElDoc per se,
> > but in elisp-mode.el's use of eldoc.el facilities,
>
> Yes, probably, we have the same problem with (dolist (...
> Slime handles this correctly IIRC, it has a nice library handling
> signatures but I don't remember the details.

Yes, you recall correctly.  Like SLY, Slime's fork, it has some
minimal sexp parsing logic that it makes use of in slime-autodoc.el.
I'll see what I can do (if you don't beat me to it), but this is
probably a very old bug: I don't remember Elisp ever handling
this correctly.

João




This bug report was last modified 1 year and 147 days ago.

Previous Next


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