From: Matthew Sauer <improv.philosophy@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: My new favorite custom agenda command
Date: Fri, 15 Apr 2011 08:59:03 -0500 [thread overview]
Message-ID: <BANLkTi=um972mVLJ-1Y5cRifSjWjvqXt1A@mail.gmail.com> (raw)
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---------
next reply other threads:[~2011-04-15 13:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-15 13:59 Matthew Sauer [this message]
2011-04-15 14:27 ` My new favorite custom agenda command Matthew Sauer
2011-05-01 3:14 ` Jeff Horn
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='BANLkTi=um972mVLJ-1Y5cRifSjWjvqXt1A@mail.gmail.com' \
--to=improv.philosophy@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).