From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stu White Newsgroups: gmane.emacs.help Subject: Re: [org-mode] org-protocol commands are treated as filenames Date: Wed, 20 Feb 2013 05:31:06 -0800 (PST) Message-ID: <9bf59290-4f2d-49bf-ae3b-8bfdcd854680@googlegroups.com> References: <8161a0f0-742c-4bc7-8c01-965d38ba14f5@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1361392056 14895 80.91.229.3 (20 Feb 2013 20:27:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Feb 2013 20:27:36 +0000 (UTC) Cc: Stu White , help-gnu-emacs@gnu.org To: gnu.emacs.help@googlegroups.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 20 21:27:56 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U8GGd-000689-9w for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Feb 2013 21:27:51 +0100 Original-Received: from localhost ([::1]:54162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8D2q-0007xF-Rw for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Feb 2013 12:01:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U89lV-0005I9-GY for help-gnu-emacs@gnu.org; Wed, 20 Feb 2013 08:31:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U89lL-0001Ti-W8 for help-gnu-emacs@gnu.org; Wed, 20 Feb 2013 08:31:17 -0500 Original-Received: from mail-ye0-f192.google.com ([209.85.213.192]:51083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U89lL-0001TE-Ql for help-gnu-emacs@gnu.org; Wed, 20 Feb 2013 08:31:07 -0500 Original-Received: by mail-ye0-f192.google.com with SMTP id l2so3282552yen.9 for ; Wed, 20 Feb 2013 05:31:06 -0800 (PST) X-Received: by 10.49.34.135 with SMTP id z7mr1603430qei.1.1361367066417; Wed, 20 Feb 2013 05:31:06 -0800 (PST) Original-Path: glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=195.212.29.84; posting-account=aB0jkwoAAACqkEmuXx_kv3NGz8jYYjoZ Original-NNTP-Posting-Host: 195.212.29.84 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 195.212.29.84 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.213.192 X-Mailman-Approved-At: Wed, 20 Feb 2013 12:01:20 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89198 Archived-At: 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