From: Glenn Morris <gmorris+news@ast.cam.ac.uk>
Subject: Re: CVS Emacs - changing colour of mode-line image in active window
Date: Mon, 31 Mar 2003 18:23:14 +0100 [thread overview]
Message-ID: <e5k7efpi0t.fsf@xpc21.ast.cam.ac.uk> (raw)
In-Reply-To: 5ld6k7a4ou.fsf@rum.cs.yale.edu
"Stefan Monnier" wrote:
> You can probably do it easily with a XBM image, as for XPM...
Thanks Stefan, but I'm afraid I still don't see it.
Obviously converting to XBM from XPM wouldn't be a problem. In fact,
that's what I started with. I only changed to XPM because I saw that's
what Gnus did for the Gnu-head in the Group buffer mode-line. This has
a constant foreground colour and transparent background, so the
background at least is always the "right" colour.
How would I do it with an XBM? Just using one sans any colours specs,
it Does the Right Thing for the selected window, but has the same
colour in all the non-selected windows, which looks a lot worse than
the transparent XPM. Should I Set the :foreground and :background to
depend on whether the window is selected or not? When I tried this, I
could figure out how to determine the selected window. Also, it seems
that only ever one value is "active" at a time, applying to all
windows.
next prev parent reply other threads:[~2003-03-31 17:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-30 21:38 CVS Emacs - changing colour of mode-line image in active window Glenn Morris
2003-03-31 16:20 ` Stefan Monnier
2003-03-31 17:23 ` Glenn Morris [this message]
2003-03-31 18:16 ` Stefan Monnier
2003-03-31 18:48 ` Glenn Morris
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=e5k7efpi0t.fsf@xpc21.ast.cam.ac.uk \
--to=gmorris+news@ast.cam.ac.uk \
/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).