emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-protocol in windows and Acrobat Reader


From: d . tchin
Subject: Re: [O] org-protocol in windows and Acrobat Reader
Date: Mon, 19 Mar 2012 08:03:51 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> 
> This indicates that .replace('|',':') didn't work out as expected and
> org-protocol received
> 
> org-protocol://store-link://file%3A%2F%2F%2FC%7C%2FTemp%2Ffile.pdf
>                                              ^^^
> 
> Maybe this could do the trick:
> 
> ,----
> | app.addMenuItem({cName:"org-store-link", cParent:"File",
> |              cExec:"app.launchURL('org-protocol://store-link://'+ unescape
> |  (encodeURIComponent(this.URL.replace('|',':'))));"});
> `----
>

Indeed  I get the corresponding character. 
org-protocol://store-link://file:///C:/Temp/file.pdf

The problem of the bad interpretation of the character "/" still remains when 
I go back to emacs. I get the following proposition when I use C-c C-l : file: 
(C:). 

Thank you for your help.


> I.e. replace | by : in the original URL before encoding it.
> 
> Best,
>   -- David
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber.... dmjena <at> jabber.org
> Email..... dmaus <at> ictsoc.de
> 







reply via email to

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