GNU bug report logs - #28441
26.0.50; shr doesn't place point on anchors

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Wed, 13 Sep 2017 08:24:02 UTC

Severity: normal

Tags: fixed

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28441 in the body.
You can then email your comments to 28441 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#28441; Package emacs. (Wed, 13 Sep 2017 08:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars Ingebrigtsen <larsi <at> gnus.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Sep 2017 08:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; shr doesn't place point on anchors
Date: Wed, 13 Sep 2017 10:23:11 +0200
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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28441; Package emacs. (Fri, 13 Apr 2018 12:57:02 GMT) Full text and rfc822 format available.

Message #8 received at 28441 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 28441 <at> debbugs.gnu.org
Subject: Re: bug#28441: 26.0.50; shr doesn't place point on anchors
Date: Fri, 13 Apr 2018 14:56:11 +0200
Lars Ingebrigtsen <larsi <at> 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 13 Apr 2018 12:57:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 28441 <at> debbugs.gnu.org and Lars Ingebrigtsen <larsi <at> gnus.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 13 Apr 2018 12:57:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 12 May 2018 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.