emacs-devel
[Top][All Lists]
Advanced

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

Re: browse-url and URL handlers (MS-Windows)


From: Pascal Quesseveur
Subject: Re: browse-url and URL handlers (MS-Windows)
Date: Wed, 12 Oct 2022 09:20:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (windows-nt)

>"EZ" == Eli Zaretskii <eliz@gnu.org> writes:

  EZ> Can you show a recipe with browse-url-emacs, starting from
  EZ> "emacs -Q", which infloops?

1. emacs -Q

2. I checked original function url-generic-parse-url:

(require 'url-handlers)
(url-filename (url-generic-parse-url "file:///C:/Windows/win.ini"))

url-handlers
"/C:/Windows/win.ini"

3. I applied the patch and reload url-generic-parse-url:

url-generic-parse-url
"C:/Windows/win.ini"

4. I checked browse-url-emacs:

(browse-url-emacs "file://C:/Windows/win.ini")
(browse-url-emacs "file:///C:/Windows/win.ini")

Emacs hangs each time:

Quit [2 times]

5. I reload original url-generic-parse-url function and checked
again browse-url-emacs: first call hangs again, but second one
doesn't:

url-generic-parse-url
Quit
File exists, but cannot be read
#<buffer win.ini<3>>


HTH


-- 
Pascal Quesseveur
pquessev@gmail.com




reply via email to

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