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

## [org-mode] org-protocol commands are treated as filenames

 From: Stu White Subject: [org-mode] org-protocol commands are treated as filenames Date: Mon, 18 Feb 2013 10:36:34 -0800 (PST) User-agent: G2/1.0

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:

Then I see in my buffer list that I'm editing a file called

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