From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tcr@freebits.de Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2160: 23.0.60; Indentation of LOOP (cl-indent.el) Date: Mon, 02 Feb 2009 12:25:07 +0100 Message-ID: <87ab956pyk.fsf@freebits.de> Reply-To: tcr@freebits.de, 2160@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 X-Trace: ger.gmane.org 1233585049 20230 80.91.229.12 (2 Feb 2009 14:30:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2009 14:30:49 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 15:32:04 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 1LTzq1-0005qQ-7o for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 15:31:49 +0100 Original-Received: from localhost ([127.0.0.1]:33237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTzoi-0001xM-Au for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 09:30:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTxDD-0004zs-LV for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 06:43:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTxDC-0004zf-3S for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 06:43:34 -0500 Original-Received: from [199.232.76.173] (port=55465 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTxDC-0004zc-0R for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 06:43:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47797) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LTxDB-0002S0-GF for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 06:43:33 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12BhVj5016442; Mon, 2 Feb 2009 03:43:31 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n12BZ32E014126; Mon, 2 Feb 2009 03:35:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: tcr@freebits.de Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 02 Feb 2009 11:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2160 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123357394912869 (code B ref -1); Mon, 02 Feb 2009 11:35:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Feb 2009 11:25:49 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12BPkEQ012863 for ; Mon, 2 Feb 2009 03:25:47 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:57162 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LTwuG-0000X3-Ab for emacs-pretest-bug@gnu.org; Mon, 02 Feb 2009 06:24:00 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LTwvw-0000pc-TP for emacs-pretest-bug@gnu.org; Mon, 02 Feb 2009 06:25:45 -0500 Original-Received: from a022.reverse.yawsp.de ([62.27.20.22]:60390 helo=freebits.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LTwvw-0000pY-7U for emacs-pretest-bug@gnu.org; Mon, 02 Feb 2009 06:25:44 -0500 Original-Received: from host145.natpool.mwn.de ([138.246.7.145] helo=thaleron) by freebits.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44) id 1LTwvo-0006sl-NL for emacs-pretest-bug@gnu.org; Mon, 02 Feb 2009 11:25:36 +0000 X-freebits.de-MailScanner-Information: http://freebits.de X-freebits.de-MailScanner: Sauber X-freebits.de-MailScanner-SpamCheck: not spam, SpamAssassin (notcached, Wertung=1.897, benoetigt 6, FROM_NO_LOWER 1.90) X-freebits.de-MailScanner-SpamScore: s X-MailScanner-From: tcr@freebits.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 02 Feb 2009 06:43:34 -0500 X-Mailman-Approved-At: Mon, 02 Feb 2009 09:30:11 -0500 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:24828 gmane.emacs.pretest.bugs:23824 Archived-At: When using `common-lisp-indent-function', LOOP forms are by default indented as follows (loop for x in '(a b c) for y in '(1 2 3) collect (cons x y)) Setting the following (setq lisp-simple-loop-indentation 1 lisp-loop-keyword-indentation 6 lisp-loop-forms-indentation 6) makes it be indented like (loop for x in '(a b c) for y in '(1 2 3) collect (cons x y)) which I think is more readable, and more canonical. I hence propose to change the default values in cl-indent.el of the above variables accordingly. -T. In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-03-19 on vernadsky, modified by Debian (emacs-snapshot package, version 1:20080228-1ubuntu1) Windowing system distributor `The X.Org Foundation', version 11.0.10400090 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.60/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t -- Diese Nachricht wurde auf Viren und andere gefaerliche Inhalte untersucht und ist - aktuelle Virenscanner vorausgesetzt - sauber. Freebits E-Mail Virus Scanner