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


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 23184 <at> debbugs.gnu.org
Cc: tlikonen <at> iki.fi, tsdh <at> gnu.org
Subject: bug#23184: 25.0.92; User-friendly way to override doc-view-mode as MIME viewer
Date: Mon, 11 Apr 2016 18:05:41 +0200
Tassilo Horn <tsdh <at> gnu.org> writes:

> I've just pushed the proposed change plus an addition to the Emacs
> MIME manual.  I'm closing this bug now.

Thanks.  Works well for me, and the doc also looks good.

I think what Teemu means is that this solution doesn't allow to say:
"for pdf, don't use docview, use the viewer as defined in the user's
mailcap file".  One has to speak out the viewer's name, so there are two
places to change when the user changes his mind about which is his
preferred viewer (mailcap file and emacs customization).

We could allow something like (viewer . system) in
`mailcap-user-mime-data' which would mean, more or less: consult
`mailcap-mime-data' but skip any internal viewers.  Does that make
sense?

Anyway, this change is already a big win; hard to believe that until now
there has not been any defcustom for mime types.


Regards,

Michael.




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.