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: [org-mode] org-protocol commands are treated as filenames Date: Mon, 18 Feb 2013 10:36:34 -0800 (PST) Message-ID: <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 1361214493 15790 80.91.229.3 (18 Feb 2013 19:08:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 19:08:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 20:08:35 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 1U7W4o-00005q-3Z for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 20:08:34 +0100 Original-Received: from localhost ([::1]:33142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7W4S-0004OJ-LM for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 14:08:12 -0500 X-Received: by 10.224.176.196 with SMTP id bf4mr9298986qab.4.1361212594392; Mon, 18 Feb 2013 10:36:34 -0800 (PST) X-Received: by 10.49.1.162 with SMTP id 2mr838485qen.2.1361212594363; Mon, 18 Feb 2013 10:36:34 -0800 (PST) Original-Path: usenet.stanford.edu!t2no2443642qal.0!news-out.google.com!k2ni33407qap.0!nntp.google.com!dd2no459355qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=82.34.23.72; posting-account=aB0jkwoAAACqkEmuXx_kv3NGz8jYYjoZ Original-NNTP-Posting-Host: 82.34.23.72 User-Agent: G2/1.0 Injection-Date: Mon, 18 Feb 2013 18:36:34 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:196862 X-Mailman-Approved-At: Mon, 18 Feb 2013 14:08:09 -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:89155 Archived-At: Hi folks, (I hope that this is the right place to ask this question; if not then if you could point me in the right direction of where to ask it then I'd appreciate it.) 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. 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, 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, and the learning curve is quite steep. Cheers, Stu