[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 03:11:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)


Lars Magne Ingebrigtsen <> writes:

>>> That's because mailcap.el sorts the candidates using
>>> mailcap-viewer-lessp, which is hardcoded to prefer lisp-implemented
>>> viewers.
> I've looked at the code a bit more, and what it's doing now seems rather
> odd.

OK.  I haven't checked it yet.

> I can't seem to get
> (mailcap-mime-info "application/pdf")
> to respect my ~/.mailcap file at all?  


I picks up evince, which is in my ~/.mailcap after I remove doc-view-mode:

   (assoc "application" mailcap-mime-data)
   (remove '("pdf"
             (viewer . doc-view-mode)
             (type . "application/pdf")
             (test eq window-system 'x))
           (cdr (assoc "application" mailcap-mime-data))))

> Is that a bug or is it supposed to be that way?

A bug, I hope!


Bang bang

reply via email to

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