emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jack Erwin <jack@jugband.net>
To: emacs-orgmode@gnu.org
Subject: Using org-mode as day planner
Date: Thu, 09 Aug 2012 11:41:28 -0600	[thread overview]
Message-ID: <5023F648.1060701@jugband.net> (raw)

Hello,

I am in the process of trying out org-mode after a long stint with
planner.el.  The most obvious difference here is that planner.el uses
"day pages" that keep a running list of tasks versus the more dynamic
nature of org which collects them from a set of arbitrary .org files. 
While I like the org approach quite a bit, I still miss having a place
to record the events and notes of the a day, for use in a weekly/monthly
review.

For this reason, I started using org-daypage.el, which can be found
here: https://github.com/almost/org-daypage.  Like the author, I ran
into the slowdown caused by loading hundreds of day pages in order to
create the agenda view.  I started playing with this a bit, and have
done the following:

1) Create a single page for each year or month (e.g. 2012.org)
2) When a new day page is requested, I create an enclosure in the month
page that looks like this:
#+BEGIN: daypage :day 2012-08-01
* Here are the items...
#+END: daypage
3) Create commands that will find the right day in the file, and then
create an indirect, narrowed buffer to the contents of the day for editing.
4) Add an org-agenda-after-show-hook to load the proper day page view
when switching from the agenda.

So, a couple of questions:

1) Is this a sane approach?  My elisp is average at best, and the
org-mode devs could probably think of a more graceful way to do this.

2) Is there a reason that the org-agenda-after-show-hook is only called
when using org-agenda-goto and not org-agenda-switch-to, or is this a bug?

Thanks in advance.

Regards,
Jack

             reply	other threads:[~2012-08-09 17:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09 17:41 Jack Erwin [this message]
2012-08-10  8:09 ` Using org-mode as day planner Bastien
2012-08-10 12:46   ` John Hendy
2012-08-10 13:47     ` Jonathan Leech-Pepin
2012-08-11  9:34     ` Bastien
2012-08-12 15:48       ` John Hendy
2012-08-13 18:20         ` Martin Pohlack
2012-08-13 18:43           ` Jambunathan K
2012-08-13 18:51             ` Bastien
2012-08-14  8:11         ` Bastien
2012-08-10 11:46 ` Charles Philip Chan
2012-08-10 12:28   ` Charles Philip Chan

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=5023F648.1060701@jugband.net \
    --to=jack@jugband.net \
    --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).