[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Using org-mode as day planner
From: |
Jonathan Leech-Pepin |
Subject: |
Re: [O] Using org-mode as day planner |
Date: |
Fri, 10 Aug 2012 09:47:39 -0400 |
Hi,
On Fri, Aug 10, 2012 at 8:46 AM, John Hendy <address@hidden> wrote:
> On Fri, Aug 10, 2012 at 3:09 AM, Bastien <address@hidden> wrote:
>> Hi Jack,
>>
>> Jack Erwin <address@hidden> writes:
>>
>>> 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.
>>
>> I don't know.
>>
>> If I were you, I would give Org a little more time before trying to
>> make it behave as planner behaves.
>>
>> Also, you might be interested in org-datetree.el, which helps storing
>> things relatively to a date, which sounds a bit more `à la planner'.
>
> Out of curiosity, do date trees currently have any built in search
> functions or sparse tree searching ability? I currently use timestamps
> to capture things under the current month like this:
>
> * Journals
> ** 2012 August
> *** [2012-08-09 Fri] Did something
> - Notes
> - About
> - What I did
>
> This is nice as I need to print my notes for an intellectual property
> documentation notebook. I have a recurring deadline todo to remind me
> to print my orgmode notes and permanently tape them in my IP notebook.
> With timestamps (and the new sparse tree time functionality you
> added!) I can just search for all time stamps after my last completion
> date, mark any relevant with :export: and am on my way. When done, I
> can just replace-string :export: -> "" and the file is back to normal.
>
> Date trees would make this easier as I like using capture... but I
> don't like having to change my .emacs each month to make the
> adjustment of =** July 2012= as the target headline to =August 2012=.
> Date trees are the obvious way to be able to do this, but they don't
> have any of the neat search functionality that I know of.
>
You could try replacing "<Current Month>" with =,(format-time-string
"%B")= in your capture template (just make sure to use a backtick
rather than a quote. The snippet below would provide just such a
capture template that expands to "<Month> <Year>" automatically
without any intervention on a monthly or annual basis.
It doesn't include the inactive timestamp, or any other markings, but
those can be easily added or adapted from the existing template.
#+begin_src emacs-lisp
(setq org-capture-templates
`(("t"
"Test"
entry
(file+headline "~/test/test-capture.org"
,(format "%s %s"
(format-time-string "%B")
(format-time-string "%Y"))))))
#+end_src
>
> Thanks,
> John
>
>>
>>
>> http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=lisp/org-datetree.el;hb=HEAD
>>
>>> 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?
>>
>> A leftover, fixed now, thanks!
>>
>> --
>> Bastien
>>
>
Regards,
--
Jon
- [O] Using org-mode as day planner, Jack Erwin, 2012/08/09
- Re: [O] Using org-mode as day planner, Bastien, 2012/08/10
- Re: [O] Using org-mode as day planner, John Hendy, 2012/08/10
- Re: [O] Using org-mode as day planner,
Jonathan Leech-Pepin <=
- Re: [O] Using org-mode as day planner, Bastien, 2012/08/11
- Re: [O] Using org-mode as day planner, John Hendy, 2012/08/12
- Re: [O] Using org-mode as day planner, Martin Pohlack, 2012/08/13
- Re: [O] Using org-mode as day planner, Jambunathan K, 2012/08/13
- Re: [O] Using org-mode as day planner, Bastien, 2012/08/13
- Re: [O] Using org-mode as day planner, Bastien, 2012/08/14
Re: [O] Using org-mode as day planner, Charles Philip Chan, 2012/08/10