In the PEP 8 style guide for python, it is recommended that inline comments are separated by the rest of the line by two spaces. However, the default in Emacs is that running comment-dwim
or indent-for-comment
puts only one space between the end of the line and the comment. Is there a way to change this default behavior in emacs?
I am running Emacs 23.3.1
comment-dwim
on the line with the inline comment again, it re-aligns the inline comment to have only one space. – Redolent