From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Sauer Subject: My new favorite custom agenda command Date: Fri, 15 Apr 2011 08:59:03 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAjYD-0001Zq-AA for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 09:59:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAjY9-0000nc-M4 for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 09:59:09 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:43919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAjY9-0000nL-Fp for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 09:59:05 -0400 Received: by ewy9 with SMTP id 9so859314ewy.0 for ; Fri, 15 Apr 2011 06:59:04 -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: Org Mode Mailing List I have been working on learning and playing with some lisp and looking through the amazing powerfulness of orgmode. This is my new favorite agenda command. I use it as the right hand side of my startup buffers (I have two). On the left I have my refile.org file (the "I am not sure where I am putting this item but I need a container for it") that is a temporary storage buffer I need to try to keep empty except for my refile headlines and a dynamic block showing recently updated files. On the right is the following calendar, gives me a good overview. Of course for some users the deadline warning days might need to be smaller for unscheduled deadlines. Thanks for all the help and good ideas I have seen flowing through the list that has helped me get to where I can start hacking orgmode to be what I want/need it to be. Matt ----------cut here----------cut here-------------start-------- '(org-agenda-custom-commands (quote ( ("s" "Startup View" ( (agenda "" ;;short calendar '(org-agenda-ndays 2) ;; Number of Days of Agenda Calendar to Display '(org-deadline-warning-days 7)) ;; Show all deadlines for next week (agenda "" ;; how many days until an item is due if I haven't scheduled to work on it ((org-agenda-time-grid nil) (org-deadline-warning-days 365) ;; Shows all deadlines for next nnn days (org-agenda-entry-types '(:deadline)) ;; Look just for items if they have a deadline (org-agenda-skip-entry-if 'scheduled) ;; Skips items that are scheduled (org-agenda-ndays 1) ;; Show just today (org-agenda-overriding-header "Unscheduled upcoming deadlines:") ;;Meaningful name )) (todo "" '(org-agenda-overriding-header "Unscheduled No Deadline TODO: "));;TODO items not scheduled nor deadlined ))))) ----------cut here----------------cut here----------------end---------