bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#69232: 30.0.50; [PATCH] EWW history navigation gets caught in a loop


From: Jim Porter
Subject: bug#69232: 30.0.50; [PATCH] EWW history navigation gets caught in a loop
Date: Thu, 29 Feb 2024 18:10:19 -0800

On 2/29/2024 5:00 PM, Jim Porter wrote:
I already found one issue with reloading messing up history, but that was an easy fix. Once I finish up the other parts of my v3 patch, I'll post it here.

I've only lightly tested this so far, but this version adds an 'eww-before-browse-function' option which lets you customize how EWW manipulates history before browsing to a new page. I've added functions for the default behavior ('eww-clear-future-history'), and for cloning all the "parent" entries ('eww-clone-previous-history')[1]. You can also set it to 'ignore', which will just preserve the old entries and add the new page to the end (which is the behavior v1 of my patch had).

I've also added more regression tests to make sure this all works as expected.

How does this look?

[1] See the docstring for a longer explanation of how this works.

Attachment: 0001-When-navigating-through-history-in-EWW-don-t-keep-ad.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]