unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Recent Emacs doesn't respect my mailcap
@ 2015-01-26 16:50 Rasmus
  2015-01-28 10:46 ` Nicolas Richard
  0 siblings, 1 reply; 9+ messages in thread
From: Rasmus @ 2015-01-26 16:50 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.18666.1422291069.1147.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2015-01-28 10:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-26 16:50 Recent Emacs doesn't respect my mailcap Rasmus
2015-01-28 10:46 ` Nicolas Richard
     [not found] <mailman.18666.1422291069.1147.help-gnu-emacs@gnu.org>
2015-01-27  0:10 ` Lars Magne Ingebrigtsen
2015-01-27  1:31   ` Rasmus
     [not found]   ` <mailman.18710.1422322318.1147.help-gnu-emacs@gnu.org>
2015-01-27  1:35     ` Lars Magne Ingebrigtsen
2015-01-27  1:40       ` Rasmus
     [not found]       ` <mailman.18712.1422322837.1147.help-gnu-emacs@gnu.org>
2015-01-27  1:58         ` Lars Magne Ingebrigtsen
2015-01-27  2:11           ` Rasmus
2015-01-27 19:17       ` Jose A. Ortega Ruiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).