From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dhruva Krishnamurthy Newsgroups: gmane.emacs.help Subject: Re: X Resources? Date: Mon, 16 May 2005 11:21:34 +0530 Organization: RBIN Message-ID: References: <4284e503_2@news1.prserv.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116356153 6905 80.91.229.2 (17 May 2005 18:55:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 May 2005 18:55:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 17 20:55:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DY7CX-0003Xe-Ut for geh-help-gnu-emacs@m.gmane.org; Tue, 17 May 2005 20:53:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DY7Eg-0007kC-E5 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 May 2005 14:56:10 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.tiscali.de!news1.fe.internet.bosch.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 173.148.8.2 Original-X-Trace: ns2.fe.internet.bosch.com 1116222859 26929 173.148.8.2 (16 May 2005 05:54:19 GMT) Original-X-Complaints-To: usenet@internet.bosch.com Original-NNTP-Posting-Date: 16 May 2005 05:54:19 GMT X-Attribution: dk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (usg-unix-v) Cancel-Lock: sha1:kLdywN50e4GDPxNlq/1feCDNJwo= Original-Xref: shelby.stanford.edu gnu.emacs.help:131117 Original-To: help-gnu-emacs@gnu.org 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:26749 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26749 >>>>> On 14 May 2005 00:16:27 -0700, don provan said: dp> kgold@watson.ibm.com (kgold) writes: >> I avoid using X resources whenever possible, as I try to share my .emacs >> between Windows and Unix machines. dp> Funny you should mention that: I also share my .emacs between various dp> systems, which is exactly why I use X resources: I give emacs (as well as dp> other applications) different color schemes depending on where the dp> application is running to help me keep them straight. You can do that in dp> .emacs, of course, but the X resources on the source node is the obvious dp> place. This will worn on UNIX like OS's. Does this work on Windoze box (where there is no concept of X)? Maybe, you need a combination of the two. I check the symbol to check if running under X: (boundp 'x-resource-name) Since, even on MS-Windows, you could have a CYGWIN build using XFree86 server. I have not tried it on CYGWIN though. -dk -- Name : Dhruva Krishnamurthy (dk) Phone: +91-(0)80-22999190 Proud FSF member: #1935