GNU bug report logs - #3370
23.0.94; `comment-region' indents comment chars inappropriately

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sun, 24 May 2009 22:40:04 UTC

Severity: wishlist

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 3370 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: rms <at> gnu.org, Dan Nicolaescu  <dann <at> ics.uci.edu>,
        3370 <at> debbugs.gnu.org,
        Lennart Borgman <lennart.borgman <at> gmail.com>
Subject: Re: bug#3370: 23.0.94; `comment-region' indents comment chars  inappropriately
Date: Sun, 24 May 2009 20:54:34 -0400
> > In buffer *scratch*, type this: SPC SPC ` a b c d e f ' RET
> >
> > Select the line, including the newline at its end: `M-< C-SPC C-n'.
> > M-x comment-region
> > 
> > In Emacs 23, this is the result:
> > 
> >   ;; `abcdef'
> > 
> > In all previous versions of Emacs, the comment chars are inserted at
> > the start of the line - they are not indented two spaces

> Wrong.  The behavior is identical in Emacs 22.

Aha, I was mistaken.  Sorry for the confusion.

The default for `comment-style' has been changed, it is no longer
`plain'.  See Richard's 2007-10-26 changing it to `indent-or-tripe', and
Dan's 2008-12-18 change making it `indent' (Bug#1153).

This should have been documented in NEWS; I'll do that.



This bug report was last modified 13 years and 94 days ago.

Previous Next


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