unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60758: 29.0.60; while-let uses if-let* convention in contradiction to the docstring
@ 2023-01-12 19:21 Daniel Mendler
  2023-01-13  0:37 ` Sean Whitton
  0 siblings, 1 reply; 17+ messages in thread
From: Daniel Mendler @ 2023-01-12 19:21 UTC (permalink / raw)
  To: 60758

The docstring of `while-let' says:

     The variable list SPEC is the same as in if-let.

However in the definition `if-let*' is used. `if-let*' differs from
`if-let' since it doesn't support the special single binding form.

     (while-let (var exp)
         ...)

Therefore `if-let*' should be replaced with `if-let' in the definition
of `while-let', bringing the implementation in accordance with the
docstring. The name `while-let' (in contrast to `while-let*') also
suggest that the `if-let' spec is supported.

In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.16.0, Xaw scroll bars) of 2022-12-30 built on projects
Repository revision: d086cd6cf877c6ca7af6712f9b79b52dd0caa934
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)





^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-01-17 12:46 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-12 19:21 bug#60758: 29.0.60; while-let uses if-let* convention in contradiction to the docstring Daniel Mendler
2023-01-13  0:37 ` Sean Whitton
2023-01-13  5:36   ` Daniel Mendler
2023-01-14 15:31     ` Michael Heerdegen
2023-01-14 15:35       ` Daniel Mendler
2023-01-14 16:11         ` Michael Heerdegen
2023-01-14 16:29           ` Daniel Mendler
2023-01-14 16:25       ` Sean Whitton
2023-01-14 16:35         ` Eli Zaretskii
2023-01-14 21:13           ` Sean Whitton
2023-01-14 22:13             ` Michael Heerdegen
2023-01-15  7:38               ` Eli Zaretskii
2023-01-15 17:02                 ` Sean Whitton
2023-01-16 17:55                   ` Michael Heerdegen
2023-01-16 20:36                     ` Sean Whitton
2023-01-17 12:46                       ` Michael Heerdegen
2023-01-14 16:58         ` Michael Heerdegen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).