X-Loop: help-debbugs@HIDDEN
Subject: bug#68880: 30.0.50; [pgtk] Theme customization is not applied by custom-theme-set-faces until theme is re-enabled
Resent-From: Dmitry Gutov <dmitry@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 01 Feb 2024 23:15:02 +0000
Resent-Message-ID: <handler.68880.B.17068292914738 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 68880
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 68880 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17068292914738
(code B ref -1); Thu, 01 Feb 2024 23:15:02 +0000
Received: (at submit) by debbugs.gnu.org; 1 Feb 2024 23:14:51 +0000
Received: from localhost ([127.0.0.1]:43317 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rVgGh-0001EM-Du
for submit <at> debbugs.gnu.org; Thu, 01 Feb 2024 18:14:51 -0500
Received: from lists.gnu.org ([2001:470:142::17]:55288)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <dmitry@HIDDEN>) id 1rVgGa-0001Dw-Nf
for submit <at> debbugs.gnu.org; Thu, 01 Feb 2024 18:14:49 -0500
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 <dmitry@HIDDEN>) id 1rVgGK-00029N-4y
for bug-gnu-emacs@HIDDEN; Thu, 01 Feb 2024 18:14:28 -0500
Received: from wout1-smtp.messagingengine.com ([64.147.123.24])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <dmitry@HIDDEN>) id 1rVgGD-0005LZ-6D
for bug-gnu-emacs@HIDDEN; Thu, 01 Feb 2024 18:14:27 -0500
Received: from compute7.internal (compute7.nyi.internal [10.202.2.48])
by mailout.west.internal (Postfix) with ESMTP id 0B6833200A95
for <bug-gnu-emacs@HIDDEN>; Thu, 1 Feb 2024 18:14:15 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
by compute7.internal (MEProxy); Thu, 01 Feb 2024 18:14:16 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
:content-transfer-encoding:content-type:content-type:date:date
:from:from:in-reply-to:message-id:mime-version:reply-to:subject
:subject:to:to; s=fm2; t=1706829255; x=1706915655; bh=pGMX5BUSKm
TJKoNvGUkIAdnVqHotuj3V8O8WXokteAQ=; b=SzXh6pfT232fah27PKPVnYCL1i
tlbufvskLVgFF4dMiUCZVKjiWWZCxOUXaofXgM7/55Cq4DkQ7DFFKrQn0xGcj0F0
6QaC0UYAS70FboFou7H5Mv7Zy3o0NEhhcZNdHc/Pl91jASAm8uWmaFdzXDD7i0FW
sDYx1MU2TPWYiM01+ylYpjP8GZKaHDvLW7qRfjZEwgDL3ymxiC/WF66CTq+ss1Oc
0TlNnAT81W3uNF1qkiBz8jDQ0wFvKhPTF0JAzSdpc5M9a5xf+7WAy1DWeYKUSxof
ievReQF7cZr3mxyvHjz4HhnbMlubDrQtQ6LiZdjtNEoHDoMe0yMjo0dF2mcQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-transfer-encoding:content-type
:content-type:date:date:feedback-id:feedback-id:from:from
:in-reply-to:message-id:mime-version:reply-to:subject:subject:to
:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
fm3; t=1706829255; x=1706915655; bh=pGMX5BUSKmTJKoNvGUkIAdnVqHot
uj3V8O8WXokteAQ=; b=dbC+sA4iu3AZO8PiUSc2oj5posrWsaOrho1dc2HrnQUa
+2/+e0fdPOFmCMcFpEEUT5yhITfAOr28/7YBlmo2cb6jgBuOczpSNuV9DAqqMf7k
RSRnstzCzNAzGVpuAwqtZrmTbqAIjXchxos9AKqSYYFOnzPpM/5AzitS+G644+Pc
kuIU1A82w0t+Zed7k1etAij4/vaVoHzJKD4JawFjVgXWaQb6rgtjGsRlyRMjJtkv
JE/eugim2LkkPJs2ketiOEULu54ZrTrtM+LV8uNVaiEovs3IpwcxxVy3zqNnBumD
RPZTYyDzKQuocEQljjUq7dj+NAnjQATCfY+PSSMtYQ==
X-ME-Sender: <xms:xyW8ZcZT3QmKw3-NzdzBrzDN9wBDaZUfiHNggVyuQnQa8Dy-LalH0w>
<xme:xyW8ZXar_kJGoBI57GVLIV1cOq3d6wyhj93isAqYFVEfa2MGCvWo4OHEz8Ku9bOSg
xX5QvttTk92zZQDCJ8>
X-ME-Received: <xmr:xyW8ZW9do7BYkJPBEox2To5NVdt5f6GvmBCaN3BnsM-XS6GS_GRuGStMS78piBizR9mn>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeduvdcutefuodetggdotefrodftvfcurf
hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr
ihhlohhuthemuceftddtnecunecujfgurhepkfffgggfvffuhfgtgfesthejredttddvje
enucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdgu
vghvqeenucggtffrrghtthgvrhhnpefhteevuefhvdduuefhvefhueekieetkeelveethf
egvdeffeegtdffieeftefhjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep
mhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvh
X-ME-Proxy: <xmx:xyW8ZWrut6S2_-t8OGDLmzzhh_F6uhUB2dqPVwhHld5pbnxLaS4DgA>
<xmx:xyW8ZXqDf1Ti_W_l5d7DQLhCCh3SF8Gc2XKVIscHIRlyKgjRlQOjYQ>
<xmx:xyW8ZUQzyQvpIW90B2EPNkKsbP_uMnRzOHSVxqaXNDpiuNd1Ozn-tA>
<xmx:xyW8ZRGXJFFaNKxPbLz2PmXo6VlqLV977nppmVWL4FViJCZn9LYBWw>
Feedback-ID: i0e71465a:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
<bug-gnu-emacs@HIDDEN>; Thu, 1 Feb 2024 18:14:14 -0500 (EST)
Message-ID: <9786c405-9f83-41d0-b218-16f1d0171ce7@HIDDEN>
Date: Fri, 2 Feb 2024 01:14:12 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=64.147.123.24; envelope-from=dmitry@HIDDEN;
helo=wout1-smtp.messagingengine.com
X-Spam_score_int: -26
X-Spam_score: -2.7
X-Spam_bar: --
X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01,
T_SPF_HELO_TEMPERROR=0.01, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.4 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: To reproduce,
put this into .emacs: (add-hook 'after-init-hook
(lambda () (load-theme 'adwaita t) (custom-theme-set-faces 'adwaita
'(font-lock-comment-face ((t (:foreground "yellow")))))))
Content analysis details: (1.4 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral)
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL
blocklist [URIs: gutov.dev]
0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL
blocklist [URIs: gutov.dev]
-0.0 T_SCC_BODY_TEXT_LINE No description available.
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.4 (/)
To reproduce, put this into .emacs:
(add-hook
'after-init-hook
(lambda ()
(load-theme 'adwaita t)
(custom-theme-set-faces
'adwaita
'(font-lock-comment-face ((t (:foreground "yellow")))))))
Then run emacs -Q.
When the PGTK port is used, the comment face's foreground won't be
yellow. With other ports (e.g. GTK3 or Lucid), it is.
The use of after-init-hook itself it not crucial - you can just as well
enable the theme using 'M-x load-theme' and then evaluate the
custom-theme-set-faces form.
There is some text on the splash screen with font-lock-comment-face
applied, so you should see the effect right away.
In GNU Emacs 30.0.50 (build 333, x86_64-pc-linux-gnu, GTK+ Version
3.24.38, cairo version 1.18.0) of 2024-02-02 built on potemkin
Repository revision: 71b5d5a9799a37948b2e8cca125a59e2bfb71e96
Repository branch: master
System Description: Ubuntu 23.10
Configured using:
'configure --with-pgtk'
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PGTK PNG RSVG
SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP
XIM GTK3 ZLIB
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Dmitry Gutov <dmitry@HIDDEN> Subject: bug#68880: Acknowledgement (30.0.50; [pgtk] Theme customization is not applied by custom-theme-set-faces until theme is re-enabled) Message-ID: <handler.68880.B.17068292914738.ack <at> debbugs.gnu.org> References: <9786c405-9f83-41d0-b218-16f1d0171ce7@HIDDEN> X-Gnu-PR-Message: ack 68880 X-Gnu-PR-Package: emacs Reply-To: 68880 <at> debbugs.gnu.org Date: Thu, 01 Feb 2024 23:15:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 68880 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 68880: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68880 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#68880: 30.0.50; [pgtk] Theme customization is not applied by custom-theme-set-faces until theme is re-enabled
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 03 Feb 2024 06:43:01 +0000
Resent-Message-ID: <handler.68880.B68880.170694252812800 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68880
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Dmitry Gutov <dmitry@HIDDEN>
Cc: 68880 <at> debbugs.gnu.org
Received: via spool by 68880-submit <at> debbugs.gnu.org id=B68880.170694252812800
(code B ref 68880); Sat, 03 Feb 2024 06:43:01 +0000
Received: (at 68880) by debbugs.gnu.org; 3 Feb 2024 06:42:08 +0000
Received: from localhost ([127.0.0.1]:45792 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rW9j6-0003KO-0Z
for submit <at> debbugs.gnu.org; Sat, 03 Feb 2024 01:42:08 -0500
Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:37422)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <luangruo@HIDDEN>) id 1rW9j2-0003Jq-Br
for 68880 <at> debbugs.gnu.org; Sat, 03 Feb 2024 01:42:06 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1706942505; bh=V19ODmdkO2Gvl9CMvr0jIE+VJxV52CrwAq+8BrVsG34=;
h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
b=Vh72RsRx2VFT37pDxTYiyOHuuF3noJPAbNCVeerOGOeT4vnIoYHNnJA0o1Znyj2HQdFXmHuZORQwUlUG+iVtADm++TUh1GTCD1pj7sy7hH+Frj6ENCIgIU9OIyBakEpb2J85r8FNr/okCgI2jLRMYnAL91q0SPEpOv1rsoxeHG8Xpa9T2TUd4Fuuuf+8Wqbc2tJTCRbkCdsKF8UyAHZrxF+jFSt/DxmjeeIfiTVLdrl7MlEMp4MGse0w/roaPagVlYurWxGNvJzMSVGFEOCIkKYlw662/8DBCudIOYk/oxStkZXetMMLOr8uWkayI1sBG79x9X0L4iJsvE502C5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NFv4X7zXl8X5iTSPN7749m254wVTBF.VJrZmxMjSliI6CmNFwBHs7yldrY9Uo6U
9mBgVPeRIGElujnID8pbNZ2GbyDKUTSiAi6TiphQO8WWQMonimAe7Fq7RLx4EVDWlVxsuArC2huo
ijo.tLs8FC4v4sAMgPkOQlms.A4GEju1QTNOS0gxTGxFR.j.HIzCv4eGMOTaB9TauaCeuBHtakEF
gxMcN.K.eFQ1oZtXepkfP.xBBDwzUUjFsPAQggbI0LvOCavfZ23AUqC8B4J7P7IuNyNQWcuGQhqv
hrO6Rxv8izI42QY0emb_kYj01xLf758cUhtoSHP5pjyxJ06DxqaPrqzrfwhkwVWU5tjtaC6T2bGd
CKKw3JKHmYCDAoJl_QaCuMtcT2JBl.h2JN0anClf05C.vGkWy0XE_MhaV7oAuh9_numAORC6nfS3
2y1PE9RZS_RcgcVeesyLBGaq8CjiI4b_PJ1xy6ixyBJFpYCg8w63PZAG7.9SJpbgHhLFGjvTEkJl
gXshTXYOktm7E50FVWJUvHd08vkL0oD4FY.QpV.Apuhqk6Gja_Td5Yj_E27_g6Yjm7i4L9vSqNPR
u6EDcEHMxrqhieT57jhFl7GYWDSDyL4daY62QueU0WQyWVV64vuZcTFg_.M8nCdmWbWrsfBw5BWF
VUGATHRlHRs14uhc2KsSqkHGozDcXg7XnxlJo2TGq27_rYyJw3wIVvaZY52nTS88-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 092d78b5-1706-46f2-9126-58725b443ac8
Received: from sonic.gate.mail.ne1.yahoo.com by
sonic301.consmr.mail.ne1.yahoo.com with HTTP; Sat, 3 Feb 2024 06:41:45 +0000
Received: by hermes--production-sg3-6dc75bc8fb-8hvwv (Yahoo Inc. Hermes SMTP
Server) with ESMTPA ID b58e621b20deaf51fa57349634b211a6;
Sat, 03 Feb 2024 06:41:41 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <9786c405-9f83-41d0-b218-16f1d0171ce7@HIDDEN> (Dmitry Gutov's
message of "Fri, 2 Feb 2024 01:14:12 +0200")
References: <9786c405-9f83-41d0-b218-16f1d0171ce7@HIDDEN>
Date: Sat, 03 Feb 2024 14:41:36 +0800
Message-ID: <87eddum4m7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.22046
mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 969
X-Spam-Score: 0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)
Dmitry Gutov <dmitry@HIDDEN> writes:
> To reproduce, put this into .emacs:
>
> (add-hook
> 'after-init-hook
> (lambda ()
> (load-theme 'adwaita t)
>
> (custom-theme-set-faces
> 'adwaita
> '(font-lock-comment-face ((t (:foreground "yellow")))))))
>
> Then run emacs -Q.
Upon rereading your description, it appears as though you're reporting
that `emacs -Q' does not load the user's initialization files, while it
does in the non-PGTK builds. Needless to say, if true, that is a severe
bug!
> When the PGTK port is used, the comment face's foreground won't be
> yellow. With other ports (e.g. GTK3 or Lucid), it is.
>
> The use of after-init-hook itself it not crucial - you can just as well
> enable the theme using 'M-x load-theme' and then evaluate the
> custom-theme-set-faces form.
>
> There is some text on the splash screen with font-lock-comment-face
> applied, so you should see the effect right away.
I can reproduce this, thanks.
X-Loop: help-debbugs@HIDDEN
Subject: bug#68880: 30.0.50; [pgtk] Theme customization is not applied by custom-theme-set-faces until theme is re-enabled
Resent-From: Dmitry Gutov <dmitry@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 03 Feb 2024 17:12:01 +0000
Resent-Message-ID: <handler.68880.B68880.170698028722216 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68880
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Po Lu <luangruo@HIDDEN>
Cc: 68880 <at> debbugs.gnu.org
Received: via spool by 68880-submit <at> debbugs.gnu.org id=B68880.170698028722216
(code B ref 68880); Sat, 03 Feb 2024 17:12:01 +0000
Received: (at 68880) by debbugs.gnu.org; 3 Feb 2024 17:11:27 +0000
Received: from localhost ([127.0.0.1]:46929 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rWJY7-0005mG-8Q
for submit <at> debbugs.gnu.org; Sat, 03 Feb 2024 12:11:27 -0500
Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:52027)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <dmitry@HIDDEN>) id 1rWJY3-0005ly-F0
for 68880 <at> debbugs.gnu.org; Sat, 03 Feb 2024 12:11:25 -0500
Received: from compute7.internal (compute7.nyi.internal [10.202.2.48])
by mailout.west.internal (Postfix) with ESMTP id 9B79D3200A72;
Sat, 3 Feb 2024 12:11:05 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
by compute7.internal (MEProxy); Sat, 03 Feb 2024 12:11:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
:cc:content-transfer-encoding:content-type:content-type:date
:date:from:from:in-reply-to:in-reply-to:message-id:mime-version
:references:reply-to:subject:subject:to:to; s=fm2; t=1706980265;
x=1707066665; bh=YsNAu6jEQMRdmWk0VHDSibBueDJAQVhsglqz4NeW+Y0=; b=
oz8JSyWRwc2Gth1QkPNI7t4QI9x8KY2dEoLWH1kkBFy4N9iGqafEwO9/rbVO6bu5
HsiMYRGHuQZT0yWc+p4u8Wh3aFWcicBjZ2W2JE0DVcGvfS4R3ucxLRIZTX585m52
smb1rnaYEwYywItvsgf34KAh7kaL4+8BRDDi2XW077h2C1FOCXh1Bu4Od1wD28mO
4U54W0NFN5+GYAoSCIA2fe7DjZcFM1Yl06YFHQ8zdrGkRheVU14fu4Wvj4LPPrzE
2eKjji90vdGeupIYm5HcfXn6Z2NLL9i52mdxMwcaqMzzCZVvTt5aKmS5hoGYP046
3iBctZHPFNutRQipbgKzGA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:cc:content-transfer-encoding
:content-type:content-type:date:date:feedback-id:feedback-id
:from:from:in-reply-to:in-reply-to:message-id:mime-version
:references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy
:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1706980265; x=
1707066665; bh=YsNAu6jEQMRdmWk0VHDSibBueDJAQVhsglqz4NeW+Y0=; b=e
zuowManpT9m76cfbnUk0yozWyJcTHkcmQzRiYFnEI7XliH22dJJnoCP/eVDDyIBm
wEGtJop0cOph539B4Qqn/A5zn6a869YDm0W2vLBeXYFRkSp8fYbB8rf7T8xIgPZf
KXHkJZiC0sMJs/Ph5pE13NT6esLi43hlXpBllixIObfe86nZAJCmgcIH8ME+VP/c
YnfHvVeFVpRG758QDDJqI8zC9rgch1GgFaf791oIjdO3hqN7tm2vH+zlGN83rESP
gaD5Xz0EOd3+zgqggo2Esm8zT4BZCzukxGL8uVyYfxZKmsYuZauX+n+rXS7yceyz
fZ2OYS2c5yH36KKX7sbMA==
X-ME-Sender: <xms:qHO-ZYUFPWH_J_ULVkxIj5aXwNnp6TCU6rbBLzWw0HCOUxzxIHTBOA>
<xme:qHO-Zcnzgu7HbwKY9pnGfAYnpyWt6xS4byoFVi7RW7PKRmUJJdMcUasUkp_0QJVGQ
xcdoli5e1UET49SxQY>
X-ME-Received: <xmr:qHO-Zca6dDcF-mfdv3o7p4oAHNdzB9OnIhFf7rsCaMa2RFGc9OC2cFFxVjptPIK9ZAwA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeduiedgleehucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfevfhfhjggtgfesth
ejredttddvjeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehg
uhhtohhvrdguvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhe
dvveeikeeufedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecu
rfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvh
X-ME-Proxy: <xmx:qHO-ZXXW7KPnvYIeuLN5y22-AfhE4pD1RX3Fst73mnt0t4A0zbHYzA>
<xmx:qHO-ZSkypPrC9TiWoHzSiqqVg9qksPwDneejGpalrFUuj3Zv9yiaxA>
<xmx:qHO-ZcfNrIlSudm3zkJiAyZrYDEMYFmJFVGhiahGWgmb5Ylqkk--Lw>
<xmx:qXO-ZZsq-MZ6qlpFTfwfS-lk2roeK2TSWdNUf7WqMz7l2BkHpcsoeg>
Feedback-ID: i0e71465a:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
3 Feb 2024 12:11:04 -0500 (EST)
Message-ID: <04fd4f68-c5d7-45b4-83fc-5806c58b4b2c@HIDDEN>
Date: Sat, 3 Feb 2024 19:11:01 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
References: <9786c405-9f83-41d0-b218-16f1d0171ce7@HIDDEN>
<87eddum4m7.fsf@HIDDEN>
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <87eddum4m7.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
On 03/02/2024 08:41, Po Lu wrote:
> Dmitry Gutov <dmitry@HIDDEN> writes:
>
>> To reproduce, put this into .emacs:
>>
>> (add-hook
>> 'after-init-hook
>> (lambda ()
>> (load-theme 'adwaita t)
>>
>> (custom-theme-set-faces
>> 'adwaita
>> '(font-lock-comment-face ((t (:foreground "yellow")))))))
>>
>> Then run emacs -Q.
>
> Upon rereading your description, it appears as though you're reporting
> that `emacs -Q' does not load the user's initialization files, while it
> does in the non-PGTK builds. Needless to say, if true, that is a severe
> bug!
Not sure it relates to the user initialization files: like I say below,
the same scenario and the result can be reproduced interactively after
Emacs has initialized.
>> When the PGTK port is used, the comment face's foreground won't be
>> yellow. With other ports (e.g. GTK3 or Lucid), it is.
>>
>> The use of after-init-hook itself it not crucial - you can just as well
>> enable the theme using 'M-x load-theme' and then evaluate the
>> custom-theme-set-faces form.
>>
>> There is some text on the splash screen with font-lock-comment-face
>> applied, so you should see the effect right away.
>
> I can reproduce this, thanks.
X-Loop: help-debbugs@HIDDEN
Subject: bug#68880: 30.0.50; [pgtk] Theme customization is not applied by custom-theme-set-faces until theme is re-enabled
References: <9786c405-9f83-41d0-b218-16f1d0171ce7@HIDDEN>
In-Reply-To: <9786c405-9f83-41d0-b218-16f1d0171ce7@HIDDEN>
Resent-From: Mauro Aranda <maurooaranda@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 08 Mar 2025 09:55:02 +0000
Resent-Message-ID: <handler.68880.B68880.174142768320674 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68880
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 68880 <at> debbugs.gnu.org, Dmitry Gutov <dmitry@HIDDEN>
Received: via spool by 68880-submit <at> debbugs.gnu.org id=B68880.174142768320674
(code B ref 68880); Sat, 08 Mar 2025 09:55:02 +0000
Received: (at 68880) by debbugs.gnu.org; 8 Mar 2025 09:54:43 +0000
Received: from localhost ([127.0.0.1]:52901 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tqqtH-0005NM-32
for submit <at> debbugs.gnu.org; Sat, 08 Mar 2025 04:54:43 -0500
Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:60636)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <maurooaranda@HIDDEN>)
id 1tqqtF-0005N8-I1
for 68880 <at> debbugs.gnu.org; Sat, 08 Mar 2025 04:54:42 -0500
Received: by mail-pl1-x636.google.com with SMTP id
d9443c01a7336-22403cbb47fso52059575ad.0
for <68880 <at> debbugs.gnu.org>; Sat, 08 Mar 2025 01:54:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1741427675; x=1742032475; darn=debbugs.gnu.org;
h=content-transfer-encoding:subject:from:to:content-language
:user-agent:mime-version:date:message-id:from:to:cc:subject:date
:message-id:reply-to;
bh=rWnJqDoGNcyC5wEJgKvbaAz1POmsdvmpYJDOyUO6EVs=;
b=gwWFFPoh1I0H4scpUuCuZSbX99AK+CJd3Zy/y8fK2IAXMA670eHEH5oHB3cpBjV/9p
IgLng4rFBMb/R0pPixY4A1SR31peFOEouIpZLMmOutdQyMCn9dLYQyWXb+C5Doiy4shc
2cEK48jhMz4Sjwvi4QDrRYn0B9g4Q12hUiTpZdiJQlZ3xPGwo4Ey1rhOeGu7m1G7wJwa
ZNTGS2oGH9RHiqjOHOD9fYt8ZsqhW7PcCB35mo5wd4lroq+i2n5cJ9sbrOeBHQYhNbTG
46nf6gvXQ/tHBaLhh8q4x71VfPWj/ixJJofpyw6ATK0wB5S1/BOwg2yRboyDtjgUqVZ+
8N2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1741427675; x=1742032475;
h=content-transfer-encoding:subject:from:to:content-language
:user-agent:mime-version:date:message-id:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=rWnJqDoGNcyC5wEJgKvbaAz1POmsdvmpYJDOyUO6EVs=;
b=LNk1R7eGTbawVnIkz/plIlsW21xBMmPZuU+y16zqPAzI0G6KkiIRB5+WfMu5mgN1b2
gzsJb8e0WYaj9wqX4WVkIIQm1ukvzV2MABWAAJs8qEmyeAhfOk7c8iljM8NYY3g6O1mw
kdhtDUgup7ROmF/qHC4Cta2vfGhSlEWgtWc+G3bQJn+iemEx6IO+seqQJl4TGWLec6ju
wNqEHHLgSaJZ7B07vffxkVsfOQZtolZzQY1ObDZKx0svJFv3NeHUcI38lj5UGvBYpPZb
b7NL+MKubiTOso+Co5WdpjGS8zKvMuA9eBL7mPaiym4VVWVpm0DjnyJyU4FAyZIEHCV1
zPIQ==
X-Gm-Message-State: AOJu0Yyei4/Eay7/1zAI7N/hrAe0f14mfjBiTuEdkJIP7amGVIwKzSj8
x6LedmrZGnrURGcrueIbxXC2BpFJ7JXIlFzYwbU71uj5x9Htk9n8vJhWEYqA
X-Gm-Gg: ASbGncsHS2gTPj2xRtqSDYEdmEjziIelP7XcqWWjUtCnyIgBOoVVff5TKmgrw/PNpZO
KpxamsjhvYOxD50vq2APiQ+QiHuhgweew/92kf3v3KY0tETb4kC5K0WYfTIGbgshuPUZXGIIbNt
UxO3FOjCofOhovtuU8lKMim5OlNC22dDrD82rRcG50v0gRmauA7HwnDCkjKhAh/ldeg7W5KWRuz
hotDY1zorptAw+y4gYuOwJ1HNFmvQv9eo1eI0DY8+qHxba1Pm9j2cs/XY/JYhsjVPkBDh1fkemn
jH21g09RpWV/tDD9J+y1pi29H5l3TMrrsGVZDxg+o/GO/3t08u8=
X-Google-Smtp-Source: AGHT+IFFrGx6+/WfLs0XTGkT1TrAk9/HO+NLFfGvQ1pXe62ZXnmHeI83sBa+HutUQUiGeM2oBtP8AA==
X-Received: by 2002:a17:902:e750:b0:223:4bd6:3863 with SMTP id
d9443c01a7336-2242887eda6mr115829755ad.10.1741427674816;
Sat, 08 Mar 2025 01:54:34 -0800 (PST)
Received: from [192.168.0.234] ([181.228.33.6])
by smtp.gmail.com with ESMTPSA id
d9443c01a7336-224109e9fedsm43755675ad.67.2025.03.08.01.54.33
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Sat, 08 Mar 2025 01:54:34 -0800 (PST)
Message-ID: <35751bb2-4d4c-4721-8e8c-c3f41f469846@HIDDEN>
Date: Sat, 8 Mar 2025 06:54:31 -0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
From: Mauro Aranda <maurooaranda@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)
Dmitry Gutov <dmitry@HIDDEN> writes:
> To reproduce, put this into .emacs:
>
> (add-hook
> 'after-init-hook
> (lambda ()
> (load-theme 'adwaita t)
>
> (custom-theme-set-faces
> 'adwaita
> '(font-lock-comment-face ((t (:foreground "yellow")))))))
>
> Then run emacs -Q.
>
> When the PGTK port is used, the comment face's foreground won't be
> yellow. With other ports (e.g. GTK3 or Lucid), it is.
I can't reproduce it. As expected, with emacs -Q, the lambda function
never gets called.
So, I see the same on the 3 builds I've tried (GTK3, Lucid,
PGTK): Emacs starts with the default theme.
> The use of after-init-hook itself it not crucial - you can just as well
> enable the theme using 'M-x load-theme' and then evaluate the
> custom-theme-set-faces form.
If I start with emacs -Q and then evaluate the forms inside the
lambda function, I can't reproduce it either, because I see the exact
same thing on the 3 builds: adwaita theme gets loaded and enabled, but
the font-lock-comment-face customization doesn't get customized to
yellow.
IOW, I can reproduce, but it's not pgtk specific.
I think this is related to Bug#76685. But since I can't reproduce the
bug exactly as reported, I would like to check before merging the bugs.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.