From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Test for and adapt to: -nw Date: Tue, 24 Aug 2010 17:23:20 -0500 Organization: AkWebsoft Message-ID: <6IydnWV80u_F2-nRnZ2dnUVZ_uCdnZ2d@supernews.com> Reply-To: tim@johnsons-web.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291860676 13893 80.91.229.12 (9 Dec 2010 02:11:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 02:11:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 03:11:09 2010 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 1PQVyP-0003OZ-57 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 03:11:09 +0100 Original-Received: from localhost ([127.0.0.1]:35090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQVyO-00009f-Ef for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 21:11:08 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!feed.news.qwest.net!mpls-nntp-06.inet.qwest.net!216.196.98.149.MISMATCH!Xl.tags.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 24 Aug 2010 17:23:20 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.9p1 (Linux) Original-Lines: 19 Original-X-Trace: sv3-WYengedBS1qRrvC6ZsQipwn1oD+OYIU7uQvfvkr0yMxiZ2odPGPHcQo75IX98RuJUN3/Cf/njXGWWIN!fJmiQq0VuNY7vmVVAHuARGgxev2ZikWOez3pnUc5Te7dYewbN0FVE6IdEEDEOqCacjSP1Urr7/4T!uupVNQEz4A== Original-X-Complaints-To: www.supernews.com/docs/abuse.html X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html 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.40 Original-Xref: usenet.stanford.edu gnu.emacs.help:180943 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:76448 Archived-At: Using emacs 23~ on linux. In some cases it would be preferable for me to use the -nw (do not use X) initialization option. 1)Is there an emacs function to test for X communication? example: (using-X-p) 2)Are there any color themes composed especially for emacs? I would like to do something like this in .emacs: (if (using-X-p) (color-theme-gnome) ;; from color-theme.el (nw-color-theme-gnome)) ;; from where ?? 3)Is there something like an .Xresources file for a non-X emacs? thanks -- Tim tim at johnsons-web.com or akwebsoft.com http://www.akwebsoft.com