bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19644: doc-view-mode overrides my .mailcap settings


From: Jose A. Ortega Ruiz
Subject: bug#19644: doc-view-mode overrides my .mailcap settings
Date: Wed, 25 Jan 2017 22:45:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

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 via email to

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