[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: View PDF, PS within emacs
On Mon, 25 Feb 2008 12:15:44 +0900 Katsumi Yamaoka wrote:
>>>>>> In [emacs-w3m : No.10031] David Hansen wrote:
>> how do I get Emacs-W3m to display .pdf and .ps files within Emacs using
>> `doc-view-mode'? Should W3m possibly check for an installed version of
>> doc-view and set up `w3m-content-type-alist' to handle these files?
> Good idea. Do you have a concrete plan to make emacs-w3m support
Uh no, ..., I thought something like this was already implemented...
> I guess we need a Lisp function that downloads the contents into a
> local file and performs `find-file' on it if `auto-mode-alist'
> contains the `doc-view-mode' element.
Ah, OK, I naively thought we just put the file content in a buffer and
then run the `doc-view-mode' command, but it seems that doc-view
requires an existing file.
> But it might be somewhat troublesome to make emacs-w3m work for a Lisp
> function (not an external command) which is specified in
I think there already is one entry that calls a lisp function (one of
the browse-url functions for `w3m-view-url-with-external-browser').
I don't think I understand the problem. Would it make that a huge
difference to pass a temp file name to a lisp function instead of an