From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.help Subject: Re: Colors and Redhat (!crystal ball) Date: Tue, 06 May 2003 14:18:05 +0100 Organization: None Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052227696 17708 80.91.224.249 (6 May 2003 13:28:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 6 May 2003 13:28:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue May 06 15:28:14 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19D2Qs-0004HX-00 for ; Tue, 06 May 2003 15:24:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19D2Mq-0004za-06 for gnu-help-gnu-emacs@m.gmane.org; Tue, 06 May 2003 09:20:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!newsfeed.mathworks.com.MISMATCH!newsfeed!btnet-peer0!btnet-peer!btnet!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!pegasus.csx.cam.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 65 Original-NNTP-Posting-Host: xpc21.ast.cam.ac.uk X-Attribution: GM Mail-Copies-To: never User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cancel-Lock: sha1:Qz0yeIrYnuxkmnzhZSgFJeIgw8E= Original-Xref: shelby.stanford.edu gnu.emacs.help:112833 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9328 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9328 "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?