From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Can this indentation be achieved with treesit-simple-indent-rules? Date: Tue, 20 Jun 2023 18:34:55 +0300 Message-ID: <7014cdc3-d86a-8c7c-138b-ab9edd447ae1@gutov.dev> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29723"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 To: =?UTF-8?Q?Nicol=c3=a1s_Ojeda_B=c3=a4r?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 20 17:35:38 2023 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 1qBdOK-0007T3-PF for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Jun 2023 17:35:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBdNq-0005mR-PU; Tue, 20 Jun 2023 11:35:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBdNo-0005m1-Ql for emacs-devel@gnu.org; Tue, 20 Jun 2023 11:35:04 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBdNn-0006AK-1O for emacs-devel@gnu.org; Tue, 20 Jun 2023 11:35:04 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6EA2A5C02CE; Tue, 20 Jun 2023 11:34:58 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 20 Jun 2023 11:34:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1687275298; x=1687361698; bh=df2hvNXxRm59A2h4tXHKME0WLz5Zh1Yay/1 KcKcdYw0=; b=CWus0C5mB8sUg/TIozD0ul4Ssl00nUj5UGzQU6F1lgU1U/Uk6I5 Cnb2s5sPeYq5sRKNSzc9fYX0t7xQ95jM4XcSb0r6F/7nZsXAOkW9zpvJawWuzBok nMa1Kk3NvwfaH6ngfUPkPpQCGChCy434V1I9HVH5CZHvCImSa3D/Ez3l4ni3GfzD cPCAsU5PcjvdGT7xrTMNeZOSb6AdmLKb8umeUnHkdsAgvolj0CRiVm5R0RAX9dJ+ /2FAU4f7x0bO6k58bWltimCO9dOXTlEqdcT93KVBLWx0CHV8CshMIEUKSi3cPOcc hnzWqf/N9fdnXvTcu0SKwRZoWOMxh+mhgwA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1687275298; x= 1687361698; bh=df2hvNXxRm59A2h4tXHKME0WLz5Zh1Yay/1KcKcdYw0=; b=j 5YEsV1lmAVwNbi2XWeYLRmobdMsJjjQWKclXghxWpVByUHTwTI88NW9JvNR0N23A kVKMMwPX1lM7QiaKEaX3IkmlEdMWuqa5sVZAL+je2R3r7fr/sj4/RRl7YyeOqHst 3LiGSCBn2DoQcI4NhqfHkvdMOGJArD2OuvNn1GgCojxQGwIoT3LUCYX/Ab55E1RB hLtAUI7Bumh/MrxjpWUdMQvdF1uooCLg1gpCusHt522vJMrmw/tPJoRw3ljEGIDT wLXnzGNNcWKEAr38Wj7nqMIwLZtoH3zZDY3ydYllMc+9J55R9aT1YKHOUz4peaWa 7SQysXdWdBjf2oDNfl4Sw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeefhedgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtke ertddtfeejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhu thhovhdruggvvheqnecuggftrfgrthhtvghrnhepfeejkeevvdefleefudefveegtedvve ekledvtdeuteetfedufefgudeikeffieelnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 Jun 2023 11:34:57 -0400 (EDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=66.111.4.29; envelope-from=dmitry@gutov.dev; helo=out5-smtp.messagingengine.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 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, NICE_REPLY_A=-0.09, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307088 Archived-At: On 19/06/2023 22:11, Nicolás Ojeda Bär wrote: > ((parent-is "b") parent-bol 0) Try 'parent' instead of 'parent-bol'.