[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: <email@example.com> <firstname.lastname@example.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).