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

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

bug#19790: [PATCH] destructive splicing in backquote


From: Lars Ingebrigtsen
Subject: bug#19790: [PATCH] destructive splicing in backquote
Date: Tue, 23 Feb 2016 22:08:59 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Robin Templeton <address@hidden> writes:

> Common Lisp and MACLISP define comma-dot syntax for destructive splicing
> in backquote expressions. The Elisp reader reads ",.x" as "(\,\. x)"
> (like ",@"), but the resulting forms are not processed by the backquote
> library. A patch follows that adds CL-compatible comma-dot support.
>
> Originally reported by at Artur Malabarba in
> <http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00624.html>.

I think the conclusion to the discussion was that we do not want to
support the ,. operation in Emacs Lisp.

(setq .foo 1)

`((,.foo))
=> (((\,\. foo)))

So we should remove this feature completely, because that's obviously a
bug...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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