all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jim Burton <jim@sdf-eu.org>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to debug problem with emacsclient and init file
Date: Fri, 16 Apr 2010 18:12:39 +0100	[thread overview]
Message-ID: <877ho748zc.wl%jim@sdf-eu.org> (raw)
In-Reply-To: <4BC879C6.1090708@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2093 bytes --]

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.
> 

[-- Attachment #2: Type: text/plain, Size: 12 bytes --]

-- 
J Burton

  reply	other threads:[~2010-04-16 17:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15  9:03 How to debug problem with emacsclient and init file Jim Burton
2010-04-15 15:58 ` Harry Putnam
2010-04-16  9:17   ` Jim Burton
2010-04-16 14:52     ` Suvayu Ali
2010-04-16 17:12       ` Jim Burton [this message]
2010-04-17  0:11         ` suvayu ali
2010-04-17  8:22           ` Jim Burton
2010-04-17 18:54           ` Jim Burton
2010-04-17 19:50             ` Suvayu Ali

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=877ho748zc.wl%jim@sdf-eu.org \
    --to=jim@sdf-eu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=help-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.