From: Eli Zaretskii <eliz@gnu.org>
To: "Adrian Robert" <adrian.b.robert@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: unicode-2, Emacs.app terminal mode after multi-tty merge
Date: Mon, 12 Nov 2007 22:30:59 +0200 [thread overview]
Message-ID: <utznrdx4s.fsf@gnu.org> (raw)
In-Reply-To: <55f7df060711112249qe5255c7i7a7d593242dbc64d@mail.gmail.com> (adrian.b.robert@gmail.com)
> Date: Mon, 12 Nov 2007 09:49:45 +0300
> From: "Adrian Robert" <adrian.b.robert@gmail.com>
>
> I tracked this down a bit and found the green/yellow is coming from
> FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR in
> dispextern.h: these are defined to 2 and 3 respectively.
??? Where did you see them defined to 2 and 3? I see -2 and -3:
/* Color index indicating that face uses an unknown foreground color. */
#define FACE_TTY_DEFAULT_FG_COLOR ((unsigned long) -2)
/* Color index indicating that face uses an unknown background color. */
#define FACE_TTY_DEFAULT_BG_COLOR ((unsigned long) -3)
This is with today's CVS.
> Also this color list seems a little strange, why does white get 58853
> instead of 65535? I know there is color approximation code in
> tty-colors.el, but why would it even get activated for 'white', or if
> so, why not generate 65535?
tty-colors.el is activated for _all_ colors (where else do you want
Emacs to get RGB values of terminal colors? the terminal does not tell
us, so we need to invent the values), but it does generate 65535 for
white, as you can see yourself.
next prev parent reply other threads:[~2007-11-12 20:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-04 19:00 unicode-2, Emacs.app terminal mode after multi-tty merge Adrian Robert
2007-11-04 21:08 ` Stefan Monnier
2007-11-05 14:24 ` Adrian Robert
2007-11-05 15:17 ` Stefan Monnier
2007-11-12 6:49 ` Adrian Robert
2007-11-12 9:07 ` Jason Rumney
[not found] ` <55f7df060711120223u6d27afc8ifb154d76cdd5985c@mail.gmail.com>
2007-11-12 10:24 ` Adrian Robert
2007-11-12 15:52 ` Dan Nicolaescu
2007-11-12 20:30 ` Eli Zaretskii [this message]
2007-11-13 6:21 ` Adrian Robert
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=utznrdx4s.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=adrian.b.robert@gmail.com \
--cc=emacs-devel@gnu.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.