From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joon Ro Subject: Re: :minlevel for columnview dynamic block Date: Sun, 15 Nov 2015 12:02:51 -0800 Message-ID: References: <87bnax568j.fsf@nicolasgoaziou.fr>, , Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_1fabd9cc-0420-4614-a7c3-4b6c57fd8fb8_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zy3Vo-0005U6-Qc for emacs-orgmode@gnu.org; Sun, 15 Nov 2015 15:02:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zy3Vl-0004Cs-LP for emacs-orgmode@gnu.org; Sun, 15 Nov 2015 15:02:56 -0500 Received: from col004-omc2s11.hotmail.com ([65.55.34.85]:49577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zy3Vl-0004Ch-DS for emacs-orgmode@gnu.org; Sun, 15 Nov 2015 15:02:53 -0500 In-Reply-To: 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: Puneeth Chaganti Cc: "emacs-orgmode@gnu.org" , Nicolas Goaziou --_1fabd9cc-0420-4614-a7c3-4b6c57fd8fb8_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > http://orgmode.org/worg/org-faq.html#ecmThank you. I found that skip-empt= y-rows works correctly only if ITEM is in the COLUMNS property. Here is an = ECM :). As you can see=2C when ITEM is not included in COLUMNS property=2C = it generates an empty line for the parent heading.* Columnview with ITEM in= columns:PROPERTIES::COLUMNS: %ITEM %Variable:END:- This correctly skips t= he parent headline because ITEM is one of the columns#+BEGIN: columnview :h= lines 1 :id local :maxlevel 2 :skip-empty-rows t| ITEM | Variabl= e ||-----------------+----------|| ** Subheading 1 | 1 || ** Subhead= ing 2 | 2 |#+END** Subheading 1:PROPERTIES::Name: Subheading 1:V= ariable: 1:END:** Subheading 2:PROPERTIES::Name: Subheading 2:Variable:= 2:END:* Columnview without ITEM in columns:PROPERTIES::COLUMNS: %Name %Va= riable:END:- When ITEM is not in columns=2C columnview generates one empty = line on the top:#+BEGIN: columnview :hlines 1 :id local :maxlevel 2 :skip-e= mpty-rows t| Name | Variable ||--------------+----------|| = | || Subheading 1 | 1 || Subheading 2 | 2 |#+EN= D** Subheading 1:PROPERTIES::Name: Subheading 1:Variable: 1:END:** Subh= eading 2:PROPERTIES::Name: Subheading 2:Variable: 2:END: = --_1fabd9cc-0420-4614-a7c3-4b6c57fd8fb8_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable


* Columnview without ITEM in columns
:PROPERTIES:
:COLUMNS:  =3B%Name %Variable
:END:
- When ITEM is not in columns=2C columnview generates one empty line o= n the top:
#+BEGIN: columnview = :hlines 1 :id local :maxlevel 2 :skip-empty-rows t
| Name  =3B  =3B  =3B  =3B | Variable |=
|--------------+----------|
|  =3B  =3B  =3B &nbs= p=3B  =3B  =3B  =3B|  =3B  =3B  =3B  =3B  = =3B|
| Subheading 1 |  =3B =  =3B  =3B  =3B1 |
|= Subheading 2 |  =3B  =3B  =3B  =3B2 |
#+END
*= * Subheading 1
:PROPERTIES:
:Name:  =3B  =3B Subheadin= g 1
:Variable: 1
:END:
** Subheading 2
:PROPERTIE= S:
:Name:  =3B  =3B Sub= heading 2
:Variable: 2
:END:


= --_1fabd9cc-0420-4614-a7c3-4b6c57fd8fb8_--