all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: help-gnu-emacs@gnu.org
Subject: Recent Emacs doesn't respect my mailcap
Date: Mon, 26 Jan 2015 17:50:50 +0100	[thread overview]
Message-ID: <87d261cwph.fsf@gmx.us> (raw)

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




             reply	other threads:[~2015-01-26 16:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26 16:50 Rasmus [this message]
2015-01-28 10:46 ` Recent Emacs doesn't respect my mailcap 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d261cwph.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.