this post was submitted on 19 Aug 2023
9 points (90.9% liked)

Emacs

2221 readers
1 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS
 

Today, we’re taking a look at Emacs’s whitespace-mode and discussing how we can simplify its configuration to make it more applicable for most use cases.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago

Emfy setup recommends three settings for trailing whitespace:

(setq-default show-trailing-whitespace t)
(setq-default indicate-empty-lines t)
(setq-default indicate-buffer-boundaries 'left)

Screenshots showing the results: https://github.com/susam/emfy#show-stray-whitespace