GNU bug report logs - #35445
26.2; eww-follow-link breaks on the second invocation

Previous Next

Package: emacs;

Reported by: Xu Chunyang <mail <at> xuchunyang.me>

Date: Sat, 27 Apr 2019 07:51:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 26.2

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Xu Chunyang <mail <at> xuchunyang.me>
Cc: 35445 <at> debbugs.gnu.org
Subject: bug#35445: 26.2; eww-follow-link breaks on the second invocation
Date: Sun, 12 May 2019 16:36:29 -0400
Xu Chunyang <mail <at> xuchunyang.me> writes:

> According to my observation, the eww-data's :url is missing after the
> first eww-follow-link invocation. eww-follow-link contains these two lines of code
>
>     (eww-save-history)
>     (eww-display-html 'utf-8 url dom nil (current-buffer))
>
> the first line clears eww-data via (setq eww-data (list :title "")), but
> the second line forgets to (plist-put eww-data :url url).
>
> The following patch fixes the issue for me:

Thanks; I've applied the patch to the Emacs trunk.

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




This bug report was last modified 6 years and 67 days ago.

Previous Next


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