[Top][All Lists]
[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 17:05:30 -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!
> No, only the ones that aren't forwarded. And since you have to write
> a function for the handled (not forwareded) ones anyway, listing them
> once again in an alist is not too much trouble, methinks.
It seems to me that for each and every possible file-op, you need to figure
out which is the FILE argument so you can rewrite it, so you need to list
them all somehow.
If you look at jka-compr, you'll see that most file operations aren't ever
mentioned in any way in the code because the file names it uses are valid
real file names.
Stefan
- Re: lisp/url/url-https.el, (continued)
- Re: lisp/url/url-https.el, Ted Zlatanov, 2004/04/21
- Re: lisp/url/url-https.el, Richard Stallman, 2004/04/17
- Re: lisp/url/url-https.el, Stefan Monnier, 2004/04/16
- Re: lisp/url/url-https.el, Ted Zlatanov, 2004/04/17
- Re: lisp/url/url-https.el, Kai Grossjohann, 2004/04/17
- Re: lisp/url/url-https.el, Kai Grossjohann, 2004/04/17
- Re: lisp/url/url-https.el, Stefan Monnier, 2004/04/19
- Re: lisp/url/url-https.el, Kai Grossjohann, 2004/04/19
- Re: lisp/url/url-https.el, Stefan Monnier, 2004/04/19
- Re: lisp/url/url-https.el, Kai Grossjohann, 2004/04/19
- Re: lisp/url/url-https.el,
Stefan Monnier <=
- Re: lisp/url/url-https.el, Kai Grossjohann, 2004/04/20
- Re: lisp/url/url-https.el, Michael Albinus, 2004/04/20
- Re: lisp/url/url-https.el, Kai Grossjohann, 2004/04/20
- Checkout a branch in cvs-tree, Masatake YAMATO, 2004/04/20
- Re: lisp/url/url-https.el, Richard Stallman, 2004/04/11
- Re: lisp/url/url-https.el, David Kastrup, 2004/04/11
- Re: lisp/url/url-https.el, Stefan Monnier, 2004/04/11
- Re: lisp/url/url-https.el, David Kastrup, 2004/04/12
- Re: lisp/url/url-https.el, Simon Josefsson, 2004/04/12
- Re: lisp/url/url-https.el, Richard Stallman, 2004/04/13