[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-w3m should better detect local files
- From: Kevin Ryde <user42_kevin@xxxxxxxxxxxx>
- Date: Sat, 13 May 2017 11:26:16 +1000
- X-ml-name: emacs-w3m
- X-mail-count: 12644
- References: <87wp9pm24j.fsf@jidanni.org> <b4mk25op987.fsf@jpl.org>
Katsumi Yamaoka <yamaoka@xxxxxxx> writes:
>
> w3m-canonicalize-url ...
>
> + ((file-exists-p url)
> + (concat "file://" (expand-file-name url)))
I see (w3m "~/foo.html") is guessed to be a file, but becomes
file://~/foo.html which then "reading failed". Is that meant to work?
Would it be w3m-expand-file-name-as-url for concat file:// (two of them).