From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: andrewjmoreton@gmail.com, 27229@debbugs.gnu.org
Subject: bug#27229: eldoc wrong highlighting for "when"
Date: Tue, 03 May 2022 13:09:38 +0200 [thread overview]
Message-ID: <87tua6yirx.fsf@gnus.org> (raw)
In-Reply-To: <83r15a514r.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 03 May 2022 14:03:32 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> 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.
'defmacro.*&rest.body' gives me 487 results, and only `when' and `until'
had that odd (fn).
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".
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2022-05-03 11:09 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-04 10:18 bug#27229: eldoc wrong highlighting for "when" Charles A. Roelli
2017-06-04 15:58 ` Andreas Politz
2020-08-16 10:16 ` Stefan Kangas
2020-10-03 23:49 ` Michael Heerdegen
2021-09-03 8:31 ` Lars Ingebrigtsen
2021-09-03 14:20 ` Andy Moreton
2021-09-03 14:37 ` Lars Ingebrigtsen
2021-09-03 17:09 ` Andy Moreton
2021-09-04 6:36 ` Lars Ingebrigtsen
2021-09-04 13:23 ` Andy Moreton
2021-09-04 13:45 ` Lars Ingebrigtsen
2022-05-02 10:30 ` Lars Ingebrigtsen
2022-05-02 16:04 ` Eli Zaretskii
2022-05-03 9:05 ` Lars Ingebrigtsen
2022-05-03 11:03 ` Eli Zaretskii
2022-05-03 11:09 ` Lars Ingebrigtsen [this message]
2022-05-03 11:21 ` Eli Zaretskii
2022-05-03 11:24 ` Lars Ingebrigtsen
2022-05-03 11:31 ` Eli Zaretskii
2022-05-04 7:46 ` Lars Ingebrigtsen
2022-05-04 8:28 ` Eli Zaretskii
2022-05-04 9:06 ` Lars Ingebrigtsen
2022-05-04 22:47 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tua6yirx.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=27229@debbugs.gnu.org \
--cc=andrewjmoreton@gmail.com \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.