From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reuben Garrett Subject: Re: org-sparse-tree using Lisp predicate? Date: Mon, 18 Jan 2016 19:22:17 +0000 Message-ID: References: <8D8020DF9C0D35489A2D30CADCC5AC0819388874@US-EX10MB.ad.checkpoint.com> <8D8020DF9C0D35489A2D30CADCC5AC081938887F@US-EX10MB.ad.checkpoint.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0878dc5ed4050529a0ac5d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLFNk-0005z3-ME for emacs-orgmode@gnu.org; Mon, 18 Jan 2016 14:22:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLFNj-00040q-Ip for emacs-orgmode@gnu.org; Mon, 18 Jan 2016 14:22:28 -0500 Received: from mail-yk0-x233.google.com ([2607:f8b0:4002:c07::233]:33308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLFNj-00040k-E9 for emacs-orgmode@gnu.org; Mon, 18 Jan 2016 14:22:27 -0500 Received: by mail-yk0-x233.google.com with SMTP id k129so601007910yke.0 for ; Mon, 18 Jan 2016 11:22:27 -0800 (PST) In-Reply-To: <8D8020DF9C0D35489A2D30CADCC5AC081938887F@US-EX10MB.ad.checkpoint.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --94eb2c0878dc5ed4050529a0ac5d Content-Type: text/plain; charset=UTF-8 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 :) --94eb2c0878dc5ed4050529a0ac5d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think I figured= it out. This contrived example is simplistic, but it does what I want:

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

Woul= d be a nice built-in sibling for org-map-entries :)

--94eb2c0878dc5ed4050529a0ac5d--