From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GDthNzTsk2WPHAAAkFu2QA (envelope-from ) for ; Tue, 02 Jan 2024 11:57:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YFw5MjTsk2VRKwAAe85BDQ (envelope-from ) for ; Tue, 02 Jan 2024 11:57:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=151e.ai header.s=fm1 header.b=ICfza2g3; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=2pBeXmxI; 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=1704193076; 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=mN06oygFkzwql5Rqw+tjJexCN2jIeRRko6X1kR4VZBQ=; b=u2HfXo9ZSFOtaPiRkZMqSRWoENBntmltY4NnZrWLu+wkuMXjGpCmvBS09rtHr3oAc4dNrw OYTUiHVQsJkvuqNI406cyU4bqa391EHgkX8IPQn2nZuUd1Bdp2MJy+9gcSR4Z9PI+/jg5C 5f2duI51M/+ctuvypcHGeO/qPYoSR2swdNe1d59kT6OxfbDLIDKwxIXA4V23QEmQDp6DFF I4Jb8RWc0HFz2Zicd6h+ZWPhA6kdpwkYSZCHBM7bxgNhpdUdCbKaPIM4SnTHy//kHVHhj3 1EqrxSiI1J1kT3b1bGQGDbcSX4Zenx0S7VkSlXim6z5tR1miQwnD8wkD1a7Buw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704193076; a=rsa-sha256; cv=none; b=WOq+EadU50WH/r+zSYRD+Q7aFqsJgpWVBepZWJzcRNymjdSsyOtHXLWTPCFWUDw8DFZuzc Vo/w+ef2YkMkLKdRs7t+g0Biz+q65fbd3o+TYGc6lJRKkE3j2jMfYbGkVXBRRGGhvBr4sX 0UMQ29mY0z6rXXVF3B7kkyQQ+Z4bkdIdDPVL0ThxCbYzL3SVgWnlMNj+WE+DCq2I3ds7Hr kLz/4OfuNHlN78CS6LdbzDByG9hj34mF5yzTZWQBWerQ7tzoWNVr41FShZgKQMkcqjIFbb VKHHcXgCCbYgNCtoXBKM9Pksm4iFyOiO29/0SoHX0rc0gg6cfcZbWmxuunsyKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=151e.ai header.s=fm1 header.b=ICfza2g3; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=2pBeXmxI; 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 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 E2C3C21148 for ; Tue, 2 Jan 2024 11:57:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKcSB-0001Ry-L1; Tue, 02 Jan 2024 05:56:59 -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 1rKcS9-0001RM-SF for emacs-orgmode@gnu.org; Tue, 02 Jan 2024 05:56:57 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKcS8-0006F7-0p for emacs-orgmode@gnu.org; Tue, 02 Jan 2024 05:56:57 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id B8CC13200AA9; Tue, 2 Jan 2024 05:56:50 -0500 (EST) Received: from imap52 ([10.202.2.102]) by compute7.internal (MEProxy); Tue, 02 Jan 2024 05:56:50 -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=1704193010; x=1704279410; bh=mN06oygFkz wql5Rqw+tjJexCN2jIeRRko6X1kR4VZBQ=; b=ICfza2g3TFGBhsYusiiPo24L3x C4r7VPjlDXr3I+Rm1ka6xU468Lz3+980MjrIH9CCXIPXS3gXbnouWwOmmxqbgeFo iUHRAHdkjrdQ0/Ldp3jQcZEdwd3NLF5KQ/Xp2X3vdWWkIfkQQPcGvi7ClQqk/7W+ HZNJ+JkeRBiou8aydKORkHN019p58fj7DcMA1Fn6dA+uZ7JGO6BukMtsnEsueEe1 ROTrJVWG0ueQVZPS65G561Oi60a05YbawHKpVxn7kZeVXqNkgc5u09neak9VCgqD VgL/xl54VR1ej8Pbok9kLGM6Bm8r4uwXpexO98Psq9fFZdfPiupK6TRGxuaQ== 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=1704193010; x=1704279410; bh=mN06oygFkzwql5Rqw+tjJexCN2jI eRRko6X1kR4VZBQ=; b=2pBeXmxIwfBw5iNm+hDV8wscczZkdKOyIJ9Ue9Cjo5Zy wftlW5a66UZ4GmRTA1EZXIwZkOfeT3ks4VwgSe8xnsaTkoe4AD6z9RX16v0tzS2b PallYRkt8BcrFalAybo2M5u9lWVJ++j7fzdfMuEqJGyy7J9OXlA0KGpsH7LvXuGm qXwZE4HPS4kug0NyQRjXvfCQkwD7O7bea/xJqvJjpcupbIeWH+PORuQNYYCm5GIB By5zIZ9X8KcgGmSUeIpTy4y9gT9u5PXlsVtLiAUn78SShFdsAkS9nakLJ9wVLJE2 jLLHOGoiThVRhLeXmBeOi39Is+P91n9b4lwNRAXixA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdegvddgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvvefutgesmh dtreerreertdenucfhrhhomhepuggrrhhkrdhkvgihkeejleelseduheduvgdrrghinecu ggftrfgrthhtvghrnhepleekjeefhefggeetudeileetheetleekhfeuffeuleekgedufe etheduteffueelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepuggrrhhkrdhkvgihkeejleelseduheduvgdrrghi X-ME-Proxy: Feedback-ID: i35d941ae:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id E9673C60091; Tue, 2 Jan 2024 05:56:49 -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: <87r0j277sf.fsf@localhost> References: <5f4cdb77-8f43-4f2d-91a7-bc4ce57df8ad@app.fastmail.com> <87r0j277sf.fsf@localhost> Date: Tue, 02 Jan 2024 18:56:29 +0800 From: dark.key8799@151e.ai To: "Ihor Radchenko" Cc: emacs-orgmode@gnu.org Subject: [PATCH] Re: Suggestion to add hook to be run when org-indent completes a buffer's initialization Content-Type: multipart/mixed; boundary=6c024e1291744aaeb4631e724520b394 Received-SPF: pass client-ip=64.147.123.21; envelope-from=dark.key8799@151e.ai; helo=wout5-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_H5=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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.55 X-Spam-Score: -9.55 X-Migadu-Queue-Id: E2C3C21148 X-Migadu-Scanner: mx12.migadu.com X-TUID: 2bowc+bO8h8R --6c024e1291744aaeb4631e724520b394 Content-Type: text/plain On Sun, Dec 31, 2023, at 22:42, Ihor Radchenko wrote: > I do not see why we shouldn't add such a hook. Patches welcome! Would this work? -- Alexandre Avanian --6c024e1291744aaeb4631e724520b394 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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