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: Re: Recent Emacs doesn't respect my mailcap
Date: Tue, 27 Jan 2015 02:40:18 +0100	[thread overview]
Message-ID: <87twzdrofx.fsf@gmx.us> (raw)
In-Reply-To: 87386xdmzp.fsf@building.gnus.org

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




  reply	other threads:[~2015-01-27  1:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.18666.1422291069.1147.help-gnu-emacs@gnu.org>
2015-01-27  0:10 ` Recent Emacs doesn't respect my mailcap 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 [this message]
     [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
2015-01-26 16:50 Rasmus
2015-01-28 10:46 ` Nicolas Richard

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=87twzdrofx.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.