From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#3370: 23.0.94; `comment-region' indents comment chars inappropriately Date: Sun, 24 May 2009 20:54:34 -0400 Message-ID: <87tz3admt1.fsf@cyd.mit.edu> References: <87prdynkm5.fsf@cyd.mit.edu> Reply-To: Chong Yidong , 3370@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243213778 10275 80.91.229.12 (25 May 2009 01:09:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 May 2009 01:09:38 +0000 (UTC) Cc: Dan Nicolaescu , rms@gnu.org, 3370@emacsbugs.donarmstrong.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 25 03:09:31 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M8Ogz-0006Sj-Qb for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 May 2009 03:09:30 +0200 Original-Received: from localhost ([127.0.0.1]:58541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8Ogy-0000wb-Qf for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 May 2009 21:09:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M8Ogt-0000uU-S9 for bug-gnu-emacs@gnu.org; Sun, 24 May 2009 21:09:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M8Ogp-0000oN-9w for bug-gnu-emacs@gnu.org; Sun, 24 May 2009 21:09:23 -0400 Original-Received: from [199.232.76.173] (port=59565 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8Ogo-0000o4-VS for bug-gnu-emacs@gnu.org; Sun, 24 May 2009 21:09:18 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58702) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M8Ogo-0001nK-9u for bug-gnu-emacs@gnu.org; Sun, 24 May 2009 21:09:18 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4P19BK1006720; Sun, 24 May 2009 18:09:11 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4P0t9ka003691; Sun, 24 May 2009 17:55:09 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 25 May 2009 00:55:09 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3370 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3370-submit@emacsbugs.donarmstrong.com id=B3370.12432128573521 (code B ref 3370); Mon, 25 May 2009 00:55:09 +0000 Original-Received: (at 3370) by emacsbugs.donarmstrong.com; 25 May 2009 00:54:17 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4P0sCG7003511 for <3370@emacsbugs.donarmstrong.com>; Sun, 24 May 2009 17:54:13 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 3DBB257E263; Sun, 24 May 2009 20:54:34 -0400 (EDT) In-Reply-To: (Lennart Borgman's message of "Mon, 25 May 2009 02:04:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 24 May 2009 21:09:23 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28123 Archived-At: > > 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.