1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 02:20:21 -08:00
emacs/lisp/net
Kévin Le Gouguec 09ab669351 Keep indenting text when 'shr-fill-text' is nil (bug#69555)
The 'shr-fill-...' functions handle both hard-filling (adding
newlines to break long lines) and indentation.  Setting
'shr-fill-text' to nil currently causes these functions to be
short-circuited completely, so e.g. blockquotes are no longer
indented, whereas the intent of this user option is only to
prevent hard-filling to let visual-line-mode reflow text.

* lisp/net/shr.el (shr-fill-lines): Document that the function
handles more than just filling; move the 'shr-fill-text' check...
(shr-fill-line): ... here, after indentation has been taken care
of.
* test/lisp/net/shr-resources/blockquote.html:
* test/lisp/net/shr-resources/blockquote.txt: New test resources.
* test/lisp/net/shr-tests.el (shr-test--rendering-check): Rename
from 'shr-test', to make the relationship with the 'rendering'
testcase clearer; prefer 'file-name-concat' to 'format'; raise
ERT failure if need be, calling (ert-fail ...) directly instead
of (should (not (list ...))).
(shr-test--rendering-extra-configs): New variable to easily check
that user customizations do not degrade rendering.
(rendering): Consult that new variable; delegate failure-raising
to reduce duplication.
2024-03-15 07:50:31 +01:00
..
ange-ftp.el
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
dictionary.el * lisp/net/dictionary.el: More fixes for dictionary-new-matching (bug#69312) 2024-03-05 18:42:49 +02:00
dig.el
dns.el Use obarray-make instead of make-vector to create obarrays 2024-02-23 13:02:27 +01:00
eudc-bob.el
eudc-capf.el
eudc-export.el
eudc-hotlist.el
eudc-vars.el
eudc.el
eudcb-bbdb.el
eudcb-ecomplete.el
eudcb-ldap.el
eudcb-mab.el
eudcb-macos-contacts.el
eudcb-mailabbrev.el
eww.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
gnutls.el
goto-addr.el
hmac-def.el
hmac-md5.el
imap.el Use obarray-make instead of make-vector to create obarrays 2024-02-23 13:02:27 +01:00
ldap.el
mailcap.el
mairix.el
net-utils.el
network-stream.el
newst-backend.el
newst-plainview.el
newst-reader.el
newst-ticker.el
newst-treeview.el
newsticker.el
nsm.el
ntlm.el
pop3.el
puny.el
rcirc.el
rfc2104.el
sasl-cram.el
sasl-digest.el
sasl-ntlm.el
sasl-scram-rfc.el
sasl-scram-sha256.el
sasl.el
secrets.el
shr-color.el
shr.el Keep indenting text when 'shr-fill-text' is nil (bug#69555) 2024-03-15 07:50:31 +01:00
sieve-manage.el
sieve-mode.el
sieve.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
snmp-mode.el
soap-client.el
soap-inspect.el
socks.el
telnet.el
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
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
tramp-sh.el Add Tramp methods dockercp and podmancp 2024-02-20 12:52:40 +01:00
tramp-smb.el
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
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
zeroconf.el