From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#3370: 23.0.94; `comment-region' indents comment chars inappropriately Date: Mon, 25 May 2009 09:38:18 -0400 Message-ID: References: <87prdynkm5.fsf@cyd.mit.edu> <87tz3admt1.fsf@cyd.mit.edu> <4A19F427.40606@gnu.org> <874ov9aivv.fsf@cyd.mit.edu> <460B8A8EC0204F4A830B9EC10995A169@us.oracle.com> Reply-To: Stefan Monnier , 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 1243288940 14658 80.91.229.12 (25 May 2009 22:02:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 May 2009 22:02:20 +0000 (UTC) Cc: 'Dan Nicolaescu' , 'Chong Yidong' , 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 Tue May 26 00:02:12 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 1M8iFH-0001QS-K5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 May 2009 00:02:12 +0200 Original-Received: from localhost ([127.0.0.1]:50791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8iFG-00031d-H1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 May 2009 18:02:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M8iF3-0002x2-8F for bug-gnu-emacs@gnu.org; Mon, 25 May 2009 18:01:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M8iEy-0002vT-6f for bug-gnu-emacs@gnu.org; Mon, 25 May 2009 18:01:56 -0400 Original-Received: from [199.232.76.173] (port=33566 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8iEy-0002vP-3a for bug-gnu-emacs@gnu.org; Mon, 25 May 2009 18:01:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:32842) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M8iEx-0001ra-3Y for bug-gnu-emacs@gnu.org; Mon, 25 May 2009 18:01:51 -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 n4PLnBmC015386; Mon, 25 May 2009 14:49:13 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4PLZ7lm012841; Mon, 25 May 2009 14:35:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 25 May 2009 21:35:07 +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.124328704612366 (code B ref 3370); Mon, 25 May 2009 21:35:07 +0000 Original-Received: (at 3370) by emacsbugs.donarmstrong.com; 25 May 2009 21:30:46 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4PLUgbJ012359 for <3370@emacsbugs.donarmstrong.com>; Mon, 25 May 2009 14:30:43 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At8EANo7GkrO+IBc/2dsb2JhbACBT8pQhAsFhgA X-IronPort-AV: E=Sophos;i="4.41,244,1241409600"; d="scan'208";a="39040135" Original-Received: from 206-248-128-92.dsl.teksavvy.com (HELO pastel.home) ([206.248.128.92]) by ironport2-out.teksavvy.com with ESMTP; 25 May 2009 09:38:19 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id DC2377EF7; Mon, 25 May 2009 09:38:18 -0400 (EDT) In-Reply-To: <460B8A8EC0204F4A830B9EC10995A169@us.oracle.com> (Drew Adams's message of "Mon, 25 May 2009 00:01:58 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 25 May 2009 18:01:56 -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:28149 Archived-At: > Why would everything else be equal? What's wrong with considering what > Emacs has always done, and perhaps even thinking about breaking > existing code (such as what I reported)? Everything else is not equal. Emacs put the comment-starters at column-0 because that code was written a looooonnng time ago and keeping things simple was more important than now. Emacs-21's new commenting code was improved to be able to comment and uncomment at other columns than column-0, which made it more useful since most commenting styles use other indentation styles. Emacs-21's default (as well as 22) was set to `plain' because Richard always puts such comments at column-0 (the `plain' setting had actually to be added specifically for this). If you don't like it, just (setq comment-style 'plain) and live happily ever after. Stefan