When I ran pep8 over some python code it indicated that the offset between code and comments on the same line should be at least two whitespace characters. Ref.: http://www.python.org/dev/peps/pep-0008/#inline-comments The attached patch allows for `comment-indent' to configure that offset, that is currently hard-coded to one space, by introducing the new variable `comment-inline-offset'. The default behavior remains unchanged. -- Philipp Haselwarter