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.bugs Subject: bug#59662: 29.0.50; [PATCH] Add treesit--indent-defun Date: Fri, 2 Dec 2022 22:01:55 +0200 Message-ID: <51035d42-eacf-15e9-e7a4-cc4b09595789@yandex.ru> References: <5B538888-E454-4F75-B3B8-AB20E10B3E89@gmail.com> <83o7sniokt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33929"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: 59662@debbugs.gnu.org, theo@thornhill.no, casouri@gmail.org To: Eli Zaretskii , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 02 21:03:27 2022 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 1p1CFr-0008dY-0U for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Dec 2022 21:03:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1CFZ-0008MR-MS; Fri, 02 Dec 2022 15:03:09 -0500 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 1p1CFS-0008Jn-MX for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 15:03:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1CFR-0007QU-Qf for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 15:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1CFR-0000jW-J2 for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 15:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2022 20:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59662 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 59662-submit@debbugs.gnu.org id=B59662.16700113272809 (code B ref 59662); Fri, 02 Dec 2022 20:03:01 +0000 Original-Received: (at 59662) by debbugs.gnu.org; 2 Dec 2022 20:02:07 +0000 Original-Received: from localhost ([127.0.0.1]:48566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1CEY-0000jF-PZ for submit@debbugs.gnu.org; Fri, 02 Dec 2022 15:02:06 -0500 Original-Received: from mail-wm1-f47.google.com ([209.85.128.47]:51939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1CEW-0000ij-TU for 59662@debbugs.gnu.org; Fri, 02 Dec 2022 15:02:06 -0500 Original-Received: by mail-wm1-f47.google.com with SMTP id bg10so4304761wmb.1 for <59662@debbugs.gnu.org>; Fri, 02 Dec 2022 12:02:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=0XgjptlRthAP9tEr/Xh2UrI7vscVdaZuy1KYFgtrfYM=; b=hSUh1eJQTnQ4mX6HZbdUF+5D0PYQ2pUEdlVM2xA40KHfQu/INYfO+3dmw4wt7xCOdl RfkDRku3bajawucn2Y4w366xeW1nkRYV4d/u+TdALgSoS90bWYMUdksOTJ338+ATFFBY 8YBk8/nlUI1qieCwve1a7ErT3vqluyUX2Iis7nyDm0Pp0qsKy4TmQczsLpS873/nLZVi 90i3eDcFukl+NxVglPSTbeWsqXY0K0z2szP4N27fE+/mOpBZE0HZqwk3XDU/m5GYBMkS ryxVAFh/6RNxp1TcLbhSzWGcPCyCAX90+M3NBtu/vSsENTJfsQJwc761hQbfKUc8p2G+ 5Ydg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0XgjptlRthAP9tEr/Xh2UrI7vscVdaZuy1KYFgtrfYM=; b=OozWTt8j6DJnyK5yS/LG9sB6GJmSXOcg1W1l1pfuzlLOWwDXqNWwCwlmLUyikZ5Xje nDLM6PV4li/rJTrPUt88VrL4CVsVGfAnpknqSGY3CYWh/ERrn4AgnzeQiWAWuIRGcuot 53CSZic3iIDOEJdkOqu8t6HKcgdM2HekryHxDvczEA0VQ1ZBJWxHPEjT2M52JwPUZgaa hoOj/uLVGG64jxaT4FlaoXfE1oatZCeL/SId4MQ6Q7WPaVJvDEzTpo4VwFvCEDt0uTZx MiDWzrkaE/HioAyOH2MQNcYaQ7L7M6wSzV8gPwlAFKXxVcv5o4v43s8K46GUDh4qUWTf z3CQ== X-Gm-Message-State: ANoB5pkaKDfEhiTVLDVesMuy8y7TlSY5IYQD10Ezf1k+iqfjYc20K/qb UaFV+D4eb7ubxtP8qp4iRa4= X-Google-Smtp-Source: AA0mqf6jmBHfEQr2UAueWek/fOZmPmomoMgGqfr8Q0Qz2oLSlDXxwvBm+AJS1Ah2UcGXIZYkH/PVMQ== X-Received: by 2002:a1c:7401:0:b0:3cf:934b:b7ad with SMTP id p1-20020a1c7401000000b003cf934bb7admr40906791wmc.22.1670011318911; Fri, 02 Dec 2022 12:01:58 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id p17-20020a05600c359100b003c6b9749505sm13805235wmq.30.2022.12.02.12.01.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Dec 2022 12:01:58 -0800 (PST) Content-Language: en-US In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249779 Archived-At: On 02/12/2022 21:53, Dmitry Gutov wrote: > On 01/12/2022 09:13, Eli Zaretskii wrote: >> After all, until now this functionality and the "C-c C-q" >> binding was only in CC Mode. > > There is also the 'M-q' binding in the popular paredit-mode. > > It runs paredit-reindent-defun. That function runs fill-paragraph when in string or comment, and beginning-of-defun + indent-sexp otherwise.