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: Change indentation of keyword lists/arrays Date: Tue, 19 Oct 2021 20:18:16 +0200 Message-ID: <87y26oc1zr.fsf_-_@gnus.org> References: <20211004081724.6281.11798@vcs0.savannah.gnu.org> <20211004081726.AB24621048@vcs0.savannah.gnu.org> <87v92dp3ry.fsf@gnus.org> <874k9xgm7u.fsf@alphapapa.net> <874k9xnlmx.fsf@gnus.org> <8735ow3nav.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19350"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Adam Porter , emacs-devel@gnu.org To: Jonas Bernoulli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 19 20:21:31 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 1mctju-0004nL-CM for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Oct 2021 20:21:30 +0200 Original-Received: from localhost ([::1]:34014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mctjs-0002q9-MD for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Oct 2021 14:21:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mctgy-0001OO-SM for emacs-devel@gnu.org; Tue, 19 Oct 2021 14:18:28 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:55954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mctgv-0003QO-Rr for emacs-devel@gnu.org; Tue, 19 Oct 2021 14:18:27 -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:Cc:To:From:Sender:Reply-To: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=wXR4fTbezQm8/OCrfBD1SO4fekes5CHGCKy/YTvmM0A=; b=GhpscMqODSD2gdDQnOM8VIdDO2 nM000tZEaiDRQJBBRwVVOXilhLmDBil/QFUgntcBgf5QjDj2vRzg1AHLZ3WtqivaERt63l21psbVq CFvpjEuuXfgfOF4eQRZ6EHLrWBnquaXpjIZzNFK8l9Fa7mD1sTh+oxpGtliMtq15oB6I=; 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 1mctgp-0008K7-8b; Tue, 19 Oct 2021 20:18:21 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAMFBMVEX+/v7p6On56Oyt rK3R0dH42OD7yNXLO0PEJy7pjZnxqbX6t8bWWmO6Cw7ge4X////sHGcyAAAAAWJLR0QPGLoA2QAA AAd0SU1FB+UKExIMCtGDEU0AAAD2SURBVDjLY2DACRgVMMWYBICEsAOmBIsJkHDBZgxIkAnMEBRy FBQUEQQCRUeYIMgeFxdHIBJxARHIRosICSIBhqEBmBRwSLAm4ZBQr+jEqj5g+uqzh7BI8FU+Wx3R gM3q1ZkztxdgM4vzTPbcCdh0ZN5cWaOAVeLWmh5sEmorqrfNnYRFJnrHsd1rS7HoSJuxetbaMkwd aqsq0069PY0ZKprH28+cvDF7E4bEulk5NcdPLUvFMEuJiW3Vyp0BSti8zrQSq/CwAUxCOCSA2UoA q4SgIq7MJKiogF1CBFUD1nwuwoC9ZGAElQyMWJzChN15UNNwuAQA4Cc4V6cmE14AAAAldEVYdGRh dGU6Y3JlYXRlADIwMjEtMTAtMTlUMTg6MTI6MTArMDA6MDDq08GRAAAAJXRFWHRkYXRlOm1vZGlm eQAyMDIxLTEwLTE5VDE4OjEyOjEwKzAwOjAwm455LQAAAABJRU5ErkJggg== X-Now-Playing: John Zorn's _The Bagatelles (3): Trigger_: "bagatelle # 211" In-Reply-To: <8735ow3nav.fsf@bernoul.li> (Jonas Bernoulli's message of "Tue, 19 Oct 2021 20:02:48 +0200") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) 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:277396 Archived-At: Jonas Bernoulli writes: > Please consider also doing this for vectors, > which after all are seldom function calls. ;) > > [:foo 1 > :zot 2] Sure, makes sense. So -- the suggestion is to change the indentation of (:foo 2 :bar 2) to (:foo 2 :bar 2) and that goes for '(:foo 2 :bar 2) too. Function names can start with a : though, so in the () case, perhaps this is a heuristic we want to avoid? I can't seeing anybody write (defun :foo (a) a) though. But heuristics suck, so perhaps we don't want to do this? The vector case is simpler... but shouldn't all vectors be indented like that, no matter whether there's a keyword in the mix or not. I.e., I don't think anybody really wants to see [a b c d] I'm sure nobody has any opinion on this matter. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no