GNU bug report logs - #22874
25.0.91; whitespace.el documentation looks incorrect

Previous Next

Package: emacs;

Reported by: David Caldwell <david <at> porkrind.org>

Date: Tue, 1 Mar 2016 19:06:01 UTC

Severity: minor

Tags: moreinfo, notabug

Found in version 25.0.91

Done: Bhavin Gandhi <bhavin7392 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Caldwell <david <at> porkrind.org>
Cc: 22874 <at> debbugs.gnu.org
Subject: bug#22874: 25.0.91; whitespace.el documentation looks incorrect
Date: Mon, 29 Jul 2019 15:34:43 +0200
[Message part 1 (text/plain, inline)]
David Caldwell <david <at> 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:

[white.bin (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
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

This bug report was last modified 5 years and 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.