[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19270: 25.0.50; Make PDF Mode in EWW customizable
From: |
Rüdiger Sonderfeld |
Subject: |
bug#19270: 25.0.50; Make PDF Mode in EWW customizable |
Date: |
Fri, 05 Dec 2014 18:32:01 +0100 |
User-agent: |
KMail/4.13.3 (Linux/3.13.0-40-generic; KDE/4.13.3; x86_64; ; ) |
On Thursday 04 December 2014 17:29:06 Lars Magne Ingebrigtsen wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > IOW, maybe adding configurability to EWW is good in itself, but I think
> > your use case would be better served by a config elsewhere, which would
> > cover EWW as well as other cases where we might want to view PDF files.
>
> Yes, this sounds like a good idea. We already have too many ways to
> customise this stuff.
>
> `auto-mode-alist' is used for file-ending-based discovery, and
> `mailcap-mime-data' (etc.) is used for MIME-based decisions. The latter
> would make more sense in eww, but I don't think anybody has been
> maintaining that much. For instance, `doc-view-mode-maybe' is not a
> default there, which it should be.
>
> Perhaps we need a MIME type to file ending map. :-)
I'd also like to point out, that we have a `eww-use-external-browser-for-
content-type' variable. Maybe there is a way to incorporate this as well?
Regards,
Rüdiger