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

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

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


From: Lars Ingebrigtsen
Subject: bug#22874: 25.0.91; whitespace.el documentation looks incorrect
Date: Mon, 29 Jul 2019 15:34:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

David Caldwell <david@porkrind.org> 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:

Attachment: white.bin
Description: Binary data

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

reply via email to

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