From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: [org-mode] org-protocol commands are treated as filenames Date: Mon, 18 Feb 2013 22:13:28 +0100 Message-ID: <87ehgdjpfr.fsf@bzg.ath.cx> References: <8161a0f0-742c-4bc7-8c01-965d38ba14f5@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361222036 22213 80.91.229.3 (18 Feb 2013 21:13:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 21:13:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stu White Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 22:14:18 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 1U7Y2S-00052r-C7 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 22:14:16 +0100 Original-Received: from localhost ([::1]:34542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Y28-0007hq-5U for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 16:13:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Y1z-0007hI-Jq for help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 16:13:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7Y1l-0007Ma-Mx for help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 16:13:47 -0500 Original-Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:40022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Y1l-0007Lt-Bt for help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 16:13:33 -0500 Original-Received: by mail-we0-f173.google.com with SMTP id r5so5063587wey.32 for ; Mon, 18 Feb 2013 13:13:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=FWK/LNo7A3ZGcG4yYTHUcUXsSHRqxjphT5ea4kTD8k8=; b=tld8GKiEFYR1Lx0nzFo2HcQDsvdrfFn32tvnq6UiBWD1/Ps7oVmUCKvvfKJOCKNqnw Ew3BVPOwNMQBVKZBg5t4jR3dqx9GdN3Q6RjIOX+1kmE1JbrB/fmdZVcgZSUlhITnl1Xv BzDUQvbubDZNRa1THlT0O1DAokSBdUhSljMmfv4peQ2LVam5ND4MtGOxtGktBVIWQVev GF6NDpiWFY8PoUsAlQeQtr4j/iN+rP+7rn3DpIJeQ5Mto+dub1FH0Ye6Z4IgxFLieJ+V I0g++OfMLpS+pycJccyRrF9zewl3Hno1tcrVSAf+Zojq1Ru/kwKkp6ciE1gaAjiuGZ1A d9jg== X-Received: by 10.194.108.229 with SMTP id hn5mr22139166wjb.8.1361222012055; Mon, 18 Feb 2013 13:13:32 -0800 (PST) Original-Received: from bzg.localdomain (mar75-2-81-56-68-112.fbx.proxad.net. [81.56.68.112]) by mx.google.com with ESMTPS id eo1sm22222494wib.8.2013.02.18.13.13.28 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Feb 2013 13:13:30 -0800 (PST) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id BB7C31C20702; Mon, 18 Feb 2013 22:13:28 +0100 (CET) In-Reply-To: <8161a0f0-742c-4bc7-8c01-965d38ba14f5@googlegroups.com> (Stu White's message of "Mon, 18 Feb 2013 10:36:34 -0800 (PST)") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22d 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:89159 Archived-At: Hi Stu, Stu White 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