From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#38179: 26.1; clone-buffer globally unsets locally void variable Date: Tue, 12 Nov 2019 10:38:27 -0500 Message-ID: <85k185jea4.fsf@gmail.com> References: <10286828.kQ2LJabMkc@gabor> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="263774"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) Cc: 38179@debbugs.gnu.org To: Braun =?UTF-8?Q?G=C3=A1bor?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 12 16:39:11 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 1iUYG7-0016Vy-5B for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Nov 2019 16:39:11 +0100 Original-Received: from localhost ([::1]:36850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUYG5-0002wX-IC for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Nov 2019 10:39:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46578) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUYFz-0002wF-D1 for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 10:39:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUYFy-0005ox-6P for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 10:39:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUYFy-0005om-3K for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 10:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iUYFx-0002YV-Rp for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2019 10:39:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Nov 2019 15:39:01 +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.15735731159783 (code B ref 38179); Tue, 12 Nov 2019 15:39:01 +0000 Original-Received: (at 38179) by debbugs.gnu.org; 12 Nov 2019 15:38:35 +0000 Original-Received: from localhost ([127.0.0.1]:58207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUYFW-0002Xi-Ow for submit@debbugs.gnu.org; Tue, 12 Nov 2019 10:38:34 -0500 Original-Received: from mail-qk1-f172.google.com ([209.85.222.172]:36201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUYFV-0002XT-54 for 38179@debbugs.gnu.org; Tue, 12 Nov 2019 10:38:33 -0500 Original-Received: by mail-qk1-f172.google.com with SMTP id d13so14806183qko.3 for <38179@debbugs.gnu.org>; Tue, 12 Nov 2019 07:38:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=duUPpOo/9EwVo5c+ZyvM1GDKodGVfYTTTqo+aNJtyCQ=; b=p6GSukYf5g9og0fBU4Ckt8viHX+7gzwmx2RzEmOUJLB6tylzcX+/k6N6DrbIn3CGCU DcHram8jJ15M7OQp/TH9ONaYu8nvrK5Oq0EXbP+vQH1zOb2cbWyzPkD/ed3Q4JdOYZMQ GRcmn/oAGOmtOUzpy0SPynt7bXdajnCR1DjJBr8asyxkdsrGAkPMHPAcVsrS2jH4zEgu Cx8Jo/V3FApcIhZ0kfnpBdHPd0yi7VmBRVzJFXq0U3aWMr8IC21Bp5hjnlj8tKZxbhJd XTU55wzEctw1VV5b+//e4FrtRZLP7qMWlZ0cJtczBqYXOYWyBzX89qNgZBbUheYriPKQ hR/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=duUPpOo/9EwVo5c+ZyvM1GDKodGVfYTTTqo+aNJtyCQ=; b=CHZF9P81XGB9Cx/lK4s9FeVY0rgluQ6+Vjq+MhSmgC9SqWFc05/sB7IzkEsDxH+mfO aitlRAK70mt7JNvhLfeUOmUyNi1hOwbIknha26/PKqirDDX18nUh6GVAj4fsH/sY1eXp 5dTOoUfej+nqVjsesshVVJHlO02HrY6bHWwmokZiYr5sCp+7sAQEBtauQUoDfUJLG5+a KCAKaAZquit49cHe9Nqe0Ilz/+e0nG7n8jqvZB/bdy89lReMW70NyiWXsA7rSvOBanoC 8hlUl62+QeOYkAmoHlRaZxVVyvYQN+fXDlTV69k/Gnr84iv1Zc7G/NGwVhXuwEw6+1Az Q4fw== X-Gm-Message-State: APjAAAXJ1+sMP7JCiox4ah2M3RAohXhCeGzc1ETnN3xyG3EiOCPbUz/w rwxrX+cOoji4rzaAW3JieOYROwoH X-Google-Smtp-Source: APXvYqyog9i5HARI8ADMH8uzRnofKi2wLxLHqYWJw0N6MS9H/eCsUZgbzSjH7o1gXRP7wEwswk1DIQ== X-Received: by 2002:a37:9d8c:: with SMTP id g134mr16087432qke.352.1573573107406; Tue, 12 Nov 2019 07:38:27 -0800 (PST) Original-Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.38.42]) by smtp.gmail.com with ESMTPSA id i189sm9060435qkc.65.2019.11.12.07.38.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Nov 2019 07:38:26 -0800 (PST) In-Reply-To: <10286828.kQ2LJabMkc@gabor> ("Braun \=\?iso-8859-1\?Q\?G\=E1bor\=22\?\= \=\?iso-8859-1\?Q\?'s\?\= message of "Tue, 12 Nov 2019 16:16:16 +0100") 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:171459 Archived-At: There is no way to make a "locally void" variable. > Let's create a test, which sets the default value of a variable but > undefines it locally in some buffer. > (with-temp-buffer > (makunbound (make-local-variable var)) That will unbind the global value and local values, not just the local one.