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


Message #20 received at 21921 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: 21921 <at> debbugs.gnu.org
Subject: Re: bug#21921: New function comment-line also comments first line
 after region
Date: Sun, 04 Jun 2017 09:24:42 -0400
tags 21921 notabug wontfix
close 21921
quit

Rasmus <rasmus <at> gmx.us> writes:

> Perhaps the confusion is caused by region not being displayed at column
> zero.
>
> The behavior is correct IMO.
>

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. 

Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:

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


I think we've decided it's okay as is, closing.




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.