From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: New Chrome Extension Date: Tue, 07 Jul 2015 13:13:25 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCWR4-0006zB-16 for emacs-orgmode@gnu.org; Tue, 07 Jul 2015 13:13:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCWQx-0003VT-UC for emacs-orgmode@gnu.org; Tue, 07 Jul 2015 13:13:33 -0400 Received: from mail-qk0-x229.google.com ([2607:f8b0:400d:c09::229]:32775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCWQx-0003VM-Od for emacs-orgmode@gnu.org; Tue, 07 Jul 2015 13:13:27 -0400 Received: by qkhu186 with SMTP id u186so144720642qkh.0 for ; Tue, 07 Jul 2015 10:13:27 -0700 (PDT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Konstantin Kliakhandler Cc: emacs-orgmode@gnu.org 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 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