emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Reuben Garrett <reubengarrett@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-sparse-tree using Lisp predicate?
Date: Mon, 18 Jan 2016 19:22:17 +0000	[thread overview]
Message-ID: <CAA-SZJEo9szQO0voz3uAP+B_E-NQx=t=6DK5HS2vmu=KsWZOgQ@mail.gmail.com> (raw)
In-Reply-To: <8D8020DF9C0D35489A2D30CADCC5AC081938887F@US-EX10MB.ad.checkpoint.com>

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

I think I figured it out. This contrived example is simplistic, but it does
what I want:

(with-current-buffer "something.org"
  (org-scan-tags 'sparse-tree '(not (null (org-entry-get (point)
"some_property"))) t))

Would be a nice built-in sibling for org-map-entries :)

[-- Attachment #2: Type: text/html, Size: 553 bytes --]

       reply	other threads:[~2016-01-18 19:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8D8020DF9C0D35489A2D30CADCC5AC0819388874@US-EX10MB.ad.checkpoint.com>
     [not found] ` <8D8020DF9C0D35489A2D30CADCC5AC081938887F@US-EX10MB.ad.checkpoint.com>
2016-01-18 19:22   ` Reuben Garrett [this message]
     [not found] <8D8020DF9C0D35489A2D30CADCC5AC0819388867@US-EX10MB.ad.checkpoint.com>
2016-01-18 19:02 ` org-sparse-tree using Lisp predicate? Reuben Garrett

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='CAA-SZJEo9szQO0voz3uAP+B_E-NQx=t=6DK5HS2vmu=KsWZOgQ@mail.gmail.com' \
    --to=reubengarrett@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).