emacs-devel
[Top][All Lists]
Advanced

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

Re: URL syntax (was: Re: Tramp, "[]" in file names, and file-expand-wild


From: Simon Josefsson
Subject: Re: URL syntax (was: Re: Tramp, "[]" in file names, and file-expand-wildcards)
Date: Wed, 28 Nov 2001 21:31:24 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu)

address@hidden (William M. Perry) writes:

> Richard Stallman <address@hidden> writes:
>
>>       After calling
>>     (url-setup-file-name-handlers) manually, I could do C-x C-v
>>     http://www.gnu.org/ and it did the right thing.
>> 
>> Why is it necessary to do that manually?  Is that a bug, or a feature?
>
> It isn't enabled automatically so that people don't get bitten by any bugs
> in the support.  I think there must still be some lurking somewhere
> because Gnus freaks out occasionally trying to do (file-exists-p nil)

The URL file name handler doesn't seem to like being nestled:

(expand-file-name "foo" (file-name-as-directory
                         (expand-file-name "foo:bar"
                                           gnus-cache-directory)))
"foo:foo"

it should return:

(expand-file-name "foo" (file-name-as-directory
                         (expand-file-name "foo:bar"
                                           gnus-cache-directory)))
"/home/jas/News/cache/foo:bar/foo"




reply via email to

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