From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: org-protocol-capture and chrome Date: Fri, 20 Apr 2012 13:42:27 +0200 Message-ID: <0762cu1vfg.fsf@news.eternal-september.org> References: <18hawiisev.fsf@news.eternal-september.org> <20120419.232002.485672597.harkiisk@gmail.com> <87ehrjjiwz.fsf@norang.ca> <871uni3ch3.fsf@altern.org> 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]:47359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLCEn-00088p-Ca for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 07:42:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLCEi-0001xF-7c for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 07:42:52 -0400 Received: from plane.gmane.org ([80.91.229.3]:56566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLCEi-0001vL-16 for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 07:42:48 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SLCEe-0005xv-L3 for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 13:42:44 +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 ; Fri, 20 Apr 2012 13:42:44 +0200 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Apr 2012 13:42:44 +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 Bastien writes: > Richard Riley writes: > >> Bernt Hansen writes: >> >>> Harri Kiiskinen 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?