From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Brinkhoff Newsgroups: gmane.emacs.devel Subject: Re: Incorrect indentation after :name Date: Thu, 07 Jul 2005 10:25:47 +0200 Organization: nocrew Message-ID: <858y0j9g50.fsf@junk.nocrew.org> References: <42C80B48.3080103@student.lu.se> <87r7edhlsu.fsf-monnier+emacs@gnu.org> <85oe9hvih7.fsf@junk.nocrew.org> <85vf3pt4v2.fsf@junk.nocrew.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120729054 7415 80.91.229.2 (7 Jul 2005 09:37:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2005 09:37:34 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 07 11:37:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DqSoe-0004qA-MP for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2005 11:37:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqSq0-00045z-JP for ged-emacs-devel@m.gmane.org; Thu, 07 Jul 2005 05:38:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DqRk8-0003Ao-Hw for emacs-devel@gnu.org; Thu, 07 Jul 2005 04:28:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DqRk5-00038C-9M for emacs-devel@gnu.org; Thu, 07 Jul 2005 04:28:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DqRjH-0002ar-KO for emacs-devel@gnu.org; Thu, 07 Jul 2005 04:27:31 -0400 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqRo9-0004rD-A6; Thu, 07 Jul 2005 04:32:38 -0400 Original-Received: from junk.nocrew.org ([213.115.110.229] [213.115.110.229]) by mxfep02.bredband.com with ESMTP id <20050707082547.PWSE21194.mxfep02.bredband.com@junk.nocrew.org>; Thu, 7 Jul 2005 10:25:47 +0200 Original-Received: from lars by junk.nocrew.org with local (Exim 4.50) id 1DqRhb-00037Q-E6; Thu, 07 Jul 2005 10:25:47 +0200 Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Thu, 07 Jul 2005 01:36:57 -0400") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) 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:40541 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40541 Richard M. Stallman wrote: > Lars Brinkhoff wrote: > > The code works by checking the position of &body inside the macro > > argument list, and setting the lisp-indent-function property of > > the macro name to that number. > > It is clever, and adapting it to macros that are not loaded would > not be easy. [...] However, we could make autoload.el, when a > defmacro is autoloaded, generate a form that puts the appropriate > property onto the macro name. That could go in loaddefs. > > Want to do this? That seems interesting, and I would like to look into it, but I don't have much time right now. I would have to get back to it in September. > You made the change in the cl version of defmacro. That version > that is not normally used. That's because the Emacs Lisp version of defmacro doesn't accept the &body lambda list keyword. Maybe it should?