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

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

bug#62020: Lisp reader: dotted pair notation not working when initial el


From: Mattias Engdegård
Subject: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted
Date: Wed, 8 Mar 2023 11:37:27 +0100

7 mars 2023 kl. 18.24 skrev Federico Tedin <federicotedin@gmail.com>:

> The reason I found this is actually a bit funny. I am
> working on re-implementing the Elisp interpreter (and other parts of
> Emacs) in Go, as a hobby/learning/fun project.

Delighted to hear about that! Best of luck, and do let us know about what else 
of interest you discover, whether you think they are bugs in Emacs or not.

The manual should include a formal syntax that describes what the Lisp reader 
accepts. It would benefit many users, not just those seeking to clone Emacs.

> I agree that using the (. x) notation is not really needed, I haven't
> used it in any of my code myself.

That's the general conclusion on this side as well: by disallowing the quirk we 
do the user a much greater service than by letting it pass, since any 
occurrence is far more likely to be a mistake than actually intended.

Let's correct the manual in Emacs 29 so that it corresponds to the code.






reply via email to

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