[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, 25 Jun 2019 19:59:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Robin Templeton <robin@terpri.org> 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...
It still is. Anybody object to removing it? And where is it even
defined?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#19790: [PATCH] destructive splicing in backquote,
Lars Ingebrigtsen <=