[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recent Emacs doesn't respect my mailcap
From: |
Rasmus |
Subject: |
Re: Recent Emacs doesn't respect my mailcap |
Date: |
Tue, 27 Jan 2015 02:40:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Lars Magne Ingebrigtsen <lmi@gnus.org> writes:
> I though the first viable viewer in the list would be used? So the
> priority is how it's ordered...
According to Peder:
> > Hmm, I haven't removed that entry, but I do have earlier entries keyed
> > to "pdf" that point to xdg-open. Still doesn't use it, though...
> That's because mailcap.el sorts the candidates using
> mailcap-viewer-lessp, which is hardcoded to prefer lisp-implemented
> viewers.
http://thread.gmane.org/gmane.emacs.gnus.general/85405
I took his word for it, though.
On my system:
(assoc "pdf" (assoc "application" mailcap-mime-data)) =>
("pdf" (viewer . "evince %s") (type . "application/pdf"))
But I'm still stuck with doc-view...
—Rasmus
--
The second rule of Fight Club is: You do not talk about Fight Club