all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#53539: Feature request/suggestion: option to highlight sequences of newlines in whitespace mode
@ 2022-01-26  1:06 José Júnior
  0 siblings, 0 replies; only message in thread
From: José Júnior @ 2022-01-26  1:06 UTC (permalink / raw)
  To: 53539

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 805 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-26  1:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-26  1:06 bug#53539: Feature request/suggestion: option to highlight sequences of newlines in whitespace mode José Júnior

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.