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
On Sat 04 Sep 2021, Lars Ingebrigtsen wrote:
> Andy Moreton <andrewjmoreton <at> gmail.com> writes:
>
>> Without using "fn", it is shown as "(when COND &rest BODY)" which is
>> less helpful than showing "(when COND BODY...)".
>
> What do you feel the semantic difference is between the two? And why
> should `when' have this fn rewrite when we have hundreds of other
> macros with &rest body that don't have an fn?
I think that the difference is whether the user sees it as describing
arguments to a function call, or forms in a control structure. The
"(when COND BODY...)" version also matches the style used for `if'.
Most of the other macros are intended to look like function calls to the
user, not control structures.
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.