1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/lisp/net
Jim Porter 72972118e6 Allow toggling "readable" mode in EWW
Additionally, add an option to prevent adding a new history entry for
each call of 'eww-readable' (bug#68254).

* lisp/net/eww.el (eww-retrieve):

* lisp/net/eww.el (eww-readable-adds-to-history): New option.
(eww-retrieve): Make sure we call CALLBACK in all configurations.
(eww-render): Simplify how to pass encoding.
(eww--parse-html-region, eww-display-document): New functions, extracted
from...
(eww-display-html): ... here.
(eww-document-base): New function.
(eww-readable): Toggle "readable" mode interactively, like with a minor
mode.  Consult 'eww-readable-adds-to-history'.
(eww-reload): Use 'eshell-display-document'.

* test/lisp/net/eww-tests.el (eww-test--with-mock-retrieve): Fix indent.
(eww-test/display/html, eww-test/readable/toggle-display): New tests.

* doc/misc/eww.texi (Basics): Describe the new behavior.

* etc/NEWS: Announce this change.
2024-03-23 10:17:06 -07:00
..
ange-ftp.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
browse-url.el Let 'browse-url-interactive-arg' return more values for NEW-WINDOW-FLAG 2024-03-10 14:05:09 -07:00
dbus.el Remove workarounds for solved 'read-event' bug 2024-03-10 10:40:16 -04:00
dictionary-connection.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
dictionary.el * lisp/net/dictionary.el: More fixes for dictionary-new-matching (bug#69312) 2024-03-05 18:42:49 +02:00
dig.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
dns.el Use obarray-make instead of make-vector to create obarrays 2024-02-23 13:02:27 +01:00
eudc-bob.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eudc-capf.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eudc-export.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eudc-hotlist.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eudc-vars.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
eudc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eudcb-bbdb.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eudcb-ecomplete.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eudcb-ldap.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eudcb-mab.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
eudcb-macos-contacts.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eudcb-mailabbrev.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eww.el Allow toggling "readable" mode in EWW 2024-03-23 10:17:06 -07:00
gnutls.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
goto-addr.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
hmac-def.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
hmac-md5.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
imap.el Use obarray-make instead of make-vector to create obarrays 2024-02-23 13:02:27 +01:00
ldap.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
mailcap.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
mairix.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
net-utils.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
network-stream.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
newst-backend.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
newst-plainview.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
newst-reader.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
newst-ticker.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
newst-treeview.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
newsticker.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
nsm.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ntlm.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
pop3.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
puny.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rcirc.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rfc2104.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl-cram.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl-digest.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl-ntlm.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl-scram-rfc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl-scram-sha256.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sasl.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
secrets.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
shr-color.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
shr.el Keep indenting text when 'shr-fill-text' is nil (bug#69555) 2024-03-15 07:50:31 +01:00
sieve-manage.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
sieve-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
sieve.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
snmp-mode.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
soap-client.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
soap-inspect.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
socks.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
telnet.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tramp-adb.el Tramp fixes after running regression tests on Android 2024-03-06 17:51:42 +01:00
tramp-androidsu.el Tramp fixes after running regression tests on Android 2024-03-06 17:51:42 +01:00
tramp-archive.el Fix warning in tramp-register-archive-autoload-file-name-handler 2024-02-10 09:50:12 +01:00
tramp-cache.el Adapt cache handling in Tramp 2024-02-05 12:54:56 +01:00
tramp-cmds.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
tramp-compat.el ; Copyedits 2024-02-20 12:53:15 +01:00
tramp-container.el Add Tramp methods dockercp and podmancp 2024-02-20 12:52:40 +01:00
tramp-crypt.el ; Fix typos 2024-01-20 21:15:35 +01:00
tramp-ftp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tramp-fuse.el Sync with Tramp 2.6.3-pre (don't merge with master) 2024-01-20 10:45:27 +01:00
tramp-gvfs.el Add Tramp methods dockercp and podmancp 2024-02-20 12:52:40 +01:00
tramp-integration.el ; Copyedits 2024-02-20 12:53:15 +01:00
tramp-message.el Declare function properties in Tramp 2024-02-07 13:19:27 +01:00
tramp-rclone.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
tramp-sh.el Add Tramp methods dockercp and podmancp 2024-02-20 12:52:40 +01:00
tramp-smb.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
tramp-sshfs.el Add Tramp methods dockercp and podmancp 2024-02-20 12:52:40 +01:00
tramp-sudoedit.el Add Tramp methods dockercp and podmancp 2024-02-20 12:52:40 +01:00
tramp-uu.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tramp.el Merge from origin/emacs-29 2024-02-24 06:35:16 -05:00
trampver.el Sync with Tramp 2.6.3-pre (don't merge with master) 2024-01-20 10:45:27 +01:00
webjump.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
zeroconf.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00