From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: TODO state for heading intersection?
Date: Tue, 10 Jan 2023 12:41:49 -0500 [thread overview]
Message-ID: <87o7r6nv6q.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: A6E72BE5-3267-4F52-A2BE-CF05AD8AF155@gnu.support
Jean Louis <bugs@gnu.support> writes:
> Is there a way to change TODO state for intersection of headings,
> for example, for some headings by tag to change the TODO state at
> once?
IIUC, you can use `org-map-entries` to apply the function `org-todo`
(or a different function if you want) to a collection of nodes in a
file that are specified through tags/properties matches:
(org-map-entries #'org-todo "LEVEL=1" 'file)
will apply it to top-level nodes only.
See
(info "(org)Using the Mapping API")
and
(info "(org)Matching tags and properties")
--
Nick
next prev parent reply other threads:[~2023-01-10 17:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-09 9:24 TODO state for heading intersection? Jean Louis
2023-01-09 22:42 ` David Masterson
2023-01-09 22:45 ` David Masterson
2023-01-10 1:40 ` Samuel Wales
2023-01-11 17:51 ` Jean Louis
2023-01-10 17:41 ` Nick Dokos [this message]
2023-01-11 17:58 ` Jean Louis
2023-01-12 1:05 ` Samuel Wales
2023-01-12 11:03 ` Jean Louis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7r6nv6q.fsf@alphaville.usersys.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).