unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Romain Francoise <romain@orebokech.com>
Cc: emacs-devel@gnu.org
Subject: Re: Mode line faces on ttys
Date: Wed, 17 Aug 2005 17:25:01 +0200	[thread overview]
Message-ID: <87wtmksi0i.fsf@pacem.orebokech.com> (raw)
In-Reply-To: <87u0hoipt5.fsf@jurta.org> (Juri Linkov's message of "Wed, 17 Aug 2005 17:46:46 +0300")

Juri Linkov <juri@jurta.org> writes:

> This is correct.  Since mode-line has the non-nil :inverse-video
> attribute, its foreground and background colors should be inverted.

I see, thanks for the explanation.  It's somewhat confusing that setting
the face foreground actually changes the background on ttys--I
understand the logic, but it's surprising.

How are application writers supposed to handle this if they want the
mode line to "look similar" in X and on ttys?  Use `face-inverse-video-p'
to invert values if needed?

> Since this change causes questions, maybe it should be mentioned in 
> etc/NEWS?

Definitely.

-- 
Romain Francoise <romain@orebokech.com> | I used to think there is no
it's a miracle -- http://orebokech.com/ | future left at all.

  reply	other threads:[~2005-08-17 15:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 12:55 Mode line faces on ttys Romain Francoise
2005-08-17 14:46 ` Juri Linkov
2005-08-17 15:25   ` Romain Francoise [this message]
2005-08-17 16:36     ` Juri Linkov
2005-08-18  8:29       ` Romain Francoise
2005-08-17 16:38   ` Juri Linkov
2005-08-18 21:15     ` Richard M. Stallman
2005-08-17 16:43   ` Juri Linkov
2005-08-17 18:25   ` Eli Zaretskii
2005-08-18 14:47   ` Richard M. Stallman

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=87wtmksi0i.fsf@pacem.orebokech.com \
    --to=romain@orebokech.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).