unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jose A. Ortega Ruiz" <jao@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 19644@debbugs.gnu.org
Subject: bug#19644: doc-view-mode overrides my .mailcap settings
Date: Wed, 25 Jan 2017 22:45:02 +0100	[thread overview]
Message-ID: <871svq3jc1.fsf@imladris> (raw)
In-Reply-To: <87h94mbzmk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 25 Jan 2017 22:25:55 +0100")

On Wed, Jan 25 2017, Lars Ingebrigtsen wrote:

[...]

>> Subject says it all. I want my ~/.mailcap settings to take precedence
>> for application/pdf (and any other, really) over the defaults, but
>> doc-view-mode (besides not working for me as a viewer) overrides them
>> because it's an elisp function and mailcap-viewer-lessp likes it better.
>
> If I remember correctly, the reason Emacs overrides .mailcap is that in
> the olden days, several Linux distributions came with pre-made .mailcap
> files that had bad defaults for Emacs use.
>
> I think it's been a long time since that was the case, so perhaps
> .mailcap should now always override everything else?

Perhaps only ~/.mailcap (and not the system-wide one which, presumably,
is the one that distributions installed, no?) is the one to take
precedence?  I don't remember any distribution creating a mailcap for me
in my $HOME, but admittedly, i haven't used many different distros.





       reply	other threads:[~2017-01-25 21:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87egqoojd9.fsf@gnu.org>
     [not found] ` <87h94mbzmk.fsf@gnus.org>
2017-01-25 21:45   ` Jose A. Ortega Ruiz [this message]
2017-01-25 21:52     ` bug#19644: doc-view-mode overrides my .mailcap settings Lars Ingebrigtsen
2018-04-12 21:23       ` Lars Ingebrigtsen
2018-04-13 17:58         ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871svq3jc1.fsf@imladris \
    --to=jao@gnu.org \
    --cc=19644@debbugs.gnu.org \
    --cc=larsi@gnus.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).