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

To reply to this bug, email your comments to 53539 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#53539; Package emacs. (Wed, 26 Jan 2022 01:17:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to José Júnior <jjnilton <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 26 Jan 2022 01:17:02 GMT) Full text and rfc822 format available.

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

From: José Júnior <jjnilton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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 2 years and 336 days ago.

Previous Next


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