From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#38179: 26.1; clone-buffer globally unsets locally void variable Date: Thu, 14 Nov 2019 06:45:58 +0100 Message-ID: <87r22bqacp.fsf@gnus.org> References: <10286828.kQ2LJabMkc@gabor> <85k185jea4.fsf@gmail.com> <1978574.4cfOVRSGya@gabor> <85h837kclg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109466"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Braun =?UTF-8?Q?G=C3=A1bor?= , 38179@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 14 06:47:21 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iV7yT-000SLY-3u for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2019 06:47:21 +0100 Original-Received: from localhost ([::1]:53606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iV7yR-0000qH-F3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2019 00:47:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48364) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iV7yC-0000q5-1A for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 00:47:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iV7yA-0007Xh-Ng for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 00:47:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51835) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iV7yA-0007XW-KH for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 00:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iV7yA-0001wR-GO for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2019 00:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2019 05:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38179 X-GNU-PR-Package: emacs Original-Received: via spool by 38179-submit@debbugs.gnu.org id=B38179.15737103705111 (code B ref 38179); Thu, 14 Nov 2019 05:47:02 +0000 Original-Received: (at 38179) by debbugs.gnu.org; 14 Nov 2019 05:46:10 +0000 Original-Received: from localhost ([127.0.0.1]:60653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iV7xJ-0001K9-RO for submit@debbugs.gnu.org; Thu, 14 Nov 2019 00:46:10 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:49542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iV7xH-0001EL-7s for 38179@debbugs.gnu.org; Thu, 14 Nov 2019 00:46:08 -0500 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iV7x9-0000jV-Af; Thu, 14 Nov 2019 06:46:01 +0100 In-Reply-To: <85h837kclg.fsf@gmail.com> (Noam Postavsky's message of "Wed, 13 Nov 2019 10:41:47 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171534 Archived-At: Noam Postavsky writes: >> Neither the info documentation nor the docstring of makunbound say how >> makunbound behaves for buffer-local variables, so my assumption was that >> like other Lisp forms it acts on the buffer-local value of local >> variables. > > Yeah, I think the current behaviour is a bit strange, but changing it is > probably too risky with regards to backwards compatibility. > > So I think your patch is correct. OK; I've now applied the patch to Emacs 27. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no