From: Rasmus <rasmus@gmx.us>
To: help-gnu-emacs@gnu.org
Cc: ding@gnus.org
Subject: Re: Recent Emacs doesn't respect my mailcap
Date: Tue, 27 Jan 2015 03:11:32 +0100 [thread overview]
Message-ID: <87egqhrmzv.fsf@gmx.us> (raw)
In-Reply-To: <87h9vdc7cn.fsf@building.gnus.org>
Hi,
Lars Magne Ingebrigtsen <lmi@gnus.org> writes:
>>> 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'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?
Nope.
I picks up evince, which is in my ~/.mailcap after I remove doc-view-mode:
(setcdr
(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!
Thanks,
Rasmus
--
Bang bang
next prev parent reply other threads:[~2015-01-27 2:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.18666.1422291069.1147.help-gnu-emacs@gnu.org>
[not found] ` <87386xf5gx.fsf@building.gnus.org>
[not found] ` <mailman.18710.1422322318.1147.help-gnu-emacs@gnu.org>
[not found] ` <87386xdmzp.fsf@building.gnus.org>
[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 [this message]
2015-01-27 2:42 ` Lars Ingebrigtsen
2015-01-27 3:01 ` Eric Abrahamsen
2015-01-27 3:01 ` Lars Ingebrigtsen
2015-01-27 3:59 ` Eric Abrahamsen
2015-01-27 4:47 ` Lars Ingebrigtsen
2015-01-27 5:08 ` Eric Abrahamsen
2015-01-28 1:54 ` Dave Goldberg
2015-01-29 2:21 ` Lars Ingebrigtsen
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=87egqhrmzv.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=ding@gnus.org \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).