Re: [O] Hide empty custom agenda sections

2013-07-01 Thread Bastien
Hi Ken, Ken Mankoff mank...@gmail.com writes: Here is my custom agenda section. I'd like to have the DEADLINE and the REFILE only show up if items exist in those sections, not when they are empty. Actually, I guess I'd like this for all sections. I gave another quick look but this would be

Re: [O] Hide empty custom agenda sections

2013-07-01 Thread Ken Mankoff
On Mon, Jul 1, 2013 at 9:38 AM, Bastien b...@gnu.org wrote: I gave another quick look but this would be too complex to implement, even if I agree this would be nice to have. Ok. Oh well. Thank you for considering and replying. -k.

Re: [O] Hide empty custom agenda sections

2013-06-28 Thread Ken Mankoff
So I tried adding a (nil) in the custom agenda section. If this were allowed (presumably ignored), I could write a function that returns nil unless there were items tagged REFILE, in which case it would return (tags REFILE ((org-agenda-overriding-header REFILE))) But having (nil) caused an

Re: [O] Hide empty custom agenda sections

2013-06-27 Thread Bastien
Hi Ken, Ken Mankoff mank...@gmail.com writes: Right now I have this at the bottom of my custom agenda, and it is therefore often off-screen. I would like to have it at the top, but only appear when there are items under this section. Most of the time it is there and three lines are wasting

Re: [O] Hide empty custom agenda sections

2013-06-27 Thread Ken Mankoff
Hi Bastien, Here is my custom agenda section. I'd like to have the DEADLINE and the REFILE only show up if items exist in those sections, not when they are empty. Actually, I guess I'd like this for all sections. (setq org-agenda-custom-commands '((c My Custom Agenda ( (tags

[O] Hide empty custom agenda sections

2013-06-17 Thread Ken Mankoff
Hi, I have a section of my custom agenda that shows items synced through mobile-org. My mobile.org file has #+FILETAGS: REFILE Which means a custom agenda command of (tags REFILE ((org-agenda-overriding-header REFILE))) shows all items from that file. Right now I have this at the bottom of