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: Stefan Monnier
Subject: Re: lisp/url/url-https.el
Date: 19 Apr 2004 11:34:57 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

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

Sure, so you need to list all the possible file operations, joy!

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

Right: using normal filenames (like jka-compr does) saves you from all
this trouble.  Is that masochism or not?


        Stefan




reply via email to

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