[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use pdf-tools (pdf-view-mode)
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Tue, 04 Dec 2018 17:53:41 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 13070
- References: <86in09diog.fsf@gmail.com>
In [emacs-w3m:13069]
On Tue, 04 Dec 2018 04:23:11 +0000, Andrés Ramírez wrote:
> But customizing "w3m-content-type-alist" does not seem an easy tasks.
emacs-w3m now reads the ~/.mailcap file (if any) and gives
priority to the settings in it. So, if you want to use ACROREAD
to view pdf files, add this snippet to the ~/.mailcap file:
application/pdf; ACROREAD %s
Note that you need to use the most recent emacs-w3m in order to
use this feature.
When having edited the ~/.mailcap file, an easy way to reflect
the edit to `w3m-content-type-alist' would be to restart Emacs.
Otherwise, do:
M-x mailcap-parse-mailcaps RET
Eval: (makunbound 'w3m-content-type-alist)
M-x load-library RET w3m RET
Regards,