[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] feature request for empty blocks in customized agenda

From: Arun Persaud
Subject: [O] feature request for empty blocks in customized agenda
Date: Sat, 13 Jun 2015 13:11:57 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0


I just started using a customized agenda with many blocks and some of my
blocks are often empty. However, org-mode still insert the header and
the separator between blocks. Is there a way to skip empty blocks

I had a quick look at org-agenda.el and it seems that it directly
inserts text, e.g. the header, into the buffer, before it even knows how
many items it added. I guess one could remember point at the beginning,
count the items inserted and if that's 0, delete backwards to the saved
My elisp knowledge is probably not good enough to add this though and it
also seems one would have to add it at different location
(org-agenda-list, org-agenda-todo, etc).

I also checked org-agenda-compact-blocks, but that removes the separator
from all blocks, which is not what I want.

Any chance to get something like this added?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]