Hi,

>>>>> On Sat, 5 Feb 2011 20:52:25 +0000, Eric S Fraga ("ESF") wrote:

  >> 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"

  ESF> Yes, this works nicely.  Thanks!

  ESF> However, it's the first step towards the original specification.  We
  ESF> want to be able to simply have the note saved -- that is, no interaction
  ESF> with emacs directly.  Can this be done as well?

Sure, there is the immediate-finish property:

  ("x" "store snippet" entry ;; 's' for 'org-protocol'
       (file+headline "todo.org" "Notes")
       "* TODO %i\n\t%u" :immediate-finish t)

Best wishes,
Dirk.

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to