[Top][All Lists]

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

bug#7253: comment-dwim should easily allow mid-line comments

From: Andreas Röhler
Subject: bug#7253: comment-dwim should easily allow mid-line comments
Date: Thu, 21 Oct 2010 13:20:38 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20100711 Thunderbird/3.0.6

Am 21.10.2010 06:00, schrieb address@hidden:
"SM" == Stefan Monnier<address@hidden>  writes:
Sometimes I want to make a comment in the middle of a line, not at the
end, but whenever I hit M-;, prefix or not, comment-dwim insists on
putting it at the end of line, at least in html-helper mode.
emacs-version "".

SM>  How would you tell Emacs that your intention is to make it in
SM>  the middle?

Excellent question. One would think adding a prefix argument to M-;
would be good... but that probably already is taken... and wait, M-; is
bound to different commands in different modes... Yuck. E.g., as I write
this it is bound to comment-region.


as per chance played with commenting a little bit:
do you may present a show-case, where such a feature makes sense?

See a lot of difficulties beside: does "in the middle" mean splitting words if existing there?



reply via email to

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