GNU bug report logs -
#27229
eldoc wrong highlighting for "when"
Previous Next
Reported by: "Charles A. Roelli" <charles <at> aurox.ch>
Date: Sun, 4 Jun 2017 10:21:01 UTC
Severity: minor
Tags: confirmed
Found in versions 25.2, 28.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: andrewjmoreton <at> gmail.com, 27229 <at> debbugs.gnu.org
> Date: Tue, 03 May 2022 11:05:02 +0200
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > So now "C-h f when" says
> >
> > (when COND &rest BODY)
> >
> > where it previously said
> >
> > (when COND BODY...)
> >
> > Isn't this a regression?
>
> In what way? We have &rest BODY all over the place, and it's the
> correct syntax to specify that there's a body, so I don't understand
> what you mean.
But when and unless aren't functions, they are "special forms". So
using &rest there is less self-explanatory for those who aren't
necessarily privy to the internals.
IOW, the removed (fn ..." stuff was there for a reason. The original
bug report here wasn't about how we display the doc string, it was
about what eldoc does. So IMO the fix should have been in eldoc,
which would also avoid this negative effect.
This bug report was last modified 3 years and 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.