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: Tue, 12 Apr 2022 15:23:53 +0200 Message-ID: References: <87sfrgu8ju.fsf@gnus.org> <875yocm7n6.fsf@web.de> <87czijr4gj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12906"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 29.0.50 Cc: Michael Heerdegen , Lars Ingebrigtsen , 54399@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 12 15:32:02 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 1neGck-0003Aa-FA for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Apr 2022 15:32:02 +0200 Original-Received: from localhost ([::1]:33824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neGcj-0004Yv-AC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Apr 2022 09:32:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neGbo-0003uH-Ae for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 09:31:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54137) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neGbm-0000OF-4F for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 09:31:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neGbm-0001Cg-0D for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 09:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ignacio Casso Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Apr 2022 13:31: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.16497702594617 (code B ref 54399); Tue, 12 Apr 2022 13:31:01 +0000 Original-Received: (at 54399) by debbugs.gnu.org; 12 Apr 2022 13:30:59 +0000 Original-Received: from localhost ([127.0.0.1]:48034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neGbi-0001CN-DB for submit@debbugs.gnu.org; Tue, 12 Apr 2022 09:30:58 -0400 Original-Received: from mail-vi1eur05olkn2056.outbound.protection.outlook.com ([40.92.90.56]:62945 helo=EUR05-VI1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neGbf-0001C4-OB for 54399@debbugs.gnu.org; Tue, 12 Apr 2022 09:30:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N9IYtOpMNgOcJ4htYEKxuaOlMvpB2TJCQ9siCb1Yd+SlUqGywCZGghbMq4DIZwrQqB0BwXhkweJZRKBh8DN1CsCf3qOnApTYwfbPBGbTv8empDgr6ggFxMnfutedo5N4qInjsMkND85ic7hQfmE/bgDWvTtEl7KLzSBGPopV4eJHuuFAs+0tSbjYfQPKlS9V/4OHGbLgP0AZzM2i61iKPfF1/fV9RhtnolyqBiu98lc/ECC9B4dt4JhaQO32a1ZTjVvv4APtXC3Oly5PCWZKRU9OKpp4oqgzicwK/W+VQqZ9QFyWqjz6TQiO0vWyweIdIk42MvxvcGZjMTzS4K0QVA== 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=BP8+NkLKNcFZ0kK7JnVWcN0qCmrAbgkpMBYRI9N5dpE=; b=mXBuv6VuSbEbwv0oQiaokuiSMpcanFHl+cC092uvN8WF5lBj/SPvsgY79Zm1Kv6sIlTV2Yu+VSezpL7SKIh5dyk3RLHV7HLcD/T86S8uCobSdydGH95hXumkFr+zzGNHshKkUUDi6bHrlixYVwLtrIELMtscjdOpxzAOOpFd2L5JyHL1984OcncRM+ZIwqUAOa5Bd7kdkSaYAjZC5MWB1PHcWCx027VlqFk0osz4+Y38bYBoxSfiY+cpjpUuMe3shxiHdSVQyXsSTXavM+9N/oUMVkcnqdoRdOJ2ILql+YXDEBwGP/kRZY+SbhCd6+uUKcy8G6XDU8uCfGvCC0nWMA== 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=BP8+NkLKNcFZ0kK7JnVWcN0qCmrAbgkpMBYRI9N5dpE=; b=ebRikPlQKJ4JkFbMjVZ6z/G+nUMsJoPAq2t5MyzXyYSiy/nqL/K2VTr7OZYQFEJZ9UsqmKSwABCUFrma8hKsrcZFzp6N5iDQRlMbrd9tYkcFmM2vcrsxzlvi6UHxU9Et7x6X9YCJrAVsFgRHIf8bq9zt0pZzxdjzi3zCP5D5htplFdl4l/RtJ/S7WqfR/vYGTebK+6hIuh8CXdfDCXcyMzSNrjGIQP/7bDzhpxULJAgORCzliwq4k5qCAb+WeGA21xsIwpwZMegNJvJgcEQ0MGOA0byh4jylkorbKj20D0qLAaBbjh6zQjUxN0UHYQDRChyYx1ucUAG5ZgHcVh62qw== Original-Received: from PAXPR06MB7760.eurprd06.prod.outlook.com (2603:10a6:102:155::8) by PR3PR06MB7004.eurprd06.prod.outlook.com (2603:10a6:102:93::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Tue, 12 Apr 2022 13:30:49 +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; Tue, 12 Apr 2022 13:30:49 +0000 In-reply-to: X-TMN: [UVfFeG8JbEHk2rJZsRxrIee1CfW2AppK] X-ClientProxiedBy: MR2P264CA0121.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:30::13) To PAXPR06MB7760.eurprd06.prod.outlook.com (2603:10a6:102:155::8) X-Microsoft-Original-Message-ID: <87mtgqig3i.fsf@hotmail.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3283cfdc-94a4-48c4-bf9b-08da1c88a815 X-MS-TrafficTypeDiagnostic: PR3PR06MB7004:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OQfxGqcAgenDF7nd1jzEBYXnF9IRqc8rtEcB6SBzj64VGtnqoLO4Kp9O4RoGNaY6h3icZA65IPF0liiMsGryGnSzKwsgCDycfpiEuzqoLNGRgfs94/bS348CQ0bOdRRq0GtitCH4XUmJRJU4SvisCH/u640ZuQbGp/3Hs0P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ekv9jSBsDxPbzH/s079FJZtGxu1Y43EEhQ3AI/eudp4W7eJB4tEppMJm4t7ep8IUgLS8Yp2evK+ijW0plxijY7vNvI1FVcnCxvyYtEoDALP1+uruadrALD32o9jNTcyzsRFecUwQ7+X9eV8NyoZGY3bXgwpSKI98l pjZbRhYvNglvmAyARxTgtS/oC7hSebBXbatMN6+uKTkq5t22N5z+3miNNuwuMoaDrcbhABetO0nA10+lkt1KR8TYjKFgmy6L4z X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-6e454.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 3283cfdc-94a4-48c4-bf9b-08da1c88a815 X-MS-Exchange-CrossTenant-AuthSource: PAXPR06MB7760.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2022 13:30:49.0754 (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: PR3PR06MB7004 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:229760 Archived-At: Stefan Monnier writes: >> (setq lexical-binding nil) >> (let ((another-fresh-var 1)) >> (default-boundp 'another-fresh-var)) ;; I expect nil, it returns t > > This means you misunderstand dynamic scoping or the meaning of > "default-" in `default-boundp` (it has nothing to do with let bindings > but is only concerned about buffer-local or not). I know, but the docstring for default-boundp in Emacs 29 says: "A variable may have a buffer-local or a =E2=80=98let=E2=80=99-bound local = value. This function says whether the variable has a non-void value outside of the current context" So that docstring at least should be corrected, and either restore the docstring in Emacs 27, that does not mention let bindings at all, or clarify the distinction in that docstring an also in the docstrings for `default-value' and `set-default'