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: Mon, 18 Oct 2021 10:02:26 +0200 Message-ID: <87czo2lq0d.fsf@gnus.org> References: <878ryw1ptl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11502"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 18 10:04:24 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 1mcNdA-0002jQ-8w for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Oct 2021 10:04:24 +0200 Original-Received: from localhost ([::1]:39952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcNd9-0001z6-CS for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Oct 2021 04:04:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcNbO-0000lm-33 for emacs-devel@gnu.org; Mon, 18 Oct 2021 04:02:35 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:38872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcNbL-0000nt-Ue for emacs-devel@gnu.org; Mon, 18 Oct 2021 04:02:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: 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=ZPTCLmiChiHHjoJiassVmGPa63xYioKDNxOIJZ1ZUtA=; b=TLmRh4eWWZHV2OG0w8/8shgRCh icOTptxYVvq3P22Jex9teJNLTFd6rn0+AI5hW/dJCxmC0/wJXxFrbBAE4IVD27Raqh3kwzmNS0cOo +i1QJFJk7/4llN0lgGWj32hUQ5JZZto2PQSzpTt5Qr5VoeRoDXDcPeFaxA73xKAk5G98=; 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 1mcNbH-0000i7-8W for emacs-devel@gnu.org; Mon, 18 Oct 2021 10:02:29 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEVjLCerdlLy26b9 +tT9/eIdEBLKsY3///8CkeGNAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UKEggCD5ZniY8AAAG2SURB VDjLfdRNb9swDAZgRUVyrhfM91GAzq1o6NxVQs5OAPkcq4P+/08oScmuvXTzJYEfvKQ+rQ6A8rwo fkwwbyn1thR1gCFgCAvEQpBtmdUJhhiGiG8CH9i9pPTDFitAT6iJDycAmQG34NWdAQhMTfxe4OeS kMAXHI8CQLBLuApcqkKscHZUiQGWUiu0xCM8MxiAh1LlvsIugfCa0hnAPwC+ft8D0TO470H/O2H+ hqcG8B/Qu7XSiJcNhBiHCmNuYNSNwNNM7aHrlErp9E6jsi3hM5TSCRzHwnueGWJ8N875Wsqm1Iar d6PSnuFcm8t7bOAkkRmG7Z5XkCXR4NCZPZx4P3Qp2eY91ObW0hHOxe+glqIfA1vopTklaHp/LgI3 N/fUgypQot6PCpNByhx4edo8whZU3zf4SgDDla6U0oZWEXFJgCOYZAe5B2V8A1gOw5UuDsawlgLb YAK+OdRjFHAMNwFTu/sN6AZ8aXdwbUDNV5AeUwUaVmBIxxUsLcmUUeAyJjoKa4KgUM6Bk83m6ncB q6a560vp53mBXzTcQh+Z69xlhm4BKUXfEgagZi1R+M/YPatPYWrOsTREb00AAAAldEVYdGRhdGU6 Y3JlYXRlADIwMjEtMTAtMThUMDg6MDI6MTQrMDA6MDDsdUqlAAAAJXRFWHRkYXRlOm1vZGlmeQAy MDIxLTEwLTE4VDA4OjAyOjE0KzAwOjAwnSjyGQAAAABJRU5ErkJggg== X-Now-Playing: Brokeback's _Morse Code In The Modern Age: Across The Americas_: "Lives of the Rhythm Experts" In-Reply-To: <878ryw1ptl.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 14 Oct 2021 01:13:10 +0200") 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:277255 Archived-At: Lars Ingebrigtsen writes: > A longstanding issue is whether to do anything about this heuristic in > our indentation code: > > (defun definitely-regular (a b)) > (defun still-regular (a b)) > > (progn > (definitely-regular a > b) > (still-regular a > b)) > > That is, any function or macro that has a name that starts with "def" is > indented similarly to a `defun' (etc). I've now removed this heuristic in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no