From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Custom Agenda Command - change clock/closed? Date: Sat, 30 Jun 2012 13:45:33 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sl2fr-0008J9-Kr for emacs-orgmode@gnu.org; Sat, 30 Jun 2012 14:45:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sl2fp-0000UM-UE for emacs-orgmode@gnu.org; Sat, 30 Jun 2012 14:45:39 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:36447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sl2fp-0000U9-Ja for emacs-orgmode@gnu.org; Sat, 30 Jun 2012 14:45:37 -0400 Received: by lbjn8 with SMTP id n8so7085232lbj.0 for ; Sat, 30 Jun 2012 11:45:33 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode 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