emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: org-protocol://remember:// question
Date: Thu, 02 Apr 2009 08:50:55 +0200	[thread overview]
Message-ID: <87ocvfh7lc.fsf@thinkpad.tsdh.de> (raw)

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	other threads:[~2009-04-02  6:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02  6:50 Tassilo Horn [this message]
2009-04-02 11:10 ` org-protocol://remember:// question Sebastian Rose
2009-04-02 12:28   ` Sebastian Rose
2009-04-02 16:03     ` Carsten Dominik
2009-04-02 16:03   ` Carsten Dominik
2009-04-02 18:00     ` Sebastian Rose
2009-04-03  7:47       ` Carsten Dominik
2009-04-03 12:06         ` Sebastian Rose
2009-04-03 12:34         ` Sebastian Rose
2009-04-03 16:58           ` Carsten Dominik
2009-04-03 22:59 ` Sebastian Rose
2009-04-04  9:42   ` Tassilo Horn
2009-04-04 13:39     ` Sebastian Rose
2009-04-04 17:36       ` Tassilo Horn

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=87ocvfh7lc.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --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).