From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Indentation of def* Date: Wed, 20 Oct 2021 10:38:04 +0200 Message-ID: <87ee8gnlar.fsf@gnus.org> References: <878ryw1ptl.fsf@gnus.org> <87czo2lq0d.fsf@gnus.org> <87v91s876d.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9015"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Richard Stallman , emacs-devel To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 20 10:39:36 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1md78J-00027z-Jf for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Oct 2021 10:39:35 +0200 Original-Received: from localhost ([::1]:44902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1md78I-0001O2-E6 for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Oct 2021 04:39:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1md76x-0000DR-VJ for emacs-devel@gnu.org; Wed, 20 Oct 2021 04:38:15 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:34552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1md76w-0002ar-7R; Wed, 20 Oct 2021 04:38:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Gz3yQx9ODbVFw0wgmR9Qbw/mqWmGkrNKIjgtGNVM4jw=; b=tcVlvBaZMKTU/0B1M0ipIbAc+8 GI9EhGnjY8IxtGRi1kICRLRypnOEAVQfe9/p3XtOYHSNNuG6l96dj2+alEstWGJSLjozSFnHV5sEN lm9KbXev99Ej8DQVMiNFsB0G0XtlO6X+dJq70JGglmLHTMS/+rlnmnb12uaJM37jEzcs=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1md76r-00061n-3L; Wed, 20 Oct 2021 10:38:07 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAAAmJLR0QA/4ePzL8AAAAJcEhZ cwAACxIAAAsSAdLdfvwAAAAHdElNRQflChQIJCDbA2guAAAAv0lEQVRIx+2UUQ7DIAxDXysusiv6 IDnzPso6oAGRSVSbNL6iKIbEdtgetMcuGfQOd4InnTcK0xwAdJTO1JNAk6XdGYQESO49CQ9xIg01 vHkAa6PypW2NDjYEaJgKK70ekNys8qTC1JDm0ApGLtNVCBfQSlHyNjNDxfM+KJFnPr+lqjdFAC0X q4WTxVoCTEHAV7r11n04bJB93QWEaa037rUv/rKpO4NRfnqfu9Vpqfdc0dPfS78EsKxe/Ne4Y4Yn +z0ovSmznYoAAABaZVhJZk1NACoAAAAIAAUBEgADAAAAAQABAAABGgAFAAAAAQAAAEoBGwAFAAAA AQAAAFIBKAADAAAAAQACAAACEwADAAAAAQABAAAAAAAAAAAASAAAAAEAAABIAAAAAR9S9zQAAAAl dEVYdGRhdGU6Y3JlYXRlADIwMjEtMTAtMjBUMDg6MzY6MzIrMDA6MDB9AHpSAAAAJXRFWHRkYXRl Om1vZGlmeQAyMDIxLTEwLTIwVDA4OjM2OjMyKzAwOjAwDF3C7gAAABd0RVh0ZXhpZjpZQ2JDclBv c2l0aW9uaW5nADGsD4BjAAAAKHRFWHRpY2M6Y29weXJpZ2h0AENvcHlyaWdodCBBcHBsZSBJbmMu LCAyMDIxfb3uJgAAABd0RVh0aWNjOmRlc2NyaXB0aW9uAERpc3BsYXkXG5W4AAAAAElFTkSuQmCC X-Now-Playing: Mochipet's _Godzillafather Rick Owens Fogachine_: "Godzillafather Rick Owens Fogachine (Original Mix)" In-Reply-To: (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vora=22's?= message of "Wed, 20 Oct 2021 09:19:17 +0100") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:277431 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > Right. And your example is a _function_. Why don't you _at least_ keep > the heuristic for macros? Isn't that a worthy compromise, a "no-worse" > situation? It would fix your default-boundp example and, if Richard's > example deffoober is a macro (I'd say there's a good chance it is, > statistically speaking) then the calls to that macro would also be > indented correctly. > > What am I missing? We've been over this. There's both functions and macros that want to be indented like a defun, and there both functions a macros that don't want to be, and sometimes they're called something that starts with def* and sometimes they don't. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no