emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] org-protocol://remember:// question


From: Tassilo Horn
Subject: [Orgmode] org-protocol://remember:// question
Date: Thu, 02 Apr 2009 08:50:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Hi all,

first I'd like to say that this is superb.  It'll deprecate my
home-brewn remember webpage hacks for conkeror soon. :-)

Ok, now the problem I have: I defined a remember template for
remembering pages from my browser like that:

--8<---------------cut here---------------start------------->8---
(setq org-default-notes-file "~/repos/org/remember.org"
      org-remember-default-headline 'bottom
      org-remember-templates
      '(;; TODOs
        ("TODO"    ?t "* TODO %?\n  (created: %U)\n  %i\n  %a")
        ("BROWSER" ?b "* BROWSER %a\n  (created: %U)\n\n  %A\n\n  %i")))
--8<---------------cut here---------------end--------------->8---

When I execute

  emacsclient \
  
'org-protocol://remember://b/http:%2F%2Flocalhost%2Findex.html/The%20title/body'

now I get a remember buffer with these contents:

--8<---------------cut here---------------start------------->8---
* BROWSER
  (created: [2009-04-02 Thu 08:41])

  

  body
--8<---------------cut here---------------end--------------->8---

Accorting to the template table at [1] I thought that the TITLE would be
filled in after BROWSER, and the [[URL][TITLE]] link between the
timestamp and the BODY.  But that's not the case.  The [[URL][TITLE]] is
on top of the kill-ring, though.

What am I doing wrong?

BTW: Has some Conkeror user managed to setup an org-protocol handler
yet?

Bye,
Tassilo
__________
[1] http://orgmode.org/worg/org-contrib/org-protocol.php
-- 
No person,  no idea, and no  religion deserves to be  illegal to insult,
not even the Church of Emacs. (Richard M. Stallman)





reply via email to

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