unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* header-line and mode-line faces
@ 2008-06-13 20:10 Drew Adams
  2008-06-13 21:58 ` Miles Bader
  2008-06-14 10:07 ` Eli Zaretskii
  0 siblings, 2 replies; 14+ messages in thread
From: Drew Adams @ 2008-06-13 20:10 UTC (permalink / raw)
  To: emacs-devel

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






^ permalink raw reply	[flat|nested] 14+ messages in thread
* header-line and mode-line faces
@ 2008-06-13 20:08 Drew Adams
  0 siblings, 0 replies; 14+ messages in thread
From: Drew Adams @ 2008-06-13 20:08 UTC (permalink / raw)
  To: emacs-devel

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






^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-06-14 21:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2008-06-13 20:08 Drew Adams

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