[Top][All Lists]
[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 13:40:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> The proposed diff adds the following additional behavior:
> If the point is at `line-beginning-position' (and the region is inactive),
> call `comment-region'
> on the whole line (unless the line consists of comments, in which
> case it calls `uncomment-region').
Sadly, BOL is a very common starting point to perform comment-indent,
which is what M-; does currently (and has done for ages) instead of
commenting out a region.
So I don't think this new behavior is compatible with the current use of
M-;.
Stefan
- comment-dwim has no behavior to comment out the current line without a region, Will Farrington, 2008/12/09
- Re: comment-dwim has no behavior to comment out the current line without a region,
Stefan Monnier <=
- Re: comment-dwim has no behavior to comment out the current line without a region, Will Farrington, 2008/12/09
- Re: comment-dwim has no behavior to comment out the current line without a region, Stefan Monnier, 2008/12/09
- Re: comment-dwim has no behavior to comment out the current line without a region, Will Farrington, 2008/12/09
- Re: comment-dwim has no behavior to comment out the current line without a region, Will Farrington, 2008/12/10
- Re: comment-dwim has no behavior to comment out the current line without a region, Stefan Monnier, 2008/12/11
- Re: comment-dwim has no behavior to comment out the current line without a region, Ted Zlatanov, 2008/12/11