1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
emacs/doc/misc
Jim Porter 59e470dd5d When navigating through history in EWW, don't keep adding to 'eww-history'
This resolves an issue where navigating back and then forward kept
adding new history entries so you could never hit the "end" (bug#69232).

* lisp/net/eww.el (eww-before-browse-history-function): New option.
(eww-history-position): Add docstring.
(eww-mode-map, eww-context-menu): Use correct predicates for when to
enable back/forward.
(eww-save-history): Save history entry in its original place when
viewing a historical page.
(eww--before-browse): New function...
(eww, eww-follow-link, eww-readable): ... call it.
(eww-render): Don't set 'eww-history-position' here...
(eww--before-browse): ... instead, set it here.
(eww-back-url): Set 'eww-history-position' based on the result of
'eww-save-history'.
(eww-forward-url): Set 'eww-history-position' directly, since
'eww-save-history' no longer adds a new entry in this case.
(eww-delete-future-history, eww-clone-previous-history): New functions.

* test/lisp/net/eww-tests.el: New file.

* etc/NEWS: Announce this change.
2024-03-06 14:36:23 -08:00
..
auth.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
autotype.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
bovine.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
calc.texi ; * doc/misc/calc.texi (Fractions): Fix typos. (Bug#66944) 2024-01-27 16:47:10 +02:00
cc-mode.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ChangeLog.1 Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cl.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
dbus.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
dired-x.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
doclicense.texi
ebrowse.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ede.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ediff.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
edt.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
efaq-w32.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
efaq.texi ; Clarify detail in Start Emacs maximized FAQ 2024-01-10 18:21:50 +01:00
eglot.texi Eglot: Simplify overlay handling in manual example 2024-01-11 15:50:08 -06:00
eieio.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
emacs-gnutls.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
emacs-mime.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
epa.texi ; Fix last change 2024-02-17 11:31:20 +02:00
erc.texi ; Don't mention erc-branded Compat macros in ERC-NEWS 2024-02-23 18:29:07 -08:00
ert.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
eshell.texi Add concept indices for some Eshell commands 2024-02-09 17:42:13 -08:00
eudc.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eww.texi When navigating through history in EWW, don't keep adding to 'eww-history' 2024-03-06 14:36:23 -08:00
flymake.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
forms.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
gnus-faq.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
gnus.texi ; * doc/misc/gnus.texi (Other modes): Fix last change. 2024-02-19 21:34:43 +02:00
gpl.texi
htmlfontify.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
idlwave.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ido.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
info.texi Add @kindex in manuals for existing keybindings on 'C-x x/w' (bug#13167) 2024-01-13 20:11:21 +02:00
mairix-el.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
Makefile.in ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
message.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
mh-e.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
modus-themes.org Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
newsticker.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
nxml-mode.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
octave-mode.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
org-setup.org ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
org.org Revert "ox-texinfo:: Require only TEXINFO_DIR_CATEGORY" 2024-03-03 22:09:24 -05:00
pcl-cvs.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pgg.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rcirc.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
reftex.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
remember.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sc.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
sem-user.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
semantic.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ses.texi ; Fix typos 2024-01-28 17:11:51 +01:00
sieve.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
smtpmail.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
speedbar.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
srecode.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
texinfo.tex Update from Gnulib by running admin/merge-gnulib 2024-02-14 22:05:06 -08:00
todo-mode.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
tramp.texi Adapt tramp.texi 2024-03-05 11:17:48 +01:00
trampver.texi Sync with Tramp 2.6.3-pre (don't merge with master) 2024-01-20 10:45:27 +01:00
transient.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
url.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
use-package.texi Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
vhdl-mode.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vip.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
viper.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vtable.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
widget.texi ; Fix last change in widget.texi 2024-01-11 08:22:14 +02:00
wisent.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
woman.texi ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00