From: juanleon <juanleon.lahoz@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: 24.3; argument NO-ENABLE of 'load-theme' ignored in new frames
Date: Thu, 4 Jul 2013 02:59:41 -0700 (PDT) [thread overview]
Message-ID: <e7ae709e-2aa1-467f-8a8a-e3461253a8aa@googlegroups.com> (raw)
I think this is a bug but I am enjoying it as a feature.
With emacs -Q, I eval "(load-theme 'dichromacy t t)". Nothing changes, as
expected since per the doc:
If optional arg NO-ENABLE is non-nil, load the theme but don't enable
it, unless the theme was already enabled.
But if I create a new frame, the new frame has the dichromacy theme enabled.
If this is a feature, I think documentation is somewhat misleading.
Anyway, I like very much the ability to use different themes in different
frames (load-theme-buffer-local.el does not apply to minibuffer nor mode-line),
which I partially enjoy with:
(load-theme my-main-theme t)
(load-theme my-theme-for-emacsclient-frames t t)
Is there any way to do this without taking advantage of this possible bug?
Thanks
juanleon
reply other threads:[~2013-07-04 9:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=e7ae709e-2aa1-467f-8a8a-e3461253a8aa@googlegroups.com \
--to=juanleon.lahoz@gmail.com \
--cc=bug-gnu-emacs@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.