Hi All, I use Emacs for my editing and python-mode.el specifically for python editing.
However, I want to change the default behaviour of commenting regions in Emacs. Currently, when I select a region and hit M-; Emacs comments out the region like so: def main(): if cond: # a = b # c = d else: foo = bar Note how the comment starts at the beginning of the line irrespective of how "deep" the region is. I want something more like so (comment char is aligned to the indented block of code): def main(): if cond: # a = b # c = d else: foo = bar Anybody has ideas on how to achieve this? Thanks! Vikas _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers