On Wed, 8 Sep 2010 17:55:36 +0300 Tambet Arak tambet.arak@gmail.com wrote:
I think the idea is good, but I've just tried the patch and it doesn't work if there are empty lines in the middle of the selected block. Then the comments are all inserted at column 0.
Yes, this happens because the empty lines are not indented. In a sense, it is the correct behavior. Do you think the patch should be modified to insert suitable padding to the beginning of empty lines?
Not really, but the problem is that users with comment_use_indent set are not getting indented comments for non-empty lines in this case.
Regards, Nick