this post was submitted on 19 Aug 2023
9 points (90.9% liked)
Emacs
2190 readers
1 users here now
Our infinitely powerful editor.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I find whitespace-mode invaluable in finding trailing whitespace, use of literal tabs and the like I always have it on when looking at code. Good tips in the article but I wish it had screen shots / showed examples.
For trailing whitespace, isn't simply the variable
show-trailing-whitespace
enough?I'm discovering about
whitespace-mode
and found this article which helped me to understand the package. Do you know if it allows to display TAB with a specific background colour?Emfy setup recommends three settings for trailing whitespace:
Screenshots showing the results: https://github.com/susam/emfy#show-stray-whitespace