1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00

Clarify Gnus vs. font locking in the Gnus manual

* doc/misc/gnus.texi (Formatting Variables): Explicitly mention
that font locking doesn't work in Gnus buffers (bug#50474).
This commit is contained in:
Lars Ingebrigtsen 2021-09-09 15:42:00 +02:00
parent 8da1f03151
commit 2be75990a7

View file

@ -22727,6 +22727,13 @@ output lines in the various buffers. There's quite a lot of them.
Fortunately, they all use the same syntax, so there's not that much to
be annoyed by.
Gnus does not use the font locking machinery used by most modes in
Emacs, so switching @code{font-lock-mode} on in the Gnus
group/summary/article buffers usually doesn't do anything
useful---instead it'll just mess up the faces that Gnus has already
put in the buffer. (This is also the case for other minor modes that
use the font locking machinery, like @code{whitespace-mode}.)
Here's an example format spec (from the group buffer): @samp{%M%S%5y:
%(%g%)\n}. We see that it is indeed extremely ugly, and that there are
lots of percentages everywhere.