emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Protocols and filenames


From: Sebastian Rose
Subject: Protocols and filenames
Date: Fri, 06 Mar 2009 22:40:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Hi,


I have a question about file name expansion.

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


* First question:

   while this here works:
   C-x C-f file:///home/sebastian/.emacs RET

   this here does not:
   $ emacsclient file:///home/sebastian/.emacs

   Why?

   The file is opened as

   /current/working/directory/file:/home/sebastian/.emacs
   
   Seems odd. Quoting does not help.



* 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.



emacs-version:

GNU Emacs 23.0.91.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of 2009-03-03 



Thanks in advance,

-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de




reply via email to

[Prev in Thread] Current Thread [Next in Thread]