emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] New Chrome Extension


From: Ken Mankoff
Subject: Re: [O] New Chrome Extension
Date: Tue, 07 Jul 2015 13:13:25 -0400

Selected text works with your capture templates. Thanks for sending them.

FYI I notice the "test" on the org-protocol.el setup pages uses this:

document.location.href='org-protocol://capture://'+makeUrl();

While yours uses:

capture:/L/...

If you don't specify "L" or "c" then would it let me choose which template the 
capture gets sent to? Seems like it might be an extra keystroke to then choose 
the template, but also more powerful...

  -k.


On 2015-07-07 at 12:57, Konstantin Kliakhandler <address@hidden> wrote:
> Hello Ken,
>
> The first user, hurrah!
>
> You were right to add the capture templates - I will update the docs to be
> more clear about that. I think the first thing to add to the extension now
> that it is in the open is to add configuration for the targets...
>
> Here are the templates that I use (I need to replace the captured on: with
> a property at some point, but this is beside the point):
>
>  ("L" "Protocol Link" entry (file+headline ,(concat org-directory "notes.org")
> "Inbox") "* %? [[%:link][%:description]] \nCaptured On: %U")
>
> ("p" "Protocol" entry (file+headline ,(concat org-directory "notes.org")
> "Inbox")
>                                  "* %^{Title}\nSource: %u, %c\n
> #+BEGIN_QUOTE\n%i\n#+END_QUOTE\n\n\n%?")
>
> I can't recall at the moment why I use the nicer format replacements for
> the link and the shorter for the full quote, and it might not matter. Could
> you try to make your "p" template similar to mine and see if it works?
> Alternatively, can you paste the templates you used?
>
> Cheers,
> Kosta




reply via email to

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