bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: frame-parameter returns wrong colour scheme in xterm


From: Eli Zaretskii
Subject: Re: frame-parameter returns wrong colour scheme in xterm
Date: Thu, 21 Mar 2002 21:20:47 +0200

> From: "Stefan Monnier" <monnier+gnu.emacs.bug/news/@RUM.cs.yale.edu>
> Newsgroups: gnu.emacs.bug
> Date: 20 Mar 2002 13:33:28 -0500
> 
> >>>>> "Trond" == Trond Eivind Glomsrd <teg@redhat.com> writes:
> > Run "xterm -bg black -fg wheat". This results in a nice, black xterm.
> > Start emacs. Then run "(frame-parameter (selected-frame)
> > 'background-mode)", and  you'll get the answer "light". This results in
> > many colour schemes (like the ones  used for M-x shell) becoming unreadable
> 
> But since we don't know how Emacs could figure out the background color
> of your xterm, this problem is likely to stay as a known bug and you just
> have to tell it what background-mode you're using.

True.  I suggest to invoke Emacs with the same -bg and -fg
command-line arguments as you did with xterm, and then Emacs should
set the background-mode correctly.  (At least it does that for me in
the CVS version, which is the only one I can try that in where I type
this.)

The CVS version of Emacs also supports an rxvt-specific feature that
allows Emacs to find out the default colors automatically.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]