[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting color themes specific to a frame
From: |
Adam |
Subject: |
Re: Setting color themes specific to a frame |
Date: |
Mon, 20 Feb 2012 09:52:21 +0100 |
suvayu ali <fatkasuvayu+linux@gmail.com> writes:
> Hi Adam,
>
> On Mon, Feb 20, 2012 at 05:57, Adam <adam_w67@yahoo.com> wrote:
>> I am using emacs 24, and really enjoy the new color theme feature. I
>> have one little issue, though. I am using one emacs daemon instance,
>> and lots of instances. Some using X11-Frames, some on plain terminals.
>> Is there any method to get the color theme just enabled on X11-frames,
>> but fall back to the default color theme on terminals - or, more
>> general - is there a method to set a color theme only for one specific
>> frame, without affecting the other frames?
>
> If you are not using emacs --daemon, then I believe the solution lies
> in the color-theme library. Setting color-theme-is-global to nil
> should give you the behaviour you are looking for. For some hint you
> can look here:
>
> <https://github.com/suvayu/.emacs.d/blob/master/init.el#L113>
my emacs (GNU Emacs 24.0.93.1 (x86_64-unknown-linux-gnu, GTK+ Version
2.20.1)) does not have color-theme-is-global. It is pretty much what I
want, though.