all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: larsi@gnus.org, andrewjmoreton@gmail.com, 27229@debbugs.gnu.org
Subject: bug#27229: eldoc wrong highlighting for "when"
Date: Wed, 04 May 2022 18:47:48 -0400	[thread overview]
Message-ID: <E1nmNme-0006pa-5I@fencepost.gnu.org> (raw)
In-Reply-To: <83r15a514r.fsf@gnu.org> (message from Eli Zaretskii on Tue, 03 May 2022 14:03:32 +0300)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > > 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.

That is right.  The keywords &rest and &optional are for arguments,
and they imply that the values are evaluated in the usual way.

A special form is a syntactic construct, not a function call.
Its parts are not arguments to a function.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







      parent reply	other threads:[~2022-05-04 22:47 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
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 [this message]

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=E1nmNme-0006pa-5I@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=27229@debbugs.gnu.org \
    --cc=andrewjmoreton@gmail.com \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.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.