From: John Mastro <john.b.mastro@gmail.com>
To: Emacs <Help-gnu-emacs@gnu.org>
Cc: tim@akwebsoft.com
Subject: Re: Suite of Color Themes for console
Date: Tue, 21 Oct 2014 17:10:57 -0700 [thread overview]
Message-ID: <CAOj2CQTe8XK-jwfX6usKrivX6Y4h1hb63wHwdvjO8CYVSkMz7Q@mail.gmail.com> (raw)
In-Reply-To: <20141021233258.GB94184@mail.akwebsoft.com>
Tim Johnson <tim@akwebsoft.com> wrote:
> I've downloaded a whole lot of color themes and have been
> experimenting with them. In some cases I find "munged" colors when I
> switch color schemes - and I'm guessing that is because when Theme B
> follows theme A, Theme B may not have all of the same attributes set
> as Theme A and thus "inherits" colors from Theme A. I don't really
> care for that.
The issue is that the old themes are still enabled. You can disable a
theme with `M-x disable-theme'.
If you'd prefer it to happen automatically when you `load-theme' a new
one, you could do something like this (untested):
(defun disable-themes (&optional themes)
(interactive)
(mapc #'disable-theme (or themes custom-enabled-themes)))
(defadvice load-theme (before disable-first activate)
(disable-themes))
Actually, that disables the old theme before you've even selected a new
one, so it would probably be better to define your own `my-load-theme'
that disables the old theme(s) immediately before enabling the new one
but after you've selected it.
--
john
next prev parent reply other threads:[~2014-10-22 0:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 23:32 Suite of Color Themes for console Tim Johnson
2014-10-22 0:10 ` Alexis
2014-10-22 0:35 ` Tim Johnson
2014-10-22 6:48 ` Alexis
2014-10-22 14:43 ` Jacob Gerlach
2014-10-22 14:54 ` Drew Adams
2014-10-23 23:42 ` Sharon Kimble
2014-10-24 14:57 ` Jacob Gerlach
2014-10-24 15:43 ` Tim Johnson
2014-10-22 0:10 ` John Mastro [this message]
2014-10-22 21:22 ` Tim Johnson
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=CAOj2CQTe8XK-jwfX6usKrivX6Y4h1hb63wHwdvjO8CYVSkMz7Q@mail.gmail.com \
--to=john.b.mastro@gmail.com \
--cc=Help-gnu-emacs@gnu.org \
--cc=tim@akwebsoft.com \
/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.