From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reuben Garrett Subject: org-sparse-tree using Lisp predicate? Date: Mon, 18 Jan 2016 19:02:39 +0000 Message-ID: References: <8D8020DF9C0D35489A2D30CADCC5AC0819388867@US-EX10MB.ad.checkpoint.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114278902cfdbf0529a06664 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLF4k-00088D-Rp for emacs-orgmode@gnu.org; Mon, 18 Jan 2016 14:02:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLF4k-0007VQ-4j for emacs-orgmode@gnu.org; Mon, 18 Jan 2016 14:02:50 -0500 Received: from mail-yk0-x22d.google.com ([2607:f8b0:4002:c07::22d]:33224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLF4k-0007VM-1K for emacs-orgmode@gnu.org; Mon, 18 Jan 2016 14:02:50 -0500 Received: by mail-yk0-x22d.google.com with SMTP id k129so600449099yke.0 for ; Mon, 18 Jan 2016 11:02:49 -0800 (PST) In-Reply-To: <8D8020DF9C0D35489A2D30CADCC5AC0819388867@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 --001a114278902cfdbf0529a06664 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Is there functionality to build a sparse tree (as with org-sparse-tree) using a predicate from Lisp code? I want something like org-map-entries, but for narrowing/sparsing. Diving through the code, I think (org-scan-tags 'sparse-tree (lambda () =E2=80=A6 )) might be what I want, but am curious i= f anyone else has suggestions from working that use-case. -- Best regards, Reuben Garrett --001a114278902cfdbf0529a06664 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Is there functiona= lity to build a sparse tree (as with org-sparse-tree) using a predicate fro= m Lisp code? I want something like org-map-entries, but for narrowing/spars= ing. Diving through the code, I think (org-scan-tags 'sparse-tree (lamb= da () =E2=80=A6 )) might be what I want, but am curious if anyone else has su= ggestions from working that use-case.

--
Best regards,
Reuben Garrett

--001a114278902cfdbf0529a06664--