[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text displayed in the header line with wrong faces

From: Ernest Adrogué
Subject: Re: text displayed in the header line with wrong faces
Date: Tue, 20 Dec 2016 15:57:26 +0100
User-agent: NeoMutt/20161126 (1.7.1)

2016-12-20, 16:04 (+0300); Alex Kost escriu:
> Ernest Adrogué (2016-12-20 11:25 +0100) wrote:
> > Hi there,
> >
> > Face attributes appear to be interpreted differently in the window
> > header line than in other parts of the window.  For instance, if I
> > evaluate
> >
> > (setq header-line-format
> >       '(:eval (propertize "abcdefghijklmnopqrstuvwxyz"
> >                           'face 'show-paren-match)))
> >
> > the text in the header line is displayed in what seems to be reverse
> > video:
> >
> > This doesn't happen if I disable the theme that I'm using (namely
> > solarized, which can found here:
> >  Without a
> > theme, background and foreground colours are not swapped, although I
> > noticed that then the foreground colour property is not inherited.
> >
> > Any pointers on what could be causing this?
> I can't reproduce this behavior.  For me, it displays a usual
> 'show-paren-match' face.  I tried some other faces, and I also tried
> with "emacs -Q", and every time I got expected colors (but I didn't try
> that particular theme).
> Perhaps the problem is that "emacs-color-theme-solarized" is a
> so-called "color theme", not "custom theme" which is supported by
> Emacs 24 and above.  Did you try with any custom theme (displayed in
> "M-x customize-themes")?

It's a custom theme (it shows up when I do M-x customize-themes).  They
include a "color theme" version as well, but I'm not using it.

This is a simpler test:

(let ((cyan "#2aa198") (white "#ffffff"))
  (setq header-line-format
         'face `(:foreground ,cyan :background ,white))))
It displays cyan text on white when I select any custom theme other than
solarized, tsdh-dark or tsdh-light (the latter two are bundled with
Emacs, I think) and white text on cyan background when I select one of


reply via email to

[Prev in Thread] Current Thread [Next in Thread]