GNU bug report logs -
#68450
30.0.50; Eldoc fails to display argument tooltip for arguments inside (...) in `define-advice'
Previous Next
To reply to this bug, email your comments to 68450 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68450
; Package
emacs
.
(Sun, 14 Jan 2024 14:26:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ihor Radchenko <yantar92 <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 14 Jan 2024 14:26:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
Consider the following recipe:
1. emacs -Q
2. type (define-advice org-capture
3. Observe "define-advice: (SYMBOL (*HOW* LAMBDA-LIST &optional NAME DEPTH) &rest BODY)
in the echo area
4. type (
5. Nothing appears in the echo area
Expected:
"define-advice: (SYMBOL (*HOW* LAMBDA-LIST &optional NAME DEPTH) &rest BODY)
still appears in the echo area.
In GNU Emacs 30.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version
3.24.39, cairo version 1.18.0) of 2024-01-13 built on localhost
Repository revision: 479a81611ed4c676f5f370d97caf43867b04ed17
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101009
System Description: Gentoo Linux
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68450
; Package
emacs
.
(Sun, 14 Jan 2024 16:02:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 68450 <at> debbugs.gnu.org (full text, mbox):
On Sun, 14 Jan 2024 14:28:27 +0000 Ihor Radchenko <yantar92 <at> posteo.net> wrote:
> Hello,
>
> Consider the following recipe:
>
> 1. emacs -Q
> 2. type (define-advice org-capture
> 3. Observe "define-advice: (SYMBOL (*HOW* LAMBDA-LIST &optional NAME DEPTH) &rest BODY)
> in the echo area
> 4. type (
> 5. Nothing appears in the echo area
>
> Expected:
> "define-advice: (SYMBOL (*HOW* LAMBDA-LIST &optional NAME DEPTH) &rest BODY)
> still appears in the echo area.
May be the same problem as reported in the still unsolved bug#8432.
Steve Berman
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68450
; Package
emacs
.
(Sat, 20 Jan 2024 09:38:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 68450 <at> debbugs.gnu.org (full text, mbox):
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Date: Sun, 14 Jan 2024 14:28:27 +0000
>
> 1. emacs -Q
> 2. type (define-advice org-capture
> 3. Observe "define-advice: (SYMBOL (*HOW* LAMBDA-LIST &optional NAME DEPTH) &rest BODY)
> in the echo area
> 4. type (
> 5. Nothing appears in the echo area
>
> 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?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68450
; Package
emacs
.
(Sat, 20 Jan 2024 10:28:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 68450 <at> debbugs.gnu.org (full text, mbox):
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, which are sometimes
very verbose due to longstanding issues. But I will have a look.
I'd also like elisp-mode to start highlighting nested macro arguments
and keyword arguments, for example.
João
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68450
; Package
emacs
.
(Sat, 20 Jan 2024 17:47:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 68450 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
--
Thierry
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68450
; Package
emacs
.
(Sat, 20 Jan 2024 18:02:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 68450 <at> debbugs.gnu.org (full text, mbox):
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 146 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.