From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MKkNLf8xlGVXGQAAkFu2QA (envelope-from ) for ; Tue, 02 Jan 2024 16:55:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8Z3FJf8xlGWqOgEA62LTzQ (envelope-from ) for ; Tue, 02 Jan 2024 16:55:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=151e.ai header.s=fm1 header.b=LEW6B3Ii; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="hqU+/UGn"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=151e.ai ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704210943; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6qcAA/tegmUn3gR9UkJ9B5RhHDytdb2ten+DuXU3XUQ=; b=BRfbg8NX7veVgkb78J5/mUf3JZy0fUCTTje1S1/BWbRbl0OW7k6hSxfgI6RKzukLqtJyk2 ifdU8RI1bvgIrIPLFgs/zL1lvksTBebgbK+/V9XgMGAfUlpUa43VqrVxT2pyO6GB9dxLFD RiQtHalC1Z9GL+E9sZWJGBx3BdLtxU1qpR1B/Op3uXIfb4KHd+ytCfoOdhwgRPZ560IIvc EtXKPplvllldLxe9ZO38MuO7YKNThfSl09ReRshuf0YVRxOV2oEwDAGiM+T8DynGUAOxTO A6ckYo6bwbmfm++aKLvaVi0zGBMpb7iklfEefRki01Bk16MhcgcbDAG29maLZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=151e.ai header.s=fm1 header.b=LEW6B3Ii; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="hqU+/UGn"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=151e.ai ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704210943; a=rsa-sha256; cv=none; b=QYj26/v8Z812lgY2xx2CcWRcDs0COSunIhMEsvPZ0Qrc9Hn/xqXB81Ol8uLt3360+C47Ij CGv9xOpbL2v795wwWZYH7VWu64pSnvmmjMTh2zGdnm8csffko3SR+aDD5/g6P7BPBz/UuK xC39x03xmAY5ldFzbxw1wPIyCicl7mF5GuY8f7eyCV92FcZmyzlWHNtGml3ct+lHhUvSYa NtrzwxDQpSVuF8PLgdsQOgQwz4y9W+Z/XOMCMsMhaBs2/Fs9AwA5Kx1WBtTLazMLpTGgot 0w+sVsvlIRJGMBlPuVXoIgMA2Odph2jufqxexxXDy20+7fbKilzOG+2LZ0qz5A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DB718149FD for ; Tue, 2 Jan 2024 16:55:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKh6N-0002iI-4B; Tue, 02 Jan 2024 10:54:47 -0500 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 1rKh6K-0002hx-Rs for emacs-orgmode@gnu.org; Tue, 02 Jan 2024 10:54:44 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKh6I-0000oG-VP for emacs-orgmode@gnu.org; Tue, 02 Jan 2024 10:54:44 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id 5609F5C010B; Tue, 2 Jan 2024 10:54:41 -0500 (EST) Received: from imap52 ([10.202.2.102]) by compute7.internal (MEProxy); Tue, 02 Jan 2024 10:54:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=151e.ai; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1704210881; x=1704297281; bh=6qcAA/tegm Un3gR9UkJ9B5RhHDytdb2ten+DuXU3XUQ=; b=LEW6B3Ii552veuXmDrUr4BzJeX AxuzlVlCPgXxOO7Xhz9vOVBrItcnDwqLupW+Vh2KzsCLGjNTjwSNV/4ZReswHoBZ z/3hP/G2uN67AiCTg4Xojz/VeUzdlMiPh1jbV3NDtGJxRiEgwKMuVcMqd68/SOYn QAFKfQYWKvlUNliRmrlQeOfGxSAQaBStylbuzk5d6KuAwne2BngEWPYnDbEJgO+W yIyyRXKxx11zQXJ5vTiXFNQmDkej7YfcrT1PZHHp6+qfjwvJOZYAxb7Pqx2ehfAL MURyXtFN/ucSHHh8oDdcdoBnxpLLSWFqJWPwPAxaY0mZFRLZka1sXGMB6v3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1704210881; x=1704297281; bh=6qcAA/tegmUn3gR9UkJ9B5RhHDyt db2ten+DuXU3XUQ=; b=hqU+/UGnaqtgOJaAOtY+neXNB2CoXR1qu10cPN60QXhC 0tYFV+BOxlj9rJRLD/0bRI5LG6OBXRMJ00uVZC7hv9vPORjCjq+UJ5oGCsy/sR8J /YxXTtKClBO+/4/+clstk7WmKrgARve9l/9dxC7S4VxWnUgSbB0iwqNHkGrCMk4V FO2BAlGroZBV+q8T6mnreRouKRI7I1T3GAGcYyUWOmdNSM+OKqMQuKqUjV1KzlLr QPWf1hc3dIGl+RhpWJW6CZIKFOkV1jq28jDMxVGmduOD/Pwdz+l5ruG/V10VpUbt g10x5oIkKKsiVSYZWfDYI88NqWfu7vs723LhYAHUHQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdegfedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvvefutgesmh dtreerreertdenucfhrhhomhepuggrrhhkrdhkvgihkeejleelseduheduvgdrrghinecu ggftrfgrthhtvghrnhepleekjeefhefggeetudeileetheetleekhfeuffeuleekgedufe etheduteffueelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepuggrrhhkrdhkvgihkeejleelseduheduvgdrrghi X-ME-Proxy: Feedback-ID: i35d941ae:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id DC26BC60091; Tue, 2 Jan 2024 10:54:40 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3 MIME-Version: 1.0 Message-Id: In-Reply-To: <87o7e43s21.fsf@localhost> References: <5f4cdb77-8f43-4f2d-91a7-bc4ce57df8ad@app.fastmail.com> <87r0j277sf.fsf@localhost> <87o7e43s21.fsf@localhost> Date: Tue, 02 Jan 2024 23:53:46 +0800 From: dark.key8799@151e.ai To: "Ihor Radchenko" Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Re: Suggestion to add hook to be run when org-indent completes a buffer's initialization Content-Type: multipart/mixed; boundary=9ca75e1538c54dc48f5095e068248df9 Received-SPF: pass client-ip=66.111.4.25; envelope-from=dark.key8799@151e.ai; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.66 X-Spam-Score: -6.66 X-Migadu-Queue-Id: DB718149FD X-TUID: vXgN/3JCWYo2 --9ca75e1538c54dc48f5095e068248df9 Content-Type: text/plain On Tue, Jan 2, 2024, at 19:15, Ihor Radchenko wrote: > By convention, abnormal hooks (hooks that require arguments) are named > as *-functions, not *-hook. > > Also, when adding new customizations, we generally announce them in > etc/ORG-NEWS. Understood. Please find amended patch. -- Alexandre Avanian --9ca75e1538c54dc48f5095e068248df9 Content-Disposition: attachment; filename*0="0001-lisp-org-indent.el-Add-hook-to-run-after-it-initiali.pat"; filename*1="ch" Content-Type: application/octet-stream; name="=?UTF-8?Q?0001-lisp-org-indent.el-Add-hook-to-run-after-it-initiali.patc?= =?UTF-8?Q?h?=" Content-Transfer-Encoding: BASE64 RnJvbSAxMmVkYjQyMDVhODdiZTE4NzkwMGE1NWRlNWMzN2I5MjY0YTdhMjdjIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbGV4YW5kcmUgQXZhbmlhbiA8Z2l0QGFsZXhhbmRy ZS5hdmFuaWFuLm5ldD4KRGF0ZTogVHVlLCAyIEphbiAyMDI0IDE4OjA4OjA5ICswODAwClN1 YmplY3Q6IFtQQVRDSF0gbGlzcC9vcmctaW5kZW50LmVsOiBBZGQgaG9vayB0byBydW4gYWZ0 ZXIgaXQgaW5pdGlhbGl6ZXMgYQogYnVmZmVyCgoqIGxpc3Avb3JnLWluZGVudC5lbCAob3Jn LWluZGVudC1pbml0aWFsaXplLWJ1ZmZlcik6IGRlZmluZSBhbmQgY2FsbApob29rIGFmdGVy IGl0IGluaXRpYWxpemVzIGEgYnVmZmVyLgoqIGV0Yy9PUkctTkVXUzogYW5ub3VuY2UgbmV3 IGN1c3RvbSBvcHRpb24uCgpUaGlzIHdpbGwgYWxsb3cgdG8gZW5yaWNoIG9yZy1pbmRlbnQg cHJvcGVydGllcyB3aXRob3V0IHJlcXVpcmluZwpoYWNrcyB0byBkZXRlY3QgaW5pdGlhbGl6 YXRpb24uClNlZSBodHRwczovL2xpc3Qub3JnbW9kZS5vcmcvb3JnbW9kZS81ZjRjZGI3Ny04 ZjQzLTRmMmQtOTFhNy1iYzRjZTU3ZGY4YWRAYXBwLmZhc3RtYWlsLmNvbS8jcgoKVElOWUNI QU5HRQotLS0KIGV0Yy9PUkctTkVXUyAgICAgICB8ICA1ICsrKysrCiBsaXNwL29yZy1pbmRl bnQuZWwgfCAxMCArKysrKysrKystCiAyIGZpbGVzIGNoY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