GNU bug report logs - #16285
24.3.50; [PATCH] shr: handle <a> tag with blank error.

Previous Next

Package: emacs;

Reported by: Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com>

Date: Sun, 29 Dec 2013 13:09:02 UTC

Severity: minor

Tags: fixed, patch

Found in version 24.3.50

Fixed in version 24.4

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com>
Cc: 16285 <at> debbugs.gnu.org
Subject: Re: bug#16285: 24.3.50; [PATCH] shr: handle <a> tag with blank error.
Date: Sun, 05 Jan 2014 10:48:18 +0100
Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com> writes:

>           * net/eww.el (shr-descend): Handle <a> tag with blank error.

I've now fixed this in a different manner.  Your patch would have bugged
out if the empty anchor was the first element in the buffer, so I just
made it insert a "*" if we have an empty anchor.

The anchoring mechanism should perhaps be implemented in a different
way -- markers instead of text properties, for instance?  That way
zero-length anchors would be no problem.  Rewriting it in that way
should probably wait until after the feature freeze, though.

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




This bug report was last modified 11 years and 139 days ago.

Previous Next


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