[emacs-w3m:13072] Re: How to use pdf-tools (pdf-view-mode)

Colin Baxter <[email protected]>
Newsgroups gmane.emacs.w3m
Message-ID <[email protected]>
>>>>> Katsumi Yamaoka <[email protected]> writes:

    > In [emacs-w3m:13070]
    > On Tue, 04 Dec 2018 17:53:41 +0900, Katsumi Yamaoka wrote:
    >> emacs-w3m now reads the ~/.mailcap file (if any) and gives
    >> priority to the settings in it.

    > Oops, doc-view still has top priority by default, sorry.  To use
    > the other viewer, you want to remove "application/pdf" from
    > `w3m-doc-view-content-types' (in ~/.emacs-w3m.el) as follows:

    > (setq w3m-doc-view-content-types (delete "application/pdf"
    > w3m-doc-view-content-types))

    > Or just:

    > (setq w3m-doc-view-content-types nil)

Excellent - this works.

A user may have to put (setq w3m-local-find-file-function nil) in order
to read local pdf files.

Thanks again Katsumi.

Best wishes,

Colin Baxter.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.