bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27229: eldoc wrong highlighting for "when"


From: Richard Stallman
Subject: bug#27229: eldoc wrong highlighting for "when"
Date: Wed, 04 May 2022 18:47:48 -0400

[[[ 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)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]