help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: [org-mode] org-protocol commands are treated as filenames


From: Stu White
Subject: Re: [org-mode] org-protocol commands are treated as filenames
Date: Wed, 20 Feb 2013 05:31:06 -0800 (PST)
User-agent: G2/1.0

Hi Bastien,

Thanks for the quick response -- much appreciated.

On Monday, 18 February 2013 21:13:28 UTC, Bastien  wrote:
> Stu White writes:
> > I'm trying to get org-protocol working, and I've hit a snag that I'm hoping
> > is something basic that I'm missing because I'm new to Emacs. 
>
> What if you use a URL like this:
> 
> \emacs-24.2\bin\emacsclientw.exe 
> org-protocol:/store-link:/http://www.gnu.org/GNU

That doesn't seem to work for me, either. It looks from my buffer menu like I'm
editing 

  
c:/Users/USERNAME/my_local_stuff/home/utils/bin/org-protocol:/store-link:/http:/www.gnu.org/GNU

I wondered if this was due to characters not being encoded in the URL, so I
looked at the examples on the wiki
(http://orgmode.org/worg/org-contrib/org-protocol.html) and tried one of their
links, as they seem to encode the URL.

The "Org store-link" link on that page triggers the following:

  \emacs-24.2\bin\emacsclientw.exe 
org-protocol:/store-link:/http%3A%2F%2Forgmode.org%2Fworg%2Forg-contrib%2Forg-protocol.html/org-protocol.el%20%E2%80%93%20Intercept%20calls%20from%20emacsclient%20to%20trigger%20custom%20actions/

Looking in the buffer menu, it seems like I'm editing

  
c:/Users/IBM_ADMIN/my_local_stuff/home/utils/bin/org-protocol:/store-link:/http%3A%2F%2Forgmode.org%2Fworg%2Forg-contrib%2Forg-protocol.html/org-protocol.el%20%E2%80%93%20Intercept%20calls%20from%20emacsclient%20to%20trigger%20custom%20actions/

I'm not sure what's going on there. It looks like Emacs is by default
prepending the working directory to the start of the argument. 

Any other ideas? If not, I'll try the org-mode mailing list you recommended; it
may be that this is a fairly odd edge case...

Many thanks,
Stu



reply via email to

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