From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk-Jan C. Binnema Subject: Re: [OT] Taskwarrior, nice GTD-oriented CLI thing Date: Sat, 05 Feb 2011 11:25:17 +0200 Message-ID: <20110205092517.69D534560BE@djcbsoftware.nl> References: <4D4B52F8.30203@gmail.com> <877hdgi2bs.fsf@ucl.ac.uk> Reply-To: djcb@djcbsoftware.nl Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=48032 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PleOY-00060p-Mo for emacs-orgmode@gnu.org; Sat, 05 Feb 2011 04:25:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PleOW-0001ez-Vx for emacs-orgmode@gnu.org; Sat, 05 Feb 2011 04:25:30 -0500 Received: from vs13.mail.saunalahti.fi ([195.197.172.103]:56739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PleOW-0001e5-HY for emacs-orgmode@gnu.org; Sat, 05 Feb 2011 04:25:28 -0500 In-Reply-To: <877hdgi2bs.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: Org Mode , Marcelo de Moraes Serpa Hi, >>>>> 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 args) Best wishes, Dirk. -- Dirk-Jan C. Binnema Helsinki, Finland e:djcb@djcbsoftware.nl w:www.djcbsoftware.nl pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C