Received: (at 64537) by debbugs.gnu.org; 22 Sep 2023 09:08:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 22 05:08:44 2023 Received: from localhost ([127.0.0.1]:35316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qjc9T-0005pM-SF for submit <at> debbugs.gnu.org; Fri, 22 Sep 2023 05:08:44 -0400 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:44230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1qjc9R-0005p9-0n for 64537 <at> debbugs.gnu.org; Fri, 22 Sep 2023 05:08:42 -0400 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2c135cf2459so18941141fa.0 for <64537 <at> debbugs.gnu.org>; Fri, 22 Sep 2023 02:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695373704; x=1695978504; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=zXkxQ3ACPzH974j3xJsFFHhKmgBJdqxkf7vQEjga0iI=; b=cwgOSXNWoGeYNOJluJIHeIc9tyHr0PzrCEQQ/iNMtkYKh0XwwxI4Jq19AIeUEY/5Sh ow3l6gdHRj9E/K/ejU+4LDMDzlWIalQ9PN3oefryawuMN//e+QnBB23B80V8CPNyBfGf LEVB/rtzVSmt45+tODvlrLcyyAgrckREhZ3mWHPiQyLYP3vK/tYabosDCAy+kSzkjDmk Yg2SG8u1X5tMlDEwY3Id0lA+V8MNtU2DCEzXqBOjzbb/zCBJILA7t9uQv/AJuoyu+F9l tjGayPVcdxHnOLt9mWR1rEKaw/XJ54iujsy6vWGFTmiu1qA+4hyGmHkkbo8R4ESvFvft zIdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695373704; x=1695978504; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=zXkxQ3ACPzH974j3xJsFFHhKmgBJdqxkf7vQEjga0iI=; b=VBuUcCp4yUtq4dwOtIFZoGYQAGET9pzwfmBN97/eTNSCORhEkcnJNHsAR50lnntRUA pfI8WbVxrdwQfxIrQzOBXeZWyWpp4rxNJBKib9RHTgpVyp2hPo2rcylIT+t9eeWsBk2F cm/GhvN/LQm0YssJ13BjYConcMQHSSOQOUJBeRk5mCXN/rfGq91LJ6f5xOLTm5/JFbSv lWK7LdC6l4JqKDLuTxk6NRzfEJII6rbGAUzWhgzosVBmGWP1ezyiB+ZOB9Z+kL93kVnO sAYNzKhu+0vHfMXYgCRQjqMaJeSb6MZi9Rsg54m651QXKyBnUyzJMA0izL46d+TJ5U3w G+xA== X-Gm-Message-State: AOJu0YyLObv1+6feRR9AjHerYNBmFI6pN9/N9VbH2TbNhNFN+AwRWo/s zVTQ/riRMofe6kzUOu1sOZYsA+DKCQE/GB5UwPw= X-Google-Smtp-Source: AGHT+IEW/qrvwEkyUX+W/JFRDigPSgsi4xPHQAKAVqt5j1eUKSF6EoSonmY7uaGX3cGHqPJ/gv91Cieu4/6RLl9S6wY= X-Received: by 2002:a2e:b616:0:b0:2ba:18e5:1063 with SMTP id r22-20020a2eb616000000b002ba18e51063mr6252082ljn.50.1695373704136; Fri, 22 Sep 2023 02:08:24 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 22 Sep 2023 02:08:23 -0700 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <PH0PR11MB74706AB88ADC104AFABD8C29D733A@HIDDEN> (Shynur Xie's message of "Sun, 9 Jul 2023 05:40:46 +0000") References: <PH0PR11MB74706AB88ADC104AFABD8C29D733A@HIDDEN> MIME-Version: 1.0 Date: Fri, 22 Sep 2023 02:08:23 -0700 Message-ID: <CADwFkm=eiZZHUUPcxOtjXAx4CFLoCqs8Sa76VngWptADJoo5eg@HIDDEN> Subject: Re: bug#64537: mix lists and vectors when using backquote To: Shynur Xie <one.last.kiss@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64537 Cc: 64537 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN> 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.0 (-) Shynur Xie <one.last.kiss@HIDDEN> writes: > The docstring of =E2=80=98backquote=E2=80=99 says =E2=80=9Cvectors work j= ust like lists=E2=80=9D. > Should we also clarify that mixing lists and vectors these 2 way: > > `(... ,@[...]) ; by contrast: `(,@[] 1) =3D> (1) > `[,@'()] ; by contrast: `[1 ,@'()] =3D> [1] > > will lead to unexpected behavior? Or suggest not doing so? Or let > =E2=80=98backquote=E2=80=99 detect this and signal an error? Copying in Stefan Monnier.
bug-gnu-emacs@HIDDEN
:bug#64537
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 9 Jul 2023 05:45:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 09 01:45:57 2023 Received: from localhost ([127.0.0.1]:45585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qINF7-0005oC-1r for submit <at> debbugs.gnu.org; Sun, 09 Jul 2023 01:45:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:42648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <one.last.kiss@HIDDEN>) id 1qINF5-0005o4-1o for submit <at> debbugs.gnu.org; Sun, 09 Jul 2023 01:45:55 -0400 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 <one.last.kiss@HIDDEN>) id 1qINF4-0004sE-OU for bug-gnu-emacs@HIDDEN; Sun, 09 Jul 2023 01:45:54 -0400 Received: from mail-dm6nam12olkn20828.outbound.protection.outlook.com ([2a01:111:f400:fe59::828] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <one.last.kiss@HIDDEN>) id 1qINF2-0006wl-I5 for bug-gnu-emacs@HIDDEN; Sun, 09 Jul 2023 01:45:54 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZvDAkjdeVqWdfeNjbeHoS4ECGi8Cvh7DaUNZDeX+A34VlWWUqe10gS+MhCxuT6k7RvH+E1cLzYHMjcEzepsG/0p9qY71eD/8e0QEOO0Y9Kr7Yd8YLfF//tBAWWf1Sde/fNnpcehyFUAWdvF3L/qg+lBfH2SW6LusY+e7TTyIT1445jlgzbBO9SZKl2TQSFDCtYpjQNAUQ0AmUPknqBDPuS0L/vEC9arzojg2uI1FvFqhgdkBfXYgD/ttKKzqV/njOK4SuSY+eER8FEkUDYAMILIqJGCmzPbmO137zZiJlVt3wpuKuL1+mNgRwpM1p15fxPHWDsnTGSvUnloCOB/HHA== 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=jGRg8NDToCLS0d1Yp1KcYtvCfkt5GaOfSCbrzCuEMHE=; b=Cwux1IGtZZOUqSS2L+CNUjlVN1U4DOOTc3m4g/M/8+av7jL95Y+EAXkdhNDU/7QOh1Futpeac2JE3KKL7fe5nDFcjghb7+V50PwhhxHuSkuYp3e6l2N0JoEW3nCObFG80uBHjvI7rbVJ59ofF5OiDB24rGBkuOEkE/PC5u2S/Q+tIbY1GV6Xgw6j+ZtG+prm3722WGVaGaRJjvGJKqo3T9aUsK0sFWZ1WXF9ja38S9LWXWUwpXfoBbV0dq6bF5uNzC/S5lxKhsI7JSykj5Q/8j3cPhFunj/WAlCKkKRZ9IUb3WKXUWlyzXRU+7ganZPTmIs96wQqcuCKB3DG7cPgPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jGRg8NDToCLS0d1Yp1KcYtvCfkt5GaOfSCbrzCuEMHE=; b=PGAA0wGgsuelx7ap9ubcQ5Us5tKoRoMTAOadm7Ela5uBrweG7/BWYqErJYWephjDCqgGzIWXzGSnq9k4UbtDXB37FHwkcGe/f0F2uecYYsXRKsJ/o/LysnSLxMoy03626GvvKZdWqVVMucK1C/rx86Uc9ebO6nuZz1byrSAqNwylvP9d4I2zGUIeG3WOnKup6nLWWEehERm+1r4zmD1kKOEBfmlt5niLwzs+lW9nJXSj4r/EC12IHsgg22uduq++cb80/1zFrLlNFcWd5rL4VQuWXo57Ru6xtAv1nVDknCTCDqZnPwbFoKY4Ec/TZy/hlnhuqNdUr9iYDoxBHw4mkQ== Received: from PH0PR11MB7470.namprd11.prod.outlook.com (2603:10b6:510:288::7) by PH8PR11MB6683.namprd11.prod.outlook.com (2603:10b6:510:1c6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Sun, 9 Jul 2023 05:40:47 +0000 Received: from PH0PR11MB7470.namprd11.prod.outlook.com ([fe80::33a6:2293:e0c6:72ed]) by PH0PR11MB7470.namprd11.prod.outlook.com ([fe80::33a6:2293:e0c6:72ed%4]) with mapi id 15.20.6565.026; Sun, 9 Jul 2023 05:40:46 +0000 From: Shynur Xie <one.last.kiss@HIDDEN> To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN> Subject: mix lists and vectors when using backquote Thread-Topic: mix lists and vectors when using backquote Thread-Index: AQHZsifQWBtxJbnZjEuHC2aJmgCHZA== Date: Sun, 9 Jul 2023 05:40:46 +0000 Message-ID: <PH0PR11MB74706AB88ADC104AFABD8C29D733A@HIDDEN> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [3Q7R41ZHo3l7Di6qlhiFRVzB9uvkzxrb] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB7470:EE_|PH8PR11MB6683:EE_ x-ms-office365-filtering-correlation-id: 4d173427-b1ee-4d88-fad2-08db803f0b7d x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LnGbFebIW7ukrv2Ts2/MJe4csoklNHni2HG8+hKbJsCYtB8R2aW8SRVAaotHVEWHwhv8f2vwxsX91SmzQv6kFoWS8T63yD5/hI+aqH7meseAXefzikZ/kUDkpQ9kPTy7dAFvAwRMnJjIxPQcz0tGnKWduexlOUvuUnj6xzXntXCj4cOjs613yS1BuOiHdtdrCBWvQKI7TGRmPBU4NT8UADpEfd58rvcAKch/paSXzb2jXc93oxAtm3hxdRDzfnU/Z2J57xLliaduDcufmMGhgVjB+r9pziM6vCpXOkUmODBoTsk7bI8Im1AVqAmOfGUHP6ldCXEH1SYI2Jku0wJhMqe+vCY4A5OggEq4zzdnd6hSVOHhTIbDOAi2ZvWIKngcsvjST4gI0ab2/RjYPY3ENlKzMCakmndlxqTMp7juBynh+IAcuAnAZvunKJMWD8BeVzJNTaVSJ/kqwEy9NeitXFIttcO/F3y32W6xeexhYzxtp1OQrG7KJRM2KDGcalH0yxGSLtwU1uqnKbXvTytOET6Z7EVoDNOUOp7S8wW7log= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?dQVxrA1Cd5pfecwX52M1Wju1bdEQ+RyJ3WNtmOmZQLeqv+/W/pxJ+IRq?= =?Windows-1252?Q?9n3glVVlPx7yICDg2D7OatO6jA8eD0LuidRm+RVaSC0BBU09y1g9qSao?= =?Windows-1252?Q?cxh0BrR/dPQRPGzPiOJTZXtCVJ5TlcRZNb8gTbybi+yFmpliizfmRIXD?= =?Windows-1252?Q?oMmr9RBAR8lGhzFxM2K3F0wXZurQhC3s04d70BTDO5LkoYYig7vwaBJ1?= =?Windows-1252?Q?Sxvlk0+ASQAc2QmqTuV0938WuglGQnBwBXrDi0HwrJM+li3muABszz0M?= =?Windows-1252?Q?2ULChPf/UzQfWUj74mP2YzGnWQLo4G8sf8uO+ysrrcIKMSYpLaG8JlaM?= =?Windows-1252?Q?bQ1SFwQj7M1w3heeYcM5tNbrh6NTO83RvDt2FwfTE3Y06Gpw+ReSc2RY?= =?Windows-1252?Q?ln1Q2m0WisOmP3KmHQrGnRqQ6TTI2dacXdHKM3+y+7f4owzBxwY8YuAN?= =?Windows-1252?Q?hxfpz35NsFajHqfvTAUk0n7MeehBuSxEebcyheh8ZAt/NvxmyZfXs/7r?= =?Windows-1252?Q?bcNn3jS5Q1+vWLQvsXM2hBlgl+pinOszpyujeyOszIhb0hImX5wIcCUJ?= =?Windows-1252?Q?WrOewHgIRho9uoBHKkPSxAhEVQwmCZ/xff0u3WCotwastxooyVW6vhH3?= =?Windows-1252?Q?7TtMJM+cWBDD1nC4Es1uQim9fuylVEqu/Fnqxf7QV5HHQWF5ITF5ATUQ?= =?Windows-1252?Q?mDfKM0APWwgHqHyGhbwYvUOKEL5efyqt6obVIJ+94HH0FKC6pWOoj022?= =?Windows-1252?Q?QnESP/eAd8m77lkK8CRhdq7P2sMm9FHPKyWT13YrhZE6nITUCes2crKQ?= =?Windows-1252?Q?HooMhqYBS+eBuewxwHCnRPxRob3mKs5teYGA4FTtkvOp05hYwDjkXyXD?= =?Windows-1252?Q?qlEht/QtUwojhJoTN9Iym8I4ohOZueQ/TXga9DP9WX/jceCYL5DHO8lf?= =?Windows-1252?Q?QBVQA7+An5GDFtVMh2LFv/3Xe1r1vEmlzMYrBPxaXOY0fjlpNrpxxmRi?= =?Windows-1252?Q?TqXwUIVNxVJQdiYsRjWfezGIvKTydtWc74kTPBzUzdu5UppyzWKqVPKO?= =?Windows-1252?Q?stcaxaqb9TWzkqbGmATyAY59jGu0188SSMzL+e6UUFvnuKIV40Bf12dT?= =?Windows-1252?Q?JsoA3bUTOd18fAf/fBqrYu2myYz1WrCy4wVIwJ/U/i3oweiekSPt3iYt?= =?Windows-1252?Q?LYP0nqNYR6fOL0X9gJZyJTSk5AnQ9jlPoiJa2L8nusMHCApw1N5TXHXl?= =?Windows-1252?Q?Ni/1kFXOGWhvYPYFBGXzqOgiReu88kMGnezx7SjP?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB7470.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 4d173427-b1ee-4d88-fad2-08db803f0b7d X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2023 05:40:46.6903 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6683 Received-SPF: pass client-ip=2a01:111:f400:fe59::828; envelope-from=one.last.kiss@HIDDEN; helo=NAM12-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) The docstring of =91backquote=92 says =93vectors work just like lists=94.= =0A= Should we also clarify that mixing lists and vectors these 2 way:=0A= =0A= `(... ,@[...]) ; by contrast: `(,@[] 1) =3D> (1)=0A= `[,@'()] ; by contrast: `[1 ,@'()] =3D> [1]=0A= =0A= will lead to unexpected behavior? Or suggest not doing so? Or let=0A= =91backquote=92 detect this and signal an error?=0A= =0A= BTW, if [[https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64415]] is=0A= actually not a bug, please consider document that behavior. Thanks.=
Shynur Xie <one.last.kiss@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#64537
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.