[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Recent Emacs doesn't respect my mailcap
From: |
Rasmus |
Subject: |
Recent Emacs doesn't respect my mailcap |
Date: |
Mon, 26 Jan 2015 17:50:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi,
In recent Emacs (v25+) doc-view has completely taken opening PDFs from
within Emacs, disregarding my preferences as stated via ~/.mailcap.
Before, mime types of 'application/pdf' would be opened via evince in both
org and gnus. Now if I'm lucky it opens in doc-view or, worse, (in gnus)
asks me where to save it.
>From emacs -q, doc-view respects neither of these settings:
(require 'mailcap)
;; neither of these works
(mailcap-add "application/pdf" "evince %s")
(mailcap-parse-mailcaps)
;; ~/.mailcap has the line:
;; application/pdf; evince %s;
;; application/*; xdg-open %s;
I looked through etc/NEWS but didn't see any obvious source of this new
behavior.
Can anybody tell me what might've cause doc-view's recent power-trip?
Thanks,
Rasmus
--
Send from my Emacs
- Recent Emacs doesn't respect my mailcap,
Rasmus <=