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#11636: 23.1; wrong comment indentation Date: Wed, 06 Jun 2012 09:18:39 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1338988811 7196 80.91.229.3 (6 Jun 2012 13:20:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2012 13:20:11 +0000 (UTC) Cc: 11636@debbugs.gnu.org To: Jack Duthen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 06 15:20:10 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ScG9g-0007W4-HG for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jun 2012 15:20:08 +0200 Original-Received: from localhost ([::1]:57574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScG9g-0000U5-9T for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jun 2012 09:20:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScG9Y-0000Pa-BX for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2012 09:20:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScG9S-00040a-5t for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2012 09:19:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScG9S-00040T-3F for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2012 09:19:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1ScGBW-0004YI-2E for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2012 09:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jun 2012 13:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11636 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11636-submit@debbugs.gnu.org id=B11636.133898887917443 (code B ref 11636); Wed, 06 Jun 2012 13:22:02 +0000 Original-Received: (at 11636) by debbugs.gnu.org; 6 Jun 2012 13:21:19 +0000 Original-Received: from localhost ([127.0.0.1]:60199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ScGAo-0004XI-Na for submit@debbugs.gnu.org; Wed, 06 Jun 2012 09:21:18 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:33858) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ScGAV-0004WQ-4k for 11636@debbugs.gnu.org; Wed, 06 Jun 2012 09:21:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09MCqoy/2dsb2JhbABEtBGBCIIWAQVWIxALNBIUGA0kiCG6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="189926963" Original-Received: from 76-10-170-50.dsl.teksavvy.com (HELO pastel.home) ([76.10.170.50]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Jun 2012 09:18:45 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9194359113; Wed, 6 Jun 2012 09:18:39 -0400 (EDT) In-Reply-To: (Jack Duthen's message of "Wed, 6 Jun 2012 12:47:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60745 Archived-At: > (jd-re-or "COM_writeLog 1") ; > (jd-re-paren > "return ") ; \2 \n "return " > (jd-re-paren "[0-9]")) ; > "COM_log \\3\\2\\3")) [...] > Is this a bug? I don't think so: - The second comment is not moved to the same column as the first because that would push the text past fill-column. If you shorten the second comment or if you increase fill-column, then the 3 comments will be aligned. - The first is not moved to the same column as the second because Emacs doesn't look past a non-commented line. If you add a comment on the `jd-re-paren' line, then Emacs will look further and will align all 4 comments. Stefan