emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: comment-dwim has no behavior to comment out the current line without


From: Stefan Monnier
Subject: Re: comment-dwim has no behavior to comment out the current line without a region
Date: Tue, 09 Dec 2008 14:48:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> Generally speaking, what makes BOL a "common starting point" to perform
> comment-indent more-so than any other part of the line?

I'm not sure it's much more so, but it's at least as common as
current-indentation, end of line, etc...

> Additionally, is not BOL semantically the clearest place to run comment-dwim
> and expect it to comment out a given line rather than having it run
> comment-indent?

Could be.  I'm not saying your idea isn't good.  I'm just saying that it
is not compatible with the current behavior and that the current
behavior makes sense as well.  You may find some other way to combine
comment-indent, comment-kill, and comment-region onto a single key.
E.g. M-; M-; is currently unused.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]