2012-01-25 01:46:33 |
François Pinard |
description |
Hi, people. My first formal report pertaining to python-mode.el :-)
Trying to read bits of python-mode.el sources, I stumbled on wrongly indented lines. Which is fairly surprising, as Emacs is especially helpful at staying clean in this area. After having met a few places where this clearly impacts on legibility, I decided to report it.
Doing `C-x h TAB' repairs it all, easily. Here, this modifies 442 lines on a total of 9181 lines, for python-mode.el only.
I did not check the other .el files, but I suggest they all get revised in the same way. Indentation should be perfect, always. :-)
François
P.S. This is for whitespace on the left side of lines. python-mode is almost perfect on the white side of lines, there is not much spurious trailing whitespace in this package. Amusingly, the worst file is doc/commands-python-mode.el, which is likely generated automatically. The generator should be corrected for not doing this.
P.P.S. File pymacs.el is guilty for one line. I'll correct it on my side. :-) |
Hi, people. My first formal report pertaining to python-mode.el :-)
Trying to read bits of python-mode.el sources, I stumbled on wrongly indented lines. Which is fairly surprising, as Emacs is especially helpful at staying clean in this area. After having met a few places where this clearly impacts on legibility, I decided to report it.
Doing `C-x h TAB' repairs it all, easily. Here, this modifies 442 lines on a total of 9181 lines, for python-mode.el only.
I did not check the other .el files, but I suggest they all get revised in the same way. Indentation should be perfect, always. :-)
François
P.S. This is for whitespace on the left side of lines. python-mode is almost perfect on the right side of lines, there is not much spurious trailing whitespace in this package. Amusingly, the worst file is doc/commands-python-mode.el, which is likely generated automatically. The generator should be corrected for not doing this.
P.P.S. File pymacs.el is guilty for one line. I'll correct it on my side. :-) |
|