From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: Using org-mode as day planner Date: Fri, 10 Aug 2012 09:47:39 -0400 Message-ID: References: <5023F648.1060701@jugband.net> <871ujf4193.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzpZ3-000560-Ji for emacs-orgmode@gnu.org; Fri, 10 Aug 2012 09:47:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzpYy-0007RR-Iz for emacs-orgmode@gnu.org; Fri, 10 Aug 2012 09:47:45 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: Bastien , emacs-orgmode@gnu.org, Jack Erwin Hi, On Fri, Aug 10, 2012 at 8:46 AM, John Hendy wrote: > On Fri, Aug 10, 2012 at 3:09 AM, Bastien wrote: >> Hi Jack, >> >> Jack Erwin 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 `=C3=A0 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 =3D** July 2012=3D as the target headline to =3DAugust 2012= =3D. > 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 "" with =3D,(format-time-string "%B")=3D 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 " " 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=3Dorg-mode.git;a=3Dblob_plain;f=3Dlisp/org-dat= etree.el;hb=3DHEAD >> >>> 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