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 12:04:52 +0100

Ivan Shmakov <[email-masked]> writes:

>>>>>> Lars Magne Ingebrigtsen <[email-masked]> writes:
>>>>>> Eli Zaretskii <[email-masked]> writes:
>>>>>> From: Lars Magne Ingebrigtsen  Date: Fri, 02 Jan 2015 10:30:35 +0100
>
>  >>> 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.
>
>  >> What about "d:/some/file/that/exists" on Windows?
>
>  > Sure, that too.  The DWIM code should call `file-exists-p' a bit on
>  > strings that look like they could possibly be files.
>
> 	Like, perhaps, the strings matching "^\\([a-z]:\\)?/"?

Yeah, perhaps.  Does have a "does this string look like a file name if
you squint at it?" function?

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