GNU bug report logs - #21921
New function comment-line also comments first line after region

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Sat, 14 Nov 2015 18:25:02 UTC

Severity: minor

Tags: notabug, wontfix

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: 21921 <at> debbugs.gnu.org
Subject: bug#21921: New function comment-line also comments first line after	region
Date: Tue, 17 Nov 2015 21:47:51 +0100
 On 16.11.2015 18:59, Rasmus wrote:
> Artur Malabarba<bruce.connor.am <at> gmail.com>  writes:
>
>> Indeed. When I was deciding how comment-line should work on a region, I
>> specifically chose to not make it identical to comment-dwim.
>>
>> Maybe it should still treat the "region ends at a newline" case specially.
>> Some emacs commands do that already.
>> Not sure though, since that would be slightly redundant with comment-dwim.
> It's already in comment-dwim.  On my layout, comment-dwim is easier to
> reach anyway.  I’m indifferent on the behavior of comment-line in this
> edge case.  Both would make sense.
>
> Rasmus
>

Being in favor to keep it as implemented. Congrats BTW. Use this feature 
for years personally, glad to see it built-in now.
IMO it's most useful as line-oriented command. Moving one line down, 
being ready for repeat.

Cheers,

Andreas





This bug report was last modified 8 years and 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.