From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#9622: [PATCH] Re: bug#9622: 23.3; flet indentation Date: Thu, 30 Sep 2021 16:04:11 +0000 Message-ID: <875yuiyrr8.fsf@posteo.net> References: <504153FB-8633-4755-A91A-DF5DD64E6FAA@acm.org> <87lf3fntdx.fsf@gmail.com> <87tui26027.fsf@gnus.org> <87r1d62owt.fsf@tcd.ie> <87lf3eqesu.fsf@tcd.ie> <87czoqytmn.fsf@posteo.net> <87y27em61q.fsf@gmail.com> 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="7106"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, mattiase@acm.org, larsi@gnus.org, 9622@debbugs.gnu.org To: akater Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 30 18:25:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mVyrw-0001ca-FV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Sep 2021 18:25:12 +0200 Original-Received: from localhost ([::1]:52866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVyru-0007aH-D7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Sep 2021 12:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVyYQ-00008u-W3 for bug-gnu-emacs@gnu.org; Thu, 30 Sep 2021 12:05:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVyYQ-0004XR-JY for bug-gnu-emacs@gnu.org; Thu, 30 Sep 2021 12:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVyYQ-0004Yq-0J for bug-gnu-emacs@gnu.org; Thu, 30 Sep 2021 12:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Sep 2021 16:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9622 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 9622-submit@debbugs.gnu.org id=B9622.163301786717457 (code B ref 9622); Thu, 30 Sep 2021 16:05:01 +0000 Original-Received: (at 9622) by debbugs.gnu.org; 30 Sep 2021 16:04:27 +0000 Original-Received: from localhost ([127.0.0.1]:53754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVyXq-0004XV-Ps for submit@debbugs.gnu.org; Thu, 30 Sep 2021 12:04:26 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:46087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVyXm-0004X6-K4 for 9622@debbugs.gnu.org; Thu, 30 Sep 2021 12:04:25 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 372F124002A for <9622@debbugs.gnu.org>; Thu, 30 Sep 2021 18:04:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1633017856; bh=ADBX+3Yn42TzJpddMlLZKwIAhptHu1XEhJUJf3OVplk=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=QTvmvx+IAby1bbF1T2aDPauUbDzk/s6qO2Pav9EmlIR2LowaDVh28PpbEgSxVnCSS OnV2fUW0wGy6RtWsaUMCEgcMjh5DYpPV1pdee9dOrysF+0+F+VS9Zn2SJN2MYLo4ab LoXVPV9QvpJHZZenMOKY2eoqBrw9VpUhB0BPtxM7kvSMMY7a+DdQG5qQBpMNyEA2Mt j3iBCbghs9K0ysF7iJIvMcdWmAcjR/HhPV139PqXg5iZYvQjvGiLO2F1V5bFMnUwL/ 7I1yqIXBxHTLojg4Y5yw6PAPCgwTwendNkVAFcuiUukXO6oxsKFcXfINcfkUcHZFrH i27SB4l1GQaTg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HKyjT4ssTz9rxP; Thu, 30 Sep 2021 18:04:13 +0200 (CEST) Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual; keydata= mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHUBBMBCgA+FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAl8y lcICGwMFCQPCZwAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQDsVtFB0W75MB3QwAlTsVzFmr +S/tMKwwwOibjhNPi/OZiUC2AYfaqfVAiIHDT3RbzDe03sAJoomJkJnYVjGzQZwibCMO2+ITkMPV 2wvrd4CbgS1KCVbrltwcuK/nxPCBaHytOCZUIInnhJo5PE/h03K In-Reply-To: <87y27em61q.fsf@gmail.com> (akater's message of "Thu, 30 Sep 2021 15:33:53 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:215983 Archived-At: akater writes: > Thierry Volpiatto writes: > >> Note that using `common-lisp-indent-function` as `lisp-indent-function` = in >> emacs-27.2 make `cl-flet` and friends indent properly, with a few more >> settings for `cl-loop` indentation it is perfect, did I miss something? > > In general, the languages are different and rules should be expected to > be different. cl- indenter takes care of #(..) and so on which is > meaningless in Elisp. > > I also think common-lisp-indent-function should not attempt to indent > cl- stuff and likewise lisp-indent-function should not indent plain flet > and so on because plain ones are =E2=80=9Cofficially deprecated=E2=80=9D. > > It would make more sense to have a generic sexp indenter and > dialect-specific indenters that inherit from it. But inheritance > practices in Emacs is in terrible shape: inheritance mechanisms have > been reinvented in incompatible ways since forever. Thanks for explanations, make sense. --=20 Thierry