From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don provan Newsgroups: gmane.emacs.help Subject: Re: X Resources? Date: 19 May 2005 00:40:06 -0700 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 1116490967 10656 80.91.229.2 (19 May 2005 08:22:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 May 2005 08:22:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 19 10:22:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYgGK-0001uz-63 for geh-help-gnu-emacs@m.gmane.org; Thu, 19 May 2005 10:20:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYgIr-0001m1-OT for geh-help-gnu-emacs@m.gmane.org; Thu, 19 May 2005 04:22:51 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsread.com!news-xfer.newsread.com!news.glorb.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 19 May 2005 02:40:01 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 27 Original-NNTP-Posting-Host: 24.5.243.171 Original-X-Trace: sv3-Wo7VvJ5tm42kzBh8PUrRqSILjfaaz7oTi/p5Vmq65BVpxu3pzMjC1zwu1NtIQeNnwe2hr3MFeIihLzl!0Ul/t6S/M2Ni/lWysDqhXA5C3N4DVpupkkCtTh6QiwsQkcVA Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.31 Original-Xref: shelby.stanford.edu gnu.emacs.help:131366 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:26823 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26823 Dhruva Krishnamurthy writes: > 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. > > 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) I just let Windows use the default colors, but it turns out that I don't use Emacs on Windows very much. I mainly use Windows as an X-server for applications such as Emacs running on real systems. > Since, even on MS-Windows, you could have a CYGWIN build using XFree86 > server. I have not tried it on CYGWIN though. It works fine, but personally I like running the native Emacs for Windows. I mean, X is OK, but a native Windows application is better. Besides, CygWin puts you in that hinky simulated Unix disk that doesn't agree with the real file system. Anyone have some Emacs code to help with that little Snafu? It all seems so reasonable until you run into the cases where two applications don't agree on what a file's name is. -don