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: Change indentation of keyword lists/arrays Date: Thu, 21 Oct 2021 05:02:42 +0200 Message-ID: <87y26nhygd.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> <87y26oc1zr.fsf_-_@gnus.org> <87v91r3n4a.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="469"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Adam Porter , Jonas Bernoulli , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 21 05:04:53 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 1mdONx-000ATr-9E for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Oct 2021 05:04:53 +0200 Original-Received: from localhost ([::1]:39820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdONw-0006L2-2i for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Oct 2021 23:04:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdOLz-0004qP-Uq for emacs-devel@gnu.org; Wed, 20 Oct 2021 23:02:52 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:43738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdOLy-00058x-BF for emacs-devel@gnu.org; Wed, 20 Oct 2021 23:02:51 -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=k7yS9tGI2WJdFi74cPfXosrrTXm7jcEYQvBBsChZVGE=; b=LyiH7HNW2IIyGekMUIaWqTVThE s3gE37jBUMqM+qqdlqrZh+e1mgfMeYQVzgpgEcEsSBAK4YgI4hUPibXLWTxY/7UHNcY0ri6a4G1vn KoxxZE9riZqTtrRPPS0z4ykxNAaw5YKMcF5vVxaVbhFiAX8HcL3YtiDRAcLdzcTXi61o=; 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 1mdOLr-0005LV-S4; Thu, 21 Oct 2021 05:02:46 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVPSZeWZJemqNJL J1z///9SRQkfAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UKFQIpL0s56UEAAAGPSURBVDjLbZSLscQg CEUhNCDaQLQCMvTf2+OjxrxZd3Ym4Xj5KQGYC0euDt9Vx/hJLrdwQef3P0EBIAU28gG3kIo9EIzB rx19u9uRtB5hmMFIahAOZ6blQupLsFxbcnXT6FwCVJdk3MhNN3HJnTWUWsJGlrAKwwQ4kIm2QtG2 JmAuoseyrVm9RYA0ccSy8lclkuBJINahFIDSAhx5LVB0ecp6eEaHFXuBiydYuU5XigvsRPlJgLMp /tIOhWBEVwfUngTN0y2zEENmonDl4I1BCitGlF4DqFeC4WQW+CyFvWOYnieB7QQJ8laSp+iORK3C CaZCKADtyj1IKCRC03FKloGhTFXgPFdz1xLQihBZ+b9MyeyVX604QQfyAsQAD5PYnZx2v7NeYfMm MkF7ARa2wejooDxlhSDB7rPUvWPWDLvx6/bwqDFrzN3bvyUQs2fAf7UJvKD7dA5r8jBwjCDWmOde HZUDQO3pzZPjE1zDNlcrxgfwlOD+MNi9+fja34zPd+ElHX6v63iWEyDti/wHpVlir3d8zIMAAAAl dEVYdGRhdGU6Y3JlYXRlADIwMjEtMTAtMjFUMDI6NDE6NDYrMDA6MDDcWq4VAAAAJXRFWHRkYXRl Om1vZGlmeQAyMDIxLTEwLTIxVDAyOjQxOjQ2KzAwOjAwrQcWqQAAAABJRU5ErkJggg== X-Now-Playing: Alice Coltrane's _Kirtan Turiya Sings_: "Yamuna Tira Vihari" In-Reply-To: <87v91r3n4a.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 20 Oct 2021 19:39:01 +0300") 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:277490 Archived-At: Juri Linkov writes: > Please change the indentation of quoted lists. It takes > too much time to manually delete excessive indentation > every time with C-d C-d C-d C-d C-d C-d C-d ... to turn such code: > > (memq this-command > '(universal-argument universal-argument-more > digit-argument negative-argument)) > > to more readable: > > (memq this-command > '(universal-argument universal-argument-more > digit-argument negative-argument)) This style was added some time back, and is currently the recommended way to get this indentation: (memq this-command '( universal-argument universal-argument-more digit-argument negative-argument)) Heh. But I see that doing the same for a vector signals an error: [ :foo :zot :bar] forward-sexp: Scan error: "Containing expression ends prematurely", 1, 1 (I'll open a bug report.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no