emacs-devel
[Top][All Lists]
Advanced

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

Re: lisp/url/url-https.el


From: Kai Grossjohann
Subject: Re: lisp/url/url-https.el
Date: Mon, 19 Apr 2004 16:04:54 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> So GPG'd files could be called /gpg:/some/file.
>
> That's the masochistic part.
> Using any other name than the real filename is being masochistic.
> It means you have to implement file-attributes, file-exists-p, ....

Write a single function that parses the filename.  Then it looks up
the operation in an alist.  If there is a special handler, then call
it, else invoke the "normal" handler on the real filename.

Sounds reasonable to me.  The only problem is to know which of the
args is the filename we're talking about, but Tramp has a function for
this.

Kai




reply via email to

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