From: sdn.gnuem@mailnull.com
To: help-gnu-emacs@gnu.org
Subject: Re: Different text/properties in active vs inactive mode line
Date: Mon, 2 May 2011 14:03:14 -0400 (EDT) [thread overview]
Message-ID: <20110502180314.0B8AF510215@outside.256.com> (raw)
On Sun, 01 May 2011 03:49:38 -0400 (EDT), Eli Zaretskii wrote:
> That's okay, since I have no clear idea about what exactly you are
> after, either.
Hmm. Okay, let me start over, with visual aids this time. All links
below are to PNG images.
I am trying to find a way to change mode-line text and/or
properties dynamically, based on whether the mode-line is currently
active or not.
I have some propertized elements to my mode-line-format. You can
see an example here: http://cl.ly/1o0e0x3N1m2F0b3X3x3J (these aren't
the actual colors I use; this is an example for illustrative purposes).
This works fine, but it looks awful against the mode-line-inactive
face, when I split the window. See http://cl.ly/3X132L2I2s1C3R3P0K1k
Now, I could change the faces to look good with
mode-line-inactive, but then they look bad with the regular mode-line.
See http://cl.ly/0J0S361L3w3L1m0L0l2Z . I suppose if I were some kind
of UI designer god, I could come up with combinations that look good
on both backgrounds. But I'm not.
What I want is to be able to define one face to use on the mode
line in the active window, and a different face to use on the mode
line for all of the inactive windows: http://cl.ly/1Y442G1C073O051G4630
Then, when I move to a different window with C-xo, my custom faces
would change as the mode-line switches from mode-line face to
mode-line-inactive face: http://cl.ly/2Q1d3Z0q2a3W1s1S273m
I hope that helps.
-- Sue D. Nymme
----------
This message was sent from a MailNull anti-spam account. You can get
your free account and take control over your email by visiting the
following URL.
http://mailnull.com/
next reply other threads:[~2011-05-02 18:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-02 18:03 sdn.gnuem [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-05-01 0:46 Different text/properties in active vs inactive mode line sdn.gnuem
2011-05-01 7:49 ` Eli Zaretskii
2011-04-30 15:25 sdn.gnuem
2011-04-30 16:14 ` Eli Zaretskii
2011-04-30 13:17 sdn.gnuem
2011-04-29 21:01 sdn.gnuem
2011-04-30 13:46 ` Eli Zaretskii
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=20110502180314.0B8AF510215@outside.256.com \
--to=sdn.gnuem@mailnull.com \
--cc=help-gnu-emacs@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.
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).