[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19472: Eww in Emacs 24.4 refuses to open local files
From: |
Lars Magne Ingebrigtsen |
Subject: |
bug#19472: Eww in Emacs 24.4 refuses to open local files |
Date: |
Fri, 02 Jan 2015 12:04:52 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Ivan Shmakov <ivan@siamics.net> writes:
>>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>>>>>> Eli Zaretskii <eliz@gnu.org> 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