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.
Using whitespace mode
https://vernon-grant.com/discovering-emacs/using-whitespace-mode/
https://vernon-grant.com/discovering-emacs/using-whitespace-mode/
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.
4 Comments
Dunkin@lemmy.world · 3 pts · 3y
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.
NanoooK@sh.itjust.works · 3 pts · 3y
For trailing whitespace, isn't simply the variable
show-trailing-whitespaceenough?I'm discovering about
whitespace-modeand found this article which helped me to understand the package. Do you know if it allows to display TAB with a specific background colour?cons@lemmy.ml · 4 pts · 3y
Emfy setup recommends three settings for trailing whitespace:
Screenshots showing the results: https://github.com/susam/emfy#show-stray-whitespace
Elieas@lemmy.ml · 1 pts · 3y
I've never understood why so many people when discussing configuration and appearance changes don't include pictures of the results.