From unknown Fri Jun 20 07:17:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62020 <62020@debbugs.gnu.org> To: bug#62020 <62020@debbugs.gnu.org> Subject: Status: Lisp reader: dotted pair notation not working when initial elements are omitted Reply-To: bug#62020 <62020@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:17:48 +0000 retitle 62020 Lisp reader: dotted pair notation not working when initial el= ements are omitted reassign 62020 emacs submitter 62020 Federico Tedin severity 62020 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 06 20:14:20 2023 Received: (at submit) by debbugs.gnu.org; 7 Mar 2023 01:14:21 +0000 Received: from localhost ([127.0.0.1]:44045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZLuG-0006gZ-Jr for submit@debbugs.gnu.org; Mon, 06 Mar 2023 20:14:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:56200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZLuE-0006gR-H6 for submit@debbugs.gnu.org; Mon, 06 Mar 2023 20:14:18 -0500 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 1pZLuD-0004Tu-VL for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2023 20:14:18 -0500 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZLuC-0005YQ-AE for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2023 20:14:17 -0500 Received: by mail-pg1-x52b.google.com with SMTP id 130so6722932pgg.3 for ; Mon, 06 Mar 2023 17:14:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678151653; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ZhuiW9cT98BTxgq9hsTsIexk6exqpHgV0uLny62QGyo=; b=KuoP/O9a/x3G3evgoI5pT7q9BesrJmm5Myg191brbsNOC9vS6jKR6+Rdg09HOOypYc 7W6VkCaVbkywUpihf1gJC4J/kiJwiWnVL/1pZdVOBqgSZyJLO8CDxV3Jc8IMYn3S4pkV mtg6zGqfyw4M/hftTlfDR8bhZDX59pPzHPnBBg4nF9/9nu27XzMKLVC6V1EKAl5RELRD IFytPhThzjz6TIdhQOtGHsj6FUg2t+ocKuePreYR4elOnw8FtKL8pgb+UpPwXA/KyiC3 t38zAoyWhJQltu86vOa2vATVCANsqFp3Ny+hWu0+h25IZO+eMmVBE9JzrWbEBm69TNpR +sUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678151653; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZhuiW9cT98BTxgq9hsTsIexk6exqpHgV0uLny62QGyo=; b=hqScjhUJuc/95JUb2crtRbjk/aUCMLe52meY18mzgfY9Gk7qV1IbpS4sZzA/0xg+XO Mqa92psh064Lv9LnqB79WyqCzT+nwN/40msI9yKhQBknFm8Q/A80pPZ5OeyOqTitTqWp +VKzYAnYr0z4qBnG28qhSSnp7/lHeb2eYbaqBcOTgraUZrbOAtb3guhy4xoBR0zLrOD8 jlg8X1J/RPbWL0kLJmeUht1fbLoG6cZYM987O2GxQmLbK0u4E9uLn4wZkco3K75BGeX0 kuLQcflBPPXpQJcjBjKHKeOJKeGpHOVH+xkIuFspBhz4y6hcTg0KQe84NFiwS6f1tNvl YfvQ== X-Gm-Message-State: AO0yUKWOodK6gdTxeSpBEDvR+mFgEnt5xpw4emwZT8/I4Yr+iAOLnZL5 hnMFQif8WmIcp9BK29Igf0NXdvvMQK/zWMfxok0FAXovJkU= X-Google-Smtp-Source: AK7set9L4zKBEIvU329XhVy2j11KiBviJnlv7+FTVEzUT0esHlr3YP0IYElhUmzSq4Akyuu7VaROuZynxBdrLNzqrO0= X-Received: by 2002:a63:5508:0:b0:502:fd71:d58c with SMTP id j8-20020a635508000000b00502fd71d58cmr4764292pgb.9.1678151653312; Mon, 06 Mar 2023 17:14:13 -0800 (PST) MIME-Version: 1.0 From: Federico Tedin Date: Tue, 7 Mar 2023 02:14:02 +0100 Message-ID: Subject: Lisp reader: dotted pair notation not working when initial elements are omitted To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=federicotedin@gmail.com; helo=mail-pg1-x52b.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) According to the Elisp docs (https://www.gnu.org/software/emacs/manual/html_node/elisp/Dotted-Pair-Notation.html), one should be able to evaluate e.g.: (. 1) to: 1 This works correctly in Emacs 28.1 However, in the emacs-29 branch (bd07cec) this results in: *** Read error *** Invalid read syntax: "." Since the description in the docs are the same in the emacs-29 I assume this is a bug. I believe this may have been caused by the changes implementing the nonrecursive Lisp reader. I believe the fix would be roughly: - in read0 (lread.c), when handling c == '.', ensure we handle not only the case where the top of the read stack is RE_list but *also* RE_list_start. - if the top of the stack was effectively RE_list_start, then the top of the stack needs to be manipulated somehow so that at the end of read0 the correct value is returned, when emptying the stack. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 07 07:54:12 2023 Received: (at 62020) by debbugs.gnu.org; 7 Mar 2023 12:54:12 +0000 Received: from localhost ([127.0.0.1]:44754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZWpX-0002VJ-OS for submit@debbugs.gnu.org; Tue, 07 Mar 2023 07:54:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZWpW-0002V4-FH for 62020@debbugs.gnu.org; Tue, 07 Mar 2023 07:54:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZWpR-0004j2-0h; Tue, 07 Mar 2023 07:54:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=BPuoc0ncu37Ev5HIxLxt+gzAvsdsNeAi1PUVn6aQHOc=; b=ceq0mHxH+Nt8lGtOzmyC vgwGot5GxN4TpTVxcrxVuWqeGPUj+329TC0HK9TjO3zW8gGXWUY5cAJulK0EFXKWK7lh5cWKDSn7f /GYkOMyYmHVQ7dqTptnEifibThgG/5EAUprpIP9i9BjOE/0apyGwIGnqpd5VoFYlt0EMX0RBq+84K ql0nbInOR6AbJn2Cw5AuP1PSeAt938liIZL40JlJfeXJDqLb8KhRLY7nS45xhzYG4TyRxu6Um0oez hwnFLgyDiNGkq2za8a4FxAuLS3YRsoo+MkZL1kPWgZVNoIC5m738450Q05rHKJND+NV2wb8YtwXPo 4PNd45Sh2zDGkg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZWpQ-00055P-Al; Tue, 07 Mar 2023 07:54:04 -0500 Date: Tue, 07 Mar 2023 14:53:59 +0200 Message-Id: <838rg87me0.fsf@gnu.org> From: Eli Zaretskii To: Federico Tedin , Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , Stefan Monnier In-Reply-To: (message from Federico Tedin on Tue, 7 Mar 2023 02:14:02 +0100) Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62020 Cc: 62020@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Federico Tedin > Date: Tue, 7 Mar 2023 02:14:02 +0100 > > According to the Elisp docs > (https://www.gnu.org/software/emacs/manual/html_node/elisp/Dotted-Pair-Notation.html), > one should be able to evaluate e.g.: > (. 1) > to: > 1 > > This works correctly in Emacs 28.1 However, in the emacs-29 branch > (bd07cec) this results in: > *** Read error *** Invalid read syntax: "." > > Since the description in the docs are the same in the emacs-29 I > assume this is a bug. > I believe this may have been caused by the changes implementing the > nonrecursive Lisp reader. > I believe the fix would be roughly: > - in read0 (lread.c), when handling c == '.', ensure we handle not > only the case where the top of the read stack is RE_list but *also* > RE_list_start. > - if the top of the stack was effectively RE_list_start, then the top > of the stack needs to be manipulated somehow so that at the end of > read0 the correct value is returned, when emptying the stack. Stefan and Mattias, can you please see how to fix this regression? From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 07 08:31:31 2023 Received: (at 62020) by debbugs.gnu.org; 7 Mar 2023 13:31:31 +0000 Received: from localhost ([127.0.0.1]:44819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZXPf-0003Sn-7v for submit@debbugs.gnu.org; Tue, 07 Mar 2023 08:31:31 -0500 Received: from mail150c50.megamailservers.eu ([91.136.10.160]:34120 helo=mail50c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZXPb-0003Sc-Ob for 62020@debbugs.gnu.org; Tue, 07 Mar 2023 08:31:29 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1678195885; bh=1j6OpU5aU8LTk8YurDAxsmiNZzNbL4WPcJBbAy+CM6E=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=fbZn1BfHkVPXmqlR/TnzY/Fg1N5wziELBqFepun7xjWSJw7chvQ76LdJG6KG5PQM2 XsdosXqon8Ib/8pv/zbQ0kk01sVLnyARCWuQcAC7Nn51eWEjkv17SHsNJ0Y6caJ2b4 Sqw+DE8LkxQ6jFx1o1tghEgdHRp2foELPru8dR5U= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se [188.150.171.209]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 327DVKfm040933; Tue, 7 Mar 2023 13:31:24 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\)) Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <838rg87me0.fsf@gnu.org> Date: Tue, 7 Mar 2023 14:31:19 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> References: <838rg87me0.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3654.120.0.1.14) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvddutddggeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepveekffdujefhkeehvdfgffeikefghfefvdekueffleegfeekueelhfejieefkefgnecukfhppedukeekrdduhedtrddujedurddvtdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudejuddrvddtledphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepgedprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehfvgguvghrihgtohhtvgguihhnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhhonhhnihgvrhesihhrohdruhhmohhnthhrvggrlhdrtggrpdhrtghpthhtohepiedvtddvtdesuggvsggsuhhgshdrghhnuhdrohhrgh X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 62020 Cc: 62020@debbugs.gnu.org, Stefan Monnier , Federico Tedin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Eli, thank you for bringing this to our attention. >> one should be able to evaluate e.g.: >> (. 1) >> to: >> 1 Federico, it would be very easy to change the reader into behaving that = way and I'll do that if required, but before I or anyone else change = code or docs, and above all much more important and interesting would be = to hear exactly why it matters to you and how you were affected by this = corner of the reader semantics. Could be it that you saw the manual passage, decided to try it out -- = which is good, we want more people to do that -- and observed that Emacs = and the manual didn't agree on that point? As far as I can tell while researching ahead of the previous changed, = the documented (old) reader semantics was merely emergent behaviour of = an under-constrained implementation, never a purposeful design for user = convenience. No other Lisp (Common Lisp, Scheme etc) implementation known to me = provides such a reader 'feature', and no evidence of any use of it was = found at the time. This is why your report is of such interest: did it = actually break existing code, and if so, how exactly? From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 07 12:24:51 2023 Received: (at 62020) by debbugs.gnu.org; 7 Mar 2023 17:24:51 +0000 Received: from localhost ([127.0.0.1]:47123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZb3T-0004CV-67 for submit@debbugs.gnu.org; Tue, 07 Mar 2023 12:24:51 -0500 Received: from mail-pl1-f179.google.com ([209.85.214.179]:44771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZb3R-0004CG-OV for 62020@debbugs.gnu.org; Tue, 07 Mar 2023 12:24:50 -0500 Received: by mail-pl1-f179.google.com with SMTP id a9so14858461plh.11 for <62020@debbugs.gnu.org>; Tue, 07 Mar 2023 09:24:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678209883; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6DT/2jUHJ2oDUjWOaKu3PRBbB0ZHFXdlQuvDCDAj78U=; b=ESwB/t3nW0kMFpScLzd4JUKSsG3qV6MQn2v38rdM3cAWVAdDE53zhriBNBFP5TJjo0 soRfdMCyGXX12wjTavA9eCIT5irWBNGEOoEYKfw8yPDCkXPG8NF/ziuUYFxuEdAZRfvY bXYu1uWHZO+SeHwnRm8bfHevqP1X4nA1PkJEl2gHuxUpjV93/drWbZNZZV0eiykFMcQQ kmif5VO3eP66mMdbHZUsG6WZqW+8M4tLuABV+KpG/hqzcty3H6t2ynaqABoWutRQQphu Cm03kq1v10VK6/yN0dfRL6HJtAW/KWBw6R310U5D/4AjZ25BqDseutLW7jnagk1ieHlE o4zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678209883; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6DT/2jUHJ2oDUjWOaKu3PRBbB0ZHFXdlQuvDCDAj78U=; b=nZGiwesSSEZ457hPlyPfdUwArRe18E/fBzXMU0VlUOUDRowI+/t9+LOLOoH6gP3v59 F4LrQZ7k55d1Gd/YsPW51rMZvDgf2zR6UKDGorlDS0SG5v5mqHqzYtZjUJ9n7ja5OoDp TlHS3DBRCVzgS9oB/6KXq2HDCvTqcMx/IWBnsETSyzCtpYOOhlfbgdKT4qQc/grNWUUc UD27rEI3SUC038rtUPTcHZBrPzSytWpaC4ja+7/cgQNLjPFzF6cvv+zKRwUsRrqI1jXW 89lbOJs5Noa6gR7RMnWvvP6r20f0Jln4Bkhs5RONRWSSJErPUOC1dQ7Tn8EAhyndOU+j jJ3Q== X-Gm-Message-State: AO0yUKV+7te7QEYf6OrNap1ObqrCv2AW5rClaMPNzsBsLEvplsz3olKx 57niMbRHN52aaedEHtZ70DRcaoNn8XD6d+gjXR8= X-Google-Smtp-Source: AK7set+7rKWOcUNf2FMP5guJg4TDWe+dpoDN5CM6AhNwqTdreVj06YBrTwcNUYtH+kBz6OIxPR4QivmUrQTwppfXe1c= X-Received: by 2002:a17:903:31d5:b0:19a:f9d9:28d4 with SMTP id v21-20020a17090331d500b0019af9d928d4mr5871057ple.3.1678209883510; Tue, 07 Mar 2023 09:24:43 -0800 (PST) MIME-Version: 1.0 References: <838rg87me0.fsf@gnu.org> <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> In-Reply-To: <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> From: Federico Tedin Date: Tue, 7 Mar 2023 18:24:32 +0100 Message-ID: Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted To: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62020 Cc: 62020@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Federico, it would be very easy to change the reader into behaving that w= ay and I'll do that if required, but before I or anyone else change code or= docs, and above all much more important and interesting would be to hear e= xactly why it matters to you and how you were affected by this corner of th= e reader semantics. > Could be it that you saw the manual passage, decided to try it out -- whi= ch is good, we want more people to do that -- and observed that Emacs and t= he manual didn't agree on that point? > As far as I can tell while researching ahead of the previous changed, the= documented (old) reader semantics was merely emergent behaviour of an unde= r-constrained implementation, never a purposeful design for user convenienc= e. > No other Lisp (Common Lisp, Scheme etc) implementation known to me provid= es such a reader 'feature', and no evidence of any use of it was found at t= he time. This is why your report is of such interest: did it actually break= existing code, and if so, how exactly? Hey Mattias. The reason I found this is actually a bit funny. I am working on re-implementing the Elisp interpreter (and other parts of Emacs) in Go, as a hobby/learning/fun project. My initial implementation of the reader was based on the old version of Emacs' reader (i.e. with read0 and read1 calling each other). Recently I decided to port over the changes made to the Emacs reader (nonrecursive reader), and immediately after I finished, I ran my test suite and realized that some cases were failing. All of them were related to the trailing dot notation, specifically when the initial elements were omitted. The project itself can be found here (https://github.com/federicotdn/pimacs), the reader is in read.go and the test cases in interpreter_test.go. I implemented a fix in my code in order to still be able to read these expressions (though it's a bit ugly at the moment). I agree that using the (. x) notation is not really needed, I haven't used it in any of my code myself. And specially if no other Lisp implements it, it would make sense to consider its removal! Though I am not sure how these types of changes are handled in Emacs. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 05:37:43 2023 Received: (at 62020) by debbugs.gnu.org; 8 Mar 2023 10:37:43 +0000 Received: from localhost ([127.0.0.1]:47851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZrB1-00052z-1Q for submit@debbugs.gnu.org; Wed, 08 Mar 2023 05:37:43 -0500 Received: from mail1479c50.megamailservers.eu ([91.136.14.79]:43410 helo=mail118c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZrAx-00052j-Hf for 62020@debbugs.gnu.org; Wed, 08 Mar 2023 05:37:41 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1678271852; bh=NcjVtYzXpGQQPAxzu68d9TiF/SGtKz6ETNHS7G/7rRg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=gFqHqW+wEhdJUP5loI4UnvXA68RvwsQ+zBgC4CLSpeeTUg9gK6C6WHTpb7VcaV+7w AH8x43RdsbVSRvhGp8wXi6leLFmz3ibk5D5x7w5W+1oKslgVm32KrzC34/dpfdboGL BFfC0ESeWLKQ9satjWzWGVwoCN5ePfK+0zyZI+bI= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se [188.150.171.209]) (authenticated bits=0) by mail118c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 328AbRbU006095; Wed, 8 Mar 2023 10:37:29 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\)) Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Wed, 8 Mar 2023 11:37:27 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <323C23D7-8FC4-45C4-96E4-68C9204822B9@acm.org> References: <838rg87me0.fsf@gnu.org> <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> To: Federico Tedin X-Mailer: Apple Mail (2.3654.120.0.1.14) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdduvddgudehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepveekffdujefhkeehvdfgffeikefghfefvdekueffleegfeekueelhfejieefkefgnecukfhppedukeekrdduhedtrddujedurddvtdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudejuddrvddtledphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepgedprhgtphhtthhopehfvgguvghrihgtohhtvgguihhnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepmhhonhhnihgvrhesihhrohdruhhmohhnthhrvggrlhdrtggrpdhrtghpthhtohepiedvtddvtdesuggvsggsuhhgshdrghhnuhdrohhrgh X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 62020 Cc: 62020@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 7 mars 2023 kl. 18.24 skrev Federico Tedin : > The reason I found this is actually a bit funny. I am > working on re-implementing the Elisp interpreter (and other parts of > Emacs) in Go, as a hobby/learning/fun project. Delighted to hear about that! Best of luck, and do let us know about = what else of interest you discover, whether you think they are bugs in = Emacs or not. The manual should include a formal syntax that describes what the Lisp = reader accepts. It would benefit many users, not just those seeking to = clone Emacs. > I agree that using the (. x) notation is not really needed, I haven't > used it in any of my code myself. That's the general conclusion on this side as well: by disallowing the = quirk we do the user a much greater service than by letting it pass, = since any occurrence is far more likely to be a mistake than actually = intended. Let's correct the manual in Emacs 29 so that it corresponds to the code. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 09:02:17 2023 Received: (at 62020) by debbugs.gnu.org; 8 Mar 2023 14:02:17 +0000 Received: from localhost ([127.0.0.1]:48096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZuMz-0004lg-Ap for submit@debbugs.gnu.org; Wed, 08 Mar 2023 09:02:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZuMx-0004lN-O4 for 62020@debbugs.gnu.org; Wed, 08 Mar 2023 09:02:16 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZuMr-0005cQ-Gc; Wed, 08 Mar 2023 09:02:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=aHEtknKVljFvQjRk4aDrJDZZ1fPap1lL1/JUUYoVU+w=; b=M2S9G/mBEdsVHX87IOuN JMWFStJN4GwlttDy0Zeg9jO1XZtIuD+5zblFM/RVuqoXAOg0CBYMusQ0s994oQMoP53/1pQA00SeJ 9EcDtoHI1Ho3qNdwJGJA3OO6JT4kYZy6t6ak0FkzFXrK7gomYIHIWGE266DEQsEx6Jgs4/3hAxz9h ixg44kKK8AfSoLyMkcyLpjdxhN6CIbrZc47Bl2JTNponi8hAAtvu3fesxDlEBUurF1UTnkiE6vzRP 35gBU1VrXamfCdor0aMoMkIuEzQILPRGeGPaROjlcfr5HqIqLDtJ/aH0JEBoKEsx57cBzYZ6/XnkT Csm1E+0hLQMauw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZuMG-0007TM-It; Wed, 08 Mar 2023 09:01:54 -0500 Date: Wed, 08 Mar 2023 16:01:31 +0200 Message-Id: <83ttyv4a10.fsf@gnu.org> From: Eli Zaretskii To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <323C23D7-8FC4-45C4-96E4-68C9204822B9@acm.org> (message from Mattias =?utf-8?Q?Engdeg=C3=A5rd?= on Wed, 8 Mar 2023 11:37:27 +0100) Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted References: <838rg87me0.fsf@gnu.org> <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> <323C23D7-8FC4-45C4-96E4-68C9204822B9@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62020 Cc: 62020@debbugs.gnu.org, monnier@iro.umontreal.ca, federicotedin@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mattias Engdegård > Date: Wed, 8 Mar 2023 11:37:27 +0100 > Cc: Eli Zaretskii , Stefan Monnier , > 62020@debbugs.gnu.org > > Let's correct the manual in Emacs 29 so that it corresponds to the code. Any specific correction you had in mind? From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 05:11:47 2023 Received: (at 62020) by debbugs.gnu.org; 10 Mar 2023 10:11:47 +0000 Received: from localhost ([127.0.0.1]:53731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paZj0-0001nX-Hq for submit@debbugs.gnu.org; Fri, 10 Mar 2023 05:11:46 -0500 Received: from mail70c50.megamailservers.eu ([91.136.10.80]:38498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paZix-0001nM-Tm for 62020@debbugs.gnu.org; Fri, 10 Mar 2023 05:11:45 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1678443101; bh=YJonlK+x+7w9gPakfAYZOGbC7IXKA8XCKGPQnABVuuY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=muumlu5pljYWLcz5g1dsTqInJtBHDKatAxcdVLYoGF29aUfsS6CclzPG+THv0Gq5q GTxxPoL4Q5u2bIIF9VYWp0VYQk13xgesPyGhyd1TUWKh8+BuvEgnLh+/py2zD/NRK3 RPmG0KR7DOcRmrDlxW3qzeQyVLg87pEo0bs8yjsE= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se [188.150.171.209]) (authenticated bits=0) by mail70c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 32AABaGk110081; Fri, 10 Mar 2023 10:11:38 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\)) Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <83ttyv4a10.fsf@gnu.org> Date: Fri, 10 Mar 2023 11:11:35 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <03783933-C5D0-4D48-955C-3390EDA44F37@acm.org> References: <838rg87me0.fsf@gnu.org> <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> <323C23D7-8FC4-45C4-96E4-68C9204822B9@acm.org> <83ttyv4a10.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3654.120.0.1.14) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvddukedguddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepveekffdujefhkeehvdfgffeikefghfefvdekueffleegfeekueelhfejieefkefgnecukfhppedukeekrdduhedtrddujedurddvtdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudejuddrvddtledphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepgedprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehfvgguvghrihgtohhtvgguihhnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhhonhhnihgvrhesihhrohdruhhmohhnthhrvggrlhdrtggrpdhrtghpthhtohepiedvtddvtdesuggvsggsuhhgshdrghhnuhdrohhrgh X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 62020 Cc: 62020@debbugs.gnu.org, monnier@iro.umontreal.ca, federicotedin@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 8 mars 2023 kl. 15.01 skrev Eli Zaretskii : >> Let's correct the manual in Emacs 29 so that it corresponds to the = code. >=20 > Any specific correction you had in mind? Just removing the part where we say that (. X) is valid, and perhaps = clarify that the dot must follow (and precede) a value. That is, if = documentation fixes are still fine for emacs-29. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 06:55:28 2023 Received: (at 62020) by debbugs.gnu.org; 10 Mar 2023 11:55:28 +0000 Received: from localhost ([127.0.0.1]:53899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pabLL-00054O-KV for submit@debbugs.gnu.org; Fri, 10 Mar 2023 06:55:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pabLJ-000545-WC for 62020@debbugs.gnu.org; Fri, 10 Mar 2023 06:55:26 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pabLE-00089R-LW; Fri, 10 Mar 2023 06:55:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=gkrIs0Bxp1ce4jTjSn9eRDdz8I3CiMmgSHaVezSN2cM=; b=DnezFwj3v35YkVRRW12S xEoUrfzy3w2hCLO2QtwA/OH+eCzvaZ0GXfK1fOrANil+vd08Ja+HCUW7xGaFa5oeSIBQXKsN0ggNd YXkAwzAxam657GslCZ3wOVS9rqlv1/jfbQ22VMgNMWfiaI6HeZ1Fj6ywguNt3eG7HeXn+KPMv9A4K hOLkd9L0NKZxD6iwrZbkZZi6M+4TgOw0zQStXVzN7d4BITfhJ2sai5g5XUPBU/TdmiFT4Q7lY1w0j RkP1cF1glMuCbG+llGxYL4ocad1flkLSaEh7qAsP979d5uxifq81TTkBS6WizSq8VSkyeyoNu8roR MMEjqAi7Su525Q==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pabLE-0002pq-1k; Fri, 10 Mar 2023 06:55:20 -0500 Date: Fri, 10 Mar 2023 13:55:02 +0200 Message-Id: <83ttyszuqx.fsf@gnu.org> From: Eli Zaretskii To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <03783933-C5D0-4D48-955C-3390EDA44F37@acm.org> (message from Mattias =?utf-8?Q?Engdeg=C3=A5rd?= on Fri, 10 Mar 2023 11:11:35 +0100) Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted References: <838rg87me0.fsf@gnu.org> <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> <323C23D7-8FC4-45C4-96E4-68C9204822B9@acm.org> <83ttyv4a10.fsf@gnu.org> <03783933-C5D0-4D48-955C-3390EDA44F37@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62020 Cc: 62020@debbugs.gnu.org, monnier@iro.umontreal.ca, federicotedin@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mattias Engdegård > Date: Fri, 10 Mar 2023 11:11:35 +0100 > Cc: federicotedin@gmail.com, monnier@iro.umontreal.ca, 62020@debbugs.gnu.org > > 8 mars 2023 kl. 15.01 skrev Eli Zaretskii : > > >> Let's correct the manual in Emacs 29 so that it corresponds to the code. > > > > Any specific correction you had in mind? > > Just removing the part where we say that (. X) is valid, and perhaps clarify that the dot must follow (and precede) a value. That is, if documentation fixes are still fine for emacs-29. Documentation changes are always fine for a release branch, but I'd prefer to discuss a specific patch, if you don't mind posting one. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 11 04:32:58 2023 Received: (at 62020) by debbugs.gnu.org; 11 Mar 2023 09:32:58 +0000 Received: from localhost ([127.0.0.1]:56592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pavb0-0007lb-3s for submit@debbugs.gnu.org; Sat, 11 Mar 2023 04:32:58 -0500 Received: from mail152c50.megamailservers.eu ([91.136.10.162]:37756 helo=mail50c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pavax-0007lP-FS for 62020@debbugs.gnu.org; Sat, 11 Mar 2023 04:32:56 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1678527173; bh=xfwO3S3ytNbU0mbkdDbQYxw0ITIJl3XFYR7QOGYqil0=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=cCYnUQbovki9NkPGHPtVtcOrkkZWqNUelEO8Advz0kJjes4eFfMDUwsCq2wOHd4NI R2NIucGq2EAmQpn//73YSl6Mru/BzKlzMi0wTkc+DD0XT/yJxrAjdsozKU6OJ40c2+ DphG4V/gADqq0k5GgNPVdxRRp8LRUz33WgSzfchA= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se [188.150.171.209]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 32B9Wm5M047788; Sat, 11 Mar 2023 09:32:52 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Message-Id: <1E6C6B8F-18B8-4C43-B7D5-DA7074F51BE2@acm.org> Content-Type: multipart/mixed; boundary="Apple-Mail=_039C303A-2EA9-4863-82AA-7D8A92AAABDA" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\)) Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted Date: Sat, 11 Mar 2023 10:32:48 +0100 In-Reply-To: <83ttyszuqx.fsf@gnu.org> To: Eli Zaretskii References: <838rg87me0.fsf@gnu.org> <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> <323C23D7-8FC4-45C4-96E4-68C9204822B9@acm.org> <83ttyv4a10.fsf@gnu.org> <03783933-C5D0-4D48-955C-3390EDA44F37@acm.org> <83ttyszuqx.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.120.0.1.14) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdduledgudeftdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffuvffqrffktedpqfgfvfdpgffpggdqveehtdenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffktgggufffjgevvfhfofesmhdtmherhhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepieduvdetueetudelgeeukedtgeduvdegfeetjeekvdehtdelhfdvgfehieegueehnecukfhppedukeekrdduhedtrddujedurddvtdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudejuddrvddtledphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepgedprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehfvgguvghrihgtohhtvgguihhnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhhonhhnihgvrhesihhrohdruhhmohhnthhrvggrlhdrtggrpdhrtghpthhtohepiedvtddvtdesuggvsggsuhhgshdrghhnuhdrohhrgh X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 62020 Cc: 62020@debbugs.gnu.org, monnier@iro.umontreal.ca, federicotedin@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --Apple-Mail=_039C303A-2EA9-4863-82AA-7D8A92AAABDA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 10 mars 2023 kl. 12.55 skrev Eli Zaretskii : > Documentation changes are always fine for a release branch, but I'd > prefer to discuss a specific patch, if you don't mind posting one. Not at all. There's not much to see here -- the minimal change would = just remove a paragraph: --Apple-Mail=_039C303A-2EA9-4863-82AA-7D8A92AAABDA Content-Disposition: attachment; filename=reader-dotted-doc.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="reader-dotted-doc.diff" Content-Transfer-Encoding: 7bit diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index 99a3c073971..2fe7e6db560 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi @@ -1007,13 +1007,6 @@ Dotted Pair Notation @end example @end ifnottex - As a somewhat peculiar side effect of @code{(a b . c)} and -@code{(a . (b . c))} being equivalent, for consistency this means -that if you replace @code{b} here with the empty sequence, then it -follows that @code{(a . c)} and @code{(a . ( . c))} are equivalent, -too. This also means that @code{( . c)} is equivalent to @code{c}, -but this is seldom used. - @node Association List Type @subsubsection Association List Type --Apple-Mail=_039C303A-2EA9-4863-82AA-7D8A92AAABDA-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 11 07:19:32 2023 Received: (at 62020) by debbugs.gnu.org; 11 Mar 2023 12:19:32 +0000 Received: from localhost ([127.0.0.1]:56710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1payCB-0006Wu-Tk for submit@debbugs.gnu.org; Sat, 11 Mar 2023 07:19:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1payCA-0006Wh-5S for 62020@debbugs.gnu.org; Sat, 11 Mar 2023 07:19:30 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1payC4-0001Fm-Ee; Sat, 11 Mar 2023 07:19:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=YsthCE58YmdAfKzLbaYcGSiqG0sCSufhKYKyq0VMYOo=; b=Meu4CMBItmoMKsBIJbcG tiVnVU+eEbNWdgUJ+F355HMm9gpOOlBtxRzCMJESW3od3mMyvl7CvnE+E5R/AOWR/irNA6ytGJvl5 Pk3LdTpfOGiWNlJ4dl6fsutmeXtzH1RpcwlXwaGhqy8v0+6OA0AtN6aVYsKxpCcLslvgYU6ACNGuz B5PTzfaYftHamAcJB1mWf+2OeLSMJQBP1gPNWBwtaCn/x4JTHzYbHCFkD2Mkb2L89QwHAaHFXdaEo WS7YJ17ZT6hRwRJuAHt3oYgDc1lNrNDqsMo/3HluEPvCepyCRZd22HxX6kH09FWiWxDITPg+KujPQ nj/P30uwU6VtmQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1payC3-00006y-Nj; Sat, 11 Mar 2023 07:19:24 -0500 Date: Sat, 11 Mar 2023 14:19:09 +0200 Message-Id: <83r0tvwkea.fsf@gnu.org> From: Eli Zaretskii To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <1E6C6B8F-18B8-4C43-B7D5-DA7074F51BE2@acm.org> (message from Mattias =?utf-8?Q?Engdeg=C3=A5rd?= on Sat, 11 Mar 2023 10:32:48 +0100) Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted References: <838rg87me0.fsf@gnu.org> <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> <323C23D7-8FC4-45C4-96E4-68C9204822B9@acm.org> <83ttyv4a10.fsf@gnu.org> <03783933-C5D0-4D48-955C-3390EDA44F37@acm.org> <83ttyszuqx.fsf@gnu.org> <1E6C6B8F-18B8-4C43-B7D5-DA7074F51BE2@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62020 Cc: 62020@debbugs.gnu.org, monnier@iro.umontreal.ca, federicotedin@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mattias Engdegård > Date: Sat, 11 Mar 2023 10:32:48 +0100 > Cc: federicotedin@gmail.com, monnier@iro.umontreal.ca, 62020@debbugs.gnu.org > > 10 mars 2023 kl. 12.55 skrev Eli Zaretskii : > > > Documentation changes are always fine for a release branch, but I'd > > prefer to discuss a specific patch, if you don't mind posting one. > > Not at all. There's not much to see here -- the minimal change would just remove a paragraph: > > diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi > index 99a3c073971..2fe7e6db560 100644 > --- a/doc/lispref/objects.texi > +++ b/doc/lispref/objects.texi > @@ -1007,13 +1007,6 @@ Dotted Pair Notation > @end example > @end ifnottex > > - As a somewhat peculiar side effect of @code{(a b . c)} and > -@code{(a . (b . c))} being equivalent, for consistency this means > -that if you replace @code{b} here with the empty sequence, then it > -follows that @code{(a . c)} and @code{(a . ( . c))} are equivalent, > -too. This also means that @code{( . c)} is equivalent to @code{c}, > -but this is seldom used. > - OK, thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 12 13:10:54 2023 Received: (at 62020-done) by debbugs.gnu.org; 12 Mar 2023 17:10:54 +0000 Received: from localhost ([127.0.0.1]:33014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbPDh-0003y7-Ux for submit@debbugs.gnu.org; Sun, 12 Mar 2023 13:10:54 -0400 Received: from mail1477c50.megamailservers.eu ([91.136.14.77]:58944 helo=mail118c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbPDf-0003xr-0i for 62020-done@debbugs.gnu.org; Sun, 12 Mar 2023 13:10:52 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1678641044; bh=NVypnBu6WSGhtv44pc2xTEPetZmi9SrB44D//8F12M8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Z6V0tj4aOuMbXrRppW4PV1dPvlDqSeheofwPW3FtaX/oIvnfa3yzGOgym4P6XBZJp T0DVWEgF6LuDHt8P7UVr7zD+XXKGrjNqDEMDU+gwp+I8uZl5UACKrB2CRuEkFC9RR3 KJ1/SUiYJt4P4YroFDTcKZpKjkWUdVeAwIFbUV3E= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se [188.150.171.209]) (authenticated bits=0) by mail118c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 32CHAdqb007545; Sun, 12 Mar 2023 17:10:41 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\)) Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <83r0tvwkea.fsf@gnu.org> Date: Sun, 12 Mar 2023 18:10:39 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <1187451A-9DF9-49D1-A14F-8F68AB657BCD@acm.org> References: <838rg87me0.fsf@gnu.org> <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> <323C23D7-8FC4-45C4-96E4-68C9204822B9@acm.org> <83ttyv4a10.fsf@gnu.org> <03783933-C5D0-4D48-955C-3390EDA44F37@acm.org> <83ttyszuqx.fsf@gnu.org> <1E6C6B8F-18B8-4C43-B7D5-DA7074F51BE2@acm.org> <83r0tvwkea.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3654.120.0.1.14) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvvddgleehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepveekffdujefhkeehvdfgffeikefghfefvdekueffleegfeekueelhfejieefkefgnecukfhppedukeekrdduhedtrddujedurddvtdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudejuddrvddtledphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepgedprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehfvgguvghrihgtohhtvgguihhnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhhonhhnihgvrhesihhrohdruhhmohhnthhrvggrlhdrtggrpdhrtghpthhtohepiedvtddvtddqughonhgvseguvggssghughhsrdhgnhhurdhorhhg X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 62020-done Cc: 62020-done@debbugs.gnu.org, Stefan Monnier , Federico Tedin X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 11 mars 2023 kl. 13.19 skrev Eli Zaretskii : >>> Documentation changes are always fine for a release branch, but I'd >>> prefer to discuss a specific patch, if you don't mind posting one. >>=20 >> Not at all. There's not much to see here -- the minimal change would = just remove a paragraph: >=20 > OK, thanks. Pushed to emacs-29. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 12 16:36:18 2023 Received: (at 62020-done) by debbugs.gnu.org; 12 Mar 2023 20:36:18 +0000 Received: from localhost ([127.0.0.1]:33147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbSQU-0000lR-Ip for submit@debbugs.gnu.org; Sun, 12 Mar 2023 16:36:18 -0400 Received: from mail-pg1-f179.google.com ([209.85.215.179]:43954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbSQS-0000lE-Jg for 62020-done@debbugs.gnu.org; Sun, 12 Mar 2023 16:36:17 -0400 Received: by mail-pg1-f179.google.com with SMTP id y189so1635361pgb.10 for <62020-done@debbugs.gnu.org>; Sun, 12 Mar 2023 13:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678653371; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dqevptX5zT+dCoNyPYyMx3cr4OGLtZT7LZU4bH3//E8=; b=pM9aaon5yc/YuK4AqJYIfnumTfJOT3XBU8Ok9Cjjk7+ghrlG7yUOhAHptICUssefhR xfrzfQh+VeUF2UooCb3Uo1fR6/2ZL7/p3pxc7fJ4h90Gtx1kPkEHdF+Fd0Vzrz9OEXbT ajRnoRlNVZWrZ1xrDBgu3eUkxYm+5HZMVVQXWO2gFuqWPeesruo1uOc0nKu3Gcf4QgrD HqJzIY6y2Cp2n9xAYQfWMgY7/s0J8JMGQ5SBaI2Pujg001h6g8iFJl6oBHl4ZVcaURx5 s0MAdHynDz+0ZfiWg8yal1hBmk6jja2BB61u5DqDtXKwF7lQz5/i8R/J8ncpJTtMceex vb/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678653371; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dqevptX5zT+dCoNyPYyMx3cr4OGLtZT7LZU4bH3//E8=; b=usBhMJlAsMiKJfY+oBcGT8LgFeOXQt3wlyJwL4rcGksUN8AYDpSowDgkFDET0L1EMi RmjdfSD6Nq1WcFIlWdAjOMcO9R2fUenq5tZ71R3qN5kPGJnTTU72YZ4V42z7Bw0WPNqH AzXBQnumHcCzPs/hb0RIcMj+OfJEfhyOBLSEolxqjHTzOniBrG9U6/WYkPaXa3Wuj5no ubEWdni4EkhDnWuxTo5gSPbB5dpFXo0iIPZxcK2tvoJMFPO0v8VYKl0hLgxPSsYh6n5u 6zKM36yV4cdTsIEvWzLIxjED2rn2/4Bql3U/nstHPaTRDJi/BFgFGWHUeUkac2MmJTch h2pA== X-Gm-Message-State: AO0yUKUktmH2lWZhN7usm9tV6SeLpInyYpThGQt0g6X/u8M9CbPTRjej lVEzkdd9xvbVsOvfro53h1W0pHwpdpM+alC3bDo= X-Google-Smtp-Source: AK7set8xSxLFZGDDku96SW5SXcrRbt49LBC8HmMLGuAJAbnTKQInECIT8aIJBkiwi3sRb2OmJyNm9YhMAfEI2KSfG4w= X-Received: by 2002:a05:6a00:2125:b0:5d9:27a5:6125 with SMTP id n5-20020a056a00212500b005d927a56125mr12204535pfj.6.1678653370651; Sun, 12 Mar 2023 13:36:10 -0700 (PDT) MIME-Version: 1.0 References: <838rg87me0.fsf@gnu.org> <3242578A-C50A-4195-B663-F52B05DD80F6@acm.org> <323C23D7-8FC4-45C4-96E4-68C9204822B9@acm.org> <83ttyv4a10.fsf@gnu.org> <03783933-C5D0-4D48-955C-3390EDA44F37@acm.org> <83ttyszuqx.fsf@gnu.org> <1E6C6B8F-18B8-4C43-B7D5-DA7074F51BE2@acm.org> <83r0tvwkea.fsf@gnu.org> <1187451A-9DF9-49D1-A14F-8F68AB657BCD@acm.org> In-Reply-To: <1187451A-9DF9-49D1-A14F-8F68AB657BCD@acm.org> From: Federico Tedin Date: Sun, 12 Mar 2023 21:35:59 +0100 Message-ID: Subject: Re: bug#62020: Lisp reader: dotted pair notation not working when initial elements are omitted To: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62020-done Cc: 62020-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Delighted to hear about that! Best of luck, and do let us know about what else of interest you discover, whether you think they are bugs in Emacs or not. Yes no problem, will do! > >>> Documentation changes are always fine for a release branch, but I'd > >>> prefer to discuss a specific patch, if you don't mind posting one. > >> > >> Not at all. There's not much to see here -- the minimal change would just remove a paragraph: > > > > OK, thanks. > > Pushed to emacs-29. Thanks for the fix ! From unknown Fri Jun 20 07:17:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 10 Apr 2023 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator