unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim Johnson <tim@johnsons-web.com>
To: help-gnu-emacs@gnu.org
Subject: Test for and adapt to: -nw
Date: Tue, 24 Aug 2010 17:23:20 -0500	[thread overview]
Message-ID: <6IydnWV80u_F2-nRnZ2dnUVZ_uCdnZ2d@supernews.com> (raw)

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


             reply	other threads:[~2010-08-24 22:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-24 22:23 Tim Johnson [this message]
2010-08-25  0:23 ` Test for and adapt to: -nw Tim Johnson
2010-08-25  6:10   ` Mario Lassnig
2010-08-25 16:18     ` Tim Johnson

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6IydnWV80u_F2-nRnZ2dnUVZ_uCdnZ2d@supernews.com \
    --to=tim@johnsons-web.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).