From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stu White Subject: org-protocol commands are treated as filenames Date: Wed, 6 Mar 2013 13:37:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8fb2054894eca704d741b0ed Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDEXC-0006C5-TG for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 08:37:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDEX5-0003zc-ER for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 08:37:30 -0500 Received: from mail-ob0-x230.google.com ([2607:f8b0:4003:c01::230]:59714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDEX5-0003zM-7y for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 08:37:23 -0500 Received: by mail-ob0-f176.google.com with SMTP id v19so3441188obq.7 for ; Wed, 06 Mar 2013 05:37:22 -0800 (PST) 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 --e89a8fb2054894eca704d741b0ed Content-Type: text/plain; charset=ISO-8859-1 Hello, First of all, if this question has been answered before or I should direct it elsewhere then please let me know. I've spent some time researching and experimenting, but I'm new to Emacs so I may well have overlooked something obvious. 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. I've followed the instructions on the web (http://orgmode.org/worg/org-contrib/org-protocol.html). However, when I launch Emacs with a command-line argument consisting of an org-protocol command then Emacs treats it as a filename rather than a command. For example, if I run: \emacs-24.2\bin\emacsclientw.exe org-protocol:/store-link:/ www.google.com/Google Then I see in my buffer list that I'm editing a file called "C:\trash\org-protocol:/store-link:/www.google.com/Google" (or whatever). I'm using Emacs 24.2, M-x org-version reports version 7.8.11, and all I've got in my init.el is: (server-start) (require 'org-protocol) I believe that's all I need as org-protocol is included in 24.2 by default. Is there some special command that I'm missing that instructs Emacs that an argument should not be treated as a filename? Or is my problem more complex than that? Many thanks for any guidance you can give -- I'm a little new to all this. Cheers, Stu --e89a8fb2054894eca704d741b0ed Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

First of all, if this question has been answered before or I sh= ould direct it elsewhere then please let me know. I've spent some time = researching and experimenting, but I'm new to Emacs so I may well have = overlooked something obvious.

I'm trying to get org-prot= ocol working, and I've hit a snag that I'm hoping is something basi= c that I'm missing.=A0I've followed the instructions on the web (http://orgmode.org/worg/org-con= trib/org-protocol.html= ). However, when I launch Emacs with a command-line argument consisting of = an org-protocol command then Emacs treats it as a filename rather than a co= mmand.=A0

For example, if I run:=A0

\emacs-24.2\bin\emacsclientw.exe org-protocol:/store-link:/www.google.com/Google=A0

Then I see in my buffer list that I'm editing a fi= le called "C:\trash\org-protocol:/store-link:/www= .google.com/Google&quo= t; (or whatever).=A0

I'm using Emacs 24= .2, M-x org-version reports version 7.8.11, and all I've got in my init= .el is:=A0
(server-start)=A0
(require 'org-protocol= )=A0

I believe that's a= ll I need as org-protocol is included in 24.2 by default.=A0Is there some special command that I'm missing th= at instructs Emacs that an argument should not be treated as a filename? Or= is my problem more complex than that?=A0

Many thanks for any guidance you can give -- I'm a= little new to all this.=A0

Cheers,=A0
Stu --e89a8fb2054894eca704d741b0ed--