bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#58464: 28.1; browse-url-emacs doesn't work for local files on Window


From: Lars Ingebrigtsen
Subject: bug#58464: 28.1; browse-url-emacs doesn't work for local files on Windows
Date: Wed, 12 Oct 2022 13:10:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> emacs -Q
>> (browse-url-emacs "file://C:/Windows/win.ini") -> Emacs hangs, nothing
>> is displayed, C-g
>> (browse-url-emacs "file:///C:/Windows/win.ini") -> file content is
>> displayed, Message buffer contains:
>> 
>> File exists, but cannot be read
>> #<buffer win.ini</Windows>>
>
> With Emacs 29, I get a different message:
>
>   Use M-x make-directory RET RET to create the directory and its parents
>
> That's because the file's name and its default-directory are
> incorrect:
>
>   M-: buffer-file-name RET
>    => X:/C:/Windows/win.ini
>   M-: default-directory RET
>    => X:/C:/Windows/
>
> (where X is the driver letter of what happens to be the current drive
> when I invoke Emacs).

Was this with the first or the second URL?





reply via email to

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