From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65209: 30.0.50; Unexpected behaviour of setq-local Date: Tue, 22 Aug 2023 13:56:47 +0300 Message-ID: <83msyjtkeo.fsf@gnu.org> References: <87msyu2tmm.fsf@web.de> <80D7C281-C3DD-4DCA-9B14-1569E849CBC7@gmail.com> <87wmxqqq7d.fsf@web.de> <83350exl6h.fsf@gnu.org> <87wmxnojrb.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15286"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 65209@debbugs.gnu.org, monnier@iro.umontreal.ca To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 22 12:57:27 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 1qYP4f-0003hr-VM for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Aug 2023 12:57:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYP4H-000413-VH; Tue, 22 Aug 2023 06:57:01 -0400 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 1qYP4F-00040n-TP for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 06:56:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYP4F-0002ER-Kq for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 06:56:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYP4I-0000Vy-1M for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2023 06:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Aug 2023 10:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65209 X-GNU-PR-Package: emacs Original-Received: via spool by 65209-submit@debbugs.gnu.org id=B65209.16927017991949 (code B ref 65209); Tue, 22 Aug 2023 10:57:01 +0000 Original-Received: (at 65209) by debbugs.gnu.org; 22 Aug 2023 10:56:39 +0000 Original-Received: from localhost ([127.0.0.1]:58616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYP3v-0000VN-Az for submit@debbugs.gnu.org; Tue, 22 Aug 2023 06:56:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYP3t-0000VA-6n for 65209@debbugs.gnu.org; Tue, 22 Aug 2023 06:56:38 -0400 Original-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 1qYP3k-00028u-Vu; Tue, 22 Aug 2023 06:56:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=viPuHuKeTet4mAKbUEO0xj4YK93BD38EhVCc1m577wA=; b=SClOy4tQuQzj a8KLAi9SSO2LeMDTt2W9pcu3Ut+h5wciDdIgTHin+QJ9n64VrnWnZlSCWalqYSJ5zmhbswalF0wrV fVRqqBS5jfprycF5cAHXCmET3gskU2pQ/E1fXGJs/7RX7X4ycpMu+2smrhKUFlKQogKMRDely6881 RyTydc0bXCe5waERDphY/QrXG3/JuLVd+qjGKA0hNJ4vPObHLKQSMWXFyNp12PWTvtawUObYn5A+v 3FL9B6QrHsr3lSUfJWuwvbikCrNqYXpEaiAb4czZgZ3vV7BJ9tIh1076yjINlPTccWEEVC6DnjQiU C3zjPNFFQKwpjak05B4mjQ==; In-Reply-To: <87wmxnojrb.fsf@web.de> (message from Michael Heerdegen on Tue, 22 Aug 2023 05:09:44 +0200) 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:268159 Archived-At: > From: Michael Heerdegen > Cc: 65209@debbugs.gnu.org, gerd.moellmann@gmail.com, monnier@iro.umontreal.ca > Date: Tue, 22 Aug 2023 05:09:44 +0200 > > But the manual leaves open some questions (after reading the manual I > was not able to tell that the bug in this report was a bug): > > How are bindings working when not changing the current buffer inside the > let? If I create a buffer-local binding and the `let' is left, what > binding is left in the buffer - is the variable in that buffer still > buffer local, or does leaving the let maybe also remove the local > variable? If someone knows how to describe what happens in this situation in a way that won't confuse the reader, I'm okay with adding such a description. > Finally, should we also talk about lexical variables vs. buffer-local? > They are different again: Same thing here. IOW, it is impossible for me to judge whether some text is good enough for the manual without seeing the proposed text. IME, some very complicated issues are better left unsaid, especially if they sufficiently rare and obscure, to avoid making the more common scenarios potentially less clear.