From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: bug#22157: html renderer shr - Links open twice in external browser Date: Wed, 22 Jun 2016 19:41:41 +0900 Organization: Emacsen advocacy group Message-ID: References: <19694.1449984793@allegro.localdomain> <8777.1461865387@allegro.localdomain> <87eg9fr2zm.fsf@petton.fr> <87a8itxurr.fsf@gmx.net> <575AC792.8030701@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1466592153 11990 80.91.229.3 (22 Jun 2016 10:42:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2016 10:42:33 +0000 (UTC) To: 22157-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 22 12:42:23 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 1bFfbp-0000WL-Bi for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Jun 2016 12:42:13 +0200 Original-Received: from localhost ([::1]:57107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFfbo-00054K-Lo for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Jun 2016 06:42:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFfbh-000538-Tw for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2016 06:42:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFfbf-00035s-8T for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2016 06:42:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFfbf-00035o-5e for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2016 06:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bFfbe-0002J2-H2; Wed, 22 Jun 2016 06:42:02 -0400 In-Reply-To: <19694.1449984793@allegro.localdomain> Resent-From: Katsumi Yamaoka Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 22 Jun 2016 10:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 22157 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Mail-Followup-To: 22157@debbugs.gnu.org, yamaoka@jpl.org, m.kupfer@acm.org Original-Received: via spool by 22157-done@debbugs.gnu.org id=D22157.14665921078840 (code D ref 22157); Wed, 22 Jun 2016 10:42:02 +0000 Original-Received: (at 22157-done) by debbugs.gnu.org; 22 Jun 2016 10:41:47 +0000 Original-Received: from localhost ([127.0.0.1]:50371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFfbP-0002IW-HM for submit@debbugs.gnu.org; Wed, 22 Jun 2016 06:41:47 -0400 Original-Received: from mail-hampton.hostforweb.net ([205.234.186.191]:43773 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFfbN-0002IH-PJ for 22157-done@debbugs.gnu.org; Wed, 22 Jun 2016 06:41:46 -0400 Original-Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:63763 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1bFfbG-0032Jy-Kl; Wed, 22 Jun 2016 05:41:39 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (i686-pc-cygwin) Cancel-Lock: sha1:ihBCySxM376SPZvVj1NYaTAHNzM= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: 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:119926 Archived-At: On Mon, 13 Jun 2016 10:22:20 +0900, Katsumi Yamaoka wrote: > Left-click causes invoking `widget-button-click' by the mouse-1 > event, and `shr-browse-url' by the mouse-2 event 0.6 sec after > (I tested it by adding a logger code to each function). But > middle-click invokes only `widget-button-click' by down-mouse-2. > At the link position, there are two keymaps[1]: [...] > [1] I wrote "there are three keymaps" last month but it's wrong, > probably. No, that's right. I'm sorry for flip-flopping; the third one is `gnus-article-mode-map', of which the parent is `widget-keymap'. Anyway I found the solution for this bug at last. I verified the problem happens with emacs-25, not only master, so I've committed the fix to emacs-25: git diff 8297331..ea512a7 Regards,