From: Stefan Monnier <monnier@iro.umontreal.ca>
To: karl@freefriends.org (Karl Berry)
Cc: 5502@debbugs.gnu.org
Subject: bug#5502: compile.el uses non-mode-line faces in the mode line
Date: Mon, 01 Feb 2010 21:36:36 -0500 [thread overview]
Message-ID: <jwvd40oweid.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <201002020039.o120dThe016090@f7.net> (Karl Berry's message of "Tue, 2 Feb 2010 00:39:29 GMT")
> Why do you set inverse-video to nil?
> My real goal, as I mentioned, is to have inverse video in mode lines,
> and all face attributes turned off in buffer contents in tty emacs.
> (The behavior of Emacs for 20+ years, until Emacs 22 "improved" faces by
> making them apply to tty windows, with no way to get the old behavior.
> Sigh.)
> I can give you more complex code if you want (ie, the code I'm actually
> trying to use). This minimal example was only intended to show that the
> same compilation faces were being used in the mode line and buffer
> contents, which other parts of Emacs do not do.
> Thus, if I turn off faces for the buffer contents, they stay turned off
> in the mode line, and vice versa. If different faces were available,
> they could be controlled independently. (As an alternative, I suppose I
> can try to defadvise mode line generation, or some such.)
> If you set it to `unspecified' instead, it should work right.
> Unfortunately, it didn't help me do what I'm trying to do.
Why not? "turning a face off" is done by setting its attributes to
`unspecified' rather than to nil.
Stefan
next prev parent reply other threads:[~2010-02-02 2:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-01 2:04 bug#5502: compile.el uses non-mode-line faces in the mode line Karl Berry
2010-02-01 15:54 ` Stefan Monnier
2010-02-02 0:39 ` Karl Berry
2010-02-02 2:36 ` Stefan Monnier [this message]
2011-07-13 16:34 ` Lars Magne Ingebrigtsen
2011-07-14 20:56 ` Karl Berry
2011-07-14 21:14 ` Glenn Morris
2011-09-25 22:11 ` Karl Berry
2011-07-16 18:13 ` Stefan Monnier
2011-07-17 15:34 ` Karl Berry
2011-07-17 16:38 ` Eli Zaretskii
2010-02-02 23:45 ` Juri Linkov
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=jwvd40oweid.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=5502@debbugs.gnu.org \
--cc=karl@freefriends.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.