I once had emacs trim trailing whitespace upon leaving a line, if that line had been modified.
Note: I already have trim at save, it is not what I am asking for here. I have the package ws-butler, but it seems to only act on save.
It was working with my previous config in emacs 26, but I cannot see a package other than ws-butler there, I suspect it might be some built-in I fail to configure?
What could possibly have been doing that trimming?
lysator
FTP server. I found a copy at https://github.com/windley/emacs/blob/master/ws-trim.el however. – NickD Oct 17 '22 at 13:30ws-trim.el
in my old config repo, although the setting up of it was gone from the init.el. – Gauthier Oct 18 '22 at 10:50ws-trim
mention helped, but I'd rather you provided an answer that describes how you use it to answer your question. Just mentioningws-trim
was easy but I would have to do significant amounts of research to provide a good answer and I won't have the time to do that any time soon - if ever !-) – NickD Oct 18 '22 at 12:53