From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: org-protocol-capture and chrome Date: Tue, 17 Apr 2012 12:06:32 +0200 Message-ID: <18hawiisev.fsf@news.eternal-september.org> References: Reply-To: emacs-orgmode@gnu.org Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SK5JH-0003ED-FE for emacs-orgmode@gnu.org; Tue, 17 Apr 2012 06:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SK5JF-0007OE-Ix for emacs-orgmode@gnu.org; Tue, 17 Apr 2012 06:06:54 -0400 Received: from plane.gmane.org ([80.91.229.3]:36968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SK5JF-0007O0-CE for emacs-orgmode@gnu.org; Tue, 17 Apr 2012 06:06:53 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SK5JD-00067E-5f for emacs-orgmode@gnu.org; Tue, 17 Apr 2012 12:06:51 +0200 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Apr 2012 12:06:51 +0200 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Apr 2012 12:06:51 +0200 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: emacs-orgmode@gnu.org Richard Riley writes: > Could someone please post a working setup (browser bookmark url and > template) for org-protocol-capture to correctly get triggered from a > Google Chrome bookmark link in order to store the current url. Googling > shows some conflicting views : some with removing calls to encodeURI and > others hacking xdg-open. > > thanks! > As an aside, the documentation in worg is wrong with regard to the default template key for capture: The doc says :- ,---- | You don't need to setup a capture template to use org-protocol-capture, | since Org-mode provides a default template for those cases. Newer | versions provide an interactive interface for choosing a template. You | may provide a template to be used by customizing the variable | org-capture-default-template. `---- I believe the correct variable is ,---- | org-protocol-default-template-key `---- regards r.