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

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

Re: what has the face `message-separator' *really* done for us?


From: Eric Abrahamsen
Subject: Re: what has the face `message-separator' *really* done for us?
Date: Sun, 17 Mar 2019 13:02:33 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Damien Collard <damien.collard@laposte.net> writes:

> On Dim, mar 17 2019, Emanuel Berg wrote:
>
>> I don't have `message-header-separator'.
>> But I do have `mail-header-separator' which
>> seems similar in purpose and effect
>
> Ah, I got confused; `message-header-separator` is a leftover from an
> experiment of mine... Indeed, as you say the variable is
> `mail-header-separator`.
>
>>
>>
>>     Its value is "---"
>>     Original value was
>>     "--text follows this line--"
>>
>>
>> Maybe this is why why the face
>> `message-separator' won't affect it?
>>
>> But if so, then again what *does* it affect?
>
> 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!

Have you tried restarting Emacs? The value of `mail-header-separator'
gets written into `message-font-lock-keywords', which probably only gets
updated when message.el is loaded for the first time.

Eric




reply via email to

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