From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.bugs Subject: bug#28402: 25.2; shr.el uses shr-tag-img despite set shr-external-rendering-functions Date: Sat, 9 Sep 2017 21:39:39 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1504986008 11848 195.159.176.226 (9 Sep 2017 19:40:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Sep 2017 19:40:08 +0000 (UTC) Cc: larsi@gnus.org To: 28402@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 09 21:40:02 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqlbl-0002m2-Qt for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Sep 2017 21:40:01 +0200 Original-Received: from localhost ([::1]:50648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqlbs-0006TS-Ry for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Sep 2017 15:40:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqlbm-0006TE-Vv for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:40:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqlbm-00014K-7j for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:40:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49219) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqlbm-00013n-3b for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dqlbl-0005kz-Pb for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Sep 2017 19:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28402 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150498599422107 (code B ref -1); Sat, 09 Sep 2017 19:40:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Sep 2017 19:39:54 +0000 Original-Received: from localhost ([127.0.0.1]:57900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqlbe-0005kV-0t for submit@debbugs.gnu.org; Sat, 09 Sep 2017 15:39:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqlbb-0005kH-JT for submit@debbugs.gnu.org; Sat, 09 Sep 2017 15:39:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqlbV-0000g0-Lm for submit@debbugs.gnu.org; Sat, 09 Sep 2017 15:39:46 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqlbV-0000fn-I3 for submit@debbugs.gnu.org; Sat, 09 Sep 2017 15:39:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqlbU-0006S7-Jz for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:39:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqlbU-0000dS-0h for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:39:44 -0400 Original-Received: from mail-pg0-x233.google.com ([2607:f8b0:400e:c05::233]:35915) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqlbT-0000XO-Py for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2017 15:39:43 -0400 Original-Received: by mail-pg0-x233.google.com with SMTP id i130so2178606pgc.3 for ; Sat, 09 Sep 2017 12:39:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=7l0/IxEuaT7tfZvPQV2Y7YeN/PC2yT5SI5J0uyQ80Qw=; b=n2HkOuNoIUxEas6SWyeIMHCBBXefj6RmtRT/Qcqlq3VqieoMSb4uq4yKpBN2aFr9oD Beu5p26XWmgdpV+A6iorymTxqPd4ZYAFUF+HxmIF4cbvzM0Oy16ccvp11FI8Yh5S3Y6O imjuic1L5PL6QTwr/pBrM48obaAJciD0LQybJYxKaosc+7DnqP2BKorvIidaZyvTNdSi Bv+peKA6WtUGtxkkLV1OtOm88GT5KY0DpXNlL9tt3CrJMuE4HJEo2d3WEGemQD0QZiKy hyNVkVDMFOGUPmttnSkbDtQbAPwwLSZh4UGuExtI2YpJ0U1JTcsYTq0h5E7ECvEzfhjk 3AAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=7l0/IxEuaT7tfZvPQV2Y7YeN/PC2yT5SI5J0uyQ80Qw=; b=b1GJh3utTpw5c+xG1IJSrZgO14aXBjqQWtFWUooo2JP6gyHTp7SF/jun5OEQLp080u W4lgmI9hIgAl+cSpMrUudTQLON89Hafgat2UXtkU6OuCQg8Hpc3xPCStiU+1biP7/S4s 5P+jFnNDi+MnC8yaz+oXHuW4Ae8GVuMP8lcheun1kv7gKpB99ZsoOzcrIDhq8PvRffEZ PmCmcmVUaCPhqtaE43zQZILKZbI/Gm9DP4CWpPRbUAebcUxh8GkGi726ON80wj1ktPF7 kL7dQtm0HB+ILWcAYkpMIBaQtgQDAq5wp5yMCFFnvBqBM8Oh5dvE4sqwoog3b74NXd/Y RZOA== X-Gm-Message-State: AHPjjUgHhIQH0Mw3dK7OmZfbIAcm+0v95PTHEauDG/g53mTkkGUazLE1 R6emKBeDQQy65gUO/U2b4IGuL5aFWj9sqGaJdDMZBA== X-Google-Smtp-Source: ADKCNb7mkpUp41+ino87nsgbK/1S0J5j04jDn040nbdlmXqBSJjUtCjEQBVh2Ns3eIeJWTPKDhF3pcXG7oCTqX+4r9E= X-Received: by 10.84.210.12 with SMTP id z12mr7810933plh.433.1504985980089; Sat, 09 Sep 2017 12:39:40 -0700 (PDT) Original-Received: by 10.100.170.193 with HTTP; Sat, 9 Sep 2017 12:39:39 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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" Xref: news.gmane.org gmane.emacs.bugs:136715 Archived-At: I'm using shr.el for a package and override `shr-tag-img` by let-binding `shr-external-rendering-functions` to an alist containing an alternative rendering function that deals better with local images. Despite this `shr-tag-img` is still directly called when rendering tables with images inside them. The same problem applies to other directly called rendering functions, as opposed to indirectly called ones as seen in `shr-descend`, the function honoring `shr-external-rendering-functions`.