bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34898: 24.4; `message-separator' face only works for default value o


From: Eric Abrahamsen
Subject: bug#34898: 24.4; `message-separator' face only works for default value of `mail-header-separator'
Date: Sun, 17 Mar 2019 19:59:41 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Emanuel Berg <address@hidden> writes:

> On gmane.emacs.help, Sun, 17 Mar 2019 15:22:50 +0100,
> Damien Collard wrote in Emanuel Berg's thread
> "what has the face `message-separator' *really*
> done for us?"
>
>     Well, it seems to only be of effect when
>     `mail-header-separator' has its default
>     value "--text follows this line--".
>     I checked, and
>
>     - when it's the default separator, I can
>     confirm that changing the face
>     `message-separator' does change the
>     separator's color.
>
>     - when I changed `mail-header-separator' to
>     "---" (or anything different from the
>     default), the face `message-separator'
>     doesn't apply to it anymore!
>
>     So it's a bug.

The value of `mail-header-separator' gets added to
`message-font-lock-keywords', which does the actual fontification. Using
setq to change the value of `mail-header-separator' did not change the
font lock keyword, despite setting the variable before message.el is
loaded (or is it pre-loaded?). Using the customize interface to set
`mail-header-separator' *does* work as expected.

Dunno if it's supposed to work this way or not.

Eric






reply via email to

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