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


View this message in rfc822 format

From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: 27229 <at> debbugs.gnu.org
Subject: bug#27229: eldoc wrong highlighting for "when"
Date: Fri, 03 Sep 2021 18:09:46 +0100
On Fri 03 Sep 2021, Lars Ingebrigtsen wrote:

> Andy Moreton <andrewjmoreton <at> gmail.com> writes:
>
>>> Anybody know what the point of the (fn...) here is?
>>
>> Have a look at (info "(elisp) Function Documentation") which explains
>> this usage. Perhaps eldoc needs fixing to understand that idiom.
>
> I know what (fn ...) does.  I'm asking what's the point of it here,
> since the (fn ...) just seems to restate what's already the actual
> parameter list.

Without using "fn", it is shown as "(when COND &rest BODY)" which is
less helpful than showing "(when COND BODY...)".

    AndyM





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.