emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* My new favorite custom agenda command
@ 2011-04-15 13:59 Matthew Sauer
  2011-04-15 14:27 ` Matthew Sauer
  2011-05-01  3:14 ` Jeff Horn
  0 siblings, 2 replies; 3+ messages in thread
From: Matthew Sauer @ 2011-04-15 13:59 UTC (permalink / raw)
  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---------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-01  3:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-15 13:59 My new favorite custom agenda command Matthew Sauer
2011-04-15 14:27 ` Matthew Sauer
2011-05-01  3:14 ` Jeff Horn

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).