From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.bugs Subject: bug#19270: 25.0.50; Make PDF Mode in EWW customizable Date: Thu, 04 Dec 2014 17:10:14 +0000 Message-ID: <87bnnjnxxl.fsf@violet.siamics.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1417713080 8599 80.91.229.3 (4 Dec 2014 17:11:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2014 17:11:20 +0000 (UTC) To: 19270@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 04 18:11:16 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XwZvv-0002qN-Ie for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 18:11:15 +0100 Original-Received: from localhost ([::1]:46851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwZvv-0005PB-50 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 12:11:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwZvn-0005Oq-OW for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 12:11:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwZvj-0008Hw-Hr for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 12:11:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwZvh-0008Hf-Rt for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 12:11:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XwZvh-0004se-Im for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 12:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Dec 2014 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19270 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19270-submit@debbugs.gnu.org id=B19270.141771302918713 (code B ref 19270); Thu, 04 Dec 2014 17:11:01 +0000 Original-Received: (at 19270) by debbugs.gnu.org; 4 Dec 2014 17:10:29 +0000 Original-Received: from localhost ([127.0.0.1]:53798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwZvA-0004rk-PW for submit@debbugs.gnu.org; Thu, 04 Dec 2014 12:10:29 -0500 Original-Received: from fely.am-1.org ([78.47.74.50]:43470) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwZv7-0004ra-L2 for 19270@debbugs.gnu.org; Thu, 04 Dec 2014 12:10:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=A4g9z+YlQggIYZXzu4k0HM+9i/XYfShgvGIbjK3i8Bk=; b=cN8RieKo0asD1QFEGdMeqniFT+hFMZo27zZDw7B8nY3yWYT40+0Qs3gWUe1x1tVSPB65J8GYnC9kVlRJaMndxLMG2+uBVG13LOgC7hsU7JY6YtIf7+m91OPBQuhLlZRUWooV4wDbvJqFif+LaHvv6IMm1JHliiva5YoNZ4jk8A8=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XwZv4-0006OH-My for 19270@debbugs.gnu.org; Thu, 04 Dec 2014 17:10:23 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XwZux-0005BO-6s for 19270@debbugs.gnu.org; Fri, 05 Dec 2014 00:10:15 +0700 In-Reply-To: (Stefan Monnier's message of "Thu, 04 Dec 2014 11:20:24 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96863 Archived-At: >>>>> Stefan Monnier 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, =E2=80=93 doc-view-mode is sure to be invoked. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A