emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathan Neff <nathan.neff@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Custom Agenda Command - change clock/closed?
Date: Sat, 30 Jun 2012 13:45:33 -0500	[thread overview]
Message-ID: <CAC=HedATTouJnRgpZAvMDpmG6FuwJV1efWYvxer5tUDjirodsQ@mail.gmail.com> (raw)

I have a custom agenda command that shows
what happened today.  I'd like to be able to toggle the showing
of closed items on the fly.

Here's my custom agenda command:

(setq org-agenda-custom-commands '(("7" "Timeline" ((agenda "" ))
      ((org-agenda-ndays 1)
       (org-agenda-show-log t)
       (org-agenda-log-mode-items '(clock closed))
       (org-agenda-clockreport-mode t)
       (org-agenda-entry-types '())))))

However, when I run this agenda view, and I set the value
org-agenda-log-mode-items '(clock) then I still see the closed items.

Is there a way to remove the closed items on the fly with a custom
agenda view, or
is a custom agenda view basically set in stone once it's run?

Thanks,
--Nate

                 reply	other threads:[~2012-06-30 18:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAC=HedATTouJnRgpZAvMDpmG6FuwJV1efWYvxer5tUDjirodsQ@mail.gmail.com' \
    --to=nathan.neff@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).