From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73609: 29.1; use-package overwrites custom variables in byte-compiled files Date: Sat, 09 Nov 2024 11:57:21 +0200 Message-ID: <86ses0n30e.fsf@gnu.org> References: <92F3DB22-DC62-491D-8090-4204C4D973F3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27508"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73609-done@debbugs.gnu.org, johnw@gnu.org To: abdo.haji.ali@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 09 10:58:30 2024 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 1t9iEg-0006rr-1y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Nov 2024 10:58:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9iEI-0000y6-KJ; Sat, 09 Nov 2024 04:58:06 -0500 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 1t9iEG-0000xh-NA for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 04:58:04 -0500 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 1t9iEF-0005UD-8X for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 04:58:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=FQwI6WxnhWoSmYj4mCH/wn03pIlrBtsm5M2b8i1PktI=; b=eSVp1tcgPtXMesGegyglUfD5f4x39ybd4K4I//HQ9jmdIJ9XTiPUAkUcpndoMoB+zqOkycbwHhP5wtoRWnHEMdUcQaXipHGvKiqjsN0Fd9fOC1xCcznnmFGUzgVsBeZXvtQe2dDro4QMsV/MAe2uGK7mrzLuwmtmHzn187+XeZ1Ec1x1oLfarziQrm6yFannd7J7ESIzK7YzZYdJZt3aUM5N8jQSfxRyCSsB3Gv1tRPOhQfDXO0HpclA0O1lOxhdIfx9fC5/sc9emJxM6qjw7v3j5KNvJDmrEGA12K0azJxRU2EzGSlGFgDvyFOzV/LETGLFiPSOOgvlNpDiHzKNrA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9iEE-0003Lu-06 for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 04:58:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 73609 X-GNU-PR-Package: emacs Mail-Followup-To: 73609@debbugs.gnu.org, eliz@gnu.org, abdo.haji.ali@gmail.com Original-Received: via spool by 73609-done@debbugs.gnu.org id=D73609.173114625312841 (code D ref 73609); Sat, 09 Nov 2024 09:58:01 +0000 Original-Received: (at 73609-done) by debbugs.gnu.org; 9 Nov 2024 09:57:33 +0000 Original-Received: from localhost ([127.0.0.1]:53474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9iDk-0003L3-P9 for submit@debbugs.gnu.org; Sat, 09 Nov 2024 04:57:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9iDi-0003Kp-4F for 73609-done@debbugs.gnu.org; Sat, 09 Nov 2024 04:57:32 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9iDc-0005ST-R0; Sat, 09 Nov 2024 04:57:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=FQwI6WxnhWoSmYj4mCH/wn03pIlrBtsm5M2b8i1PktI=; b=MrnvCxrF7Ao9840TO5wv 9RwmMI6MiyLTKV9Vec7lP+A2N+Mfi86kiz2Rr8qCRTMvp5Ber64XrWXYQTS8rG+/mTqVNa2D9xQ3z gTfTgyNfJ3yuJKUsMAniNyzMj20WpD33yUoxXTblVFcoNlQEvJ2hjqgGvmtehSVKOOQxTAcFLqGoq t9e8ETroXSOW4o7AqYOc6AmgyoQoCgBAXnABNwQrlzN+LroraAa3pqL5j3yiRfOazO/CJIFuwsx13 sR41qc+o4SbS7SqsQ9hjw4u26aoioIHvaFgV3g7UrBeWAxu+0dbrgU08tYm4bn7a4BJ5ili7LeDX6 TWVbeBN1SJJK0Q==; In-Reply-To: <92F3DB22-DC62-491D-8090-4204C4D973F3@gmail.com> (abdo.haji.ali@gmail.com) 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:295116 Archived-At: > From: abdo.haji.ali@gmail.com > Date: Wed, 30 Oct 2024 08:49:30 +0000 > Cc: Eli Zaretskii , 73609@debbugs.gnu.org > > > > I think this one has to be “won’t fix”, indeed, with a note in the > > documentation about possible bad interactions between :custom settings and > > byte-compiled files… > > Just to mention that a fix on the user side would be to always require use-package to force the loading of the theme before other user code is executed. Of course this defeats the purpose of lazy-loading use-package that byte compiling would normally offer. > > An easy “fix” from the use-package side, with virtually zero side effects, would be to move the loading of the theme into a small module that the user can always require without loading all of use-package. Thanks, I've now updated the use-package manual with the relevant information (on the emacs-30 branch), and I'm therefore closing this bug.