[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [OT] Taskwarrior, nice GTD-oriented CLI thing

From: Dirk-Jan C . Binnema
Subject: Re: [Orgmode] [OT] Taskwarrior, nice GTD-oriented CLI thing
Date: Sat, 05 Feb 2011 11:25:17 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO)


>>>>> On Fri, 04 Feb 2011 09:19:51 +0000, Eric S Fraga ("ESF") wrote:

  >> Imagine being able to pop open a terminal and type '$ org-todo "call so and
  >> so on friday" ~/org/task.org' and be done :)

  ESF> I can already do:

  ESF> : emacsclient -e '(org-capture nil "t")'

  ESF> to invoke my todo capture template.  I have not yet figured out if one
  ESF> could automatically specify the text to go with any particular capture
  ESF> template, however.  A quick look at the code didn't help me.

What about using org-protocol? If you have a capture template like:

       ("x" "store todo item from command line" entry
       (file+headline "todo.org" "Tasks")
       "* TODO %i\n\t%u")

You can use something like:       

   $ emacsclient "org-protocol:/capture:/x/a/b/buy milk"

(it seems org-protocol gets confused when you leave out the the a/b dummy

Best wishes,

Dirk-Jan C. Binnema                  Helsinki, Finland
e:address@hidden           w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C

reply via email to

[Prev in Thread] Current Thread [Next in Thread]