GNU logs - #19790, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19790: [PATCH] destructive splicing in backquote
Resent-From: Robin Templeton <robin@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 06 Feb 2015 06:48:02 +0000
Resent-Message-ID: <handler.19790.B.142320524312377 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 19790
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: 19790 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.142320524312377
          (code B ref -1); Fri, 06 Feb 2015 06:48:02 +0000
Received: (at submit) by debbugs.gnu.org; 6 Feb 2015 06:47:23 +0000
Received: from localhost ([127.0.0.1]:35208 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YJchG-0003DX-JP
	for submit <at> debbugs.gnu.org; Fri, 06 Feb 2015 01:47:23 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55190)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YJcfH-0003AE-Sp
 for submit <at> debbugs.gnu.org; Fri, 06 Feb 2015 01:45:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YJcfB-0000t8-BF
 for submit <at> debbugs.gnu.org; Fri, 06 Feb 2015 01:45:14 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:41294)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YJcfB-0000sz-8P
 for submit <at> debbugs.gnu.org; Fri, 06 Feb 2015 01:45:13 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56903)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YJcf9-00082o-To
 for bug-gnu-emacs@HIDDEN; Fri, 06 Feb 2015 01:45:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YJcf4-0000pP-UY
 for bug-gnu-emacs@HIDDEN; Fri, 06 Feb 2015 01:45:11 -0500
Received: from plane.gmane.org ([80.91.229.3]:44841)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YJcf4-0000ks-Ns
 for bug-gnu-emacs@HIDDEN; Fri, 06 Feb 2015 01:45:06 -0500
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YJcf2-0004I4-Du
 for bug-gnu-emacs@HIDDEN; Fri, 06 Feb 2015 07:45:04 +0100
Received: from cpe-174-097-170-150.nc.res.rr.com ([174.97.170.150])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Fri, 06 Feb 2015 07:45:04 +0100
Received: from robin by cpe-174-097-170-150.nc.res.rr.com with local (Gmexim
 0.1 (Debian)) id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Fri, 06 Feb 2015 07:45:04 +0100
X-Injected-Via-Gmane: http://gmane.org/
From: Robin Templeton <robin@HIDDEN>
Date: Fri, 06 Feb 2015 01:39:02 -0500
Lines: 65
Message-ID: <87a90r35o9.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: cpe-174-097-170-150.nc.res.rr.com
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock: sha1:7+q9SOkmScVqowfWCMrkx4130tQ=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Mailman-Approved-At: Fri, 06 Feb 2015 01:47:20 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

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>.

-- >8 --
Subject: [PATCH] destructive splicing in backquote

Allow Common Lisp-compatible destructive splicing in backquote
expressions using ",." syntax.

* lisp/emacs-lisp/backquote.el (backquote-destructive-splice-symbol):
  New variable.
  (backquote-process): Allow backquote-destructive-splice-symbol as a
  synonym for backquote-splice-symbol.
---
 lisp/ChangeLog               | 7 +++++++
 lisp/emacs-lisp/backquote.el | 6 +++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c18a8ff..fd643ed 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
+2015-02-06  Robin Templeton  <robin@HIDDEN>
+
+	* emacs-lisp/backquote.el (backquote-destructive-splice-symbol):
+	New variable.
+	(backquote-process): Allow backquote-destructive-splice-symbol as
+	a synonym for backquote-splice-symbol.
+
 2015-02-03  Artur Malabarba  <bruce.connor.am@HIDDEN>
 
 	* emacs-lisp/package.el (package-delete): Document NOSAVE.
