From: Dmitry Gutov <dmitry@gutov.dev>
To: 68880@debbugs.gnu.org
Subject: bug#68880: 30.0.50; [pgtk] Theme customization is not applied by custom-theme-set-faces until theme is re-enabled
Date: Fri, 2 Feb 2024 01:14:12 +0200 [thread overview]
Message-ID: <9786c405-9f83-41d0-b218-16f1d0171ce7@gutov.dev> (raw)
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
next reply other threads:[~2024-02-01 23:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-01 23:14 Dmitry Gutov [this message]
2024-02-03 6:41 ` bug#68880: 30.0.50; [pgtk] Theme customization is not applied by custom-theme-set-faces until theme is re-enabled Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-03 17:11 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9786c405-9f83-41d0-b218-16f1d0171ce7@gutov.dev \
--to=dmitry@gutov.dev \
--cc=68880@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.