help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug problem with emacsclient and init file


From: Jim Burton
Subject: Re: How to debug problem with emacsclient and init file
Date: Fri, 16 Apr 2010 18:12:39 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Fri, 16 Apr 2010 07:52:54 -0700,
Suvayu Ali wrote:
> 
[snip]
> 
> I was trying to get something like this working. To follow the 
> discussion look at the thread "conditional font faces" from the 27th of 
> February to 5th of March.
> 
> The only solution was to use a theme which uses similar colour schemes 
> as no window to present a consistent environment in either and X window 
> or the terminal.
> 
> GL and plz do post back if you find something that can actually switch 
> between to themes without resorting to the above compromise.
> 

Thanks to malsyned on #emacs I have the following that works like a charm:      
                                                                             
                                                                                
                                                                             
(add-hook 'after-make-frame-functions                                           
                                                                             
          '(lambda (f)                                                          
                                                                             
             (with-selected-frame f                                             
                                                                             
               (if (window-system f)                                            
                                                                     
                   (color-theme-gray30)                                         
                                                                             
                 (color-theme-emacs-nw)))))                                     
                                                                             
                                                                                
                                                                             
Jim

> > Jim
> >> Into ~/.emacs to find out.
> >>
> >>
> 
> 
> -- 
> Suvayu
> 
> Open source is the future. It sets us free.
> 
-- 
J Burton

reply via email to

[Prev in Thread] Current Thread [Next in Thread]