all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Stu White <stubillwhite@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: [org-mode] org-protocol commands are treated as filenames
Date: Mon, 18 Feb 2013 22:13:28 +0100	[thread overview]
Message-ID: <87ehgdjpfr.fsf@bzg.ath.cx> (raw)
In-Reply-To: <8161a0f0-742c-4bc7-8c01-965d38ba14f5@googlegroups.com> (Stu White's message of "Mon, 18 Feb 2013 10:36:34 -0800 (PST)")

Hi Stu,

Stu White <stubillwhite@gmail.com> writes:

> (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.)

Org is part of Emacs, so there is nothing wrong with asking an Org
question here, of course -- but you will generally have faster answers
if you ask on the Org-mode mailing list:

  https://lists.gnu.org/mailman/listinfo/emacs-orgmode

> 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

What if you use a URL like this:

\emacs-24.2\bin\emacsclientw.exe org-protocol:/store-link:/http://www.gnu.org/GNU
                                                           ^^^^^^^

?

> 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?

It needs to recognize the link as a link, and www.gnu.org is just a
domain name.

> Many thanks for any guidance you can give -- I'm a little new to all
> this, and the learning curve is quite steep.

We've all been there, please let us know if the hint above solves your
problem!

All best,

-- 
 Bastien



  reply	other threads:[~2013-02-18 21:13 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 [this message]
     [not found] ` <mailman.20315.1361222033.855.help-gnu-emacs@gnu.org>
2013-02-20 13:31   ` Stu White
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=87ehgdjpfr.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=stubillwhite@gmail.com \
    /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.