From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#65209: 30.0.50; Unexpected behaviour of setq-local Date: Fri, 11 Aug 2023 10:17:15 +0200 Message-ID: References: <953357c8-83b4-5d7f-7638-e79382ad164c@gmail.com> <87zg2yfn53.fsf@web.de> <2c06d6df-dd6d-78c4-f4dd-44cac8d95d84@gmail.com> <87h6p6dt0x.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9708"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cc: 65209@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 11 10:18:14 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 1qUNLa-0002Pi-A2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Aug 2023 10:18:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUNLQ-0005nN-Pm; Fri, 11 Aug 2023 04:18: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 1qUNLO-0005nB-Un for bug-gnu-emacs@gnu.org; Fri, 11 Aug 2023 04:18:02 -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 1qUNLO-0005Eu-Ly for bug-gnu-emacs@gnu.org; Fri, 11 Aug 2023 04:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qUNLO-000249-Fb for bug-gnu-emacs@gnu.org; Fri, 11 Aug 2023 04:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Aug 2023 08:18: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.16917418487899 (code B ref 65209); Fri, 11 Aug 2023 08:18:02 +0000 Original-Received: (at 65209) by debbugs.gnu.org; 11 Aug 2023 08:17:28 +0000 Original-Received: from localhost ([127.0.0.1]:44836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUNKp-00023L-N3 for submit@debbugs.gnu.org; Fri, 11 Aug 2023 04:17:27 -0400 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:51240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUNKl-000236-WB for 65209@debbugs.gnu.org; Fri, 11 Aug 2023 04:17:26 -0400 Original-Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fe0d5f719dso2788543e87.2 for <65209@debbugs.gnu.org>; Fri, 11 Aug 2023 01:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691741838; x=1692346638; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7523uZBLWUdIpzNc7CuQ0xQdh32fG/7WgahrsEtyHrk=; b=DYwMMDwdQ0ftq7RkwdksCGi9wny81378HH2vxpxbq8BLXpZHPbSoYIle1u2rS73yEx +JN64v7MxLls3K0qRhXP84XcxVKeyov8yI8TCyi9yxtni1djF8JYgtboE/PcGvwYw3+s UzR37vsbWxHcptRfqUHxEpUebUM1SVYhx542hEzPBc3xLOhHN+vumGdIw6a3m43DcSTR aT4R2z0OhiKIh7/LFMFMiET9xQLBjHj+vjgHSa6PnjvEU/Z38Ql5SZ/gwyyIEYizxz5v l2+ManpXS87jVIO28yambinaU9wbrEAeg+osMV9joz+XIlbtD6He7DWLKyFt3SByN6p+ 1ISA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691741838; x=1692346638; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7523uZBLWUdIpzNc7CuQ0xQdh32fG/7WgahrsEtyHrk=; b=Obfs2ax6994AuqonglvB9+Oh/d7tf9MzWD0/VSoVAFvXxoiVI2CUl6kXCj+1MfrqP2 brhXNQNAeqmnGJTrZbwNRRpn+5/JnxsDkbdCtr+uku9JCkF3/z2BzkofLaT4bUxZjiTD cyCr2/OxnABON1wu3BdJgUFyou58kC2W85L8ogv/HcZb3OiYGqQKoRWV4+LDUv+bIEjH LZX/z2xVew1JU9+wOsQwj+PqHTOl5BB2zLIH3cgIr90TmyvacketurVRxxS7gJcIs6/r I4g+j+UuhkHr04AMMcFnjke78ro5u1Yv3i7pXE/UcmJLL9vGyBlUPRyR5ZuZyAcpH5P5 VXBg== X-Gm-Message-State: AOJu0Yzc8OAK0AqZUlKe2ZxbmnNlxgLGmkAljej32TLgel2UA40O5/RW Q+y2Au6uPUS+VOUtslROWyU= X-Google-Smtp-Source: AGHT+IGjodVYeIJ9wp9OVm0MbSYedf4Kl5SCqlUOmfLqdlkAMZWFJcY/OeeWA49imEhTekiw1KcMyA== X-Received: by 2002:ac2:4ec3:0:b0:4fb:8de9:ac0e with SMTP id p3-20020ac24ec3000000b004fb8de9ac0emr778976lfr.1.1691741837166; Fri, 11 Aug 2023 01:17:17 -0700 (PDT) Original-Received: from [192.168.178.21] (p54b0c042.dip0.t-ipconnect.de. [84.176.192.66]) by smtp.gmail.com with ESMTPSA id x20-20020aa7cd94000000b0051dfa2e30b2sm1767429edv.9.2023.08.11.01.17.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Aug 2023 01:17:16 -0700 (PDT) Content-Language: en-US In-Reply-To: <87h6p6dt0x.fsf@web.de> 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:267198 Archived-At: :close On 11.08.23 07:53, Michael Heerdegen wrote: > I don't think this is what is happening. E.g. > > #+begin_src emacs-lisp > (progn > (defvar my-var :default-value) > (let ((my-var :let-value)) > (make-local-variable 'my-var) > (setq my-var :buffer-local-new)) > (list my-var (local-variable-p 'my-var))) ;; (:buffer-local-new t) > #+end_src > > `setq' sets the buffer local binding, not the global value the `let' > binding refers to. Indeed! I stand corrected, and rest my case. I guess I'm getting old.