From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#61281: =?UTF-8?Q?=E2=80=9C`?=(a \, b)=?UTF-8?Q?=E2=80=9D?= equals to =?UTF-8?Q?=E2=80=9C`?=(a . , b)=?UTF-8?Q?=E2=80=9D?= Date: Mon, 6 Feb 2023 03:49:03 +0000 Message-ID: References: <87a61tgdkx.fsf@web.de> <875ycghgv1.fsf@web.de> <871qn4hfte.fsf@web.de> <87fsbju0of.fsf@web.de> <87ttzzsdft.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29557"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Xie Shynur , "61281@debbugs.gnu.org" <61281@debbugs.gnu.org> To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 06 04:50:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pOsWK-0007P0-HX for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Feb 2023 04:50:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOsW5-0008Hp-OU; Sun, 05 Feb 2023 22:50:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOsW3-0008Ha-Dx for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 22:50:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pOsW3-0001eg-1Y for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 22:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOsW2-0006RT-KF for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 22:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Feb 2023 03:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61281 X-GNU-PR-Package: emacs Original-Received: via spool by 61281-submit@debbugs.gnu.org id=B61281.167565535224698 (code B ref 61281); Mon, 06 Feb 2023 03:50:02 +0000 Original-Received: (at 61281) by debbugs.gnu.org; 6 Feb 2023 03:49:12 +0000 Original-Received: from localhost ([127.0.0.1]:47063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOsVE-0006QH-8D for submit@debbugs.gnu.org; Sun, 05 Feb 2023 22:49:12 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:15952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOsVB-0006Q6-D4 for 61281@debbugs.gnu.org; Sun, 05 Feb 2023 22:49:10 -0500 Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 315NKJeo031648; Mon, 6 Feb 2023 03:49:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=T6av2bKf8hvmLyOrEPTJA3kDFSzLSYLCpCC0k5POZDw=; b=bZGeHPR0KXhx6kP1sZHLTqfm1UxrdP6yMnBvlX/kmqbO+xdN8V/QJashDEIbfL1N0n+R EUG5iNR0DeWEePATtFgbRqUH9fmwbsdRuq1c+MfRHWg7k0Owk7WXRqAHT/aocQL6qmLf OuH+9vYHfQSLSd6s75nPRYORCmFUtos4IWRUbuNwNKYGBKe117c0ivTmKDQ5KLWh1UjK H17Pgqr7oXrccW8fqoP1AGoyPUzVdnwKJ3ix0Z9LxC4zskg+QskHvIQjG8+XFXBnKqQF /WwmppUDQCouIkomPoozJt1oSjC3iOSemjvODmeVSBWI8ok6S/HsXIM9T9W90asgfht6 FA== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3nhfwu1vq3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 06 Feb 2023 03:49:07 +0000 Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 3162dHN9001157; Mon, 6 Feb 2023 03:49:06 GMT Original-Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2101.outbound.protection.outlook.com [104.47.70.101]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3nhdtah5pb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 06 Feb 2023 03:49:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YQ/8aCCtpgriK6Vkv+ji8hYS4y8p1Za/jBxmOjr2KSukCCiPRU/CB3zrHqxdPL5ElxOTeWcBz7Dkb6y+7Jf66FTR4LoF8GPEtZAzJFsIcUCIiZE+yRqdKPIylBS1KCxVwz3Q6RYdomt68YexgDYDLLe3ATDxVxANzy/1ap2mkldJYg04Ksyj+SxQVEotSf8QKMkmGgBxwytI+uii5/KNglmvrGma1GeVA7DOgYiWZ+QE99b4lexY2D2eq/iBevglzxM/eulwu6l/jo+S6CiVK6hjzEG47mJDkskMACzZ6r5t1TrTq1DZ46Re0r8KRpqdLanvTVwHRknr+2gk5EewVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=T6av2bKf8hvmLyOrEPTJA3kDFSzLSYLCpCC0k5POZDw=; b=mkL8doyg0Ire0AIm8iEewk2+LjbcaqZtDW7GM2k+Y1YPbyGKoMt0l6YYS/tzkM8+bOcXRTSFV7+k3WlKMrYOs2NXCOzx3OWWxLU9lhwT9H5vCiT033xltZRgo3XIxmmSc2Xv86xeVrkJxOplu8bILNWoDBfX2m4Ska3i9dtSHu6S+8YEsLRnKabD2Xhu6YKLbLHnMl1EJyjodfiw/cBBaRKDK2WemAyHxWFcXHBwlSMs7kB+P/mD+7BWxvpfFEDC6xa+adZcVBwcZtiK0GVP6i+SpodunsVNTmoGNx5zF870z84+EUrJs8oY4t7tdUxDYWAY/K1YwG+4VW1ULbQreA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T6av2bKf8hvmLyOrEPTJA3kDFSzLSYLCpCC0k5POZDw=; b=uU1Lsk6OFuWBJtFyzXUb0kglA3lgirZh39Q2DFlA/2ycmSKW6rZNZW8IDWYz0FDs7FUMGvjtHMoT8gjxZnTHTvrkeZPDLHtLaab0lf7GNFkL7iRW4z4R5Kppl4AVffaqD+KVdOrs059FycQiW1NW5Tc9NsXwnaCXruhutHMlyuo= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by CO1PR10MB4433.namprd10.prod.outlook.com (2603:10b6:303:6e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.11; Mon, 6 Feb 2023 03:49:04 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::d353:3fb:94e4:18b9]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::d353:3fb:94e4:18b9%7]) with mapi id 15.20.6086.015; Mon, 6 Feb 2023 03:49:04 +0000 Thread-Topic: [External] : Re: bug#61281: =?UTF-8?Q?=E2=80=9C`?=(a \, b)=?UTF-8?Q?=E2=80=9D?= equals to =?UTF-8?Q?=E2=80=9C`?=(a . , b)=?UTF-8?Q?=E2=80=9D?= Thread-Index: AQHZOdePKprvDmeOmUKkqxL4ZtEbYq7BPbRA In-Reply-To: <87ttzzsdft.fsf@web.de> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|CO1PR10MB4433:EE_ x-ms-office365-filtering-correlation-id: 075a0158-ac37-4bc6-a1e6-08db07f51714 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nT9Ef161ednXP+vfC1mDV0GKF/SffvLf52HUBCCmsBIXUlt2bzUqkUjVWgVgzCPur6MzclcmulT+tExc+x5R4+teqJdmo1vaQpTI7+6kMfotBu022bFbZ2/h1BrM3kRKKmU+vqFXUbduncJLvWjCQXgjZHfsNyGgyF2Qdp/xIEaUqISHlb/y7UdedBTrvcFDzzVE9r7/lsMRaVePYWAk48gHjXEUG8MFq2/WZJ3E470J8QXZVclKiaIZ3n2t2ckGxjbUVVKVnLP6ScdRTLMJrCyAREmC0h62KLZb20wAaMRigOAwCJreXNu1hVxz6T49aHngyCLqKULiFF50zRhFYhMILluq6zxlsxZHPbCipIxVxYVhtfIUwQ0gEcF5787Jqy3Ltg3CcQQMApCC7uj7Ni5WQzGg8mGYSqIGoBX0oiQb//6m2N9S398B6PPUcbawgU73nzSZsSoUezYWBtQe8EncWqOTXv1/dUrp/1reb4ZttqCxIdcZgSc9qwSjVfjLtDfq47Ok7gkx6WF7miuBMzHPOFwaqcS30RrLYQG/eiyOcKA9P7r42yvNt8hs/uYgwoccCzZzraOPdvYvMNjIBoVcB0/qQQyK5Tdn9Lj1VO8Nx1ON+J76MIFEjViYMrzI6ZBmpsOmZc/4tPIfy2/GK05Hfn7upi3BS1nh5FCalaao4lQXP4U3YDNgWAN1Brnj3hKwimdxidLMPaXxJ1gFkA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(366004)(39860400002)(396003)(346002)(376002)(136003)(451199018)(86362001)(33656002)(38100700002)(122000001)(2906002)(38070700005)(7696005)(55016003)(54906003)(71200400001)(316002)(478600001)(52536014)(41300700001)(44832011)(5660300002)(4326008)(8936002)(6916009)(64756008)(66446008)(66946007)(66556008)(66476007)(83380400001)(76116006)(6506007)(186003)(9686003)(26005)(66899018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: zZR4uXYmr7tXthxzbyRYXGiCF4aq6GPOPPaChAElGFMVG6rSlenXOzsWN+pTQR1tn+QRBsYexyIe51zZPa7DFostE56MjGx13QhL9p9BiqKDQbDYEQNHb8GRo505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MiSesJYF0NsH9W8TkwEAURDnDOYwc8DYpwUFPEB12z2Q6EuGrRoT0Mr04w6trShZ62F1qf4CaNDegC3AqANvaYTjz1vF5oDS1wRjsZ18piqrdDDyda+hwcm0Drm0QKfKTMvcMe4YUDjsqgJ97+oEcrnbNXX5OHRPyY9eKEQIv284E9ZvpbbgtkXlMu3VvK81B7El6L2dq51xU4npDrrGWryHoPxv4IheJKfACJe1vUR1oAOh/dK7D14hX/C3Cj0TRDiv8fJPj0/vXA2g8Q2gLOhdQDISO2W/HqRFL707SGtJtyFzgzh6i+WUusgtg/hEoo2xl4Loboe7girYD/kurl0xFRFAJ6+hRCtBdskWYwN29H/QG/kW203Ci7BW7UlyMWLWjNlt3bNVbvFVc/YKb2lt5APIQeM0gROpcx5uDwedgdlBHPS+/hA8Cn9FLNfB+yeOrR/FPm8MJ5zLwTpPScgb2idMs/fTsqOVvrWMLF5Ho 5KMP3nF8nepSA5AjRke2OtJ60KhMzaL0PhbI1oRW95hiogR7GY1AMxiFFPv/qR9UCEXpkMZOGt8HIU1XRu X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 075a0158-ac37-4bc6-a1e6-08db07f51714 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2023 03:49:03.8510 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SylBO2du7yyaHaU1yIgXaQuoNwUanLy0gZulEsNFMjNrDMRO9SlTMkAdfriJIBmauNJ2aWBptjNGJuH9kKn9fQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR10MB4433 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-06_02,2023-02-03_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=963 malwarescore=0 adultscore=0 phishscore=0 suspectscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302060033 X-Proofpoint-GUID: xvHvBBoU_wEx6FS-5k3RGSp-1dNGNB-X X-Proofpoint-ORIG-GUID: xvHvBBoU_wEx6FS-5k3RGSp-1dNGNB-X X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254926 Archived-At: > > And the question is about "\,", not ",". > > > > (setq ,X 42) ; =3D> 42 > > (setq \,X 42) ; =3D> (wrong-type-argument symbolp (\, X)) >=20 > The other way round. Yes, I accidentally reversed the comments. Thx. > "\,X" is interpreted as symbol, just as "\,". Yes, backslash escapes the special meaning of comma -- but only outside backquote. Unescaped comma by itself is not interpreted as a symbol inside backquote or outside it. And leaving aside the X: (setq , 42) ; =3D> (wrong-number-of-arguments setq 1) ; from expansion to (setq (\, 42)) (setq \, 42) ; =3D> 42 Comma is special in raising an error outside backquote. But there, escaping it makes it just symbol syntax. Not so inside backquote: there, escaping it has no effect -- "\," and "," behave the same inside backquote. > What's the question about "\,"? Why is it equivalent to "," inside backquote? > > (I'd be interested in what the case is in Common > > Lisp, including what a typical implementation is.) >=20 > AFAIU, there are different implementations. I tested two random CL and > two random scheme interpreters. Of those 4, 3 expanded > ,X --> (unquote X), and in one case ,X was read as an atomic expression. Sorry, I don't know what that means. How is "\," syntax treated inside backquote in those interpreters? If different CLs have different behavior in this regard, then I wonder what the spec says about it (if anything). I didn't notice anything. > > The question is whether \, and , should have the > > same behavior. Certainly \z and z have the same > > behavior. But character z has no special behavior > > inside a backquote. >=20 > I think the necessity to escape the comma to get the symbol has been > introduced to avoid ambiguities with uses of the reader macro. Not sure what you mean. I'd think it's to give you a way to use comma in a symbol name. Same as for the other chars you need to escape for that, such as "(". Escaping a comma outside backquote works, to give you symbol syntax, but that doesn't work inside backquote? Why doesn't it? I don't mean "why" in terms of "how so". I mean why _should_ that be the case? Is there a good reason for this behavior (in terms of useful behavior, not in terms of implementation)? I don't see any, so far. > > \@ and @ don't have the same behavior inside a > > backquote. And neither do \. and . -- only \, > > and , have the same behavior. > > > > To me, that's just an implementation/design > > thing, not something normal or inevitable. > > Not a big deal, not the end of the world. > > [A] minor unfortunate thing (gotcha). >=20 > In any case, much too late to change it. >=20 > > I pointed to the comments in the code. They tell the story. But I > > don't think there's any such explanation/description in the doc. >=20 > Yes, it would be good to add something. Glad we agree on something. ;-)