diff --git a/lisp/emacs-lisp/backquote.el b/lisp/emacs-lisp/backquote.el
index d5cdca2..b6e1792 100644
--- a/lisp/emacs-lisp/backquote.el
+++ b/lisp/emacs-lisp/backquote.el
@@ -90,6 +90,9 @@ For example (backquote-list* 'a 'b 'c) => (a b . c)"
 (defconst backquote-splice-symbol '\,@
   "Symbol used to represent a splice inside a backquote.")
 
+(defconst backquote-destructive-splice-symbol '\,.
+  "Symbol used to represent a destructive splice inside a backquote.")
+
 (defmacro backquote (structure)
   "Argument STRUCTURE describes a template to build.
 
@@ -160,7 +163,8 @@ LEVEL is only used internally and indicates the nesting level:
          (t (cons (if (eq (car-safe (nth 1 s)) 'quote) 0 1)
                   (nth 1 s))))
       (backquote-delay-process s (1- level))))
-   ((eq (car s) backquote-splice-symbol)
+   ((or (eq (car s) backquote-splice-symbol)
+        (eq (car s) backquote-destructive-splice-symbol))
     (if (<= level 0)
         (if (> (length s) 2)
             ;; (cons 2 `(append . ,(cdr s)))
-- 
2.1.4






Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Robin Templeton <robin@HIDDEN>
Subject: bug#19790: Acknowledgement ([PATCH] destructive splicing in
 backquote)
Message-ID: <handler.19790.B.142320524312377.ack <at> debbugs.gnu.org>
References: <87a90r35o9.fsf@HIDDEN>
X-Gnu-PR-Message: ack 19790
X-Gnu-PR-Package: emacs
X-Gnu-PR-Keywords: patch
Reply-To: 19790 <at> debbugs.gnu.org
Date: Fri, 06 Feb 2015 06:48:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 19790 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
19790: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19790
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19790: [PATCH] destructive splicing in backquote
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 06 Feb 2015 15:30:03 +0000
Resent-Message-ID: <handler.19790.B19790.14232365458049 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 19790
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Robin Templeton <robin@HIDDEN>
Cc: 19790 <at> debbugs.gnu.org
Received: via spool by 19790-submit <at> debbugs.gnu.org id=B19790.14232365458049
          (code B ref 19790); Fri, 06 Feb 2015 15:30:03 +0000
Received: (at 19790) by debbugs.gnu.org; 6 Feb 2015 15:29:05 +0000
Received: from localhost ([127.0.0.1]:35779 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YJkq8-00025k-Rm
	for submit <at> debbugs.gnu.org; Fri, 06 Feb 2015 10:29:05 -0500
Received: from pruche.dit.umontreal.ca ([132.204.246.22]:53283)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1YJkq7-00025d-Ai
 for 19790 <at> debbugs.gnu.org; Fri, 06 Feb 2015 10:29:03 -0500
Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242])
 by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t16FT1SW010134;
 Fri, 6 Feb 2015 10:29:01 -0500
Received: by pastel.home (Postfix, from userid 20848)
 id 10571FAD; Fri,  6 Feb 2015 10:29:01 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwv8ugbyse8.fsf-monnier+emacsbugs@HIDDEN>
References: <87a90r35o9.fsf@HIDDEN>
Date: Fri, 06 Feb 2015 10:29:01 -0500
In-Reply-To: <87a90r35o9.fsf@HIDDEN> (Robin Templeton's message
 of "Fri, 06 Feb 2015 01:39:02 -0500")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Level: 
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0.2
X-NAI-Spam-Rules: 2 Rules triggered
	GEN_SPAM_FEATRE=0.2, RV5209=0
X-NAI-Spam-Version: 2.3.0.9393 : core <5209> : inlines <2043> : streams
 <1385763> : uri <1848121>
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

> library.  A patch follows that adds CL-compatible comma-dot support.

Other than CL-compatibility, what is the use of this?


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19790: [PATCH] destructive splicing in backquote
In-Reply-To: <87a90r35o9.fsf@HIDDEN>
Resent-From: Robin Templeton <robin@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 07 Feb 2015 18:52:01 +0000
Resent-Message-ID: <handler.19790.B.14233350923389 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 19790
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: 19790 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.14233350923389
          (code B ref -1); Sat, 07 Feb 2015 18:52:01 +0000
Received: (at submit) by debbugs.gnu.org; 7 Feb 2015 18:51:32 +0000
Received: from localhost ([127.0.0.1]:36794 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YKATc-0000sa-5w
	for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 13:51:32 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60297)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKATZ-0000sO-PE
 for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 13:51:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKATT-0003mg-LA
 for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 13:51:24 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:47896)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKATT-0003ma-J7
 for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 13:51:23 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33781)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKATS-0003nE-Nu
 for bug-gnu-emacs@HIDDEN; Sat, 07 Feb 2015 13:51:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKATO-0003lu-Nk
 for bug-gnu-emacs@HIDDEN; Sat, 07 Feb 2015 13:51:22 -0500
Received: from plane.gmane.org ([80.91.229.3]:59499)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKATO-0003lh-Hw
 for bug-gnu-emacs@HIDDEN; Sat, 07 Feb 2015 13:51:18 -0500
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKATM-000885-FE
 for bug-gnu-emacs@HIDDEN; Sat, 07 Feb 2015 19:51:16 +0100
Received: from cpe-174-097-170-150.nc.res.rr.com ([174.97.170.150])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Sat, 07 Feb 2015 19:51:16 +0100
Received: from robin by cpe-174-097-170-150.nc.res.rr.com with local (Gmexim
 0.1 (Debian)) id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Sat, 07 Feb 2015 19:51:16 +0100
X-Injected-Via-Gmane: http://gmane.org/
From: Robin Templeton <robin@HIDDEN>
Date: Sat, 07 Feb 2015 13:51:08 -0500
Lines: 18
Message-ID: <87pp9lsggz.fsf@HIDDEN>
References: <87a90r35o9.fsf@HIDDEN>
 <jwv8ugbyse8.fsf-monnier+emacsbugs@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: cpe-174-097-170-150.nc.res.rr.com
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock: sha1:eNogbZo99y2LAIG3e4XA0WWkUMQ=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -4.1 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

Stefan Monnier <monnier@HIDDEN> writes:

>> library.  A patch follows that adds CL-compatible comma-dot support.
>
> Other than CL-compatibility, what is the use of this?

It's an improvement over having the feature half-implemented, as it is
now. Read syntax for comma-dot was added in 1995 (commit
176348460d640ae96b0b21567df0de1457aa962b) without corresponding support
in backquote.el, and it has only been mentioned online a few times since
then, so it seemed harmless to implement what was likely originally
intended.

-- 
Inteligenta persono lernas la lingvon Esperanton rapide kaj facile.
Esperanto estas moderna, kultura lingvo por la mondo. Simpla, fleksebla,
belsona, Esperanto estas la praktika solvo de la problemo de universala
interkompreno. Lernu la interlingvon Esperanton!





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19790: [PATCH] destructive splicing in backquote
In-Reply-To: <87a90r35o9.fsf@HIDDEN>
Resent-From: Robin Templeton <robin@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 07 Feb 2015 21:48:02 +0000
Resent-Message-ID: <handler.19790.B.142334563919524 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 19790
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: 19790 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.142334563919524
          (code B ref -1); Sat, 07 Feb 2015 21:48:02 +0000
Received: (at submit) by debbugs.gnu.org; 7 Feb 2015 21:47:19 +0000
Received: from localhost ([127.0.0.1]:36889 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YKDDi-00054p-QM
	for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 16:47:19 -0500
Received: from eggs.gnu.org ([208.118.235.92]:54092)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKDDg-00054a-BC
 for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 16:47:17 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKDDa-0005ze-8C
 for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 16:47:11 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59151)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKDDa-0005zP-5f
 for submit <at> debbugs.gnu.org; Sat, 07 Feb 2015 16:47:10 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55814)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKDDZ-0001eM-7F
 for bug-gnu-emacs@HIDDEN; Sat, 07 Feb 2015 16:47:10 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKDDW-0005nd-0S
 for bug-gnu-emacs@HIDDEN; Sat, 07 Feb 2015 16:47:09 -0500
Received: from plane.gmane.org ([80.91.229.3]:36882)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKDDV-0005lX-Pe
 for bug-gnu-emacs@HIDDEN; Sat, 07 Feb 2015 16:47:05 -0500
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1YKDDU-0002RE-2f
 for bug-gnu-emacs@HIDDEN; Sat, 07 Feb 2015 22:47:04 +0100
Received: from cpe-174-097-170-150.nc.res.rr.com ([174.97.170.150])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Sat, 07 Feb 2015 22:47:04 +0100
Received: from robin by cpe-174-097-170-150.nc.res.rr.com with local (Gmexim
 0.1 (Debian)) id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Sat, 07 Feb 2015 22:47:04 +0100
X-Injected-Via-Gmane: http://gmane.org/
From: Robin Templeton <robin@HIDDEN>
Date: Sat, 07 Feb 2015 16:46:58 -0500
Lines: 24
Message-ID: <8761bdpf71.fsf@HIDDEN>
References: <87a90r35o9.fsf@HIDDEN>
 <jwv8ugbyse8.fsf-monnier+emacsbugs@HIDDEN>
 <87pp9lsggz.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: cpe-174-097-170-150.nc.res.rr.com
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock: sha1:DDHZ6x8KTSNSwkY1Bk1saLsGvdg=
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

Robin Templeton <robin@HIDDEN> writes:

> Stefan Monnier <monnier@HIDDEN> writes:
>
>>> library.  A patch follows that adds CL-compatible comma-dot support.
>>
>> Other than CL-compatibility, what is the use of this?
>
> It's an improvement over having the feature half-implemented, as it is
> now. Read syntax for comma-dot was added in 1995 (commit
> 176348460d640ae96b0b21567df0de1457aa962b) without corresponding support
> in backquote.el, and it has only been mentioned online a few times since
> then, so it seemed harmless to implement what was likely originally
> intended.

Also, I could submit a patch to remove the special handling for ",." or
make it a syntax error, if either of those options would be preferable.
But the current behavior seems to be a bug.

-- 
Inteligenta persono lernas la lingvon Esperanton rapide kaj facile.
Esperanto estas moderna, kultura lingvo por la mondo. Simpla, fleksebla,
belsona, Esperanto estas la praktika solvo de la problemo de universala
interkompreno. Lernu la interlingvon Esperanton!





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19790: [PATCH] destructive splicing in backquote
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 08 Feb 2015 19:24:02 +0000
Resent-Message-ID: <handler.19790.B19790.142342344130469 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 19790
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Robin Templeton <robin@HIDDEN>
Cc: 19790 <at> debbugs.gnu.org, Artur Malabarba <bruce.connor.am@HIDDEN>
Received: via spool by 19790-submit <at> debbugs.gnu.org id=B19790.142342344130469
          (code B ref 19790); Sun, 08 Feb 2015 19:24:02 +0000
Received: (at 19790) by debbugs.gnu.org; 8 Feb 2015 19:24:01 +0000
Received: from localhost ([127.0.0.1]:37591 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YKXSb-0007vN-3o
	for submit <at> debbugs.gnu.org; Sun, 08 Feb 2015 14:24:01 -0500
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:8079)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1YKXSZ-0007vB-DI
 for 19790 <at> debbugs.gnu.org; Sun, 08 Feb 2015 14:23:59 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArsTAPOG1lRFxIRB/2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIwULCzQSFBgNJIg4CM4jAQEBBwIBH494B4QqBYonn0uBRSKEDCCCcwEBAQ
X-IPAS-Result: ArsTAPOG1lRFxIRB/2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIwULCzQSFBgNJIg4CM4jAQEBBwIBH494B4QqBYonn0uBRSKEDCCCcwEBAQ
X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="109976388"
Received: from 69-196-132-65.dsl.teksavvy.com (HELO pastel.home)
 ([69.196.132.65])
 by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA;
 08 Feb 2015 14:23:54 -0500
Received: by pastel.home (Postfix, from userid 20848)
 id 63D41D67; Sun,  8 Feb 2015 14:23:53 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvbnl41auu.fsf-monnier+emacsbugs@HIDDEN>
References: <87a90r35o9.fsf@HIDDEN>
 <jwv8ugbyse8.fsf-monnier+emacsbugs@HIDDEN>
 <87pp9lsggz.fsf@HIDDEN>
 <8761bdpf71.fsf@HIDDEN>
Date: Sun, 08 Feb 2015 14:23:53 -0500
In-Reply-To: <8761bdpf71.fsf@HIDDEN> (Robin Templeton's message
 of "Sat, 07 Feb 2015 16:46:58 -0500")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> Also, I could submit a patch to remove the special handling for ",." or
> make it a syntax error, if either of those options would be preferable.
> But the current behavior seems to be a bug.

Hmm... indeed recently Artur bumped into this (he uses identifiers
starting with "." and was surprised that ,<ident> didn't work in that
case).

Maybe removing this special syntax is the best option.  Tho at least the
current situation leaves both choices still open ;-)


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19790: [PATCH] destructive splicing in backquote
Resent-From: Artur Malabarba <bruce.connor.am@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 08 Feb 2015 19:40:02 +0000
Resent-Message-ID: <handler.19790.B19790.142342434531976 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 19790
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Stefan Monnier <monnier@HIDDEN>
Cc: Robin Templeton <robin@HIDDEN>, 19790 <at> debbugs.gnu.org
Reply-To: bruce.connor.am@HIDDEN
Received: via spool by 19790-submit <at> debbugs.gnu.org id=B19790.142342434531976
          (code B ref 19790); Sun, 08 Feb 2015 19:40:02 +0000
Received: (at 19790) by debbugs.gnu.org; 8 Feb 2015 19:39:05 +0000
Received: from localhost ([127.0.0.1]:37609 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YKXhA-0008Je-O1
	for submit <at> debbugs.gnu.org; Sun, 08 Feb 2015 14:39:05 -0500
Received: from mail-ob0-f181.google.com ([209.85.214.181]:61676)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <arturmalabarba@HIDDEN>) id 1YKXh8-0008JA-OW
 for 19790 <at> debbugs.gnu.org; Sun, 08 Feb 2015 14:39:03 -0500
Received: by mail-ob0-f181.google.com with SMTP id vb8so21637705obc.12
 for <19790 <at> debbugs.gnu.org>; Sun, 08 Feb 2015 11:38:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:sender:in-reply-to:references:date:message-id
 :subject:from:to:cc:content-type;
 bh=Udrf/C0ZPwe5RrL3I9/2x5X922goXiDyQ82QcH8FERo=;
 b=yJVB2eemSemdGIwuFi1UgZ8JCBg440GIm4dwCtM+GZwBk5ktg1rhoDaAUkPXxlKZyi
 YJtnFweQ5v/Av81jIX+a/1p5Q+7mM/leIUdzUO+hgSsRQ1OBnPsYUkXebSEqk2fkLv8z
 gp9T59EoxGD7EX3Al0GfWu71JiI8Ev6cHCAktsGIKMUeejieEcB84UQKeKyoHxxjLrnl
 ICGBGOO4hUTZ/VFXIjAGHghCVphJLYZpqL0RwDfUsc2tqekqA70ocTV/cwRGRuyUjZ8O
 MMMsgvoI+cVkjj0uRoii/FOOn0KVF2ooszl5nH/fIChvHE0GQLMF92JnyBV1J5NjxWse
 K9Ng==
MIME-Version: 1.0
X-Received: by 10.182.104.42 with SMTP id gb10mr9338799obb.62.1423424336997;
 Sun, 08 Feb 2015 11:38:56 -0800 (PST)
Received: by 10.76.125.1 with HTTP; Sun, 8 Feb 2015 11:38:56 -0800 (PST)
In-Reply-To: <jwvbnl41auu.fsf-monnier+emacsbugs@HIDDEN>
References: <87a90r35o9.fsf@HIDDEN>
 <jwv8ugbyse8.fsf-monnier+emacsbugs@HIDDEN>
 <87pp9lsggz.fsf@HIDDEN>
 <8761bdpf71.fsf@HIDDEN>
 <jwvbnl41auu.fsf-monnier+emacsbugs@HIDDEN>
Date: Sun, 8 Feb 2015 17:38:56 -0200
X-Google-Sender-Auth: LtMbcqKAb-7O5p1tj6a0PMmkrR4
Message-ID: <CAAdUY-+9bAouE2TEnXxysmXh=51gKqdaE6if3vWYGHN80SjUTA@HIDDEN>
From: Artur Malabarba <bruce.connor.am@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Yes, I was surprised mostly for being caught of guard. :-)
After all this years I had never heard of ",." doing anything.

I agree that the current behavior is a bug, but either way we go is
fine for me (I managed to get around this limitation by simply adding
a space between the comma and the dot).

I'm fine with using this syntax for destructive splicing or with
disabling it altogether. But I think aliasing it to ",@" might be a
little deceptive for people who actually expect destructive splicing.

2015-02-08 17:23 GMT-02:00 Stefan Monnier <monnier@HIDDEN>:
>> Also, I could submit a patch to remove the special handling for ",." or
>> make it a syntax error, if either of those options would be preferable.
>> But the current behavior seems to be a bug.
>
> Hmm... indeed recently Artur bumped into this (he uses identifiers
> starting with "." and was surprised that ,<ident> didn't work in that
> case).
>
> Maybe removing this special syntax is the best option.  Tho at least the
> current situation leaves both choices still open ;-)
>
>
>         Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19790: [PATCH] destructive splicing in backquote
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 09 Feb 2015 03:11:02 +0000
Resent-Message-ID: <handler.19790.B19790.14234514098920 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 19790
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Artur Malabarba <bruce.connor.am@HIDDEN>
Cc: Robin Templeton <robin@HIDDEN>, 19790 <at> debbugs.gnu.org
Received: via spool by 19790-submit <at> debbugs.gnu.org id=B19790.14234514098920
          (code B ref 19790); Mon, 09 Feb 2015 03:11:02 +0000
Received: (at 19790) by debbugs.gnu.org; 9 Feb 2015 03:10:09 +0000
Received: from localhost ([127.0.0.1]:37697 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YKejh-0002Jn-2t
	for submit <at> debbugs.gnu.org; Sun, 08 Feb 2015 22:10:09 -0500
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:39024)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1YKeje-0002JQ-W3
 for 19790 <at> debbugs.gnu.org; Sun, 08 Feb 2015 22:10:08 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArsTAPOG1lTAqyxp/2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIwULCw4mEhQYDSSIOAjOIwEBAQEGAQEBAR6PeAeEKgWKJ6EQIoQMIIJzAQEB
X-IPAS-Result: ArsTAPOG1lTAqyxp/2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIwULCw4mEhQYDSSIOAjOIwEBAQEGAQEBAR6PeAeEKgWKJ6EQIoQMIIJzAQEB
X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="109991241"
Received: from 192-171-44-105.cpe.pppoe.ca (HELO pastel.home)
 ([192.171.44.105])
 by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA;
 08 Feb 2015 22:10:01 -0500
Received: by pastel.home (Postfix, from userid 20848)
 id 312E11F77; Sun,  8 Feb 2015 22:10:01 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvtwyvyecx.fsf-monnier+emacsbugs@HIDDEN>
References: <87a90r35o9.fsf@HIDDEN>
 <jwv8ugbyse8.fsf-monnier+emacsbugs@HIDDEN>
 <87pp9lsggz.fsf@HIDDEN>
 <8761bdpf71.fsf@HIDDEN>
 <jwvbnl41auu.fsf-monnier+emacsbugs@HIDDEN>
 <CAAdUY-+9bAouE2TEnXxysmXh=51gKqdaE6if3vWYGHN80SjUTA@HIDDEN>
Date: Sun, 08 Feb 2015 22:10:01 -0500
In-Reply-To: <CAAdUY-+9bAouE2TEnXxysmXh=51gKqdaE6if3vWYGHN80SjUTA@HIDDEN>
 (Artur Malabarba's message of "Sun, 8 Feb 2015 17:38:56 -0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> I'm fine with using this syntax for destructive splicing or with
> disabling it altogether. But I think aliasing it to ",@" might be a
> little deceptive for people who actually expect destructive splicing.

There's never been a guarantee that it would use destructive splicing
(it's just allowed to), and I generally dislike destructive operations,
so I'd rather not go through extra trouble to support what I tend to see
as a misfeature.

So aliasing ,. to ,@ is OK, but making it work destructively is not.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19790: [PATCH] destructive splicing in backquote
Resent-From: Artur Malabarba <bruce.connor.am@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 09 Feb 2015 13:04:01 +0000
Resent-Message-ID: <handler.19790.B19790.142348703424348 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 19790
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Stefan Monnier <monnier@HIDDEN>
Cc: Robin Templeton <robin@HIDDEN>, 19790 <19790 <at> debbugs.gnu.org>
Reply-To: bruce.connor.am@HIDDEN
Received: via spool by 19790-submit <at> debbugs.gnu.org id=B19790.142348703424348
          (code B ref 19790); Mon, 09 Feb 2015 13:04:01 +0000
Received: (at 19790) by debbugs.gnu.org; 9 Feb 2015 13:03:54 +0000
Received: from localhost ([127.0.0.1]:37960 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YKo0H-0006Ke-Rw
	for submit <at> debbugs.gnu.org; Mon, 09 Feb 2015 08:03:54 -0500
Received: from mail-ob0-f173.google.com ([209.85.214.173]:56711)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <arturmalabarba@HIDDEN>) id 1YKo0F-0006KR-SU
 for 19790 <at> debbugs.gnu.org; Mon, 09 Feb 2015 08:03:52 -0500
Received: by mail-ob0-f173.google.com with SMTP id uy5so24942324obc.4
 for <19790 <at> debbugs.gnu.org>; Mon, 09 Feb 2015 05:03:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:reply-to:sender:in-reply-to:references:date:message-id
 :subject:from:to:cc:content-type;
 bh=aLD5mIBLI5RQE7U1LUaUkB7jPZfUCHtHE3oyEE1zed4=;
 b=vZlQThMcfyuuXdbQ8APLKVtL+XYgqWCYFJVGi3fxLA2GBxzdNIzk/amemIkWlFRm15
 eg1KGrEox3z4RT3waKvmqGxaS8zaGgfw+5kCJb4elb8J7wqwJTsEeLflxz84/X8PgwiV
 xT11pfMm1O6T6k6ZMn3O702diVHk9Sy7phBpOcRvyESrA33+srdH+BXdnTb79tHUPMnm
 G6lURgj1eYiO54QymARQGUn7J6Tntr1Ilf2zYCPVUbIcaaEKkl7cTBrZbmqgqjYDzcJD
 49k87mJ3LmloZ5sL3PXt9wypE/Lr07etpM3kNBau3QF042xRY8RAWiDvWjm+PtUkWGBM
 3k4A==
MIME-Version: 1.0
X-Received: by 10.202.203.78 with SMTP id b75mr6873152oig.27.1423487026033;
 Mon, 09 Feb 2015 05:03:46 -0800 (PST)
Received: by 10.76.125.1 with HTTP; Mon, 9 Feb 2015 05:03:45 -0800 (PST)
In-Reply-To: <jwvtwyvyecx.fsf-monnier+emacsbugs@HIDDEN>
References: <87a90r35o9.fsf@HIDDEN>
 <jwv8ugbyse8.fsf-monnier+emacsbugs@HIDDEN>
 <87pp9lsggz.fsf@HIDDEN>
 <8761bdpf71.fsf@HIDDEN>
 <jwvbnl41auu.fsf-monnier+emacsbugs@HIDDEN>
 <CAAdUY-+9bAouE2TEnXxysmXh=51gKqdaE6if3vWYGHN80SjUTA@HIDDEN>
 <jwvtwyvyecx.fsf-monnier+emacsbugs@HIDDEN>
Date: Mon, 9 Feb 2015 13:03:45 +0000
X-Google-Sender-Auth: hkRKHtZYqbHr8Wp9eH-4w8yQ41I
Message-ID: <CAAdUY-LUGzcRQMFLm2g3PTKRH1ZO6+1aq70H7TbzGa5hrz9uPw@HIDDEN>
From: Artur Malabarba <bruce.connor.am@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

> There's never been a guarantee that it would use destructive splicing
> (it's just allowed to),

Then I'd vote for just removing it.
Still, this whole thing is corner-case enough that any solution is fine with me.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19790: [PATCH] destructive splicing in backquote
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 23 Feb 2016 11:10:01 +0000
Resent-Message-ID: <handler.19790.B19790.14562257805160 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 19790
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Robin Templeton <robin@HIDDEN>
Cc: 19790 <at> debbugs.gnu.org
Received: via spool by 19790-submit <at> debbugs.gnu.org id=B19790.14562257805160
          (code B ref 19790); Tue, 23 Feb 2016 11:10:01 +0000
Received: (at 19790) by debbugs.gnu.org; 23 Feb 2016 11:09:40 +0000
Received: from localhost ([127.0.0.1]:39298 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aYAqa-0001LA-0T
	for submit <at> debbugs.gnu.org; Tue, 23 Feb 2016 06:09:40 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:52786)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1aYAqW-0001Kx-AO
 for 19790 <at> debbugs.gnu.org; Tue, 23 Feb 2016 06:09:38 -0500
Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161]
 helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>)
 id 1aYAq4-0004Av-FX; Tue, 23 Feb 2016 12:09:09 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <87a90r35o9.fsf@HIDDEN>
Date: Tue, 23 Feb 2016 22:08:59 +1100
In-Reply-To: <87a90r35o9.fsf@HIDDEN> (Robin Templeton's message
 of "Fri, 06 Feb 2015 01:39:02 -0500")
Message-ID: <87ziurr8dw.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1aYAq4-0004Av-FX
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1456830549.46697@0XN4m9onsyaVuC8vNnAOog
X-Spam-Status: No
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Robin Templeton <robin@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




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 10 Apr 2019 00:31:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 09 20:31:31 2019
Received: from localhost ([127.0.0.1]:52203 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hE19G-0002we-Mo
	for submit <at> debbugs.gnu.org; Tue, 09 Apr 2019 20:31:30 -0400
Received: from mail-qk1-f177.google.com ([209.85.222.177]:34920)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1hE19D-0002pY-8p
 for control <at> debbugs.gnu.org; Tue, 09 Apr 2019 20:31:28 -0400
Received: by mail-qk1-f177.google.com with SMTP id a71so200007qkg.2
 for <control <at> debbugs.gnu.org>; Tue, 09 Apr 2019 17:31:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=v0d/Pk/IpAZhgNo3LvBtODDqOXmKeZTP+C7e4FmxAVw=;
 b=aTHmCE/8mI8oh3emRgH5rMaF4O9FvekLVHEF/vMmAX7pA6+mc/rYvZ6b3fDBa1HdOO
 GfVPdG6gkzy4PfkZo5m+a6ooJ/fls159gwNHfPTYqn8LJ7bPUJcf8sj4zLpEbK/0OmV3
 YRm7iu6L6ir/w52kxH3S80dTDysHlprjgIXqyuWD6D8/1BIbBkRtnf6vfAUMY+25pVHj
 cYrmrTcFliMdJ8QUE19k1jFzZ3GJzmbw0d1164SqsUIGAQIptrcJlvB/0LM8p1goYXDv
 PFJN//44oh2iUqSv7A3J6eoE82/4d289O5izPAppFOERhq2U1YoOlduYYsPta8roTu62
 SiGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=v0d/Pk/IpAZhgNo3LvBtODDqOXmKeZTP+C7e4FmxAVw=;
 b=Q+ZcCUMRXeKm/CVFyDW4N5lHlBf+CgNRteDu6nWxuQxUM3nGnbCroplzAMfgKSWXVi
 1ScXg4MtPkIYsU1N86fa3a9vwtesFUsRVIBIk2hJxQXqfqDHIX9midu9bvHwP+RgIB5S
 7S6b2+uzF9Ukrki12DpFlTQChYFNAPlvCzxtv2r9dweFTmr0EkSUXpC1yQ6t2CRQMsdV
 4qRLq0BOwTE2AzdrRBl1wZ1m9E7k4G96HesTrNXOBh9hgS7IukYV71SmO1c7hxdA8o/k
 q1GZDFp3dn/OhUroamdoCRbhPbtbdFyLPwz5/B2479c3bTbgI6a2MuqxCeqscqoBU2FC
 Foig==
X-Gm-Message-State: APjAAAVRdykl/uN7F0tidQujtD58w4vrplUzWfx9R0h1wyITIWPeoEzk
 uvMWGKGTVKs0O1jR6qWX3f6MD3jv
X-Google-Smtp-Source: APXvYqxphd6IAnl3iYtDODe6nQEuvWhbT4RPjuIAsvQChlurXsNw0C6VGp5tydujCfiK5L5jcNOGiA==
X-Received: by 2002:a37:9b87:: with SMTP id
 d129mr31236604qke.263.1554856281724; 
 Tue, 09 Apr 2019 17:31:21 -0700 (PDT)
Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 i20sm18234345qkk.70.2019.04.09.17.31.20 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 09 Apr 2019 17:31:20 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: control message for bug #34975
Date: Tue, 09 Apr 2019 20:31:19 -0400
Message-ID: <875zrmbt0o.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.3 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

merge 34975 19790
quit






Last modified: Wed, 10 Apr 2019 00:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.