From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: bad comment indentation in Emacs Lisp Date: Sun, 10 Feb 2008 13:42:41 -0500 Message-ID: References: <009c01c8684c$3dcb3570$0059908d@us.oracle.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1202669160 24819 80.91.229.12 (10 Feb 2008 18:46:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Feb 2008 18:46:00 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: monnier@IRO.UMontreal.CA Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 10 19:46:21 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 1JOHC0-00021d-Ne for ged-emacs-devel@m.gmane.org; Sun, 10 Feb 2008 19:46:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOHBX-0007Y9-LR for ged-emacs-devel@m.gmane.org; Sun, 10 Feb 2008 13:45:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOH8V-0005xk-Iw for emacs-devel@gnu.org; Sun, 10 Feb 2008 13:42:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOH8U-0005va-2b for emacs-devel@gnu.org; Sun, 10 Feb 2008 13:42:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOH8T-0005vM-Lg for emacs-devel@gnu.org; Sun, 10 Feb 2008 13:42:41 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOH8T-00042b-EA for emacs-devel@gnu.org; Sun, 10 Feb 2008 13:42:41 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JOH8T-0007MJ-0T; Sun, 10 Feb 2008 13:42:41 -0500 In-reply-to: <009c01c8684c$3dcb3570$0059908d@us.oracle.com> (drew.adams@oracle.com) 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:88644 gmane.emacs.pretest.bugs:20990 Archived-At: The principle he cites is correct -- could you please fix this and ack? From: "Drew Adams" To: Date: Tue, 5 Feb 2008 15:10:03 -0800 Message-ID: <009c01c8684c$3dcb3570$0059908d@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Thread-Index: AchoTDzauRqyzk14QqyPCDFIFcnvcQ== Cc: Subject: bad comment indentation in Emacs Lisp 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'