* :minlevel for columnview dynamic block
@ 2015-11-14 3:53 Joon Ro
2015-11-14 8:34 ` Nicolas Goaziou
0 siblings, 1 reply; 11+ messages in thread
From: Joon Ro @ 2015-11-14 3:53 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 393 bytes --]
Hi,
I use columnview a lot with :id option to generate a table from sub-headlines of the tree that has an :ID: property. The issue is that even with :skip-empty-rows t option, the generated table always have one empty line on the top, for the headline for the tree itself.
It would be great to have something like a :minlevel option so I can exclude the tree headline.
Best,Joon
[-- Attachment #2: Type: text/html, Size: 914 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: :minlevel for columnview dynamic block
2015-11-14 3:53 :minlevel for columnview dynamic block Joon Ro
@ 2015-11-14 8:34 ` Nicolas Goaziou
2015-11-14 15:05 ` Joon Ro
2015-11-14 22:15 ` Joon Ro
0 siblings, 2 replies; 11+ messages in thread
From: Nicolas Goaziou @ 2015-11-14 8:34 UTC (permalink / raw)
To: Joon Ro; +Cc: emacs-orgmode@gnu.org
Hello,
Joon Ro <joon.ro@outlook.com> writes:
> I use columnview a lot with :id option to generate a table from
> sub-headlines of the tree that has an :ID: property. The issue is that
> even with :skip-empty-rows t option, the generated table always have
> one empty line on the top, for the headline for the tree itself.
> It would be great to have something like a :minlevel option so I can
> exclude the tree headline.
Could you provide an ECM? Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: :minlevel for columnview dynamic block
2015-11-14 8:34 ` Nicolas Goaziou
@ 2015-11-14 15:05 ` Joon Ro
2015-11-15 4:34 ` Nick Dokos
2015-11-15 5:51 ` Puneeth Chaganti
2015-11-14 22:15 ` Joon Ro
1 sibling, 2 replies; 11+ messages in thread
From: Joon Ro @ 2015-11-14 15:05 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 92 bytes --]
>
> Could you provide an ECM? Thank you.
>
I'm sorry, what is an ECM?
[-- Attachment #2: Type: text/html, Size: 363 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: :minlevel for columnview dynamic block
2015-11-14 8:34 ` Nicolas Goaziou
2015-11-14 15:05 ` Joon Ro
@ 2015-11-14 22:15 ` Joon Ro
1 sibling, 0 replies; 11+ messages in thread
From: Joon Ro @ 2015-11-14 22:15 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 96 bytes --]
>
> Could you provide an ECM? Thank you.
>
I'm sorry, what is an ECM?
-Joon
[-- Attachment #2: Type: text/html, Size: 760 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: :minlevel for columnview dynamic block
2015-11-14 15:05 ` Joon Ro
@ 2015-11-15 4:34 ` Nick Dokos
2015-11-15 5:51 ` Puneeth Chaganti
1 sibling, 0 replies; 11+ messages in thread
From: Nick Dokos @ 2015-11-15 4:34 UTC (permalink / raw)
To: emacs-orgmode
Joon Ro <joon.ro@outlook.com> writes:
>>
>> Could you provide an ECM? Thank you.
>>
>
> I'm sorry, what is an ECM?
>
A minimal complete example reproducing the problem.
See
http://orgmode.org/worg/org-faq.html#ecm
--
Nick
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: :minlevel for columnview dynamic block
2015-11-14 15:05 ` Joon Ro
2015-11-15 4:34 ` Nick Dokos
@ 2015-11-15 5:51 ` Puneeth Chaganti
2015-11-15 19:53 ` Joon Ro
` (2 more replies)
1 sibling, 3 replies; 11+ messages in thread
From: Puneeth Chaganti @ 2015-11-15 5:51 UTC (permalink / raw)
To: Joon Ro; +Cc: emacs-orgmode@gnu.org, Nicolas Goaziou
On Sat, Nov 14, 2015 at 8:35 PM, Joon Ro <joon.ro@outlook.com> wrote:
> I'm sorry, what is an ECM?
http://orgmode.org/worg/org-faq.html#ecm
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: :minlevel for columnview dynamic block
2015-11-15 5:51 ` Puneeth Chaganti
@ 2015-11-15 19:53 ` Joon Ro
2015-11-18 22:40 ` Nicolas Goaziou
2015-11-15 20:02 ` Joon Ro
2015-11-16 16:01 ` Joon Ro
2 siblings, 1 reply; 11+ messages in thread
From: Joon Ro @ 2015-11-15 19:53 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]
> 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, 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:
[-- Attachment #2: Type: text/html, Size: 2638 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: :minlevel for columnview dynamic block
2015-11-15 5:51 ` Puneeth Chaganti
2015-11-15 19:53 ` Joon Ro
@ 2015-11-15 20:02 ` Joon Ro
2015-11-16 16:01 ` Joon Ro
2 siblings, 0 replies; 11+ messages in thread
From: Joon Ro @ 2015-11-15 20:02 UTC (permalink / raw)
To: Puneeth Chaganti; +Cc: emacs-orgmode@gnu.org, Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]
> http://orgmode.org/worg/org-faq.html#ecmThank you. 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:
[-- Attachment #2: Type: text/html, Size: 4751 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: :minlevel for columnview dynamic block
2015-11-15 5:51 ` Puneeth Chaganti
2015-11-15 19:53 ` Joon Ro
2015-11-15 20:02 ` Joon Ro
@ 2015-11-16 16:01 ` Joon Ro
2 siblings, 0 replies; 11+ messages in thread
From: Joon Ro @ 2015-11-16 16:01 UTC (permalink / raw)
To: Puneeth Chaganti; +Cc: emacs-orgmode@gnu.org, Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]
>
> http://orgmode.org/worg/org-faq.html#ecm
>
I sent this email yesterday but I'm sending it again because it seems it did 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, 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:
[-- Attachment #2: Type: text/html, Size: 4467 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: :minlevel for columnview dynamic block
2015-11-15 19:53 ` Joon Ro
@ 2015-11-18 22:40 ` Nicolas Goaziou
2015-11-19 4:33 ` Joon Ro
0 siblings, 1 reply; 11+ messages in thread
From: Nicolas Goaziou @ 2015-11-18 22:40 UTC (permalink / raw)
To: Joon Ro; +Cc: emacs-orgmode@gnu.org
Hello,
Joon Ro <joon.ro@outlook.com> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: :minlevel for columnview dynamic block
2015-11-18 22:40 ` Nicolas Goaziou
@ 2015-11-19 4:33 ` Joon Ro
0 siblings, 0 replies; 11+ messages in thread
From: Joon Ro @ 2015-11-19 4:33 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
>
> Fixed. Thank you.
>
Thank you so much for the quick fix! It now works perfectly.
Best,Joon
[-- Attachment #2: Type: text/html, Size: 394 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-11-19 4:33 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-14 3:53 :minlevel for columnview dynamic block Joon Ro
2015-11-14 8:34 ` Nicolas Goaziou
2015-11-14 15:05 ` Joon Ro
2015-11-15 4:34 ` Nick Dokos
2015-11-15 5:51 ` Puneeth Chaganti
2015-11-15 19:53 ` Joon Ro
2015-11-18 22:40 ` Nicolas Goaziou
2015-11-19 4:33 ` Joon Ro
2015-11-15 20:02 ` Joon Ro
2015-11-16 16:01 ` Joon Ro
2015-11-14 22:15 ` Joon Ro
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).