GNU bug report logs - #18296
24.4.50; doc string of `whitespace-mode'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 19 Aug 2014 14:32:01 UTC

Severity: minor

Found in version 24.4.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4.50; doc string of `whitespace-mode'
Date: Tue, 19 Aug 2014 07:30:52 -0700 (PDT)
1. Please mention which faces are used for which kinds of highlighting.

2. Wording:

 So, for example, if indentation and indentation::space are
 included in `whitespace-style' list, the indentation value is
 evaluated instead of indentation::space value.

 One reason for not visualize spaces via faces (if `face' is not
 included in `whitespace-style') is to use exclusively for
 cleaning up a buffer.  See `whitespace-cleanup' and
 `whitespace-cleanup-region' for documentation.

A minimal fix:

 For example, if `indentation' and `indentation::space' are included in
 `whitespace-style', the `indentation' value is used instead of the
 `indentation::space' value.

 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'.


In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-06-28 on ODIEONE
Bzr revision: 117431 rgm <at> gnu.org-20140628015517-eku6hj8mpgcvfnso
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''




This bug report was last modified 3 years and 256 days ago.

Previous Next


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