From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mats Kindahl Subject: Re: Filter in Captured Column View Date: Tue, 18 Mar 2014 15:19:18 +0100 Message-ID: <532855E6.9010605@oracle.com> References: <5328304C.2080508@oracle.com> <20140318140848.GA13287@soloJazz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPurf-0008W7-EL for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 10:19:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPurY-0007kU-2w for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 10:19:35 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:22247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPurX-0007jx-Rl for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 10:19:27 -0400 In-Reply-To: <20140318140848.GA13287@soloJazz.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: Juan Pechiar , emacs-orgmode@gnu.org Thanks Juan, It seems to work, so I'll use that for now, but having some sort of filtering supported would be a great feature. I'll play around a little and see if that can be added. Best wishes, Mats Kindahl On 03/18/2014 03:08 PM, Juan Pechiar wrote: > Hi Mats, > > You can add > > :skip-empty-rows t > > to the columnview header, so that rows with no Status property will > not show. > > This, however, will also hide the "Release" headers. Workaround is to > add a dummy 'Status' property to these. > > Doc here: http://orgmode.org/manual/Capturing-column-view.html > > .j. > > On Tue, Mar 18, 2014 at 12:38:52PM +0100, Mats Kindahl wrote: >> I am using the capture column view to capture the contents of a subtree >> at the beginning of the subtree. However, there are a lot of sections >> that do not contain anything interesting for the capture in question, so >> I would like to filter out anything except trees with certain tags. >> >> So, for the example below, it shows some headers at the beginning that I >> would like to avoid showing. Only in information on the individual >> releases should be shown as groups. >> >> Best wishes, >> Mats Kindahl >> >> * Report >> :PROPERTIES: >> :COLUMNS: %ITEM %Status >> :END: >> >> #+BEGIN: columnview :hlines 3 :id local >> | ITEM | Status | >> |--------------------------+-----------| >> | * Report | | >> |--------------------------+-----------| >> | ** Uninteresting summary | | >> |--------------------------+-----------| >> | ** Details | | >> |--------------------------+-----------| >> | *** Release 1 | | >> | **** Feature #1 | Design | >> |--------------------------+-----------| >> | *** Release 2 | | >> | **** Feature #2 | Confused | >> | **** Feature #3 | Completed | >> | **** Feature #4 | Coding | >> |--------------------------+-----------| >> | *** Release 3 | | >> | **** Feature #5 | Baffled | >> #+END: >> >> ** Uninteresting summary >> ** Details >> *** Release 1 >> >> **** Feature #1 >> :PROPERTIES: >> :Status: Design >> :END: >> >> *** Release 2 >> >> **** Feature #2 >> :PROPERTIES: >> :Status: Confused >> :END: >> >> **** Feature #3 >> :PROPERTIES: >> :Status: Completed >> :END: >> >> **** Feature #4 >> :PROPERTIES: >> :Status: Coding >> :END: >> >> *** Release 3 >> >> **** Feature #5 >> :PROPERTIES: >> :Status: Baffled >> :END: -- Senior Principal Software Developer Oracle, MySQL Department