From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.bugs Subject: bug#21650: fix should be underneath MH-E Date: Wed, 03 Feb 2016 19:58:46 -0800 Message-ID: <6770.1454558326@allegro.localdomain> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: ger.gmane.org 1454558364 14922 80.91.229.3 (4 Feb 2016 03:59:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 03:59:24 +0000 (UTC) Cc: Katsumi Yamaoka , 21650@debbugs.gnu.org, Lars Ingebrigtsen To: Bill Wohler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 04:59:13 2016 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 1aRB4Z-0008KX-R8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 04:59:11 +0100 Original-Received: from localhost ([::1]:39352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRB4Z-00032q-2U for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Feb 2016 22:59:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRB4V-00030y-F5 for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 22:59:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRB4Q-0004dY-F4 for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 22:59:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRB4Q-0004dU-Bf for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 22:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRB4P-0002oi-LL for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2016 22:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mike Kupfer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2016 03:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21650 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security Original-Received: via spool by 21650-submit@debbugs.gnu.org id=B21650.145455833110812 (code B ref 21650); Thu, 04 Feb 2016 03:59:01 +0000 Original-Received: (at 21650) by debbugs.gnu.org; 4 Feb 2016 03:58:51 +0000 Original-Received: from localhost ([127.0.0.1]:58631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRB4E-0002oJ-Rk for submit@debbugs.gnu.org; Wed, 03 Feb 2016 22:58:51 -0500 Original-Received: from shell1.rawbw.com ([198.144.192.42]:18630 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRB4C-0002oB-Pb for 21650@debbugs.gnu.org; Wed, 03 Feb 2016 22:58:49 -0500 Original-Received: from allegro.localdomain (m208-249.dsl.rawbw.com [198.144.208.249]) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTP id u143wkJW072485; Wed, 3 Feb 2016 19:58:46 -0800 (PST) (envelope-from m.kupfer@acm.org) X-Authentication-Warning: shell1.rawbw.com: Host m208-249.dsl.rawbw.com [198.144.208.249] claimed to be allegro.localdomain In-Reply-To: Your message of "Wed, 03 Feb 2016 14:52:47 -0800." <111400.1454539967@olgas.newt.com> X-Mailer: MH-E 8.6+mdk01; nmh 1.6; GNU Emacs 25.0.90 Content-ID: <6769.1454558326.1@allegro.localdomain> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:112370 Archived-At: Bill Wohler wrote: > Katsumi Yamaoka wrote: > > My solution is below. Tested briefly. This patch moves the > > binding of shr-inhibit-images and shr-blocked-images to Gnus > > from mm. So, MH-E has to do a similar thing. > > I disagree. This only works for shr and defeats encapsulation. I think what makes this a non-trivial problem is wanting more flexibility than just a binary yes-no decision, which is what mm-inline-text-html-with-images currently provides. That's why gnus-blocked-images is a regexp (or a function that returns a regexp). Could mm-inline-text-html-with-images be generalized to be more like gnus-blocked-images? (For example, nil means don't retrieve anything, t means retrieve everything, a string would be a regexp of what URLs will be retrieved.) Then shr could use mm-inline-text-html-with-images instead of shr-blocked-images, and MH-E users would have a single knob that could control any of the different rendering back-ends. mike