From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: :minlevel for columnview dynamic block Date: Wed, 18 Nov 2015 23:40:33 +0100 Message-ID: <87lh9vkk2m.fsf@nicolasgoaziou.fr> References: <87bnax568j.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzBNL-000188-VZ for emacs-orgmode@gnu.org; Wed, 18 Nov 2015 17:38:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzBNL-0002ME-0e for emacs-orgmode@gnu.org; Wed, 18 Nov 2015 17:38:51 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:41700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzBNK-0002M2-Qk for emacs-orgmode@gnu.org; Wed, 18 Nov 2015 17:38:50 -0500 In-Reply-To: (Joon Ro's message of "Sun, 15 Nov 2015 11:53:36 -0800") 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: Joon Ro Cc: "emacs-orgmode@gnu.org" Hello, Joon Ro writes: > I found that skip-empty-rows works correctly only if ITEM is in the > COLUMNS property. Here is an ECM :). As you can see, when ITEM is not > included in COLUMNS property, it generates an empty line for the > parent heading. > > * Columnview with ITEM in columns:PROPERTIES::COLUMNS: %ITEM > %Variable:END:- This correctly skips the parent headline because ITEM > is one of the columns#+BEGIN: columnview :hlines 1 :id local :maxlevel > 2 :skip-empty-rows t| ITEM | Variable ||-----------------+----------|| > ** Subheading 1 | 1 || ** Subheading 2 | 2 |#+END** Subheading > 1:PROPERTIES::Name: Subheading 1:Variable: 1:END:** Subheading > 2:PROPERTIES::Name: Subheading 2:Variable: 2:END:* Columnview without > ITEM in columns:PROPERTIES::COLUMNS: %Name %Variable:END:- When ITEM > is not in columns, columnview generates one empty line on the > top:#+BEGIN: columnview :hlines 1 :id local :maxlevel > 2 :skip-empty-rows t| Name | Variable ||--------------+----------|| | > || Subheading 1 | 1 || Subheading 2 | 2 |#+END** Subheading > 1:PROPERTIES::Name: Subheading 1:Variable: 1:END:** Subheading > 2:PROPERTIES::Name: Subheading 2:Variable: 2:END: Fixed. Thank you. Regards, -- Nicolas Goaziou