emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Hide empty custom agenda sections
Date: Mon, 17 Jun 2013 06:17:35 -0400	[thread overview]
Message-ID: <CAFdBzEpoWTLn0+mramh2pvc28VNAdfQxFAttvrd=p-gVNfxd6w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

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 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 space (header separator =====, header
"REFILE", and a blank line).

I haven't seen this feature. Does a command exist that already supports
this, or do I need to develop this myself?

Thanks,

   -k.

[-- Attachment #2: Type: text/html, Size: 1099 bytes --]

             reply	other threads:[~2013-06-17 10:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-17 10:17 Ken Mankoff [this message]
2013-06-27 14:44 ` Hide empty custom agenda sections Bastien
2013-06-27 15:18   ` Ken Mankoff
2013-06-28 16:34     ` Ken Mankoff
2013-07-01 13:38     ` Bastien
2013-07-01 14:38       ` Ken Mankoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFdBzEpoWTLn0+mramh2pvc28VNAdfQxFAttvrd=p-gVNfxd6w@mail.gmail.com' \
    --to=mankoff@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).