unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28441: 26.0.50; shr doesn't place point on anchors
@ 2017-09-13  8:23 Lars Ingebrigtsen
  2018-04-13 12:56 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2017-09-13  8:23 UTC (permalink / raw)
  To: 28441


A user sent me an email noting:

---

I was using eww and shr 25.1 and found that shr is not handling # hash in-file
references properly on URLs.  From looking at the code, it looks like when it
encounters a matching name within an <a> tag, it tries to add a text
property for later matching but the property value is a string and text
property values are compared with eq, so this will never match.

Hash references can refer to id="string" attributes and could occur in <div>
tags as well.

[...]

http://www.gnu.org/s/hyperbole#summary

---

I have verified that this bug is present in Emacs 26, too.  This used to
work at some point but is apparently broken now.


In GNU Emacs 26.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2017-07-18 built on mouse
Repository revision: fa72de6cf74735c1983720c818b6d67af832e646
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description:	Ubuntu 17.04


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#28441: 26.0.50; shr doesn't place point on anchors
  2017-09-13  8:23 bug#28441: 26.0.50; shr doesn't place point on anchors Lars Ingebrigtsen
@ 2018-04-13 12:56 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-13 12:56 UTC (permalink / raw)
  To: 28441

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Hash references can refer to id="string" attributes and could occur in <div>
> tags as well.
>
> [...]
>
> http://www.gnu.org/s/hyperbole#summary
>
> ---
>
> I have verified that this bug is present in Emacs 26, too.  This used to
> work at some point but is apparently broken now.

And it now works again on master.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-13 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-13  8:23 bug#28441: 26.0.50; shr doesn't place point on anchors Lars Ingebrigtsen
2018-04-13 12:56 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).