[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 |
Hi
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
completely?
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
point?
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?
Thanks
Arun
- [O] feature request for empty blocks in customized agenda,
Arun Persaud <=