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: Thu, 24 Aug 2023 08:35:23 +0300 Message-ID: <83jztlq9yc.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> <83msyjtkeo.fsf@gnu.org> <871qfu4dyx.fsf@web.de> <83fs4arnr1.fsf@gnu.org> <87a5uhglpz.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8661"; 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 Thu Aug 24 07:36:24 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 1qZ315-000217-Ct for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Aug 2023 07:36:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZ30m-0000qL-Na; Thu, 24 Aug 2023 01:36:04 -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 1qZ30g-0000pz-Pa for bug-gnu-emacs@gnu.org; Thu, 24 Aug 2023 01:35: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 1qZ30g-0005CI-HF for bug-gnu-emacs@gnu.org; Thu, 24 Aug 2023 01:35:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qZ30k-0006z9-9M for bug-gnu-emacs@gnu.org; Thu, 24 Aug 2023 01:36: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: Thu, 24 Aug 2023 05:36:02 +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.169285531226779 (code B ref 65209); Thu, 24 Aug 2023 05:36:02 +0000 Original-Received: (at 65209) by debbugs.gnu.org; 24 Aug 2023 05:35:12 +0000 Original-Received: from localhost ([127.0.0.1]:35915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZ2zw-0006xq-5I for submit@debbugs.gnu.org; Thu, 24 Aug 2023 01:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZ2zu-0006xM-1o for 65209@debbugs.gnu.org; Thu, 24 Aug 2023 01:35:10 -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 1qZ2zk-0004mJ-9a; Thu, 24 Aug 2023 01:35:00 -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=wf3R6ssDbsIpvVjFiHfrnIY+JNV3tJsGeIseXmFzsgI=; b=dobpBcuHYzxL 6HC5YetSSXwYUycLcYB6G+ZIh7kjM4iC+7uqhg1lZ/N8v5qaAFiMHBzn+elgMRYplF43sTVvS7Bws uUcWBuxbCHambMMI2taSjU83WMUWPCYs8N46Xx8m9GBwmPoZspBvPYxR6xiw7ItJhwcwSUW3F/Yj0 /mouPI7/kh82zYKEAcQ2UwO1m6kastU4s8q8dWsT6I5HZDQfD48YKXJZGXjVEwTqCG4klAcDeyGD8 6y2eRX8L0K1eWwvq1VYg67VVezuyMKJmutvrJYqayGJG8QJD9ZXLWZ9POokGDxLvLEiN0fngJl7nl BFvSds2Y3Oe56GcqaoXTIQ==; In-Reply-To: <87a5uhglpz.fsf@web.de> (message from Michael Heerdegen on Thu, 24 Aug 2023 05:31:20 +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:268300 Archived-At: > From: Michael Heerdegen > Cc: 65209@debbugs.gnu.org, gerd.moellmann@gmail.com, monnier@iro.umontreal.ca > Date: Thu, 24 Aug 2023 05:31:20 +0200 > > > > I would not suggest such an addition if I would not have missed that > > > kind of information in the manual. > > > > Which part(s) did you miss? AFAIU, the behavior with dynamic > > variables is described in very clear terms which make the first > > example completely described. > > I mean the aspect that Stefan had fixed here: that a local variable > created inside a let-binding of the "same" variable survives the > termination of the `let' expression. Which means in particular: `let' > seems to not restore the value of the variable because the former > binding is "shadowed" by the buffer local binding. This is similar to > what is described in the "Warning" paragraph in the manual I cited, but > happening without changing the current buffer. > > Could we maybe melt this case into this "Warning" paragraph? Feel free to suggest such a change, even if it isn't perfect, so that we could have some real basis for discussing it.