From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Braun =?UTF-8?Q?G=C3=A1bor?= Newsgroups: gmane.emacs.bugs Subject: bug#38179: 26.1; clone-buffer globally unsets locally void variable Date: Wed, 13 Nov 2019 11:17:27 +0100 Message-ID: <1978574.4cfOVRSGya@gabor> References: <10286828.kQ2LJabMkc@gabor> <85k185jea4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="73442"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38179@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 13 11:18:18 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 1iUpj7-000IyU-Il for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2019 11:18:17 +0100 Original-Received: from localhost ([::1]:42634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUpj6-0002q0-FS for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2019 05:18:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50549) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUpit-0002m5-UR for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2019 05:18:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUpis-0000f2-Tl for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2019 05:18:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50028) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUpis-0000ev-QD for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2019 05:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iUpis-00007h-IK for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2019 05:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Braun =?UTF-8?Q?G=C3=A1bor?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Nov 2019 10:18: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.1573640269455 (code B ref 38179); Wed, 13 Nov 2019 10:18:02 +0000 Original-Received: (at 38179) by debbugs.gnu.org; 13 Nov 2019 10:17:49 +0000 Original-Received: from localhost ([127.0.0.1]:58849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUpif-00007G-5d for submit@debbugs.gnu.org; Wed, 13 Nov 2019 05:17:49 -0500 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:36830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUpic-000071-Am for 38179@debbugs.gnu.org; Wed, 13 Nov 2019 05:17:47 -0500 Original-Received: by mail-wm1-f51.google.com with SMTP id c22so1353909wmd.1 for <38179@debbugs.gnu.org>; Wed, 13 Nov 2019 02:17:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Zxgpb2CZvaRSugvMMnIF0uoe0HiOIQb7WVinAhQ5Gos=; b=bjmXe1nWMwQumLdmk/F0fXX503i0EbpOwvqVXb26cblHYKEdj8Hyx06gwW8wffK7Hl SI06rWvKCEIcncuWZ371mQQLyPRijLF+OqOyDhOBhJS9yyljU5INgHSzTVGpp5ra5QRk P79J2dUZgrFqxbiReXNsnSeLqE0w8XkVT2Zo7C7i1NOayYi1BveAi+1o92E1/hWICR6q A7h9ZTHmEpFP4dqxzBQKjFERiKxtFxTZwYQTuczHOY+nNSh0IX4BvX7KqyKvqdzqb3H9 oei8yxHJvtNwxif++2gzwq/6HM53RXtQKGbHcktXo9yzawt67KhES/y1KehwotfePAYR FRhA== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Zxgpb2CZvaRSugvMMnIF0uoe0HiOIQb7WVinAhQ5Gos=; b=tfcnQiJ9A3cebYqeiDOf/FZyiCEAsfCCV5m9Qjcggy87dV8Rv9AkyqrmofJ82NG/YK nmo9RADmpqOnb8jUyRg63LItaPMV36x3REgAiCBvnKlHcbbtLilOOKi5DfC4URvLob0k D9aJPiWfmV2aOn0jL4Jj5B/o8eXCdE6j5d/2D5uCyv4mr0WBEYjLxa3Fg0jCxZc9ElOQ Mv7e1lC0AEEto/LehakQYdCvv/C4bIr37Z1AQvCif5HnM8uZq8LrYAMP5K2PNHihgsRK GTUgvT2JICPYqzCGh8C7/TxnS8h7myu/iggD6iRdzMAUMrMalQBJkOTVINSCI/VfenDe m08A== X-Gm-Message-State: APjAAAUjIcFQRYQNmslRg/SdUrmTZ0tedt42vAjLzKY3Av8wKTofZqmj u9wCGaGO7Q+Bk0zepmbb4OM= X-Google-Smtp-Source: APXvYqzNI1UpNMSjYh2VmjiJXCDvIxKo19btBgYSzJp0cCQcKUBuLJAGyW0t4wDceSzANESLfqlymQ== X-Received: by 2002:a1c:2395:: with SMTP id j143mr1922069wmj.128.1573640260553; Wed, 13 Nov 2019 02:17:40 -0800 (PST) Original-Received: from gabor.localnet (254C3764.nat.pool.telekom.hu. [37.76.55.100]) by smtp.gmail.com with ESMTPSA id q15sm2320400wrs.91.2019.11.13.02.17.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2019 02:17:39 -0800 (PST) In-Reply-To: <85k185jea4.fsf@gmail.com> 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:171487 Archived-At: Hi Noam, > > (with-temp-buffer > > (makunbound (make-local-variable var)) >=20 > That will unbind the global value and local values, not just the local > one. My Emacs 26.1 does not seem to behave that way. =46or example, evaluating the following form returns 2: (with-temp-buffer (setq-default test 2) (makunbound (make-local-variable 'test)) (default-value 'test)) Neither the info documentation nor the docstring of makunbound say how=20 makunbound behaves for buffer-local variables, so my assumption was that=20 like other Lisp forms it acts on the buffer-local value of local=20 variables. Best wishes, G=C3=A1bor