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

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

bug#55881: Request: Use of face for whitespace-style


From: Lars Ingebrigtsen
Subject: bug#55881: Request: Use of face for whitespace-style
Date: Fri, 10 Jun 2022 11:51:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

goncholden <goncholden@protonmail.com> writes:

> Because tab-mark, tabs, trailing, etc ... work via faces, could the 
> requirement for
> faces declaration be removed from  whitespace-style?
>
> In summary, from 
>
> (setq whitespace-style '(face tab-mark tabs trailing))
>
> to
>
> (setq whitespace-style '(tab-mark tabs trailing))

No.  As the doc string says:

---
One reason to not use faces to visualize spaces (i.e., not
include `face' in `whitespace-style') is to use `whitespace-mode'
only for cleaning up a buffer.  See `whitespace-cleanup' and
`whitespace-cleanup-region'.
---

Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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