* bug#19644: doc-view-mode overrides my .mailcap settings [not found] ` <87h94mbzmk.fsf@gnus.org> @ 2017-01-25 21:45 ` Jose A. Ortega Ruiz 2017-01-25 21:52 ` Lars Ingebrigtsen 0 siblings, 1 reply; 4+ messages in thread From: Jose A. Ortega Ruiz @ 2017-01-25 21:45 UTC (permalink / raw) To: Lars Ingebrigtsen; +Cc: 19644 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#19644: doc-view-mode overrides my .mailcap settings 2017-01-25 21:45 ` bug#19644: doc-view-mode overrides my .mailcap settings Jose A. Ortega Ruiz @ 2017-01-25 21:52 ` Lars Ingebrigtsen 2018-04-12 21:23 ` Lars Ingebrigtsen 0 siblings, 1 reply; 4+ messages in thread From: Lars Ingebrigtsen @ 2017-01-25 21:52 UTC (permalink / raw) To: Jose A. Ortega Ruiz; +Cc: 19644 "Jose A. Ortega Ruiz" <jao@gnu.org> writes: > 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. I vaguely remember systems with preinstalled ~/.mailcap files... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#19644: doc-view-mode overrides my .mailcap settings 2017-01-25 21:52 ` Lars Ingebrigtsen @ 2018-04-12 21:23 ` Lars Ingebrigtsen 2018-04-13 17:58 ` Lars Ingebrigtsen 0 siblings, 1 reply; 4+ messages in thread From: Lars Ingebrigtsen @ 2018-04-12 21:23 UTC (permalink / raw) To: Jose A. Ortega Ruiz; +Cc: 19644 I've now proposed changing this on emacs-devel, so that ~/.mailcap settings will always win. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#19644: doc-view-mode overrides my .mailcap settings 2018-04-12 21:23 ` Lars Ingebrigtsen @ 2018-04-13 17:58 ` Lars Ingebrigtsen 0 siblings, 0 replies; 4+ messages in thread From: Lars Ingebrigtsen @ 2018-04-13 17:58 UTC (permalink / raw) To: Jose A. Ortega Ruiz; +Cc: 19644 Lars Ingebrigtsen <larsi@gnus.org> writes: > I've now proposed changing this on emacs-devel, so that ~/.mailcap > settings will always win. And everybody agreed, so a fix for this is now in Emacs 27. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-04-13 17:58 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <87egqoojd9.fsf@gnu.org> [not found] ` <87h94mbzmk.fsf@gnus.org> 2017-01-25 21:45 ` bug#19644: doc-view-mode overrides my .mailcap settings Jose A. Ortega Ruiz 2017-01-25 21:52 ` Lars Ingebrigtsen 2018-04-12 21:23 ` Lars Ingebrigtsen 2018-04-13 17:58 ` Lars Ingebrigtsen
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).