From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: Incorrect indentation after :name Date: Tue, 5 Jul 2005 19:09:06 +0300 Message-ID: <200507051909.06426.pogonyshev@gmx.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120579842 11127 80.91.229.2 (5 Jul 2005 16:10:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2005 16:10:42 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 05 18:10:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dppzi-0004Yq-73 for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2005 18:09:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dpq0y-0007t7-Ks for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2005 12:11:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dppzo-0007bV-T0 for emacs-devel@gnu.org; Tue, 05 Jul 2005 12:10:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dppzi-0007Y6-7V for emacs-devel@gnu.org; Tue, 05 Jul 2005 12:10:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dppzh-0007XK-Uv for emacs-devel@gnu.org; Tue, 05 Jul 2005 12:09:58 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1Dpq2u-0008F5-4M for emacs-devel@gnu.org; Tue, 05 Jul 2005 12:13:16 -0400 Original-Received: (qmail invoked by alias); 05 Jul 2005 16:06:59 -0000 Original-Received: from unknown (EHLO localhost.localdomain) [195.222.81.30] by mail.gmx.net (mp018) with SMTP; 05 Jul 2005 18:06:59 +0200 X-Authenticated: #16844820 Original-To: User-Agent: KMail/1.4.3 In-Reply-To: X-Y-GMX-Trusted: 0 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:40431 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40431 Drew Adams wrote: > 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). S= o, > to me, dumb checking for a quote or backquote would be good. IOW, I lik= e > the behavior given by Juanma's hook code using common-lisp-indent-funct= ion. > But I can imagine people might feel differently about this. I too think a dumb check is better. Not because I like functions being indented like lists, but because, as RMS noted, `fboundp' would give inconsistent results depending on whether a function has been evaluated or not. Paul