all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: sdn.gnuem@mailnull.com
To: help-gnu-emacs@gnu.org
Subject: Different text/properties in active vs inactive mode line
Date: Fri, 29 Apr 2011 17:01:16 -0400 (EDT)	[thread overview]
Message-ID: <20110429210116.50968510753@outside.256.com> (raw)

Hello all,



    I've been searching, but haven't found an answer yet.  Is it possible to add something to the mode line format that changes its appearance depending on whether the window is active or not?



    I have some colorized (propertized) status elements on my mode line.  They look fine when shown on the active mode line, against the 'mode-line' face.  But they look garish when shown on the inactive mode line, against the 'mode-line-inactive' face.



    I've been delving into the emacs lisp code to figure out how the mode line decides to display in mode-line or mode-line-inactive face, but so far I've come up empty.  Any help?



Thanks in advance,

-- 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/



             reply	other threads:[~2011-04-29 21:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29 21:01 sdn.gnuem [this message]
2011-04-30 13:46 ` Different text/properties in active vs inactive mode line Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2011-04-30 13:17 sdn.gnuem
2011-04-30 15:25 sdn.gnuem
2011-04-30 16:14 ` Eli Zaretskii
2011-05-01  0:46 sdn.gnuem
2011-05-01  7:49 ` Eli Zaretskii
2011-05-02 18:03 sdn.gnuem

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=20110429210116.50968510753@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.
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.