Subject: bug#22874: 25.0.91; whitespace.el documentation looks incorrect

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 29 Jul 2019 15:34:43 +0200

David Caldwell <[email-masked]> writes:

> Hello,
>
> M-x describe-variable RET whitespace-style RET
>
> says:
>
> [snip]
>
>    indentation::tab     8 or more SPACEs at beginning of line are
>                         visualized via faces.
>                         It has effect only if ‘face’ (see above)
>                         is present in ‘whitespace-style’.
>
>    indentation::space   TABs at beginning of line are visualized via
>                         faces.
>                         It has effect only if ‘face’ (see above)
>                         is present in ‘whitespace-style’.

I tried to reproduce this bug with the following file:

But with either

(setq whitespace-style '(face indentation::tab))
(setq whitespace-style '(face indentation::space))

and then `M-x whitespace-mode'

just the lines with leading spaces were fontified.

So this either doesn't seem to work at all, or I'm just doing it wrong.

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