all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stu White <stubillwhite@gmail.com>
To: gnu.emacs.help@googlegroups.com
Cc: Stu White <stubillwhite@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: [org-mode] org-protocol commands are treated as filenames
Date: Wed, 20 Feb 2013 05:31:06 -0800 (PST)	[thread overview]
Message-ID: <9bf59290-4f2d-49bf-ae3b-8bfdcd854680@googlegroups.com> (raw)
In-Reply-To: <mailman.20315.1361222033.855.help-gnu-emacs@gnu.org>

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



  parent reply	other threads:[~2013-02-20 13:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18 18:36 [org-mode] org-protocol commands are treated as filenames Stu White
2013-02-18 21:13 ` Bastien
     [not found] ` <mailman.20315.1361222033.855.help-gnu-emacs@gnu.org>
2013-02-20 13:31   ` Stu White [this message]
2013-02-21  8:16     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9bf59290-4f2d-49bf-ae3b-8bfdcd854680@googlegroups.com \
    --to=stubillwhite@gmail.com \
    --cc=gnu.emacs.help@googlegroups.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.