Subject: Re: bug#19472: Eww in Emacs 24.4 refuses to open local files

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Fri, 02 Jan 2015 10:30:35 +0100

Ivan Shmakov <[email-masked]> writes:

>  > and ⌜file://home/test/test.html⌝ produced an FTP buffer with the
>  > error ⌜home: No address associated with hostname⌝,
>
> 	Indeed, a file://home/ URI means “get files from the host named
> 	‘home’.”  Cf.: file:/home/, which means “a directory named
> 	/home/ on the local filesystem.”

Nobody can ever remember the syntax of a file: URI, though, so I think
`M-x eww' should DWIM it a bit.

If the URL is "/some/file/that/exists" or starts with "file:" and you
can then make (sort of) sense of it, then `M-x eww' should load that
file.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no