From: "Drew Adams" <drew.adams@oracle.com>
To: "'Eli Zaretskii'" <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: RE: header-line and mode-line faces
Date: Sat, 14 Jun 2008 13:44:46 -0700 [thread overview]
Message-ID: <00d101c8ce5f$7ba56130$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <uhcbvls82.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]
> > They are different faces, and you can also customize them
> > separately.
> >
> > But header-line inherits from mode-line *today*. Why?
>
> Because they are very similar. But the disagreement between us is not
> about the inheritance, it's about identity. A face can inherit from
> another and still be different in small ways.
If "you can customize them separately", then they are not identical; they are
separate objects.
I don't feel strongly about this; I just thought it would be an improvement.
I especially think it would be better to use the same foreground and background
colors - I don't have much of an opinion about box. As I said from the
beginning:
> At least the foreground and background should simply be inherited
Given that the boxed mode-line distinguishes it from the unboxed header-line (it
is also distinguished by its location and text), why not inherit the colors,
just as we inherit the fonts?
Actually, I was really thinking of `mode-line-inactive': inherit the
`header-line' attributes from `mode-line-inactive'. I mistakenly thought it was
`mode-line', since that is the face that is inherited.
`mode-line-inactive' already uses the same colors as `header-line' (without
inheritance).
The only other attribute difference between `header-line' and
`mode-line-inactive', besided boxed, is this for `header-line': Weight: light. I
don't see the reason for that, and, frankly, I can't tell that it has any
effect, at least with emacs -Q: see screenshot. I have no problem with it; I
just don't see the point of it.
How about inheriting `header-line' from `mode-line-inactive', instead of
`mode-line'?
If you disagree, no problem - just a suggestion.
[-- Attachment #2: throw-header-line-mode-line.png --]
[-- Type: image/png, Size: 4392 bytes --]
next prev parent reply other threads:[~2008-06-14 20:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 20:10 header-line and mode-line faces Drew Adams
2008-06-13 21:58 ` Miles Bader
2008-06-13 22:08 ` Drew Adams
2008-06-13 22:15 ` Miles Bader
2008-06-14 10:07 ` Eli Zaretskii
2008-06-14 16:46 ` Drew Adams
2008-06-14 17:37 ` Stefan Monnier
2008-06-14 18:23 ` Drew Adams
2008-06-14 18:36 ` Miles Bader
2008-06-14 19:02 ` Stefan Monnier
2008-06-14 19:41 ` Eli Zaretskii
2008-06-14 20:44 ` Drew Adams [this message]
2008-06-14 21:40 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2008-06-13 20:08 Drew Adams
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='00d101c8ce5f$7ba56130$0200a8c0@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--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 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.