GNU bug report logs - #53539
Feature request/suggestion: option to highlight sequences of newlines in whitespace mode

Previous Next

Package: emacs;

Reported by: José Júnior <jjnilton <at> gmail.com>

Date: Wed, 26 Jan 2022 01:17:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: José Júnior <jjnilton <at> gmail.com>
To: 53539 <at> debbugs.gnu.org
Subject: bug#53539: Feature request/suggestion: option to highlight sequences of newlines in whitespace mode
Date: Tue, 25 Jan 2022 22:06:45 -0300
[Message part 1 (text/plain, inline)]
Hi,

Would be good to have an option to highlight sequences of whitespaces in
the whitespace-mode options. Something like the "Whitespace Trailing" but
for newlines.

For example:

a
\n <--- would highlight this
\n <--- would highlight this
b
\n <--- this wouldn't be highlighted

I made a workaround by editing the "Whitespace Trailing Regexp" variable to
also match sequences of newlines, but it would be good to have it separated
in another variable, and available by default, as one may need to highlight
newlines but not whitespaces, or vice versa.

Thanks.
[Message part 2 (text/html, inline)]

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

Previous Next


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