From unknown Fri Jun 20 07:21:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22157 <22157@debbugs.gnu.org> To: bug#22157 <22157@debbugs.gnu.org> Subject: Status: left-clicking on a link: 2 browsers or a warning Reply-To: bug#22157 <22157@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:21:43 +0000 retitle 22157 left-clicking on a link: 2 browsers or a warning reassign 22157 emacs,gnus submitter 22157 Mike Kupfer severity 22157 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 00:33:17 2015 Received: (at submit) by debbugs.gnu.org; 13 Dec 2015 05:33:17 +0000 Received: from localhost ([127.0.0.1]:49846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a7zHZ-0006Hp-Cy for submit@debbugs.gnu.org; Sun, 13 Dec 2015 00:33:17 -0500 Received: from shell1.rawbw.com ([198.144.192.42]:17471 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a7zHX-0006Hf-CC for submit@debbugs.gnu.org; Sun, 13 Dec 2015 00:33:16 -0500 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 tBD5XDRT067423 for ; Sat, 12 Dec 2015 21:33:14 -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 X-Debbugs-Version: 5.13 X-Debbugs-Package: gnus To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Subject: left-clicking on a link: 2 browsers or a warning From: Mike Kupfer X-Mailer: MH-E 8.6+mdk01; nmh 1.6; GNU Emacs 25.0.50 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19693.1449984793.1@allegro.localdomain> Date: Sat, 12 Dec 2015 21:33:13 -0800 Message-ID: <19694.1449984793@allegro.localdomain> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Gnus v5.13 GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) (commit 251fac2) I can reliable reproduce the following issues with "emacs -Q". (I'm mentioning them in the same bug report because I suspect they're related.) When viewing an HTML email using shr, when I left-click on a link, Gnus starts 2 browsers and directs each to the URL for the link. When viewing a plaintext email that contains a URL, when I left-click on the URL, Gnus starts a browser for that URL okay, but I also get a message like Buffer is read-only: # In both cases (HTML, plaintext) middle-clicking on the link/URL works okay. With Emacs 24.5, I only get 1 browser (HTML email) and no error message (plaintext email). From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 31 20:14:44 2016 Received: (at control) by debbugs.gnu.org; 1 Feb 2016 01:14:44 +0000 Received: from localhost ([127.0.0.1]:43652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQ34m-0003bX-D8 for submit@debbugs.gnu.org; Sun, 31 Jan 2016 20:14:44 -0500 Received: from shell1.rawbw.com ([198.144.192.42]:28602 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQ34k-0003bO-6q for control@debbugs.gnu.org; Sun, 31 Jan 2016 20:14:42 -0500 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 u111EeJ8038288 for ; Sun, 31 Jan 2016 17:14:41 -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 From: Mike Kupfer To: control@debbugs.gnu.org Subject: X-Mailer: MH-E 8.6+mdk01; nmh 1.6; GNU Emacs 25.0.90 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26736.1454289280.1@allegro.localdomain> Date: Sun, 31 Jan 2016 17:14:40 -0800 Message-ID: <26737.1454289280@allegro.localdomain> X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: package gnus reassign 22157 emacs 25.0.90 thank you This problem is still present in 25.0.90. I originally filed this as a "gnus" bug, but from discussion on the ding list, I get the impression it should be in "emacs" instead. [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: package gnus reassign 22157 emacs 25.0.90 thank you This problem is still present in 25.0.90. I originally filed this as a "gnus" bug, but from discussion on the ding list, I get the impression it should be in "emacs" instead. [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 BLANK_SUBJECT Subject is present but empty package gnus reassign 22157 emacs 25.0.90 thank you This problem is still present in 25.0.90. I originally filed this as a "gnus" bug, but from discussion on the ding list, I get the impression it should be in "emacs" instead. mike From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 31 20:19:49 2016 Received: (at 22157) by debbugs.gnu.org; 1 Feb 2016 01:19:49 +0000 Received: from localhost ([127.0.0.1]:43657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQ39g-0003jA-VQ for submit@debbugs.gnu.org; Sun, 31 Jan 2016 20:19:49 -0500 Received: from shell1.rawbw.com ([198.144.192.42]:29027 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQ39f-0003j1-Cd for 22157@debbugs.gnu.org; Sun, 31 Jan 2016 20:19:47 -0500 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 u111JkZ8038764 for <22157@debbugs.gnu.org>; Sun, 31 Jan 2016 17:19: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 From: Mike Kupfer To: 22157@debbugs.gnu.org Subject: still present in 25.0.90 X-Mailer: MH-E 8.6+mdk02; nmh 1.6; GNU Emacs 24.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26862.1454289586.1@allegro.localdomain> Date: Sun, 31 Jan 2016 17:19:46 -0800 Message-ID: <26863.1454289586@allegro.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22157 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) I'm afraid that I'm still seeing this problem in 25.0.90. mike From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 11:58:58 2016 Received: (at control) by debbugs.gnu.org; 1 Feb 2016 16:58:58 +0000 Received: from localhost ([127.0.0.1]:45365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQHoX-0006RY-Pq for submit@debbugs.gnu.org; Mon, 01 Feb 2016 11:58:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55389) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQHoX-0006R8-3n for control@debbugs.gnu.org; Mon, 01 Feb 2016 11:58:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQHoR-0005SV-CG for control@debbugs.gnu.org; Mon, 01 Feb 2016 11:58:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQHoR-0005SR-94 for control@debbugs.gnu.org; Mon, 01 Feb 2016 11:58:51 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aQHoR-0003PK-0J for control@debbugs.gnu.org; Mon, 01 Feb 2016 11:58:51 -0500 Subject: control message for bug 22157 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 01 Feb 2016 11:58:51 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) reassign 22157 emacs,gnus From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 27 23:47:56 2016 Received: (at 22157) by debbugs.gnu.org; 28 Apr 2016 03:47:56 +0000 Received: from localhost ([127.0.0.1]:51033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avcvk-0003bz-2W for submit@debbugs.gnu.org; Wed, 27 Apr 2016 23:47:56 -0400 Received: from shell1.rawbw.com ([198.144.192.42]:61298 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avcvi-0003bq-5R for 22157@debbugs.gnu.org; Wed, 27 Apr 2016 23:47:54 -0400 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 u3S3lp7R010509; Wed, 27 Apr 2016 20:47:51 -0700 (PDT) (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 From: Mike Kupfer To: Rainer M Krug Subject: Re: html renderer shr - Links open twice in external browser In-Reply-To: Your message of "Tue, 26 Apr 2016 10:40:44 +0200." X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 25.0.92 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6001.1461815271.1@allegro.localdomain> Date: Wed, 27 Apr 2016 20:47:51 -0700 Message-ID: <6002.1461815271@allegro.localdomain> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 22157 Cc: 22157@debbugs.gnu.org, ding@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Rainer M Krug wrote: > I have set my html renderer to shr which works, but whenever I click a > link, it opens twice in the external browser. > > I want it to open in the external browser - that is fine, but only once. > > This started only recently, but I can not pinpoint the exact time when > this started. Yes, I noticed this late last year with Emacs 25. Haven't seen it with Emacs 24.5 (using the Gnus that comes with it). It's still present in 25.0.92 (I haven't had time to try out .93 yet). http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22157 mike From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 03:43:25 2016 Received: (at 22157) by debbugs.gnu.org; 28 Apr 2016 07:43:25 +0000 Received: from localhost ([127.0.0.1]:51115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avgbc-0000eS-Ne for submit@debbugs.gnu.org; Thu, 28 Apr 2016 03:43:24 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:57114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avgbb-0000eH-7c for 22157@debbugs.gnu.org; Thu, 28 Apr 2016 03:43:23 -0400 Received: from Rainers-MacBook-Pro.local ([88.186.171.7]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0LoMMX-1bb2pU0OPh-00gDkp; Thu, 28 Apr 2016 09:43:13 +0200 From: Rainer M Krug To: Mike Kupfer Subject: Re: bug#22157: html renderer shr - Links open twice in external browser References: <19694.1449984793@allegro.localdomain> <6002.1461815271@allegro.localdomain> Date: Thu, 28 Apr 2016 09:43:04 +0200 In-Reply-To: <6002.1461815271@allegro.localdomain> (Mike Kupfer's message of "Wed, 27 Apr 2016 20:47:51 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (darwin) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K0:yM8eeR1mykz1sbih7e04vQgZ7Mlrp4b48m0QNhvV2aoGKV0V34t 6M3l4QyfDEiGB+R8RZ0C2RP0jDi4f3wG09oXrkpsbrZ1ZSUxy2WvtYd6vIq4GV9NzhevZrN S/5UyQR4SrXNw7bl5x7+GA6Ky8xuPRMbh9c1CYSKqNFqvUE1vRH/qDCYI6ZtLuwpBapwron ZpO0neLSirmZTSBb8DoDA== X-UI-Out-Filterresults: notjunk:1;V01:K0:2+RGytjzS9k=:d39JlpkFEkozliIt4dfaYi 547Yp/7pyDDC0dVCuZLS6Fo6J/I3mpeHZaRGbkvp9NK6kMXUeBcUcTsTY0zOyO8aFMKsE5cMZ hUt2ksHi0ounI6pnl+ijsc1NMreW5f4WcoNU7KDCnlF4bX4NaBWC6Qafmc28XYt8FKsfpsBUc rc+ZepGaYMd8ZZ/lVTocpOB8GRsNeM/fOmhxFVEiCSpVUzlvGC/x8zKr5k42ReIXCI0KuZrl2 FCBo/64IF27o3qVv9usDE8rQbpkDx0qTY0hRJam1KdKJWOVL6zKr0X6skIuGverdRFG6jE0+K TsS9ZOUUGcqS5Q98Sk6aKfiGLNFs8o6OSxVuhcHZyxblYSvNFaJ8yomlCCTzdWd02as/Ikj3E LG8tU4pfkunVQVRoOMyGFsflJIBbzXRVHtPLHQ0QDQLkUHdXnMVCaQ5hXTszSTlgsVcOrS1Xy rIEllIPpMUHiNOPOGtIt2NDoeukSmbOes2WOhl+b6OXZDQpZFExJpFzHnO0lrf9R8jhAVfl4H GoGUDzL6NnRXfY/O7FGH6PEfgdqd/1l19u2yJ5lnHDLpq+/i/3vWtWe4GRv9iVbGFU7Sx9CLw wRf/uhuEHPB49PZztGheXaaZT6XrzkJCwraxofdzHc3PaxHDh8vLZieWoh2l3Ger4NvGhnois mQS3r8RzdRLlVrhTRDXmGrW+qne/NNS0CX7S1kZpMfmk6ov11wxCeNiwSQ3GqkoVGIJU= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22157 Cc: 22157@debbugs.gnu.org, ding@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Mike Kupfer writes: > Rainer M Krug wrote: > >> I have set my html renderer to shr which works, but whenever I click a >> link, it opens twice in the external browser. >>=20 >> I want it to open in the external browser - that is fine, but only once. >>=20 >> This started only recently, but I can not pinpoint the exact time when >> this started. > > Yes, I noticed this late last year with Emacs 25. Haven't seen it with > Emacs 24.5 (using the Gnus that comes with it). It's still present in > 25.0.92 (I haven't had time to try out .93 yet). > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22157 Thanks for the info, Rainer > > mike > > > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJXIb8OAAoJENvXNx4PUvmCCc4H/3wi5BfRen/4b02OPMJDjsNa SgFrJLIrdg9Dh3Mh3WnmLdaBwOTqMzTcpgjuzppOc1FzjcY1KvFLJ4yDYTSnj/h2 eON2v2W4Wtyt0KFudcUOTcJ+RLG5iUuamY3dd98zGAuDbPH+X9BEcN3pwqVJcj2x ovYO4nc7T+ppPME6kwaSVtAGuYL1gXyTSk4RaD+w6ZFSvp3JbaKywxi8D6bxGiNU JeNcbf5KqmzGFVZIPb4DFD9F+Fo8RgMncAjcfhfVB97ch/15Uva6Sjxt50bFXT3e 33tk3JgesjodPNEzLPyxadNI3JY2n2Mo5+NzvZ/cAFkiKvA2Bms2Mwd9Ru0kUfM= =TfJn -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 13:43:11 2016 Received: (at 22157) by debbugs.gnu.org; 28 Apr 2016 17:43:11 +0000 Received: from localhost ([127.0.0.1]:53534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avpy3-0000Md-4J for submit@debbugs.gnu.org; Thu, 28 Apr 2016 13:43:11 -0400 Received: from shell1.rawbw.com ([198.144.192.42]:11109 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avpy1-0000MV-7z for 22157@debbugs.gnu.org; Thu, 28 Apr 2016 13:43:09 -0400 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 u3SHh7Vj015649 for <22157@debbugs.gnu.org>; Thu, 28 Apr 2016 10:43:08 -0700 (PDT) (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 From: Mike Kupfer To: 22157@debbugs.gnu.org Subject: problem only seen with Gnus, not MH-E X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 25.0.92 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8776.1461865387.1@allegro.localdomain> Date: Thu, 28 Apr 2016 10:43:07 -0700 Message-ID: <8777.1461865387@allegro.localdomain> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 22157 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) I did a little more experimenting this morning, and I only see this problem with Gnus. Although I have MH-E configured to use shr, too, left-click works fine for it, with both HTML and plaintext messages. (Still 25.0.92.) mike From debbugs-submit-bounces@debbugs.gnu.org Mon May 02 03:31:42 2016 Received: (at 22157) by debbugs.gnu.org; 2 May 2016 07:31:42 +0000 Received: from localhost ([127.0.0.1]:32979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ax8KU-0004iI-IU for submit@debbugs.gnu.org; Mon, 02 May 2016 03:31:42 -0400 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:59248 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ax8KS-0004cg-8f for 22157@debbugs.gnu.org; Mon, 02 May 2016 03:31:40 -0400 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60537 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1ax8KI-003rqV-L5; Mon, 02 May 2016 02:31:31 -0500 Date: Mon, 02 May 2016 16:31:34 +0900 Message-ID: From: Katsumi Yamaoka To: 22157@debbugs.gnu.org Subject: Re: bug#22157: html renderer shr - Links open twice in external browser References: <19694.1449984793@allegro.localdomain> <8777.1461865387@allegro.localdomain> Organization: Emacsen advocacy group 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.1.50 (i686-pc-cygwin) Cancel-Lock: sha1:y1R+OVM1kwGgOEYzsNP7EMIauVI= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22157 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) (Last Subject: problem only seen with Gnus, not MH-E) I don't know why it doesn't happen with MH-E, though. I think this is why a link opens twice: =E3=83=BBIf a link has an image, there are two keymaps `shr-map' and `shr-image-map'. `shr-map' binds `mouse-2' to `shr-browse-url', and `follow-link' to `mouse-face'; `shr-image-map' has a copy of `shr-map' bindings. =E3=83=BBThe `follow-link' binding responds to the `mouse-1' button if `mouse-1-click-follows-link' is non-nil (the default). A fix would be: --- shr.el~ 2016-04-24 22:03:10.675591200 +0000 +++ shr.el 2016-05-02 07:23:19.038316700 +0000 @@ -191,7 +191,7 @@ map)) =20 (defvar shr-image-map - (let ((map (copy-keymap shr-map))) + (let ((map (make-sparse-keymap))) (when (boundp 'image-map) (set-keymap-parent map image-map)) map)) I realized why I wasn't troubled with such a problem is that I've set `mouse-1-click-follows-link' to nil years ago. ;-) From debbugs-submit-bounces@debbugs.gnu.org Mon May 02 05:59:59 2016 Received: (at 22157) by debbugs.gnu.org; 2 May 2016 09:59:59 +0000 Received: from localhost ([127.0.0.1]:33024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axAdz-0000P4-D4 for submit@debbugs.gnu.org; Mon, 02 May 2016 05:59:59 -0400 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:41007 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axAdx-0000Oo-D2 for 22157@debbugs.gnu.org; Mon, 02 May 2016 05:59:57 -0400 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:62053 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1axAdq-001QLD-4R; Mon, 02 May 2016 04:59:51 -0500 Date: Mon, 02 May 2016 18:59:51 +0900 Message-ID: From: Katsumi Yamaoka To: 22157@debbugs.gnu.org Subject: Re: bug#22157: html renderer shr - Links open twice in external browser References: <19694.1449984793@allegro.localdomain> <8777.1461865387@allegro.localdomain> Organization: Emacsen advocacy group 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.1.50 (i686-pc-cygwin) Cancel-Lock: sha1:Ei22P37aAGBjBZhODtmkCQGO0Kg= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22157 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, 02 May 2016 16:31:34 +0900, Katsumi Yamaoka wrote: > I think this is why a link opens twice: > =E3=83=BBIf a link has an image, there are two keymaps `shr-map' and > `shr-image-map'. `shr-map' binds `mouse-2' to `shr-browse-url', > and `follow-link' to `mouse-face'; `shr-image-map' has a copy > of `shr-map' bindings. No. There are three keymaps. The other one is that of the widget button, that `mm-convert-shr-links' creates. This might be the reason why it doesn't happen with MH-E. > =E3=83=BBThe `follow-link' binding responds to the `mouse-1' button if > `mouse-1-click-follows-link' is non-nil (the default). But I don't know why it responds to a single `mouse-1' click twice so far. It might otherwise not be the cause. > A fix would be: > --- shr.el~ 2016-04-24 22:03:10.675591200 +0000 > +++ shr.el 2016-05-02 07:23:19.038316700 +0000 > @@ -191,7 +191,7 @@ > map)) > (defvar shr-image-map > - (let ((map (copy-keymap shr-map))) > + (let ((map (make-sparse-keymap))) > (when (boundp 'image-map) > (set-keymap-parent map image-map)) > map)) This fixes the problem anyway. I tried making a simple test program that reproduce the `twice' problem, but haven't succeeded in it yet. From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 21:37:08 2016 Received: (at 22157) by debbugs.gnu.org; 6 May 2016 01:37:08 +0000 Received: from localhost ([127.0.0.1]:40942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayUhY-0003o8-Mn for submit@debbugs.gnu.org; Thu, 05 May 2016 21:37:08 -0400 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:38269 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayUhW-0003nd-Ri for 22157@debbugs.gnu.org; Thu, 05 May 2016 21:37:07 -0400 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60275 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1ayUhO-001vt4-Mn; Thu, 05 May 2016 20:36:59 -0500 Date: Fri, 06 May 2016 10:37:07 +0900 Message-ID: From: Katsumi Yamaoka To: 22157@debbugs.gnu.org Subject: Re: bug#22157: html renderer shr - Links open twice in external browser References: <19694.1449984793@allegro.localdomain> <8777.1461865387@allegro.localdomain> Organization: Emacsen advocacy group 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.1.50 (i686-pc-cygwin) Cancel-Lock: sha1:KaRdr6flVcgtpbCV/Wcjf7oWQn4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22157 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) The change 72166f2f3dba18f1217c666574032f5a0351ed65 seems to have fixed this bug. On Tue, 03 May 2016 06:39:44 +0000, Martin Rudalics wrote: > Bind `widget-button-click' to mouse-1/-2 instead of down-mouse-1/-2 > * lisp/wid-edit.el (widget-keymap): Bind `widget-button-click' > to mouse-1/-2 instead of down-mouse-1/-2. Suggested by Stefan > Monnier. (Bug#19185, Bug#20398) cf. To try the old `widget-keymap' definition to reproduce the bug, I needed to eval the following form, that exists in gnus-art.el, after reverting the `widget-keymap' definition: (set-keymap-parent gnus-article-mode-map widget-keymap) With this, I learned that `set-keymap-parent' uses a copy of a parent keymap, i.e., a change made in a parent keymap has no effect on *this* keymap. From debbugs-submit-bounces@debbugs.gnu.org Fri May 06 04:43:13 2016 Received: (at 22157) by debbugs.gnu.org; 6 May 2016 08:43:13 +0000 Received: from localhost ([127.0.0.1]:41101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aybLt-0006zl-KV for submit@debbugs.gnu.org; Fri, 06 May 2016 04:43:13 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aybLs-0006zb-20 for 22157@debbugs.gnu.org; Fri, 06 May 2016 04:43:12 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C1305208B2 for <22157@debbugs.gnu.org>; Fri, 6 May 2016 04:43:11 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 06 May 2016 04:43:11 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=+qxvYAm4mQPz6Q2gNVqpJvprx9E=; b=jnxHT WeiWMrUT4dzLaBE0ZpgnXJcXj8jqmJyDqv1anJYv7vv/OhtINECNpMbcSnviMdh1 /NP5v08Nolb7MyJtvtVGxHEp4mGrKeoMyHkhm5gS8j5A3l0sR6fqXg4JyPmL/gVI KPf/ZX29KkTFIS6CjIQGiLBHUTrp5XtLiS7rbg= X-Sasl-enc: NjkYvr9z+WJ6HfYhBMV74Hguq9cj5vJEjxlySc+xaotx 1462524191 Received: from blueberry (brc29-2-88-162-37-238.fbx.proxad.net [88.162.37.238]) by mail.messagingengine.com (Postfix) with ESMTPA id ECED4C00017; Fri, 6 May 2016 04:43:10 -0400 (EDT) From: Nicolas Petton To: Katsumi Yamaoka , 22157@debbugs.gnu.org Subject: Re: bug#22157: html renderer shr - Links open twice in external browser In-Reply-To: References: <19694.1449984793@allegro.localdomain> <8777.1461865387@allegro.localdomain> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.0.92.2 (x86_64-unknown-linux-gnu) Date: Fri, 06 May 2016 10:43:09 +0200 Message-ID: <87eg9fr2zm.fsf@petton.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22157 Cc: 22157-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Katsumi Yamaoka writes: > The change 72166f2f3dba18f1217c666574032f5a0351ed65 seems to have > fixed this bug. I'm closing it then. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJXLFkdAAoJECM1h6R8IHkQQyYIAIFpYeDLuwCSqQe8j6eT+8pH FRng2bvDZ/g6RDHRxPamWdXEAYPWOTvJQAZ6jjxPRN61I9ZwT7+8ftrjQjB2DXDO 2KILjv6L7f288YOiquHGBD1Ad2lXoqGM1jw4XXESP/ipxX8Un9SoqE7EThuKHEk7 puWvzfvLuodezTIa5vJponq9iJBkx5CDUp10Pf7YUzgnkgokmGASStTpwLejCJOy NX+NXr4dEhz0xXSnAbvFZOWeOXQTkNZbQWr14KC213pWP2y/8iYBGt2TO38tdHWP bNLZrJNvZulA642ETNpkpSoMDAU8aLfGlwEod8z3Abj4aAUeHvJ/FVDh4kEbM30= =Tgd0 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:21:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 03 Jun 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 05:18:51 2016 Received: (at control) by debbugs.gnu.org; 10 Jun 2016 09:18:52 +0000 Received: from localhost ([127.0.0.1]:35148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBIaZ-0006Ih-Lc for submit@debbugs.gnu.org; Fri, 10 Jun 2016 05:18:51 -0400 Received: from mout.gmx.net ([212.227.15.19]:57688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBIaY-0006IS-3S for control@debbugs.gnu.org; Fri, 10 Jun 2016 05:18:50 -0400 Received: from rosalinde ([89.245.85.161]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M1msU-1bQ5aD2RlC-00tgzR for ; Fri, 10 Jun 2016 11:18:43 +0200 From: Stephen Berman To: control@debbugs.gnu.org Subject: unarchive 22157 Date: Fri, 10 Jun 2016 11:18:42 +0200 Message-ID: <87h9d1xuz1.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:OmcenMKqXf39de5Nn1k/mjoJYo88NA7SBG2A1TeN/9meul0qvf6 1QH6joMpV4V+rLpOPNJs1DcI5GZDzxZasghjgiM24bxw5LOjm4PoPZnpoopsSB5XGYSjNup PLqu46pXMLEFKjKSYAEHT5b5K9PMNCJv9e5uHVEWP/HL9dsWK1C2b/lMVgROjlMuXdJBSb+ oR4ORaRoU8Xqv9eIaP/ow== X-UI-Out-Filterresults: notjunk:1;V01:K0:EbxrYoU2nYw=:1hRpCIpVwIbP6626CREL3O xG7Gc4ILZzIk15DrzJzfJvt22me7n/tDiPfnxb4/QHv31i85d+3dMhw9TqAuI07b9hqDaSZrb VSX4lbCU1gYN+gjRkOm/0st4FnJ5AOTyG3VTeZPASWfSasP7osy8rQFrYTpqwCsHRHNOTJB8v ZmC3+HL2Tm0+65xu/6XO+cVOBIo/OqZY25u8CjMoN+BdKolXzrzJvOQkecOZKZIe00+yY7mym NE5M5qumIk5kzTCS69AUWOuijxde0LkGR5JDNbP9NrxicsfB83fAkT9wpdTEqGVggidLQ6nzJ dNTVDPVRnhCJSQQFGr3tKlpLCJdI7/aOqsPQjH3S8O5h8tISYaCm0TPN/gE/S99Qf03ALgxEI 43IJdQJE66TuTkEcJvnm4lskSURnLVrB2v2QVqwDjYjxYD/h/U/fWHssz+hcGzECIh/ofiRuz pgIcehYXrONaNTrRYLJN5c5BmBK7zHl9pBfTXWGMUw3h0q24FxyAKXI8XS8pz6D3YXRkMw+DT fWHTXQym1OpkfWtLNmkE48K8qkVDQBb4rM9mAeQJo3ypeSl+N3vR9IpxdvP+im6QZr/5r2rfv xeMVmNlLDF+bKREdzFCCBoiPL5SnL/e3gBzFa/saHIb0twLbpwPfoulvXZLcgvQcEhyfyF18d zBRgqM7xsXLVXEIW3J9Po+buWifwbZ3ob1Cmk8W0btgOei5A73XOLJa3plfvAU/x+J4d7fJV/ La1uCXooOOVaNce65XDAzSX4qCmtRqPC9zLSrDDp0KGw+myq/ol/uUDWuV6tDdpK1n/PR2e4O JORwO1+ X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) unarchive 22157 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 05:23:12 2016 Received: (at 22157) by debbugs.gnu.org; 10 Jun 2016 09:23:12 +0000 Received: from localhost ([127.0.0.1]:35157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBIem-0006QK-EZ for submit@debbugs.gnu.org; Fri, 10 Jun 2016 05:23:12 -0400 Received: from mout.gmx.net ([212.227.15.18]:57327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBIel-0006Q7-4k for 22157@debbugs.gnu.org; Fri, 10 Jun 2016 05:23:11 -0400 Received: from rosalinde ([89.245.85.161]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M8NWM-1bNtWM3pbe-00vtrP for <22157@debbugs.gnu.org>; Fri, 10 Jun 2016 11:23:05 +0200 From: Stephen Berman To: 22157@debbugs.gnu.org Subject: Re: bug#22157: html renderer shr - Links open twice in external browser References: <19694.1449984793@allegro.localdomain> <8777.1461865387@allegro.localdomain> <87eg9fr2zm.fsf@petton.fr> Date: Fri, 10 Jun 2016 11:23:04 +0200 In-Reply-To: (Katsumi Yamaoka's message of "Fri, 10 Jun 2016 17:35:04 +0900") Message-ID: <87a8itxurr.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:TLBlDmEgGrQu+sea6tANRMyAHIvyHf5sVDk1Kv7xKWcQOZOkp08 dsm6+q4Ib4gk3/W7azebRZVp9jpG0bFeqhEdvT0f5FIqFMw6s/IWYYhsxtPns98LuDLUudx A7Kkg51w45Ksn71Wld1IKDfLurVjRAczBm1iSUrea2ekRaxgDGq+xvsc+u3OynT9PlkDGle 2XXZFjgBf7/lu3tm9/aMw== X-UI-Out-Filterresults: notjunk:1;V01:K0:O1PHF6nm2f4=:YGhhFHyj2o1GuIOsUm3PjQ fa9XiAe0wQL1SKjYM2xV1mmuLykqh+4038CAa+We20YEYMcNl4ayevgxthfsrzozw3Q5g8jGo ug4DoSL41ihGmy757tS4Ut0GD0gQTqxvg7z6TYsfwEcikfDj/tc/OU5faNSCMFttc+NG6yILO KPJhYSd5PVUnT02RsoVccK6GqfaJzwqATeW8v6iOyokK5HfI1R4ulTQxZC+3rfIm/BtYvOkcV EPfcoXbzOnRhc3SkQbu6cVXn5gYA7BPr9Gq286EUdgFQNkJWqwW70YsbQQxe7dQ1JRscev/M1 5KyPbZZWc1YBQZU2npnmzyI0eneQry/9j9375G+VJV5CbfoXlJTDvngOQ4NA2oMXpsJz+K4E5 lRQn5QShG/udV2pLbSIFHSe7qCsse4ZQufoBWlRLra2puNxQ/M09QVSjTi/93vgiWVCZWA7KK OmyMNKAzOienb/iO1i4U/lvCCpxF11j6vS+FEG1rrDUZeRhdYnwrIL3VBEC85NcYadCSdbzRc MbWlkj7Qb4QZjL04nh0MaBjwXcF+U9vFMk/eACfljwhAKLVhR5X3T9P/tE6LcSkqjcD3kqhty JJZa8qeFL9ji0s4hEA0FIyORhfqRQSeh6H8seUavNG1YP9bO8DsmUsCyx2ajyQQF9O/oY9j7+ k977fnjWBcjXgbFC8h79QP3jW1QEB06CnCAz/KbNcKuI6Lm3dpNpIu1iIjYtV7bYIlSDAxnK8 fCH+/d5c+Y1IEVso/UqMgRsI+Ceq0d/0B3VB6XMcq+mFI9n3BkEkv82Ll7KwCEH3Vi+945FFo gwcyiZp X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 22157 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) [resending to the bug list, after unarchiving the bug] On Fri, 10 Jun 2016 17:35:04 +0900 Katsumi Yamaoka wrote: > On Fri, 06 May 2016 10:43:09 +0200, Nicolas Petton wrote: >> Katsumi Yamaoka writes: >>> The change 72166f2f3dba18f1217c666574032f5a0351ed65 seems to have >>> fixed this bug. >> I'm closing it then. > > The bug has come back by the change[1] done in master two hours > ago in relation to bug#23571. I vaguely guessed this is due to > something bad in Gnus' way[2] but haven't resolved yet. > > Thanks. > > [1] Revert "Bind `widget-button-click' to mouse-1/-2 instead of down-mouse-1/-2" > > > [2] There are three keymaps in the article buffer > I didn't know this bug had also been connected with commit 72166f. I just tried to reproduce it on my master branch, which still has the commit (I have not yet updated since Martin reverted it), and here are my results (the indented lines are quotes from the OP): When viewing an HTML email using shr, when I left-click on a link, Gnus starts 2 browsers and directs each to the URL for the link. I still see this on master with commit 72166f (in my case it's two tabs on one browser instance). When viewing a plaintext email that contains a URL, when I left-click on the URL, Gnus starts a browser for that URL okay, but I also get a message like Buffer is read-only: # I do not see this on master with commit 72166f, but I do see it without that commit. In both cases (HTML, plaintext) middle-clicking on the link/URL works okay. For me too on master with commit 72166f. In short, the now reverted commit does not completely fix this bug for me. And since it introduced bug#23571, which for me is more annoying than bug#22157, I would prefer it not to be simply recomitted; hopefully a better fix can be found. Steve Berman From unknown Fri Jun 20 07:21:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Fri, 10 Jun 2016 09:42:01 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 06:29:04 2016 Received: (at 22157) by debbugs.gnu.org; 10 Jun 2016 10:29:04 +0000 Received: from localhost ([127.0.0.1]:35187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBJgW-0002nt-Lw for submit@debbugs.gnu.org; Fri, 10 Jun 2016 06:29:04 -0400 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:36732 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <-v@hampton.hostforweb.net>) id 1bBJgT-0002nO-RT for 22157@debbugs.gnu.org; Fri, 10 Jun 2016 06:29:02 -0400 Received: from yamaoka by hampton.hostforweb.net with local (Exim 4.87) (envelope-from <-v@hampton.hostforweb.net>) id 1bBJgN-000KKK-7Z for 22157@debbugs.gnu.org; Fri, 10 Jun 2016 05:28:55 -0500 Date: Fri, 10 Jun 2016 17:35:04 +0900 Message-ID: From: Katsumi Yamaoka To: 22157@debbugs.gnu.org Subject: Re: bug#22157: html renderer shr - Links open twice in external browser References: <19694.1449984793@allegro.localdomain> <8777.1461865387@allegro.localdomain> <87eg9fr2zm.fsf@petton.fr> Organization: Emacsen advocacy group 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.1.50 (i686-pc-cygwin) Cancel-Lock: sha1:kZ1rm6Yy3GO0gHnMH4Myt+erRKQ= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-1.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 - [1345 32007] / [47 12] X-AntiAbuse: Sender Address Domain - hampton.hostforweb.net 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: /usr/sbin/proxyexec -q -d -s /var/lib/proxyexec/cagefs.sock/socket /bin/cagefs.server X-Source-Dir: jpl.org:/temp X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 22157 Cc: Stephen Berman , Mike Kupfer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On Fri, 06 May 2016 10:43:09 +0200, Nicolas Petton wrote: > Katsumi Yamaoka writes: >> The change 72166f2f3dba18f1217c666574032f5a0351ed65 seems to have >> fixed this bug. > I'm closing it then. The bug has come back by the change[1] done in master two hours ago in relation to bug#23571. I vaguely guessed this is due to something bad in Gnus' way[2] but haven't resolved yet. Thanks. [1] Revert "Bind `widget-button-click' to mouse-1/-2 instead of down-mouse-1/-2" [2] There are three keymaps in the article buffer From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 09:58:55 2016 Received: (at 22157) by debbugs.gnu.org; 10 Jun 2016 13:58:56 +0000 Received: from localhost ([127.0.0.1]:35893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBMxb-00014N-Mg for submit@debbugs.gnu.org; Fri, 10 Jun 2016 09:58:55 -0400 Received: from mout.gmx.net ([212.227.17.21]:58994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBMxa-00014B-6N for 22157@debbugs.gnu.org; Fri, 10 Jun 2016 09:58:54 -0400 Received: from [192.168.1.101] ([212.95.7.51]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MLi1v-1bB5i015zn-000quZ; Fri, 10 Jun 2016 15:58:47 +0200 Message-ID: <575AC792.8030701@gmx.at> Date: Fri, 10 Jun 2016 15:58:42 +0200 From: martin rudalics MIME-Version: 1.0 To: Stephen Berman , 22157@debbugs.gnu.org Subject: Re: bug#22157: html renderer shr - Links open twice in external browser References: <19694.1449984793@allegro.localdomain> <8777.1461865387@allegro.localdomain> <87eg9fr2zm.fsf@petton.fr> <87a8itxurr.fsf@gmx.net> In-Reply-To: <87a8itxurr.fsf@gmx.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:y7fkhae7qpyU/9bmosE48k82oc7Vgb1rT6MKNF5YpG94V6J7u9E ujEl3Y3gkdkZ9nWm13UwhJH27+MXU407RSUNiO9CCtp4KjuTHLciXTs/OrIA8cNgNEP/DQs RWrjzYw9lrEBjhKh+yIhPVObv7IHU1kUyNCEtm3GX8xJW3H+zUqG1TZ2QUfAbIE36qysHOV pRpFbbuWNX51Q9D8sCnSg== X-UI-Out-Filterresults: notjunk:1;V01:K0:mMp8W7Rj2K8=:ZXN+qBv/fA/AR5RENWrX9B BuRvrVAtKVl5Yd+A71wapZFPXuH6LfjbsQqgYy8eNcv4IpSQI2ltAR1vved48ocQruINl8rZe hhU2zPKfUsed8SJRwszOSZu/3hY4CIhlivFUrgbXz9Idbdnw3swvoDsEc06UQikvLqcw3O2tr 7jEoVlk7eylGQJWKKR0X7dKhOB7M6d6tPigAKtQTEafJ4KR3++WuLf0KsKsaau1RJIg/ORy3G UsXdJSnK8CMLDPUy81vPsTY9XSnZSrZrUoGiZ2KRgNbNQNr6eu0dNJnUBOja+9LsGnDEElGEv QgAxK8UcfiIX743QARjTeSvRD46baSG9XKPPlA7mNCKfVdUBUyD4pTQzSm83ib4QoYVncFnPk aQ9wel6RDFp4milHN+tpzNJCp8x0A1NpHxACiJpHEZV5uj4vqG/vmgS8OTDvg/5N+c92knLcy pxOojRFzaiHnSx+Xg8htlskydtCBrwYDLneNASPBo0+ZqvqRZ33OKUMSIb4cMKrjw8ZEwzmru HvDTpcMmoMTAHJir3kk+8+KBb0LmuO5+Fg402OX/KSDju+26pG+lBa/ROU/KzajMbjMRcdXWD AXw4+X43o6kzBiNh95ya8G0IUOIjt9Cj7uYyCX2OUXvv+EHWWJ5vnJHUE9smU3zWgKtRZaTh3 O35CBJbifXI1oCtA6y98AwuXg0mxCC0SxcYjh7GTe3brJyanWgDMdyVwc2Qe29+CVnJCsDR4c vF5HC1yTD8fMHcNCMrYHe+q678nv5hMfYe29Z1mFVdGas1VeyMV0FtfSlzWAkL64cpyamkEmn NmjTEpC3PuOTe1uHto35hgN+Km96w== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22157 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > I didn't know this bug had also been connected with commit 72166f. I > just tried to reproduce it on my master branch, which still has the > commit (I have not yet updated since Martin reverted it), and here are > my results (the indented lines are quotes from the OP): > > When viewing an HTML email using shr, when I left-click on a link, Gnus > starts 2 browsers and directs each to the URL for the link. One for the down and one for the up event, I suppose. > I still see this on master with commit 72166f (in my case it's two tabs > on one browser instance). > > When viewing a plaintext email that contains a URL, when I left-click > on the URL, Gnus starts a browser for that URL okay, but I also get a > message like > > Buffer is read-only: # The typical attempt to yank text in that buffer. IIRC this was my major concern (in *info* buffers) but I didn't find the corresponding thread any more :-( > I do not see this on master with commit 72166f, but I do see it without > that commit. > > In both cases (HTML, plaintext) middle-clicking on the link/URL works > okay. > > For me too on master with commit 72166f. IIRC all these bugs were only triggered by mouse-1 events. > In short, the now reverted commit does not completely fix this bug for > me. And since it introduced bug#23571, which for me is more annoying > than bug#22157, I would prefer it not to be simply recomitted; hopefully > a better fix can be found. Do we know whether mouse-1 ever worked correctly? martin From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 21:22:29 2016 Received: (at 22157) by debbugs.gnu.org; 13 Jun 2016 01:22:29 +0000 Received: from localhost ([127.0.0.1]:38427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCGaD-0008C4-B9 for submit@debbugs.gnu.org; Sun, 12 Jun 2016 21:22:29 -0400 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:54086 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCGaC-0008Br-06 for 22157@debbugs.gnu.org; Sun, 12 Jun 2016 21:22:28 -0400 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:62363 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1bCGZz-002oHR-9Z; Sun, 12 Jun 2016 20:22:21 -0500 Date: Mon, 13 Jun 2016 10:22:20 +0900 Message-ID: From: Katsumi Yamaoka To: 22157@debbugs.gnu.org Subject: Re: bug#22157: html renderer shr - Links open twice in external browser References: <19694.1449984793@allegro.localdomain> <8777.1461865387@allegro.localdomain> <87eg9fr2zm.fsf@petton.fr> <87a8itxurr.fsf@gmx.net> <575AC792.8030701@gmx.at> Organization: Emacsen advocacy group 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.1.50 (i686-pc-cygwin) Cancel-Lock: sha1:A1pLNCIqMQvNtHEw1N3lnYZBxC0= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22157 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Fri, 10 Jun 2016 15:58:42 +0200, martin rudalics wrote: >> When viewing an HTML email using shr, when I left-click on a link, Gnus >> starts 2 browsers and directs each to the URL for the link. > One for the down and one for the up event, I suppose. 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]: There is an overlay here: From 876 to 882 button url-link (widget)Top evaporate t face nil follow-link nil help-echo [Show] -> "https://www.amazon.co.jp/..." keymap [Show] -> (keymap ...(mouse-2 . shr-browse-url) (follow-link . mouse-face)... mouse-face (highlight) pointer hand There are text properties here: face (variable-pitch shr-link (:foreground "#333333")... follow-link t help-echo [Show] -> "https://www.amazon.co.jp/..." keymap [Show] -> (keymap ...(mouse-2 . shr-browse-url) (follow-link . mouse-face)... local-map nil mouse-face highlight shr-url [Show] -> (the same as the help-echo string) IIUC, the overlay is what `mm-convert-shr-links' adds, and the text properties are what `shr-urlify' adds. Though Lars wrote in 2013-06-17 as follows, is it really necessary? * mm-decode.el (mm-convert-shr-links): Override the shr local map, so that Gnus commands work. [1] I wrote "there are three keymaps" last month but it's wrong, probably. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 22 06:41:47 2016 Received: (at 22157-done) by debbugs.gnu.org; 22 Jun 2016 10:41:47 +0000 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 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 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 Date: Wed, 22 Jun 2016 19:41:41 +0900 Message-ID: From: Katsumi Yamaoka To: 22157-done@debbugs.gnu.org Subject: Re: bug#22157: html renderer shr - Links open twice in external browser References: <19694.1449984793@allegro.localdomain> <8777.1461865387@allegro.localdomain> <87eg9fr2zm.fsf@petton.fr> <87a8itxurr.fsf@gmx.net> <575AC792.8030701@gmx.at> Organization: Emacsen advocacy group 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= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22157-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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, From unknown Fri Jun 20 07:21:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 20 Jul 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator