[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: emacs-w3m should better detect local files



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).