From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ignacio Casso Newsgroups: gmane.emacs.bugs Subject: bug#54399: 27.2; Problems with (let ((custom-variable ...)) (autoload-function ...)) Date: Wed, 13 Apr 2022 17:26:07 +0200 Message-ID: References: <8335ii5y60.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29707"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 29.0.50 Cc: michael_heerdegen@web.de, 54399@debbugs.gnu.org, larsi@gnus.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 13 17:46:24 2022 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 1nefCJ-0007ao-SU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Apr 2022 17:46:23 +0200 Original-Received: from localhost ([::1]:56642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nefCI-0003gW-Jj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Apr 2022 11:46:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nefBy-0003gH-9c for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 11:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nefBx-0001vf-Vl for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 11:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nefBx-0006uB-Ni for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2022 11:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ignacio Casso Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Apr 2022 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54399 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 54399-submit@debbugs.gnu.org id=B54399.164986472326488 (code B ref 54399); Wed, 13 Apr 2022 15:46:01 +0000 Original-Received: (at 54399) by debbugs.gnu.org; 13 Apr 2022 15:45:23 +0000 Original-Received: from localhost ([127.0.0.1]:53689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nefBK-0006tA-MR for submit@debbugs.gnu.org; Wed, 13 Apr 2022 11:45:22 -0400 Original-Received: from mail-oln040092072082.outbound.protection.outlook.com ([40.92.72.82]:10149 helo=EUR03-VE1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nefBJ-0006sx-20 for 54399@debbugs.gnu.org; Wed, 13 Apr 2022 11:45:21 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GsKV3LppNL3gBs1hDQpB6ihEuuEXEVPEoGkQ2p0W1P6KNecxPzvjoz8G3uXIIABs2lgJ+cBOawaepYX6lk2yPpzdtI3p2xNhp9WPNDczt8O+Q6J75gO2yBmaTHY30pKUAcvDLrY61FlePeAVZsOursiXE37RdeTNDfOpOGJNWCDa3O3tDzBHmtyKYioGlctS4biiytGz1O6FWOCrpBUzFaDF1QXRySILAgdi5e5+UrmuTubUdrjEIN8KTQcbNYjgdKbcBOM3/B5tp9RdlhCXrLFx8uWk15/6j5pV1MRGLJOEBiO85cyPgiB9dtatX062QDgWXjlT0mHq2MnnzME8zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KvWuLzaFS9VApR+Izv2RuEpqSziQYmH9IQaQWDlnMfc=; b=n4phhoDQblmkbozmQQLK9VI6TpEIvs7lWwYHNsLcYOj3RP6uNG9Cwf7xqpOOhcojhLJkiU5EM1s5WXTbgmv/mtphAP5/t6FAZeILi288kJXM3BGeYFNGn+/jT5R7ZSG/bpumaWMZk9lFokG1OUWJguovJZdr6Ck2YkIdpiCieX5o1avC4ASLrCTY8onIY6bUiiMXdEwltNpUB9zzTIKXS6/w632GGD6jBbaR2rZV6j3qTKqLAl+KBrTtTNKk/Sa+stLhbJ94qQOmdU+3aVv9S2idYtYamY6QnoXwXAyzvIISv7cy+LoD/4biiY/kuzzeR5vGUOcLUsqbZGcGKqog5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KvWuLzaFS9VApR+Izv2RuEpqSziQYmH9IQaQWDlnMfc=; b=mrUAZUz1POg8LvwQiRMm3ipOm6/xk4hYrrVx3KiHWD9Q+h7vsr5HVk5nwn9Tfh5Igif6sfxE6EsngDv0zAAx/c6VvlOWgQtDG9vUnubO6FHq9YQBWiVGlpxktCFkgbMGm7/LCGj+o5tvLLxX50WfyZw9fc8rabO+s7PURJVsT16jHoJ2tUcEmz+lCDn/hdbfr+BU4uc6mTWFoR6E1mKeNfpgzVuwun7lnIcTQUO2eXRcYFEy6Rou/FvfNHHCmn/+HOwIdsO06Tc7yJa+PoDHobvogSxUYGKBU412BrK/68e4bLDVqUwMHygs6Kdt6LDmTCB95qPyfvjWvTkqPH0Nfg== Original-Received: from PAXPR06MB7760.eurprd06.prod.outlook.com (2603:10a6:102:155::8) by DB9PR06MB7372.eurprd06.prod.outlook.com (2603:10a6:10:23e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Wed, 13 Apr 2022 15:45:14 +0000 Original-Received: from PAXPR06MB7760.eurprd06.prod.outlook.com ([fe80::c43d:998b:8b75:5e3a]) by PAXPR06MB7760.eurprd06.prod.outlook.com ([fe80::c43d:998b:8b75:5e3a%5]) with mapi id 15.20.5144.030; Wed, 13 Apr 2022 15:45:14 +0000 In-reply-to: X-TMN: [XqW2hYNncuv2xWDLUsyLxhTldNuNuIvL] X-ClientProxiedBy: MR1P264CA0107.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:50::26) To PAXPR06MB7760.eurprd06.prod.outlook.com (2603:10a6:102:155::8) X-Microsoft-Original-Message-ID: <87k0btj8cg.fsf@hotmail.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 737b2fb3-e205-4332-6aa6-08da1d6499ba X-MS-TrafficTypeDiagnostic: DB9PR06MB7372:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ODTPMahRQi+0kXn64ME+A83LtD69SA0La4/3TONpmmva/VWHg6udtOY8Uq7ZvyN8KuJa8uKtnRb6nVpDG/EOC/A2EBQJSsI+rjiS0Tz4kr8Qw0Jre/Rw7o5NoRBDH9OI/0ttjsmsFTBgYY7PPb6QmeMVKQK5uBejlA7IeKW3jBHgKO+RiLye36ai0hSz8C23HwFPQ+HjWhG6E0vY+j/WZAstDIYJKMBjmsv499u4ufkvlJjA7GZoAKdLpws9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DHz9ywVEHwGW7pAqWZNLDCytt7K73j4QnpWi4lPFMCuInLI9rxsFby6sRNWsV7/YQsTFnJEgIvwoCvM3rcV15vmhF8 jNNaxj8cTjuFvP+9DMAQXlE6MAZujiwD6Qp8FLiNqXx/Wt8Bj51J3x6751LPBbQY0pX/R01Xc9oMNVaS++oE2Qg86YTtMIxDcN X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-6e454.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 737b2fb3-e205-4332-6aa6-08da1d6499ba X-MS-Exchange-CrossTenant-AuthSource: PAXPR06MB7760.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2022 15:45:14.3318 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR06MB7372 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" Xref: news.gmane.io gmane.emacs.bugs:229834 Archived-At: > When I say that `default-value` operates on the buffer-localness, I mean > that the difference `default-value` and `symbol-value` only differ with > respect to whether they consider a buffer-local value or not. > > They're both stuck in the current (i.e. most deeply nested) let-binding > in either case. > > IOW, the choice between `default-value` and `symbol-value` lets you walk > along the line between buffer-local and not-buffer-local, but it does > not let you walk up the stack of nested let-bindings. > Only `default-toplevel-value` lets you do that (and it only does that on > the non-buffer-local part of the space: there is nothing like > `symbol-toplevel-value` which would let you find the "top-level > buffer-local value"). Thanks, I get it now. I didn't know that there were different stacks of let-bindings for a variable, one for the default value, and another one for each buffer-local value. I though that there were only the default value, the buffer-local value for some buffers, and a common stack of let-bindings that shadowed all of them.