From: Lars Ingebrigtsen <larsi@gnus.org>
To: 39239@debbugs.gnu.org
Subject: bug#39239: 28.0.50; S-TAB in shr buffers doesn't work reliably
Date: Wed, 22 Jan 2020 16:38:22 +0100 [thread overview]
Message-ID: <87iml3tsb5.fsf@gnus.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
Test case is below:
[-- Attachment #2: link.html --]
[-- Type: text/html, Size: 73 bytes --]
[-- Attachment #3: Type: text/plain, Size: 1035 bytes --]
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
next reply other threads:[~2020-01-22 15:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-22 15:38 Lars Ingebrigtsen [this message]
2020-07-17 16:45 ` bug#39239: 28.0.50; S-TAB in shr buffers doesn't work reliably Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iml3tsb5.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=39239@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.