GNU bug report logs - #23184
25.0.92; User-friendly way to override doc-view-mode as MIME viewer

Previous Next

Package: emacs;

Reported by: Teemu Likonen <tlikonen <at> iki.fi>

Date: Sat, 2 Apr 2016 07:50:02 UTC

Severity: wishlist

Found in version 25.0.92

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 23184 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Teemu Likonen <tlikonen <at> iki.fi>
Cc: 23184 <at> debbugs.gnu.org, tsdh <at> gnu.org
Subject: Re: bug#23184: 25.0.92;
 User-friendly way to override doc-view-mode as MIME viewer
Date: Sat, 09 Apr 2016 12:47:03 +0300
> From: Teemu Likonen <tlikonen <at> iki.fi>
> Date: Sat, 09 Apr 2016 12:27:38 +0300
> Cc: 23184 <at> debbugs.gnu.org
> 
> > (2) Or maybe we could add a customizable list `mailcap-user-mime-data'
> >     (better name welcome) which would override `mailcap-mime-data',
> >     i.e., if a viewer is specified there, then `mailcap-mime-data' with
> >     the heuristics around it won't even be consulted.
> 
> > Any better suggestions?  If not, I can do that.  (In case I'd implement
> > that, should that go only into master or emacs-25?)
> 
> I don't oppose mailcap-user-mime-data but I think user shouldn't be
> forced to duplicate his mailcap configuration inside Emacs.

Does that suggestion really require duplication, or does it require to
have only those (hopefully few) entries that override the default?

> User already has his system's mailcap settings and many programs
> respect that. Why doesn't Emacs? (Ok, it does but with its own
> preferences of doc-view-mode etc.)

Because doc-view-mode is specific to Emacs?

> How about a variable like mailcap-prefer-system-mailcap with a non-nil
> value would put the priority of doc-view-mode (and every viewer Emacs
> offers) below system's mailcap configuration?

That'd still require a separate customization in Emacs, so I wonder
how it is better than what Tassilo proposed.




This bug report was last modified 9 years and 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.