From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#19270: 25.0.50; Make PDF Mode in EWW customizable Date: Thu, 04 Dec 2014 17:29:06 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417710633 30856 80.91.229.3 (4 Dec 2014 16:30:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2014 16:30:33 +0000 (UTC) Cc: Sebastian Wiesner , 19270@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 04 17:30:26 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 1XwZIQ-0002Zj-8b for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 17:30:26 +0100 Original-Received: from localhost ([::1]:46586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwZIP-0001IP-Rp for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 11:30:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwZIG-0001Hy-SP for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 11:30:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwZI4-0002J7-Bj for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 11:30:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwZI4-0002Iv-9J for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 11:30:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XwZI3-0003rz-UO for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 11:30:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Dec 2014 16:30:03 +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.141771056714798 (code B ref 19270); Thu, 04 Dec 2014 16:30:03 +0000 Original-Received: (at 19270) by debbugs.gnu.org; 4 Dec 2014 16:29:27 +0000 Original-Received: from localhost ([127.0.0.1]:53777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwZHT-0003qb-A9 for submit@debbugs.gnu.org; Thu, 04 Dec 2014 11:29:27 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:40349) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwZHR-0003qR-LY for 19270@debbugs.gnu.org; Thu, 04 Dec 2014 11:29:26 -0500 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XwZH9-0007aK-6V; Thu, 04 Dec 2014 17:29:07 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEVgNiIWDAYRBgQkFAkt HBC6aVgeEAdbGFCMAAACOUlEQVQ4jU1TwXLjIAxVGrznkM1wx1/QLi5nWkjOdDbsOQRX//8JKwmT VGN7bD2eniRLgFj10wyic0siA8S08gs/XX9LSQkAASAofsrNxoBHZmOlgEaiIVtz4CLHjC42d4np rTnnyZ0iSDzYu/JdyL5OKrByuECCvQKImL+v5Zo/TqDglRwXcC4tS3SY4Trt885gRcMqwNIUFkvJ E5SvR0UDuPVU1aNS4ByIKdLEsvZoB6NxKbcylSm/f8zzAKoUJIypvH/O82znmQGqtCHqA0A+X88M HDdAkhN2IpcYBwPxS+tN/OxuQaBLUP9mo5fBeACVYs2u/t6AWdfBIMDqo30APxiU/tDu4p3gq7YH UE+GGaHQwFQKbHn90MADFV7KX6lPNLy4V3UuwE18Aj3XlQKpSYBNHai5NB4rnEtmyp3PM4V/FNWN SMcDARTIIlPAN1e1MQwoAiSOAC1hNa2eKClO+D5EYE2exqIuucd6makBmgFM6CrWNXF9U3mxsVr+ C0DaPErNE3CNsLM8S7oDrqXWGhf+kf4Y2oY3BmgQ4xpi4PLKr/WuXay6EbAkly7Jh8xjtb8cLUlq uojRglp84LLLPzga9It31QDtxqtKsQPX2+7kEbiz28jSLROaIm1HoJVxAmSAqZdB6yKfYxvpkwEo 8pX7gvI5IkAH8vDTYT5bNstF9AQIXFmWB9+dITHFN3hZcfsnXrsegk9DZ5DvCUxDpKgUMrk7kOV3 lxy2sAUG0FOg9mxMkvwPrsjqofe04KYAAAAASUVORK5CYII= X-Now-Playing: Neil Young & Crazy Horse's _Live Rust_: "Tonight's The Night" X-Hashcash: 1:23:141204:19270@debbugs.gnu.org::H8mD2MeFdSWB7a22:0000000000000000000000000000000000000000XarI X-Hashcash: 1:23:141204:swiesner@lunaryorn.com::1sxpqOmchMfx+iQf:0000000000000000000000000000000000000014FpG X-Hashcash: 1:23:141204:monnier@iro.umontreal.ca::2Fi8Sa/OXUj/U/Qp:0000000000000000000000000000000000001/a9M In-Reply-To: (Stefan Monnier's message of "Thu, 04 Dec 2014 11:20:24 -0500") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1XwZH9-0007aK-6V MailScanner-NULL-Check: 1418315347.52831@en0nRrvie0lUcZggyzK9Gg 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:96862 Archived-At: Stefan Monnier 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. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no