[Top][All Lists]

[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 <> 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.

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...


The second rule of Fight Club is: You do not talk about Fight Club

reply via email to

[Prev in Thread] Current Thread [Next in Thread]