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 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




reply via email to

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