From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gJQBNb9tY2Q81QAASxT56A (envelope-from ) for ; Tue, 16 May 2023 13:49:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gND3NL9tY2S/EgEA9RJhRA (envelope-from ) for ; Tue, 16 May 2023 13:49:19 +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 36E2B28F3B for ; Tue, 16 May 2023 13:49:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pytAI-0005id-NW; Tue, 16 May 2023 07:48:26 -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 1pytAH-0005iU-78 for emacs-orgmode@gnu.org; Tue, 16 May 2023 07:48:25 -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 1pytAF-000292-5Z for emacs-orgmode@gnu.org; Tue, 16 May 2023 07:48:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3A2AA240035 for ; Tue, 16 May 2023 13:48:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684237701; bh=FDNZ9Q0xH7+8vG7xA20vcvk6tKiLf1xYecsMMSOvDd0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=noCnGbnRVMJGMs6IN0U6JzDP+KVe8XooAnR6XaqaPu63zHioN7p6l7D3sIc8UmPU8 puC54kI5K7fNpyyGVbEufOGcqLLJ8pZHr0WSjJqjNIi2vgxx/pl3TRuWfWAFSb5TOR JAR+4GnIlahH7vm0DLBBzA4GXVmBNAlqI4DZx/jJy8FYShDLWDGCoQZvqPq1dr3UU1 E+FpI3EFplnijub2CjDmCfLwPCxV0CQWeSPaC3t5ggJr0VMMiaMWBYbUE+/R4nmkIq Q+o/ZEDzKSmgvt9JV7/U8YH+tEGYM7TbrX/8RzoMY/DrIOLM2tExiB3a7zfN6HLJLp hRthb8UKppEXA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QLDyX2dT7z9rxB; Tue, 16 May 2023 13:48:20 +0200 (CEST) From: Ihor Radchenko To: bvchgvbt@mail.com Cc: orgmode ml Subject: Re: org-element tutorial? In-Reply-To: References: Date: Tue, 16 May 2023 11:51:46 +0000 Message-ID: <87pm704hpp.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_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=1684237759; a=rsa-sha256; cv=none; b=p5R/pPWfJLWxp799WSMMywvUgD3qESf4+XBG2ir7Xt9B1ehnf87p4FaboOu8EBZHV8cUPo IrYvwb2f2ptSKal+8hQHFa/jss9H/jOZuxPqxQJQ//XNh52xUjVwiH9p4hG6rowQpwpLFh L9FaRvUMACiGpmItPeyITGgYbRuf73wE+mY3UdLBdSuuL21IftLSgbFD9qxH70g4KmHLr3 AUerEV31i0YLPnhIi5a87GG1KPSsQe6SE5FWCZUdbv5t380wAInpbzabY8DSk3ezKl+kfj 3jdiJiprsOyOBQgJTXC6Cwaj6SekSC9wS5SxFlXBhuyL6cmwVlmFGv7EQspmkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=noCnGbnR; 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=1684237759; 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=V9KE8EuyV5aIfO1AI2yqKkc4YqdKlNhB4vMBhFP3nvU=; b=Ne4UnyExGBC9aZOT8njpLrZ3pay9tI2HqXqbZHUob8G4lquMwDyoOjjDmIX7gbzg+gUcAu Cw7lCp6qDK7+NFyXebN239RLBB7krKvCal17o08VVh1NlIJ7dDuPYweFZan7W539XgiRbo 5KP7mlNkmMi+K/K42228g5H5pTR4OJXLDQgwXen3Npvz1SJORDZoZgGdDjvDr6WDdBtRVa L99AsQDn4PX3/RBLs3pZmBY+dranlTP95m0SXcG8a9sVsvevnWkJGdjrxQNxYKOKMb+e5a Meg+HSuPhU9acajLJXNtj6fxNgn1NGSU6Ct0IcPer4KAiaah8yjuC1BDc7Cd+g== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=noCnGbnR; 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: -5.17 X-Spam-Score: -5.17 X-Migadu-Queue-Id: 36E2B28F3B X-TUID: vdAKg0xZ89ci bvchgvbt@mail.com writes: > Does anyone know of a good tutorial on using org-element? I'm finding > the documentation hard to grok. We have https://orgmode.org/worg/dev/org-element-api.html > Alternatively, given a doc like > > * TODO No > ** Uninteresting > - item 1 > - item 2 > > * NEXT My thing > SCHEDULED: <2023-05-16 Tue .+1d> > :PROPERTIES: > :STYLE: habit > :LAST_REPEAT: [2023-05-15 Mon 12:12] > :END: > - State "DONE" from "NEXT" [2023-05-15 Mon 12:12] \\ > I want this > > how would I get at the note entered for the state change, i.e. the "I > want this" list item, in this example (which might be in a drawer, > just doesn't happen to be, here)? You may find `org-log-beginning' useful. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at