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 11:53:36 -0800 Message-ID: References: <87bnax568j.fsf@nicolasgoaziou.fr>, , Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_9b0dfe19-7c8f-4729-a497-dab4e2b7da1e_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zy3Ms-0001p0-5K for emacs-orgmode@gnu.org; Sun, 15 Nov 2015 14:53:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zy3Mn-0002Yr-Tk for emacs-orgmode@gnu.org; Sun, 15 Nov 2015 14:53:42 -0500 Received: from col004-omc1s19.hotmail.com ([65.55.34.29]:57812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zy3Mn-0002Yh-Ke for emacs-orgmode@gnu.org; Sun, 15 Nov 2015 14:53:37 -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: "emacs-orgmode@gnu.org" --_9b0dfe19-7c8f-4729-a497-dab4e2b7da1e_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > http://orgmode.org/worg/org-faq.html#ecm I found that skip-empty-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 i= n 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 the parent headline because ITEM is one of the colu= mns#+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:PROPER= TIES::COLUMNS: %Name %Variable:END:- When ITEM is not in columns=2C column= view generates one empty line on the top:#+BEGIN: columnview :hlines 1 :id = local :maxlevel 2 :skip-empty-rows t| Name | Variable ||-----------= ---+----------|| | || Subheading 1 | 1 || Subh= eading 2 | 2 |#+END** Subheading 1:PROPERTIES::Name: Subheading = 1:Variable: 1:END:** Subheading 2:PROPERTIES::Name: Subheading 2:Variab= le: 2:END: = --_9b0dfe19-7c8f-4729-a497-dab4e2b7da1e_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
>=3B http://orgmode.org/worg/org-faq.html#ecm

I found that =3Bskip-empty-rows works correctly only if =3BITEM is in the COLUMNS property. =3BHere is an ECM :). =3B
As = you can see=2C when ITEM is not included in COLUMNS property=2C it generate= s an empty line for the parent heading.

<= br>
* Columnview with ITEM in columns
= :PROPERTIES:
:COLUMNS:  =3B%ITEM %Variable
:END:
- This correctly skips the parent headline because ITEM is one of t= he columns
#+BEGIN: columnview :hlines 1 :id local :maxlevel 2 :s= kip-empty-rows t
| ITEM  =3B  =3B  =3B  =3B  = =3B  =3B| Variable |
|-----------------+----------|
| ** Subheading 1 |  =3B  =3B  =3B  =3B1 |
| ** = Subheading 2 |  =3B  =3B  =3B  =3B2 |
#+END
=
** Subheading 1
:PROPERTIES:
:Name:  =3B  = =3B Subheading 1
:Variable: 1
:END:
** Subhea= ding 2
:PROPERTIES:
:Name:  =3B  =3B Subheading= 2
:Variable: 2
:END:
* Columnview without IT= EM in columns
:PROPERTIES:
:COLUMNS:  =3B%Name %Var= iable
: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-empty-rows t
| Name  =3B  = =3B  =3B  =3B | Variable |
|--------------+----------|
|  =3B  =3B  =3B  =3B  =3B  =3B  =3B| &= nbsp=3B  =3B  =3B  =3B  =3B|
| Subheading 1 | &nb= sp=3B  =3B  =3B  =3B1 |
| Subheading 2 |  =3B &nb= sp=3B  =3B  =3B2 |
#+END
** Subheading 1
<= div>:PROPERTIES:
:Name:  =3B  =3B Subheading 1
= :Variable: 1
:END:
** Subheading 2
:PROPERTIE= S:
:Name:  =3B  =3B Subheading 2
:Variable: 2
:END:

= --_9b0dfe19-7c8f-4729-a497-dab4e2b7da1e_--