From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +MTNHxYYWmQgSAAASxT56A (envelope-from ) for ; Tue, 09 May 2023 11:53:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WwPDHxYYWmQ2swAA9RJhRA (envelope-from ) for ; Tue, 09 May 2023 11:53:26 +0200 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 E27F12D9E1 for ; Tue, 9 May 2023 11:53:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwK1E-0004yL-MW; Tue, 09 May 2023 05:52:28 -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 1pwK19-0004y5-9H for emacs-orgmode@gnu.org; Tue, 09 May 2023 05:52:23 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwK17-0005pY-1A for emacs-orgmode@gnu.org; Tue, 09 May 2023 05:52:23 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B05FB240137 for ; Tue, 9 May 2023 11:52:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683625938; bh=BdA4/0RyVQd+p+FO/P+Zso0ESGdlViHNlq+nnG40e7w=; h=From:To:Cc:Subject:Date:From; b=P9Uc73u2M4jR0L4d5rGbcsubm3b0O4sDjoUG+G63ZcYPpJOimgF/FO+vzccEuBZcT BHgVOZwFETo0iOVNUoctiSJ0ljYcqjQMtfO4UewSQm3Jpaiht92oucoNb0exMhuUfH l8chwh5A6IU/Jl5+EzuKySRXL3Wg2bzfneiPMXSdbRH7Oer+oj/YGRYxiCn4daQtOw TPtPwxjYGVsPmW7kXv7IvQsOKYu6hpCQmMLlVh8QcNQ6dDeIA77379iud2g0a8y3UP Gcd+FZqczShOk8h+KgDCG2nNS/5+1IZsw4sqY6MQn9+RwuYExg1BC3ErlutWvGe0zf YYsWIMDs+BYEg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QFtjt1Rskz6tx2; Tue, 9 May 2023 11:52:18 +0200 (CEST) From: Ihor Radchenko To: bvchgvbt@mail.com Cc: emacs-orgmode@gnu.org Subject: Re: New note not included in org-element-parse-buffer result In-Reply-To: References: Date: Tue, 09 May 2023 09:55:31 +0000 Message-ID: <87bkit25ik.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H2=-0.001, SPF_HELO_NONE=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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683626006; a=rsa-sha256; cv=none; b=en3VQ6bEn8nlVRlVeddL8/Xo0EV9PoSWFSzoxXInlcaeB3pGSrkpA797B1krRYauCuwXuu EAPWdblSayzQQo5+3vAEY1VR3QfZKVZiRxucxORixwMt5urIKhnUBqOPhlyP19B113RRQf MPFqknEeFLmmaKzLifXRT5Odi75UyeNOohSklsDRtFT6DKKYqB5NT8rd7ID6dIHVIPAPeO 4R/2IwKMovKesvK4pzNsok7TgIXEF9apXTlx24PQO/UlGaJjykE7o8IjiwnqwmxSWvB2XG IaP9VevB7uOt+8mgkPwODyGc/S1Q920RTJS3gRL9wxLmtPvp2dOy+uo1agSo8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=P9Uc73u2; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683626006; 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=2HZCtq/aoJO4NSj+B+edxnRLgfopGrIi9+xS3MAh6+A=; b=Z8nKhy3dId3ws/P+mlC932K9mku0/QdZtwBi8ef3V+xiZ8BQ6ES+90u4u2bwU+TGro9aAl pdWujqk3ZrV6qyrv0Z4pRoeCqDWK/2EVqiH5/hi1iyyuUuRIAvwPve2KvZuzVozS/QXr5e +D7viHR+2FK7/LMh9CZfUVUiVmXe4FokSnMMpg2obTL7Pxw4/uiKxaPQP+w8QqrmFhCwhH FrjtBJiChQ5IuKs9oo2KATQTA4KEtoSFbH5568Wdw23ZSEDzWvg4no9bYqRrfkcD7Mof06 qegJEj1d2n30P1/pyqlzL9riwAtFBz8392sS3q4Peg3QhZTui8QJB2/0CmQc5A== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=P9Uc73u2; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -4.65 X-Spam-Score: -4.65 X-Migadu-Queue-Id: E27F12D9E1 X-TUID: L1eEf3ykZegq bvchgvbt@mail.com writes: > I'm attempting my first non-trivial elisp and seem to be falling at the > first hurdle. > > Specifically, I am using (org-trigger-hook) to inspect a TODO->DONE state > change, and am finding that the note that I insert when the state change > is logged is not present in the result of a call to > (org-element-parse-buffer). The note might indeed not yet be inside the Org buffer. `org-add-log-setup' arranges the note to be written _after_ current command finishes (`post-command-hook'). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at