[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suite of Color Themes for console
Re: Suite of Color Themes for console
Fri, 24 Oct 2014 00:42:12 +0100
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Jacob Gerlach <firstname.lastname@example.org> writes:
> I believe there is some important distinction between custom themes and
> color themes (although I can't recall what it is). My setup is below
> (collected from various sources like the wiki - I don't claim any credit).
> I think this is the "wrapper" you're looking for.
> (add-to-list 'custom-theme-load-path
> ;; Cycle through this set of themes
> (setq my-themes '(robin-hood charcoal-black classic dark-blue desert))
> (setq my-cur-theme nil)
> (defun cycle-my-theme ()
> "Cycle through a list of themes, my-themes"
> (when my-cur-theme
> (disable-theme my-cur-theme)
> (setq my-themes (append my-themes (list my-cur-theme))))
> (setq my-cur-theme (pop my-themes))
> (load-theme my-cur-theme t))
> ;; Switch to the first theme in the list above
> (global-set-key (kbd "C-t") 'cycle-my-theme)
> The first theme in "my-themes" will be loaded on startup, and you can bind
> cycling (as I have to C-t) to make it quick and easy.
Thanks for this Jacob, it is very useful. But I do wonder if it could be
"tweaked" such that it displays the name of the theme in that black bar
at the top of emacs just before it gets onto the system-bar of the
desktop? Also, I've got a lot of themes from ELPA, which on this box is
at "/home/boudiccas/.emacs.d/elpa" which I would dearly love to use,
like this, and it works!
(add-to-list 'custom-theme-load-path "/home/boudiccas/.emacs.d/themes")
(add-to-list 'custom-theme-load-path "/home/boudiccas/.emacs.d/elpa")
Any ideas please?
> On Tue, Oct 21, 2014 at 8:35 PM, Tim Johnson <email@example.com> wrote:
>> * Alexis <firstname.lastname@example.org> [141021 16:22]:
>> > Tim Johnson writes:
>> > > 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.
>> > >
>> > > Example : fogus appears to have no settings for 'link and radiance
>> > > does, so when I switch from radiance to fogus, links show up with the
>> > > same background and foreground as radiance.
>> > Aiui, the theming system has been deliberately designed to allow theme
>> > additivity, i.e. enabling theme A doesn't automatically disable theme B
>> > by default. So if you want theme B to completely replace theme A, you
>> > need to M-x disable-theme before enabling theme B.
>> Aha! so where I have
>> ["Badger - Dark" (load-theme 'badger) :active t]
>> I could replace with
>> ["Badger - Dark" (disable-previous-and-load-new-theme 'badger) :active t]
>> Where I have 'disable-previous-and-load-new-theme as a wrapper
>> that first disables ...
>> Am I correct?
>> Thanks for the reply and also thanks to John Mastro.
>> tim at tee jay forty nine dot com or akwebsoft dot com
>> http://www.akwebsoft.com, http://www.tj49.com
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 184.108.40.206
Description: PGP signature
Re: Suite of Color Themes for console, Tim Johnson, 2014/10/22
- Suite of Color Themes for console, Tim Johnson, 2014/10/21
- Re: Suite of Color Themes for console, John Mastro, 2014/10/21
- Re: Suite of Color Themes for console, Alexis, 2014/10/21
- Re: Suite of Color Themes for console, Tim Johnson, 2014/10/21
- Re: Suite of Color Themes for console, Alexis, 2014/10/22
- Re: Suite of Color Themes for console, Jacob Gerlach, 2014/10/22
- RE: Suite of Color Themes for console, Drew Adams, 2014/10/22
- Re: Suite of Color Themes for console,
Sharon Kimble <=
- Re: Suite of Color Themes for console, Jacob Gerlach, 2014/10/24
- Re: Suite of Color Themes for console, Tim Johnson, 2014/10/24