GNU bug report logs -
#7253
comment-dwim should easily allow mid-line comments
Previous Next
Reported by: jidanni <at> jidanni.org
Date: Wed, 20 Oct 2010 11:39:02 UTC
Severity: wishlist
Tags: wontfix
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
Am 21.10.2010 06:00, schrieb jidanni <at> jidanni.org:
>>>>>> "SM" == Stefan Monnier<monnier <at> iro.umontreal.ca> 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 "24.0.50.1".
>
> 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.
>
>
>
>
Hi,
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?
Andreas
--
https://code.launchpad.net/~a-roehler/python-mode/python-mode-components
https://code.launchpad.net/s-x-emacs-werkstatt/
This bug report was last modified 11 years and 168 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.