emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dirk-Jan C. Binnema <djcb.bulk@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: Org Mode <emacs-orgmode@gnu.org>,
	Marcelo de Moraes Serpa <celoserpa@gmail.com>
Subject: Re: [OT] Taskwarrior, nice GTD-oriented CLI thing
Date: Sat, 05 Feb 2011 11:25:17 +0200	[thread overview]
Message-ID: <20110205092517.69D534560BE@djcbsoftware.nl> (raw)
In-Reply-To: <877hdgi2bs.fsf@ucl.ac.uk>

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

  reply	other threads:[~2011-02-05  9:25 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03  4:34 [OT] Taskwarrior, nice GTD-oriented CLI thing Marcelo de Moraes Serpa
2011-02-03 12:41 ` Eric S Fraga
2011-02-03 18:29   ` Marcelo de Moraes Serpa
2011-02-03 18:32     ` Marcelo de Moraes Serpa
2011-02-03 19:11       ` Erik Iverson
2011-02-03 21:01         ` Eric S Fraga
2011-02-03 21:05           ` Erik Iverson
2011-02-03 22:04             ` Marcelo de Moraes Serpa
2011-02-11 11:14               ` Bastien
2011-02-11 19:48                 ` Marcelo de Moraes Serpa
2011-02-04  1:14 ` Torsten Wagner
2011-02-04  2:59   ` John Hendy
2011-02-04  3:12     ` Torsten Wagner
2011-02-04  3:51       ` Marcelo de Moraes Serpa
2011-02-04  4:03         ` Torsten Wagner
2011-02-04  4:23           ` Mark Elston
2011-02-04 19:16             ` Eric Schulte
2011-02-04 21:53               ` Mark Elston
2011-02-04 16:22           ` Christopher Allan Webber
2011-02-04 18:03             ` Marcelo de Moraes Serpa
2011-02-07 15:45               ` Christopher Allan Webber
2011-02-04 15:48       ` Matt Lundin
2011-02-04  9:19     ` Eric S Fraga
2011-02-05  9:25       ` Dirk-Jan C. Binnema [this message]
2011-02-05 20:52         ` Eric S Fraga
2011-02-06 17:50           ` Dirk-Jan C. Binnema
2011-02-06 19:14             ` Eric S Fraga
2011-02-06 17:52           ` Dirk-Jan C. Binnema
2011-02-04  2:59   ` Marcelo de Moraes Serpa
2011-02-04  4:00     ` Torsten Wagner
2011-02-04 20:38       ` Eric Schulte

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=20110205092517.69D534560BE@djcbsoftware.nl \
    --to=djcb.bulk@gmail.com \
    --cc=celoserpa@gmail.com \
    --cc=djcb@djcbsoftware.nl \
    --cc=e.fraga@ucl.ac.uk \
    --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).