From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Incorrect indentation after :name Date: Tue, 5 Jul 2005 06:49:15 -0700 Message-ID: References: <87r7edhlsu.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120571858 15900 80.91.229.2 (5 Jul 2005 13:57:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2005 13:57:38 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 05 15:57:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dpnun-00007d-0A for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2005 15:56:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dpnw3-0000Xn-8G for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2005 09:58:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dpnsq-0008C0-EL for emacs-devel@gnu.org; Tue, 05 Jul 2005 09:54:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dpnsb-00083Z-DX for emacs-devel@gnu.org; Tue, 05 Jul 2005 09:54:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dpnsa-00082S-23 for emacs-devel@gnu.org; Tue, 05 Jul 2005 09:54:28 -0400 Original-Received: from [148.87.122.31] (helo=rgminet02.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dpntl-0004a0-Pk for emacs-devel@gnu.org; Tue, 05 Jul 2005 09:55:41 -0400 Original-Received: from rgminet02.oracle.com (localhost [127.0.0.1]) by rgminet02.oracle.com (Switch-3.1.6/Switch-3.1.7) with ESMTP id j65DnQCK011685 for ; Tue, 5 Jul 2005 07:49:26 -0600 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.186.50]) by rgminet02.oracle.com (Switch-3.1.6/Switch-3.1.7) with ESMTP id j65DnPX1011653 for ; Tue, 5 Jul 2005 07:49:25 -0600 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j65DnO7D004264 for ; Tue, 5 Jul 2005 07:49:24 -0600 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-81-39.vpn.oracle.com [141.144.81.39]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j65DnNmc004254 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 5 Jul 2005 07:49:24 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <87r7edhlsu.fsf-monnier+emacs@gnu.org> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE 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:40425 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40425 I do check for a quote. The check for `fboundp' is to try and "correctly" indent things like '(with-current-buffer buf (do-something)) which occur sometimes in macros. I would rather have it treat lists as lists, regardless of whether the lists might represent programs (e.g. even in macros and arg to eval). So, to me, dumb checking for a quote or backquote would be good. IOW, I like the behavior given by Juanma's hook code using common-lisp-indent-function. But I can imagine people might feel differently about this.