From: Alex Kost <alezost@gmail.com>
To: 16266@debbugs.gnu.org
Subject: bug#16266: 24.3; `load-theme' prevents immediate setting of themed variables
Date: Fri, 27 Dec 2013 11:15:49 +0400 [thread overview]
Message-ID: <87d2kiahne.fsf@gmail.com> (raw)
Specifying optional arguments (NOW, REQUEST, COMMENT) for ARGS of
`custom-theme-set-variables' doesn't take effect.
`load-theme' function has this piece:
(let ((custom--inhibit-theme-enable t) ;;; why this is here?
(buffer-file-name fn)) ;For load-history.
(eval-buffer))
Because of that, a big piece of `custom-theme-set-variables' function is
never evaluated:
(unless custom--inhibit-theme-enable ;;; this var is always T
;; Now set the variable.
(let* ((now (nth 2 entry))
(requests (nth 3 entry))
(comment (nth 4 entry))
set)
...
))
I found a very similar letter to emacs.devel mailing list:
<http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00473.html>.
As far as I can see, this bug is in 24.3.50 as well.
In GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.8.2)
of 2013-08-07 on -mnt-storage-buildroots-staging-i686-eric
next reply other threads:[~2013-12-27 7:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-27 7:15 Alex Kost [this message]
2013-12-27 8:15 ` bug#16266: 24.3; `load-theme' prevents immediate setting of themed variables Alex Kost
2021-05-30 5:20 ` Lars Ingebrigtsen
2021-07-01 11:41 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d2kiahne.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=16266@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).