From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id GA5bGjSHTGZ90QAAqHPOHw:P1 (envelope-from ) for ; Tue, 21 May 2024 13:36:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GA5bGjSHTGZ90QAAqHPOHw (envelope-from ) for ; Tue, 21 May 2024 13:36:20 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QQDzHkXX; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716291380; 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=beGNi0bZifXb28kpj7vf5lKzrmayoDKdCjHkt2gQuRA=; b=YBomapbh3hhxBeYeVnnBidZgpeofJdrVJ5fiZCtwOHuqaw3AmmH1VAj35mbDnxIzsvNWwz NdqhWa3bhRhc35iV/fVz6dL7y5Hk0Xx8fxY1ieaqUw5+1caGiAzkhZyFauUy3FKSkXohe7 nbmh5kPnV8d7Tiqore+RbBjs+ecw+ExifbiDDgBkSacFXacT5iDLNsAdjf4wRfgVVO4JVC qM4gsUlJ7AVHK38I98+IQ2BLN98siDV+R4Hz5LZ03/36DsBuyAZS1XRWVvRelSswINePxe V2iMn3aw+mbx9d/xA/3TpTaBJuKZTnOANc30LtCiwJQ1RD+5LBymv17VkCTLlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QQDzHkXX; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716291380; a=rsa-sha256; cv=none; b=LvVoKCdN6RCbQiGOpgtM+ZjtURw1bjOWrKGj3SOqJZ3bwEYr8EFkR6Xb3i2cSuIqOKbyS+ H7jmqxInj+qvUaZMb55dfBSE8r7stln+KQytw5L8/nDekQwfybsDCW4SU5YJ5GyVW+N90B ozlmA2mltSIVoMgNIIvQC2VDjECPLmsbDchsDd0luhtLjBOVHS9qQgRPuW2l0CKEBb6lv/ RKRv5uH8VOPdiuyH32lJ2tSQOYcLoE4QMfX6OD6w0RmtzyJ0NiEqUpXFacGTYaK5VYP5NB tJzf2OopY+jYnsZJnHlj5DGlXtAHeOuoQpnCiHu/uqGUM1r67l2Rzu79mVyC6g== 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 2FBC874599 for ; Tue, 21 May 2024 13:36:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9Nma-0007X8-PG; Tue, 21 May 2024 07:35:52 -0400 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 1s9NmX-0007We-13 for emacs-orgmode@gnu.org; Tue, 21 May 2024 07:35:49 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9NmU-0007FQ-Tm for emacs-orgmode@gnu.org; Tue, 21 May 2024 07:35:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 743CB240027 for ; Tue, 21 May 2024 13:35:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1716291344; bh=RNIDW0w//lX9fuGmYU0qvhrm4vGIkbOvprMqVR2pdKY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=QQDzHkXXX6IMMkq0iqFViB1opplNAjq+BH2o4lb4TrmHt+JRWkjJ0Im1tR763DbNB CtcnAbUqQ7854nn6Lw/wsj06uUlT5Hoq2uMbrpNohqqnH8yU6KBMLRGDq5qdV+cmvu oE5HVI2xtp/++WOewwTgj+g3GW1Blu9QdTInxVPUd0TTUCTiF1/tG4k347auyT8boV C80Qiqbu2CW1JaVs+GWy0Xk4SHITamYv8uhFzqdAOTqRMTKl/MH7YUiNv0dme2sBnd mMM7u65qQRV69x2P1aCU2EUi/406rSDAbuWoK7TwKX9lj+8i5c0BcxMsFGnttNjG5R gvBRlqRUI7zxQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VkC6l70nRz6ty8; Tue, 21 May 2024 13:35:43 +0200 (CEST) From: Ihor Radchenko To: Joris Caravati Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Add org-after-note-stored-hook In-Reply-To: References: <8734qouw77.fsf@localhost> <87ikzbtl7m.fsf@localhost> Date: Tue, 21 May 2024 11:37:27 +0000 Message-ID: <871q5vjszs.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Spam-Score: -7.61 X-Migadu-Queue-Id: 2FBC874599 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.61 X-TUID: 1s/7yoWfNU3F Joris Caravati writes: > Ihor Radchenko writes: > >> I think I know how to make it possible for the note to be taken at the >> right place after subtree archival. May you try the attached patch? > > Indeed, after testing it quickly it does what I want and notes are not a > special case in `org-trigger-hook' anymore which is perfect. Thank you! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5fcd1d9de -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at