From: Dan Nicolaescu <dann@ics.uci.edu>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: Ulrich Mueller <ulm@gentoo.org>, emacs-devel@gnu.org
Subject: Re: colours in client on xterm (if an X frame is open at same time)
Date: Fri, 8 Jan 2010 08:48:06 -0800 (PST) [thread overview]
Message-ID: <201001081648.o08Gm6Yr012592@godzilla.ics.uci.edu> (raw)
In-Reply-To: <4B46E315.30308@swipnet.se> ("Jan Djärv"'s message of "Fri, 08 Jan 2010 08:47:33 +0100")
Jan Djärv <jan.h.d@swipnet.se> writes:
> Ulrich Mueller skrev:
> >>>>>> On Thu, 7 Jan 2010, Dan Nicolaescu wrote:
> >
> >> Green is not the default face for the modeline for any display, so
> >> something is strange in your setup.
> >
> > Right, this particular colour was taken from my X settings
> > ("*HighlightColor: DarkSeaGreen2"). I've repeated the test with empty
> > X resources, new screenshots are here:
> > <http://dev.gentoo.org/~ulm/screenshot/>
> >
> > Anyway, my point was, why are the colours _different_ in the second
> > case? Especially, why is the background grey?
> >
>
> The terminal frame defines the default face with unspecified-bg.
> But when you start the X frame, the default face has background white
> (or rather the X pixel value for white).
> This face is still realized when you start the second terminal
> face. Apparently pixel value for "white" in X translates to gray in an
> xterm. I don't know exactly how the pixel values in the terminal case
> gets translated.
I only have access to 23.1 at the moment, and here the foreground and
background are unspecified-bg/fg in the second terminal frame.
Are you saying that is not the case in trunk now? That seems to be the
problem then.
For a terminal the functions lisp/term/tty-colors.el:tty-color* do the translation.
next prev parent reply other threads:[~2010-01-08 16:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-07 23:26 colours in client on xterm (if an X frame is open at same time) Ulrich Mueller
2010-01-07 23:58 ` Dan Nicolaescu
2010-01-08 6:43 ` Ulrich Mueller
2010-01-08 7:13 ` Dan Nicolaescu
2010-01-08 16:29 ` Ulrich Mueller
2010-01-08 18:28 ` Dan Nicolaescu
2010-01-08 22:31 ` Ulrich Mueller
[not found] ` <201001090418.o094Iw6d007997@godzilla.ics.uci.edu>
2010-01-09 7:55 ` Eli Zaretskii
2010-01-10 8:49 ` Dan Nicolaescu
2010-01-10 18:03 ` Eli Zaretskii
2010-01-10 18:32 ` Dan Nicolaescu
2010-01-08 7:47 ` Jan Djärv
2010-01-08 16:48 ` Dan Nicolaescu [this message]
2010-01-08 3:02 ` Eric Hanchrow
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201001081648.o08Gm6Yr012592@godzilla.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=jan.h.d@swipnet.se \
--cc=ulm@gentoo.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.