From unknown Mon Aug 11 11:51:21 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#39239 <39239@debbugs.gnu.org> To: bug#39239 <39239@debbugs.gnu.org> Subject: Status: 28.0.50; S-TAB in shr buffers doesn't work reliably Reply-To: bug#39239 <39239@debbugs.gnu.org> Date: Mon, 11 Aug 2025 18:51:21 +0000 retitle 39239 28.0.50; S-TAB in shr buffers doesn't work reliably reassign 39239 emacs submitter 39239 Lars Ingebrigtsen severity 39239 normal tag 39239 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 22 10:38:36 2020 Received: (at submit) by debbugs.gnu.org; 22 Jan 2020 15:38:36 +0000 Received: from localhost ([127.0.0.1]:51126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuI5Q-0001sq-Nx for submit@debbugs.gnu.org; Wed, 22 Jan 2020 10:38:36 -0500 Received: from lists.gnu.org ([209.51.188.17]:44619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuI5P-0001si-Dx for submit@debbugs.gnu.org; Wed, 22 Jan 2020 10:38:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39568) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuI5O-0003ye-3O for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 10:38:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE, T_HTML_ATTACH,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuI5M-0008NP-V2 for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 10:38:29 -0500 Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:49874) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuI5M-0008N1-Nf for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 10:38:28 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iuI5H-0005JS-7Z for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 16:38:25 +0100 From: Lars Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 28.0.50; S-TAB in shr buffers doesn't work reliably Date: Wed, 22 Jan 2020 16:38:22 +0100 Message-ID: <87iml3tsb5.fsf@gnus.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:4f9:2b:f0f::2 X-Spam-Score: -1.3 (-) 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: -2.3 (--) --=-=-= Content-Type: text/plain Test case is below: --=-=-= Content-Type: text/html Content-Disposition: inline; filename=link.html Foo.GnuFSFBar. --=-=-= Content-Type: text/plain If you start from the start of the buffer, TAB will take you to "Gnu", then to "FSF" and then "no more links". If you start from the end and S-TAB, it'll take you to "FSF" (which is correct) and then "no previous link", which is incorrect. Furthermore, if you put point on the "a" in "Bar", it'll take you to Gnu instead of "FSF". Looking at the code in text-property-search-backward, there seems to be several off-by-one errors there, interacting with each other in horrible ways and makes my head swim, but unless somebody gets there before me, I'll have a look at it some other day. In GNU Emacs 28.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2020-01-21 built on marnie Repository revision: c1b6cf6757fbd00cf6e8cae23e1670b9ff794811 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 17 12:45:48 2020 Received: (at 39239) by debbugs.gnu.org; 17 Jul 2020 16:45:48 +0000 Received: from localhost ([127.0.0.1]:57978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwTUa-00064g-EE for submit@debbugs.gnu.org; Fri, 17 Jul 2020 12:45:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwTUW-00064L-GV for 39239@debbugs.gnu.org; Fri, 17 Jul 2020 12:45:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yVHOFq4IirB63O1WfdlwhRYZgHilPazlom8n36wKv1A=; b=QvFMs2ONymRxVNCOTutBhjc53H Ur/oz9ScpXC14sXGQ3qx9auNq2+9d6/KEs91JOEeV5VoB5kWQO0XV42r/jtuWGddzT3EB6FflGWlT r7pKskfD0o75DO3s5JcmI0cJE7q89S2WKlVm3CUHZqF+bJeHKkgZLDoMceSE91N1yCy0=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jwTUM-0006QO-RM for 39239@debbugs.gnu.org; Fri, 17 Jul 2020 18:45:38 +0200 From: Lars Ingebrigtsen To: 39239@debbugs.gnu.org Subject: Re: bug#39239: 28.0.50; S-TAB in shr buffers doesn't work reliably References: <87iml3tsb5.fsf@gnus.org> Date: Fri, 17 Jul 2020 18:45:33 +0200 In-Reply-To: <87iml3tsb5.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 22 Jan 2020 16:38:22 +0100") Message-ID: <87d04um6oi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Looking at the code in text-property-search-backward, there seems to be > several off-by-one errors there, interacting with each other in horrible > ways and makes my head swim, but unless somebody [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39239 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 (-) Lars Ingebrigtsen writes: > Looking at the code in text-property-search-backward, there seems to be > several off-by-one errors there, interacting with each other in horrible > ways and makes my head swim, but unless somebody gets there before me, > I'll have a look at it some other day. I think I got it right now -- all the test cases still work, and the behaviour in eww now seems correct in my use case. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 17 12:45:52 2020 Received: (at control) by debbugs.gnu.org; 17 Jul 2020 16:45:52 +0000 Received: from localhost ([127.0.0.1]:57981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwTUe-00064w-KW for submit@debbugs.gnu.org; Fri, 17 Jul 2020 12:45:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwTUc-00064V-9u for control@debbugs.gnu.org; Fri, 17 Jul 2020 12:45:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9My1vcsYcLgjLOEjl1UJFGBgSqaJitNCNV8V/VZ7tcQ=; b=kKN6ZPAhyjB2YmfWE9PEr9biL1 v5wAm5kf3cYNc8ADpbZg9VF++SbeeP+BEKAnQ6ywYtp4BK58ZYonHeetxu49qJruTj8kj9Uk4fcgm oQ1EzjGGlduLPeL6GEHki0pGy47cRk9dphjN5TB9xU9M/gBWIk97VXZ015CouRFQPzpk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jwTUU-0006QW-GX for control@debbugs.gnu.org; Fri, 17 Jul 2020 18:45:44 +0200 Date: Fri, 17 Jul 2020 18:45:41 +0200 Message-Id: <87blkem6oa.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #39239 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 39239 fixed close 39239 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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: -1.0 (-) tags 39239 fixed close 39239 28.1 quit From unknown Mon Aug 11 11:51:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Aug 2020 11:24:05 +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