From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: bad comment indentation in Emacs Lisp Date: Tue, 5 Feb 2008 15:10:03 -0800 Message-ID: <009c01c8684c$3dcb3570$0059908d@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202253097 23581 80.91.229.12 (5 Feb 2008 23:11:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Feb 2008 23:11:37 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 06 00:11:58 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JMWxK-0002MO-Bx for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2008 00:11:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMWwr-0006VN-LH for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2008 18:11:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMWwl-0006SH-G7 for emacs-devel@gnu.org; Tue, 05 Feb 2008 18:11:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMWwj-0006Q5-O6 for emacs-devel@gnu.org; Tue, 05 Feb 2008 18:11:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMWwj-0006Q0-EN for emacs-devel@gnu.org; Tue, 05 Feb 2008 18:11:21 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMWwj-0005W1-8M for emacs-devel@gnu.org; Tue, 05 Feb 2008 18:11:21 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JMWwj-0007AK-1I for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 18:11:21 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JMWwf-0005VF-QE for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 18:11:20 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JMWwf-0005UH-F7 for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 18:11:17 -0500 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m15NB7PG025957 for ; Tue, 5 Feb 2008 16:11:08 -0700 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m15J0PWL019212 for ; Tue, 5 Feb 2008 16:11:06 -0700 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3558237571202252997; Tue, 05 Feb 2008 15:09:57 -0800 Original-Received: from dradamslap1 (/141.144.89.0) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 05 Feb 2008 15:09:57 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AchoTDzauRqyzk14QqyPCDFIFcnvcQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88314 gmane.emacs.pretest.bugs:20891 Archived-At: Put this in Emacs Lisp mode and use `C-M-q' at the beginning: (let (;; foobar ;; toto (titi...))) You get this: (let ( ;; foobar ;; toto (titi...))) However, if you just use TAB on each line, you don't get that. To me, this is a bug. `;;' comments should be aligned just as TAB would align them, always. `C-M-q' should be equivalent to using both TAB and `M-;' on each line of the sexp. Also, in a situation like the preceding, it is likely that you want the two comments to line up. In GNU Emacs 22.1.90.1 (i386-mingw-nt5.1.2600) of 2008-01-30 on PRETEST Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'