GNU bug report logs - #27229
eldoc wrong highlighting for "when"

Previous Next

Package: emacs;

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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: andrewjmoreton <at> gmail.com, 27229 <at> debbugs.gnu.org
Subject: Re: bug#27229: eldoc wrong highlighting for "when"
Date: Tue, 03 May 2022 14:21:35 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: andrewjmoreton <at> gmail.com,  27229 <at> debbugs.gnu.org
> Date: Tue, 03 May 2022 13:09:38 +0200
> 
> If we want *Help* to display &rest body in a different way, then we
> should fix that in help-mode, not mess up the calling convention string.
> 
> > 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.
> 
> As the bug report explains, there is no fix possible, since the "..."
> syntax is ambiguous: We use it both for "and then there's more" and
> "there are alternating pairs of arguments".

So you are saying that we cannot use "(fn ..." because eldoc doesn't
like that?  Doesn't sound reasonable to me.  eldoc is a minor, albeit
important, mode; it isn't right for a minor mode to dictate our
documentation formats.




This bug report was last modified 3 years and 76 days ago.

Previous Next


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