From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.emacs.bugs Subject: bug#37193: 27.0.50; TAB in article mode gets trapped in the header section Date: Sun, 22 Sep 2019 18:41:08 +0100 Message-ID: <87blvckz4b.fsf@gnus.jao.io> References: <878srfrew1.fsf@gnus.jao.io> <-kVaGOyZA0mF70kySY82z0Jk9_oQfvn1PE1Nd6_Kg-wPjLs78BUlv6YhbpUH64GBF-ySWIPjuTulwViJ4GrVgQ==@protonmail.internalid> <87ef0a7lvn.fsf@gnus.org> <874l16n1kk.fsf@gnus.jao.io> <87y2yi65ym.fsf@gnus.org> <87k1a1l39w.fsf@gnus.jao.io> <87ftkowlmj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="260747"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 37193@debbugs.gnu.org To: "Lars Ingebrigtsen" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 22 19:42:27 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iC5sR-0015cd-Hm for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Sep 2019 19:42:27 +0200 Original-Received: from localhost ([::1]:48072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iC5sK-0006Jh-ET for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Sep 2019 13:42:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33423) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iC5s3-0006JI-8H for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2019 13:42:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iC5s2-0002fN-8g for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2019 13:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iC5s2-0002fE-5Z for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2019 13:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iC5s2-0007DG-29; Sun, 22 Sep 2019 13:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jose A. Ortega Ruiz" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 22 Sep 2019 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37193 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 37193-submit@debbugs.gnu.org id=B37193.156917407827658 (code B ref 37193); Sun, 22 Sep 2019 17:42:02 +0000 Original-Received: (at 37193) by debbugs.gnu.org; 22 Sep 2019 17:41:18 +0000 Original-Received: from localhost ([127.0.0.1]:34479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iC5rK-0007C2-7C for submit@debbugs.gnu.org; Sun, 22 Sep 2019 13:41:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iC5rI-0007Bl-Gl for 37193@debbugs.gnu.org; Sun, 22 Sep 2019 13:41:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iC5rD-0002MO-9l; Sun, 22 Sep 2019 13:41:11 -0400 Original-Received: from cpc103058-sgyl39-2-0-cust254.18-2.cable.virginm.net ([94.173.216.255]:49388 helo=imladris.local) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1iC5rD-0007Wa-03; Sun, 22 Sep 2019 13:41:11 -0400 Original-Received: by imladris.local (Postfix, from userid 1000) id B9DAB320C4E; Sun, 22 Sep 2019 18:41:08 +0100 (BST) In-Reply-To: <87ftkowlmj.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 22 Sep 2019 14:39:32 +0200") X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:166931 Archived-At: On Sun, Sep 22 2019, Lars Ingebrigtsen wrote: > "Jose A. Ortega Ruiz" writes: > >> So this might be either a bug or change of behaviour of emacs-w3m >> itself, rather than Gnus, unless Gnus was the one making forward-button >> call w3m-next-anchor (that's what TAB does in a "normal" emacs-w3m >> buffer) when the body is using 'w3m as its rendered. All that provided >> i'm understanding things correctly, of course :) > > Gnus changed its buttons from being widgets to being button.el buttons > recently, and that's probably what you're seeing. I didn't think about > out-of-tree HTML renderers in that context. > > Perhaps mm-inline-text-html-render-with-w3m should convert the widgets > into buttons? Hmm, actually, emacs-w3m seems to be merely "imitating" widget buttons for the benefit of gnus: w3m-imitate-widget-button is a variable defined in w3m.el. Value (eq major-mode 'gnus-article-mode) Documentation If non-nil, imitate the widget buttons on link (anchor) buttons. It is useful for moving about in a Gnus article buffer using TAB key. It can also be any Lisp form that should return a boolean value. >From a quick look at w3m-next-anchor, it seems links are marked using possibly add-hoc text properties, but i see mm-inline-text-html-render-with-w3m is already doing some non-trivial traversal of the buffer using those properties, so possibly your idea is right...