I looked at python-mode and python.el. I am using python-mode.el. I also use rope and rosaki. I am looking for either some kind of documentation on these issues that helps me, or another elisp package or something else.
My current problem is that the code I have been given has inconsistent indent sizes. For some blocks, it will be two, for some it will be 4. I want to clear this, but for some reason, when I say emacs "correct indentation", it just clicks the tab on each line basically, which starts the code. I want to keep the same relative indent, but standardize to 4 spaces. Anything let me do this easily?
I assume that I can find each instance with a bad indentation, block it and request - replace 2 spaces with 4 spaces. But it depends too much on my accuracy, noticing where it should be done. Also, this is a lot of code.
Someone told me that a bicycle repairman will solve this, but it has not been development for several years ... Any other suggestions?
thank.
source
share