unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Glenn Morris <gmorris+news@ast.cam.ac.uk>
Subject: Re: Colors and Redhat (!crystal ball)
Date: Tue, 06 May 2003 14:18:05 +0100	[thread overview]
Message-ID: <uhd6iwdxiq.fsf@xpc21.ast.cam.ac.uk> (raw)
In-Reply-To: mailman.5595.1052158774.21513.help-gnu-emacs@gnu.org

"William D. Colburn (aka Schlake)" wrote:

[a long description]

My summary:

  Red Hat (unspecified version)
  emacs-21.2 -nw -q --no-site-file
  [I assume this is under X. We still don't know which terminal
  emulator, or the value of $TERM before Emacs is started]
  M-x list-faces-display shows unreadable colours for many faces
  In particular, bold-face is blue
  On Slackware, everything is black and white


My guess as to why you get bold in blue would be the file

/usr/X11R6/lib/X11/app-defaults/XTerm 

which contains (Red Hat 7.3):

    ! Enable Colour by default.

    *VT100*colorMode: on
    *VT100*boldColors: on
    *VT100*dynamicColors: on
...
    *VT100*colorBDMode: on
...
    *VT100*colorBD: blue3

> I have also tried setting my terminal to be xterm-mono, but that did
> not help either. The colors still appear.

Now that is weird. Exactly the same colours as before?
I use Red Hat 7.3, with aterm as the terminal emulator.
Emacs is version 21.2 from the Red Hat RPM. $TERM is "xterm".

I can reproduce something of what you describe, in that if I start
Emacs in the way you specified, I get some coloured faces (eg for
bold). The colours seem fine to me, unless I do mildly sneaky things
like

xterm -fg black -bg white

which is the opposite to the colours I have specified via
~/.Xdefaults. Then the colours are not so good.

But if I set TERM to xterm-mono before starting Emacs, I get no
colour, except for the bold and underline colours I have specified in
~/.Xdefaults.

Do you have a file ~/.Xdefaults or ~/.Xresources? Either create one,
or add the following lines at the end of it. Then run `xrdb
~/.Xdefaults', then open a new xterm, and try Emacs in that.

XTerm*VT100*colorMode: false
XTerm*VT100*boldColors: false
XTerm*VT100*dynamicColors: false
XTerm*VT100*colorBDMode: false
XTerm*VT100*colorULMode: false


PS I guess you get this blue bold outside of Emacs as well. For
example, does `man man' give blue highlighting?

  parent reply	other threads:[~2003-05-06 13:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5595.1052158774.21513.help-gnu-emacs@gnu.org>
2003-05-05 22:02 ` Colors and Redhat (!crystal ball) Edward O'Connor
2003-05-05 22:33   ` William D. Colburn (aka Schlake)
     [not found]   ` <mailman.5605.1052174068.21513.help-gnu-emacs@gnu.org>
2003-05-05 22:51     ` Edward O'Connor
2003-05-06 11:17 ` Oliver Scholz
2003-05-06 13:18 ` Glenn Morris [this message]
2003-05-06 16:55   ` Kai Großjohann
2003-05-06 16:52 ` Kai Großjohann
2003-05-06 20:02   ` William D. Colburn (aka Schlake)
2003-05-05 18:19 William D. Colburn (aka Schlake)
2003-05-06 10:35 ` Eli Zaretskii

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=uhd6iwdxiq.fsf@xpc21.ast.cam.ac.uk \
    --to=gmorris+news@ast.cam.ac.uk \
    /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).