Discussion:
Set viewer for PDF attachments
(too old to reply)
Loris Bennett
2022-05-06 09:43:30 UTC
Permalink
Hi,

Recently (probably after updating to Emacs 27), when I hit return on an
attached PDF, Gnus has started to open GV as the external viewer, which
transports me back to the 1990s. Previously the PDF would be displayed
internally via pdf-tools.

How do I configure how the PDF should be displayed?

Cheers,

Loris
--
This signature is currently under construction.
Thomas Dupond
2023-02-09 17:35:13 UTC
Permalink
Post by Loris Bennett
Hi,
Recently (probably after updating to Emacs 27), when I hit return on an
attached PDF, Gnus has started to open GV as the external viewer, which
transports me back to the 1990s. Previously the PDF would be displayed
internally via pdf-tools.
How do I configure how the PDF should be displayed?
I used ~/.mailcap to achieve the opposite of what you describe, see :
https://www.gnu.org/software/emacs/manual/html_mono/emacs-mime.html#mailcap

Maybe by setting mailcap-prefer-mailcap-viewers to nil you can achieve
using the Emacs viewer.

Regards,
--
Thomas Dupond
Loading...