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

* Re: My new favorite custom agenda command
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Sauer @ 2011-04-15 14:27 UTC (permalink / raw)
  To: Org Mode Mailing List

However, now looking at it, maybe my top agenda calendar should skip
deadlines or just have todays since I have a larger list below.  Hmm,
going to have to think about this some more but I am really liking
this start.

Matt

On Fri, Apr 15, 2011 at 8:59 AM, Matthew Sauer
<improv.philosophy@gmail.com> wrote:
> 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

* Re: My new favorite custom agenda command
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Horn @ 2011-05-01  3:14 UTC (permalink / raw)
  To: Matthew Sauer; +Cc: Org Mode Mailing List

On Fri, Apr 15, 2011 at 9:59 AM, Matthew Sauer
<improv.philosophy@gmail.com> wrote:
> (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 sharing this. I especially like hearing how other people
are creatively using org-mode. Would you mind sharing a bit more?

1) How do you see a "refile.org" file working different than general
inbox? What are your refile headings? Spaces for tasks that don't need
whole files?
2) How do you use this dynamic block? Recently updated org files?

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

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