From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joon Ro Subject: Re: :minlevel for columnview dynamic block Date: Mon, 16 Nov 2015 08:01:37 -0800 Message-ID: References: , <87bnax568j.fsf@nicolasgoaziou.fr>, , Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_36a2f692-9feb-42a7-b275-baf63ffceb3f_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyMDw-00035a-Mt for emacs-orgmode@gnu.org; Mon, 16 Nov 2015 11:01:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyMDr-0002pF-KJ for emacs-orgmode@gnu.org; Mon, 16 Nov 2015 11:01:44 -0500 Received: from col004-omc2s6.hotmail.com ([65.55.34.80]:56506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyMDr-0002p2-CM for emacs-orgmode@gnu.org; Mon, 16 Nov 2015 11:01:39 -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 --_36a2f692-9feb-42a7-b275-baf63ffceb3f_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable >=20 > http://orgmode.org/worg/org-faq.html#ecm >=20 I sent this email yesterday but I'm sending it again because it seems it di= d not go through - I'm sorry if this is a duplicate message. 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.* C= olumnview 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| ITE= M | Variable ||-----------------+----------|| ** Subheading 1 | = 1 || ** Subheading 2 | 2 |#+END** Subheading 1:PROPERTIES::Na= me: Subheading 1:Variable: 1:END:** Subheading 2:PROPERTIES::Name: = Subheading 2:Variable: 2:END:* Columnview without ITEM in columns:PROPERTIE= S::COLUMNS: %Name %Variable:END:- When ITEM is not in columns=2C columnvie= w generates one empty line on the top:#+BEGIN: columnview :hlines 1 :id loc= al :maxlevel 2 :skip-empty-rows t| Name | Variable ||--------------= +----------|| | || 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: = --_36a2f692-9feb-42a7-b275-baf63ffceb3f_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
>=3B
>=3B http://or= gmode.org/worg/org-faq.html#ecm
>=3B

I s= ent this email yesterday but I'm sending it again because it seems it did n= ot go through - I'm sorry if this is a duplicate message.


I found that =3Bskip-empty-rows works correctly only if&nb= sp=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 generates an emp= ty line for the parent heading.


* Columnview with ITEM in columns
:PROPERTIES:
:COLUMNS:  =3B%ITEM %Variable
:END:
- This correctly ski= ps the parent headline because ITEM is one of the columns
#+BEGIN: columnview :hlines 1 :id local :maxle= vel 2 :skip-empty-rows t
| ITEM=  =3B  =3B  =3B  =3B  =3B  =3B| Variable |
|-----------------+----------|
| ** Subheading 1 |  =3B  =3B &= nbsp=3B  =3B1 |
| ** Subhea= ding 2 |  =3B  =3B  =3B  =3B2 |
#+END
** Subhe= ading 1
:PROPERTIES:
:Name:  =3B  =3B Subheading 1
:Variable: 1
:END:
**= Subheading 2
:PROPERTIES:
:Name:  =3B  =3B Subheading= 2
:Variable: 2
:END:
* Columnview without ITEM in columns
:PROPERTIES:
:COLUMN= S:  =3B%Name %Variable
:END= :
- When ITEM is not in columns= =2C columnview generates one empty line on the top:
#+BEGIN: columnview :hlines 1 :id local :maxlevel 2 :s= kip-empty-rows t
| Name  = =3B  =3B  =3B  =3B | Variable |
|--------------+----------|
|  =3B  =3B  =3B  =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 Subheading 1
:Variable: 1
:EN= D:
** Subheading 2
:PROPERTIES:
:Name:  =3B  =3B Subheading 2
:Variable: 2
:END:
= --_36a2f692-9feb-42a7-b275-baf63ffceb3f_--