From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Burton Newsgroups: gmane.emacs.help Subject: Re: How to debug problem with emacsclient and init file Date: Sat, 17 Apr 2010 19:54:04 +0100 Message-ID: <87k4s5x643.wl%jim@sdf-eu.org> References: <87633txf3q.wl%jim@sdf-eu.org> <87zl14d7ws.fsf@newsguy.com> <87hbnbzrhr.wl%jim@sdf-eu.org> <4BC879C6.1090708@gmail.com> <877ho748zc.wl%jim@sdf-eu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Sat_Apr_17_19:54:01_2010-1" X-Trace: dough.gmane.org 1271530502 17016 80.91.229.12 (17 Apr 2010 18:55:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Apr 2010 18:55:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: suvayu ali Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 17 20:55:00 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O3DAR-0004Cw-QN for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Apr 2010 20:55:00 +0200 Original-Received: from localhost ([127.0.0.1]:57514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3DAR-00080x-2O for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Apr 2010 14:54:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3D9y-00080S-39 for help-gnu-emacs@gnu.org; Sat, 17 Apr 2010 14:54:30 -0400 Original-Received: from [140.186.70.92] (port=36463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3D9v-0007yZ-Ee for help-gnu-emacs@gnu.org; Sat, 17 Apr 2010 14:54:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3D9t-0000rx-LP for help-gnu-emacs@gnu.org; Sat, 17 Apr 2010 14:54:27 -0400 Original-Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]:24347) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3D9t-0000rN-Cz for help-gnu-emacs@gnu.org; Sat, 17 Apr 2010 14:54:25 -0400 Original-Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100417185422.RKCW10460.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com>; Sat, 17 Apr 2010 19:54:22 +0100 Original-Received: from daisy.smtp.ntlworld.com ([81.108.236.92]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100417185422.FQPW3948.aamtaout03-winn.ispmail.ntl.com@daisy.smtp.ntlworld.com>; Sat, 17 Apr 2010 19:54:22 +0100 In-Reply-To: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Cloudmark-Analysis: v=1.1 cv=1ggfb5FlKZQUfF3vzm9UBYZ2uTfLsbs/8dSljwg5+mE= c=1 sm=0 a=PIzyvLvT3v8A:10 a=faa9z2_RAAAA:8 a=TuAKcl8kBbmO4hI8I4IA:9 a=KAnQWawjtKclxE8PORYA:7 a=JApCZmBeup8rRihnnVTlFlluvkMA:4 a=QEXdDO2ut3YA:10 a=w16zm4YrGAwA:10 a=KZxYK8ZXvOTCnrhGd_AA:9 a=n4hVAaKXw_M-HQKokT1reX7A2Z4A:4 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72734 Archived-At: --Multipart_Sat_Apr_17_19:54:01_2010-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable At Fri, 16 Apr 2010 17:11:30 -0700, suvayu ali wrote: >=20 > On 16 April 2010 10:12, Jim Burton wrote: > > 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 cha= rm: > > > > (add-hook 'after-make-frame-functions > >          '(lambda (f) > >             (with-selected-frame f > >               (if (window-system f) > >                   (color-theme-gray30) > >                 (color-theme-emacs-nw))))) > > >=20 > I have tried something like that before, the problem with this is it > changes the theme for all the existing frames. So if I make an X > window frame, I get the proper theme. Then if I start a client in the > xterm, I get the proper theme for the no-window frame but my X window > frame also changes theme to that theme. It doesn't change back to the > desired X window theme even when I select the X window frame with the > mouse or Alt+Tab. It would be good if themes could be selected for > specific frames and not the entire emacs session itself. > I should have said, in addition to the hook you need (setq color-theme-is-global nil) Apologies, Jim=20 > If this is unrealisable for the current emacs release, could this be a > feature enhancement request for future releases? >=20 > > Jim > > >=20 > --=20 > Suvayu >=20 > Open source is the future. It sets us free. --Multipart_Sat_Apr_17_19:54:01_2010-1 Content-Type: text/plain; charset=US-ASCII -- J Burton --Multipart_Sat_Apr_17_19:54:01_2010-1--