From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Indentation of constants in LISP Date: Wed, 21 Feb 2007 03:38:33 -0500 Message-ID: References: <18370522.43101171999076107.JavaMail.www@wwinf4101> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1172047291 10589 80.91.229.12 (21 Feb 2007 08:41:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Feb 2007 08:41:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: alinsoar@voila.fr Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 21 09:41:25 2007 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 1HJn2O-00059T-Qc for ged-emacs-devel@m.gmane.org; Wed, 21 Feb 2007 09:41:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJn2O-0005nx-Ab for ged-emacs-devel@m.gmane.org; Wed, 21 Feb 2007 03:41:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJn1A-0005Ku-1y for emacs-devel@gnu.org; Wed, 21 Feb 2007 03:40:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJn18-0005KZ-Qy for emacs-devel@gnu.org; Wed, 21 Feb 2007 03:40:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJn18-0005KO-I7 for emacs-devel@gnu.org; Wed, 21 Feb 2007 03:40:02 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HJn18-0000ej-88 for emacs-devel@gnu.org; Wed, 21 Feb 2007 03:40:02 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HJmzh-0004rw-Ha; Wed, 21 Feb 2007 03:38:33 -0500 In-reply-to: <18370522.43101171999076107.JavaMail.www@wwinf4101> (message from A Soare on Tue, 20 Feb 2007 20:17:56 +0100 (CET)) X-detected-kernel: 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:66574 Archived-At: First of all look at the code of Emacs. Where, in all thousands of lines of Emacs, do you find a code as you do critique here: (prog2 a :b c It is not unreasonable to write a keyword symbol as the second argument to prog2. That case should be handled properly. The way to handle this case properly, and many others too, is that the special rules for indenting the first two arguments of prog2 should take precedence over this feature for keyword symbols. In fact, it might be ideal if this feature for indenting keywords applies only when indenting a list whose car is not recognized as a known function at all.