[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19270: 25.0.50; Make PDF Mode in EWW customizable
From: |
Ivan Shmakov |
Subject: |
bug#19270: 25.0.50; Make PDF Mode in EWW customizable |
Date: |
Thu, 04 Dec 2014 17:10:14 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Currently EWW uses `doc-view-mode' to view PDF data. This choice is
>> hard-coded in `eww-display-pdf' and cannot be customized.
> I wonder: do you sometimes prefer doc-view-mode?
> If not, then rather than configuring EWW, you'd probably be better
> off with a way to configure Emacs to always use my-pdf-mode for PDF
> files.
> 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.
How would that help if EWW will still launch doc-view-mode for
any PDF files going through it?
As in: M-x eww RET hello, world! RET, find some link among the
search results, RET over it. Now, should retrieving that link
result in a Content-Type: application/pdf document, –
doc-view-mode is sure to be invoked.
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A