emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrg@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-protocol-capture and chrome
Date: Fri, 20 Apr 2012 13:42:27 +0200	[thread overview]
Message-ID: <0762cu1vfg.fsf@news.eternal-september.org> (raw)
In-Reply-To: 871uni3ch3.fsf@altern.org

Bastien <bzg@altern.org> writes:

> Richard Riley <rileyrg@gmail.com> writes:
>
>> Bernt Hansen <bernt@norang.ca> writes:
>>
>>> Harri Kiiskinen <harkiisk@gmail.com> writes:
>>>
>>>> The format of the patch was probably not correct as I have no idea
>>>> whether it made it anywhere from this list, but should be found in the
>>>> archives around April 14th.
>>>
>>> It's sitting on the patchwork server waiting to be dealt with.
>>>
>>> http://patchwork.newartisans.com/project/org-mode/list/
>>>
>>> -Bernt
>>>
>>
>> Would be nice : seems straightforward enough and totally backwards
>> comaptible. Nice one Harri.
>
> This has just been applied.  Thanks,

Seems better but using this bookmark:-

,----
| javascript:location.href='org-protocol://capture://'+ location.href+'/'+ document.title+'/'+ window.getSelection()
`----

and this capture template:-

,----
| 			      ("z" "default" entry (file+datetree "journal.org")
| 			       "* %^{Title}\n\t:PROPERTIES:\n\t:DateCreated: %T\n\t:END:\n  Source: %u, %c\n\n  %i"
| 			       :empty-lines 1)
`----

with org-protocol-default-template-key set to "z" the resulting popup
capture buffer still has the incorrect format for the url link. When I
C-c C-l on the Source link (%c which is the kill ring head ) I get only
"http:" in the Link: field and pressing "enter" on it doesnt do the
xpexted thing (open the link). I dont know which side this needs to be
fixed : possibly %c needs to be reparsed and constructed as a legitimate
org link element?

      reply	other threads:[~2012-04-20 11:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17  8:55 org-protocol-capture and chrome Richard Riley
2012-04-17 10:06 ` Richard Riley
2012-04-19 20:20   ` Harri Kiiskinen
2012-04-20  1:23     ` Bernt Hansen
2012-04-20 10:22       ` Richard Riley
2012-04-20 10:48         ` Bastien
2012-04-20 11:42           ` Richard Riley [this message]

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=0762cu1vfg.fsf@news.eternal-september.org \
    --to=rileyrg@gmail.com \
    --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).