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: Ted Zlatanov
Subject: Re: comment-dwim has no behavior to comment out the current line without a region
Date: Thu, 11 Dec 2008 12:26:29 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Thu, 11 Dec 2008 10:27:04 -0500 Stefan Monnier <address@hidden> wrote: 

>> On second inspection, C-M-; is not bound by default.
>> How would you feel about binding the following function to that keybinding?

SM> To tell you the truth, I'm not very enthusiastic at the idea of using
SM> one of the few remaining bindings for such a small feature.  I'd much
SM> rather provide a "mark-line" key that could then be combined with M-; to
SM> comment out the current line (since it would then be usable in other
SM> contexts as well).

SM> I think that M-; M-; holds more promise.

Also it's less painful (in terms of finger contortion) to do M-; twice,
and it will work on all terminals with the ESC key for Meta, so I like
it much better.

Ted





reply via email to

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