From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: abdo.haji.ali@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#73609: 29.1; use-package overwrites custom variables in byte-compiled files Date: Wed, 30 Oct 2024 08:49:30 +0000 Message-ID: <92F3DB22-DC62-491D-8090-4204C4D973F3@gmail.com> References: Mime-Version: 1.0 (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="21181"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 73609@debbugs.gnu.org To: John Wiegley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 30 09:51:15 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 1t64Q7-0005Ja-8G for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Oct 2024 09:51:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t64Pw-0001gQ-29; Wed, 30 Oct 2024 04:51: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 1t64Pu-0001g1-83 for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2024 04:51: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 1t64Pu-0002fb-04 for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2024 04:51:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:References:Date:Mime-Version:From:To:Subject; bh=wgrYZzYjtBqRQ3FolhDyVgvtZ2xUtiE32FSwql1ESLg=; b=sPvzxBuQ/l7h1B+tH3jwXaykfP1/OHaMYUDUpPSaukwxChgyhKsKuEZnt9AWf/ARAwAgf6H6clReUhzOUto81GgAwElFT3O0+NPTv0BSGeU0igFaHTbHVlibpis8I2IUH6B3ln+ZvZN22TxW/H4ypoqHFO4D3fsuuye/GPtG0dVrU3UyOtjEqlyJQzvaxjIuJwsr2/nVX25yvez22EJU5pQGDG7GQ7Ah4B6vDn4LdHyUDyCzhKKvlZaKvXtzIHEw7LWiSDMQOvyrC5hDbIAl0c4oGdzFHEAPn5S6JmINGnebXrja3IQf3SRIJgZbhPFJeX+VSfLwbX7pHIVevL8pOA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t64Pt-0000dL-RS for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2024 04:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: abdo.haji.ali@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2024 08:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73609 X-GNU-PR-Package: emacs Original-Received: via spool by 73609-submit@debbugs.gnu.org id=B73609.17302782562429 (code B ref 73609); Wed, 30 Oct 2024 08:51:01 +0000 Original-Received: (at 73609) by debbugs.gnu.org; 30 Oct 2024 08:50:56 +0000 Original-Received: from localhost ([127.0.0.1]:34078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t64Po-0000d7-9O for submit@debbugs.gnu.org; Wed, 30 Oct 2024 04:50:56 -0400 Original-Received: from mail-lj1-f176.google.com ([209.85.208.176]:46449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t64Pl-0000cy-RW for 73609@debbugs.gnu.org; Wed, 30 Oct 2024 04:50:54 -0400 Original-Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2fb3c3d5513so57379801fa.1 for <73609@debbugs.gnu.org>; Wed, 30 Oct 2024 01:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730278193; x=1730882993; darn=debbugs.gnu.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=wgrYZzYjtBqRQ3FolhDyVgvtZ2xUtiE32FSwql1ESLg=; b=dqY9livwJtJ0c9MZdpnsA3wUxs5I6eKWlyJ/pPMpmSjYM9kJbTQAuoaRW3KMjqKXKx gosaxsaQ3aRgjqpYylcpNVXG3dVtn+cTBvZSRDezqQUfs0ZeoAdTC4c2vPidv1gmhSQx eNNdD1/5cfxGU6d98SmFytW+Q910tEM3LxNAA7GdsFeKWC4YNTlPU5NYisIkmC5YVmER /LYRD6OnSgrWAgpDsc0OcfcoVQQ4fMIt74xQEPOlaXWzlpKNkreeca64lquBRvsHvCuY FnPdtS+6ysHv0KqHQuPu8PsOBG02zI/oum/WELYAwLw0O4YmYwqS2hFnOqnNdnzPTD8c AY7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730278193; x=1730882993; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wgrYZzYjtBqRQ3FolhDyVgvtZ2xUtiE32FSwql1ESLg=; b=PRxNpd0+NsjCs3zpw7SmhjJz96OHaJnE1C/LlkFYJrys0D5shBKU3WGjUal6ePgVBw mDgHBaDxbgH+d6kKENRmAF+Y0qAS9zT+Jiuwt1AmWn2kdeLrP4L8xQgqyepBWvLFh5Zx AIdW92hsl6jSmEmYmae8/H4dpG1aeB7N8p3jqP6TG4FQwiCS1bItXAzEYlNtyPgX6VR7 5Ymu3djaA+df3Cceb25/PNcPAlyL/UJGBNnuI2dUj85192Xr2O0EvGkABNMVNtBa6Rg/ jynfc7BPUuz5Pa1gGzhZBE9DsZC6F4zacF4I4Kl4p4eOU0s06Q1lJXeNk668bWZ3QLXk daZA== X-Forwarded-Encrypted: i=1; AJvYcCVvoNIIVRg4eI/ICOd7fq2ARiL5OQAYDGOpBdxldL55R5cR0e7ktyppKASqkY6Fohf5fkCnrQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzbhUu+aKCWoOho8KNzy5waxfUngjS85g+5/Gtlsq57lgM+32kK PfCLdfI3HhwHkDEpzC2GS5uExBXowFbKHXxgv4Sjwu7buBTBhWzR X-Google-Smtp-Source: AGHT+IGTsKRNS/ourqNQ7flmrMeIR51KdBHFM0efYEg0/0PBXf0sV8gRPTaQoHsDvChP7e5aQnNXuw== X-Received: by 2002:a05:651c:1146:b0:2fb:b59:8167 with SMTP id 38308e7fff4ca-2fcbe0993f7mr73679821fa.39.1730278192453; Wed, 30 Oct 2024 01:49:52 -0700 (PDT) Original-Received: from smtpclient.apple (82-132-227-91.dab.02.net. [82.132.227.91]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cbb62c22d1sm4553238a12.45.2024.10.30.01.49.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Oct 2024 01:49:51 -0700 (PDT) In-Reply-To: X-Mailer: iPhone Mail (22A3370) 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:294549 Archived-At: > I think this one has to be =E2=80=9Cwon=E2=80=99t fix=E2=80=9D, indeed, wi= th a note in the > documentation about possible bad interactions between :custom settings and= > byte-compiled files=E2=80=A6 Just to mention that a fix on the user side would be to always require use-p= ackage 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 co= mpiling would normally offer. An easy =E2=80=9Cfix=E2=80=9D 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.=