From: Michael Herman <michael-lists@thehermans.org>
Subject: How does Emacs know the background color?
Date: Sun, 16 Feb 2003 08:10:38 -0600 [thread overview]
Message-ID: <20030216141038.GA1752@del3yzmj01.thehermans.org> (raw)
I am using a special mode for handling e-mail called post.el. In
post.el there are different faces depending on the background being
'light' or 'dark'. When I launch emacs -nw from within an xterm with
a white background, emacs uses the face for a dark background.
How does emacs determine what the background is?
When I use -rv for the xterm, emacs still thinks the background is
dark.
On a sort of related note, is there a way to tell how emacs was
launched from the command line? I'd like to modify my .emacs to
change settings depending on whether I used emacs -nw or not.
Thanks.
--
Michael Herman
next reply other threads:[~2003-02-16 14:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-16 14:10 Michael Herman [this message]
[not found] <mailman.2005.1045404699.21513.help-gnu-emacs@gnu.org>
2003-02-16 22:16 ` How does Emacs know the background color? John Rabkin
2003-02-17 18:05 ` Kevin Rodgers
-- strict thread matches above, loose matches on Subject: below --
2003-02-18 6:41 Zaretskii Eli
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=20030216141038.GA1752@del3yzmj01.thehermans.org \
--to=michael-lists@thehermans.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.
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).