From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Pechiar Subject: Re: Filter in Captured Column View Date: Tue, 18 Mar 2014 11:08:48 -0300 Message-ID: <20140318140848.GA13287@soloJazz.com> References: <5328304C.2080508@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPuha-00029i-TP for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 10:09:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPuhS-00044e-CP for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 10:09:10 -0400 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:40072) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1WPuhS-00043o-3p for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 10:09:02 -0400 Content-Disposition: inline In-Reply-To: <5328304C.2080508@oracle.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: Mats Kindahl Cc: emacs-orgmode@gnu.org 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: