unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-devel@gnu.org>
Subject: header-line and mode-line faces
Date: Fri, 13 Jun 2008 13:08:20 -0700	[thread overview]
Message-ID: <00a201c8cd91$5a149730$0200a8c0@us.oracle.com> (raw)

Here is the default definition of face `header-line':

 Attributes: [ ] Font Family: *
             [ ] Width: *
             [ ] Height: *
             [ ] Weight: *
             [ ] Slant: *
             [ ] Underline: *
             [ ] Overline: *
             [ ] Strike-through: *
             [ ] Box around text: *
             [ ] Inverse-video: *
             [ ] Foreground: *
             [ ] Background: *
             [ ] Stipple: *
             [X] Inherit:
                 INS DEL Face: (sample) mode-line
                 INS
 Overriding
 Attributes: [ ] Font Family: *
             [ ] Width: *
             [ ] Height: *
             [ ] Weight: *
             [ ] Slant: *
             [ ] Underline: *
             [ ] Overline: *
             [ ] Strike-through: *
             [X] Box around text: Value Menu Off
             [ ] Inverse-video: *
             [X] Foreground: grey20     (sample)
             [X] Background: grey90     (sample)
             [ ] Stipple: *
             [ ] Inherit: *

I don't think that is a good idea. The default value should just inherit from
face `mode-line'. Users should be able to customize face `mode-line' and have
face `header-line' follow suite. At least the foreground and background should
simply be inherited - see next wrt boxing.

I also think the default for face `mode-line' should not be boxed (and therefore
no reason for `header-line' to override this), but that is a different issue. (I
have the feeling that the boxed mode line came into being just because boxing
became a new possibility.)






             reply	other threads:[~2008-06-13 20:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-13 20:08 Drew Adams [this message]
  -- strict thread matches above, loose matches on Subject: below --
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
2008-06-14 21:40         ` Stefan Monnier

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='00a201c8cd91$5a149730$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).