unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yongtao Yang <yangyongtao@yahoo.com>
Subject: Re: emacs color scheme
Date: 03 Nov 2003 09:21:24 +0100	[thread overview]
Message-ID: <t74ptg9lv5n.fsf@cempc10.elmagn.chalmers.se> (raw)
In-Reply-To: Pine.GSO.4.58.0310311401460.25319@tokyo.cc.gatech.edu

Han Xu <xuhan@tokyo.cc.gatech.edu> writes:

> Hello,
>
Hi,
 
> 
> When I ssh/telnet to a Redhat Linux, and run same version emacs, it runs
> in terminal/text mode, and the default settings for colors are: black
> background, white text, and corresponding syntax highlights colors
> (different colors with GUI mode).
Since you are using a terminal with black background and white foreground.

> 
> I prefer the colors used in terminal/text mode, but I use GUI desktop more
> than I use ssh/telnet. I am wondering if I can let Emacs use the same
> colors settings in GUI mode as in default terminal/text mode ?
> 

There are several ways, since you are using X window, the easiest way
is to put the following into your ~/.Xdefaults file.

emacs*Foreground: white
emacs*Background: black

Then run 
$ xrdb -load .Xdfaults
If you start emacs after that , you should have your GUI emacs with
the color theme as you textmode emacs.

There are some other GUI options you can tweak, it is a good idea to
check the emacs info, i.e. from emacs, do
"C-h i m Emacs m Resources X"

> (I tried to put color scheme setting in .emacs file, but the problem is
> that it changes both GUI mode colors and text mode colors, and it takes
> sometime to load the scheme. And I didn't find the right scheme matching
> the default terminal/text mode colors!)
> 

Maybe "M-x color-theme-dark-laptop"?
> Thanks,
> 
> Han

-- 
Yongtao Yang

email: yangyongtao@yahoo.com

  reply	other threads:[~2003-11-03  8:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-31 19:11 emacs color scheme Han Xu
2003-11-03  8:21 ` Yongtao Yang [this message]
2003-11-03 15:05   ` Thien-Thi Nguyen

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=t74ptg9lv5n.fsf@cempc10.elmagn.chalmers.se \
    --to=yangyongtao@yahoo.com \
    /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).