ws-butler
Unobtrusively trim extraneous white-space *ONLY* in lines edited. (by lewang)
python-mode
By python-mode-devs
ws-butler | python-mode | |
---|---|---|
6 | 4 | |
237 | - | |
- | - | |
0.0 | - | |
over 1 year ago | - | |
Emacs Lisp | ||
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ws-butler
Posts with mentions or reviews of ws-butler.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-11.
-
Bad Emacs Defaults
Another option is to use ws-butler[0], which only deletes trailing whitespace on lines you've edited. This way you don't create spurious diffs on version controlled files (future `git blame` users will thank you).
[0]: https://github.com/lewang/ws-butler
-
Alternative to ws-butler
The rep on GitHub seems to be dead. Last commit was 2020.
-
Fix for Invalid Syntax errors in Python Org Mode source blocks
Perhaps not quite the solution (but maybe it is) - have a look at something like https://github.com/lewang/ws-butler or similar whitespace-cleanup packages. Also as others noted making sure org-src-preserve-indentation is set.
-
How to "use-package" with eglot, python-mode and company-mode?
I have some more examples; e.g. the ws-buttler. Do I start it that way? (use-package ws-butler :init (progn (add-hock 'python-mode-hook 'ws-butler-mode)))
-
strip whitespace only on changed lines
See lewang/ws-butler.
-
My nuke whitespace on save setup
you may find https://github.com/lewang/ws-butler interesting
python-mode
Posts with mentions or reviews of python-mode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-18.
-
Setting up Emacs for Python
You look like you are using built-in 'Gallina' python-mode. I assume OP is using https://gitlab.com/python-mode-devs/python-mode
- How to set up python-mode
-
How to "use-package" with eglot, python-mode and company-mode?
I would recommend to use the build in python.el. If you use python-mode you may end up with this: https://gitlab.com/python-mode-devs/python-mode which is different from the build in one.
-
Difference between inbuild `python` and `python-mode`
And there is different one called python-mode in MELPA: https://melpa.org/#/python-mode, with upstream at https://gitlab.com/python-mode-devs/python-mode/
What are some alternatives?
When comparing ws-butler and python-mode you can also consider the following projects:
vim-better-whitespace - Better whitespace highlighting for Vim
whitespace-cleanup-mode - In Emacs, intelligently call whitespace-cleanup on save
espanso - Cross-platform Text Expander written in Rust
no-littering - Help keeping ~/.config/emacs clean
dotfiles - Yet another dotfile-repository