[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comment-dwim and indentation
From: |
Leo |
Subject: |
Re: comment-dwim and indentation |
Date: |
Fri, 14 Sep 2007 23:26:58 +0100 |
User-agent: |
Gnus/5.110007 Emacs/23.0.50 (20070901) Fedora 7 (gnu/linux) |
On 2007-09-14 23:06 +0100, Dan Nicolaescu wrote:
> comment-dwim is great, it has one wrinkle though: it places the
> comments in column 0. So if one comments out a region in a C function
> and then reindents the function, all the comments will be indented.
>
> Wouldn't it be better if comment-dwim would try to put comments at the
> right indentation level so that reindenting would become an nop?
> (I don't know how feasible this would be, but asking doesn't hurt :-)
I agree. It would be much better this way.
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
=> "(require 'cl) considered harmful" considered harmful
=> http://dto.freeshell.org/blog/blog-2007-09-07-2323.html