[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: testing for a remote file to include file on a Windows mappeddrive
From: |
Stefan Monnier |
Subject: |
Re: testing for a remote file to include file on a Windows mappeddrive |
Date: |
Wed, 30 Jan 2008 12:52:47 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
>>> As usual, I don't care function names too much. But the mapping
>>
>>> (nonmagic-file-name "/sudo::") => "/root"
>>
>>> doesn't seem to be obvious, although it would be the implementation
>>> for Tramp.
>>
>> Actually, this implementation would be incorrect for my purpose
>> (doc-view): the important aspect of unhandled-file-name is that
>> a subprocess will be able to use it. So it should be accessible by the
>> normal Emacs user.
> I don't think that nonmagic-file-name is supposed to deal with
> permissions. If it were, it would be pretty pointless since most tramp
> file names would differ in some way in the permissions.
I don't see the problem: Tramp should simply always return nil.
That's fine. The code (doc-view) will than fallback on the use of
file-local-copy to pass the file's content to the local process.
Stefan
- Re: testing for a remote file to include file on a Windows mappeddrive, (continued)
- Re: testing for a remote file to include file on a Windows mappeddrive, Stefan Monnier, 2008/01/27
- Re: testing for a remote file to include file on a Windows mappeddrive, Michael Albinus, 2008/01/29
- Re: testing for a remote file to include file on a Windows mappeddrive, Richard Stallman, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Michael Albinus, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Stefan Monnier, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Michael Albinus, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Stefan Monnier, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Michael Albinus, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Stefan Monnier, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, David Kastrup, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive,
Stefan Monnier <=
- Re: testing for a remote file to include file on a Windows mappeddrive, Michael Albinus, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Stefan Monnier, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Michael Albinus, 2008/01/31
- Re: testing for a remote file to include file on a Windows mappeddrive, Stefan Monnier, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Stefan Monnier, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Richard Stallman, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Stefan Monnier, 2008/01/30
- Re: testing for a remote file to include file on a Windows mappeddrive, Richard Stallman, 2008/01/31
- Re: testing for a remote file to include file on a Windows mappeddrive, Jason Rumney, 2008/01/26
Re: testing for a remote file to include file on a Windows mapped drive, Eli Zaretskii, 2008/01/26