all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: emacs-devel Mailinglist <emacs-devel@gnu.org>
Subject: Re: Protocols and filenames
Date: Mon, 09 Mar 2009 22:34:39 -0400	[thread overview]
Message-ID: <jwv7i2yjef5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87myby49eo.fsf@kassiopeya.MSHEIMNETZ> (Sebastian Rose's message of "Fri, 06 Mar 2009 22:40:47 +0100")

> I want to open a file prefixed with a user defined protocol through
> emacsclient. Just like 
>   emacsclient my-protocol:///home/sebastian/org/tutorials/tutorial.org

Indeed, we have a bug here.  `emacsclient' passes
`pwd`/my-protocol:///home/sebastian/org/tutorials/tutorial.org to Emacs,
which is why it doesn't work.

> * Second question:

>    How would get emacs to open a file using a user defined protocoll
>    like this:
>    emacs my-protocol:///path/to/tutorial.org
>    I tried to use `directory-abbrev-alist' for this, but to no avail.

You'd either want to use file-name-handler-alist, or even hook directly
into the URL library (see emacs/lisp/url/*.el).


        Stefan




      reply	other threads:[~2009-03-10  2:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06 21:40 Protocols and filenames Sebastian Rose
2009-03-10  2:34 ` Stefan Monnier [this message]

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=jwv7i2yjef5.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /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.