mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-08 00:33:13 -08:00
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. |
||
|---|---|---|
| .. | ||
| dbus-resources | ||
| eudc-resources | ||
| mailcap-resources | ||
| network-stream-resources | ||
| ntlm-resources | ||
| puny-resources | ||
| shr-resources | ||
| tramp-archive-resources | ||
| tramp-resources | ||
| browse-url-tests.el | ||
| dbus-tests.el | ||
| dig-tests.el | ||
| eudc-tests.el | ||
| eww-tests.el | ||
| gnutls-tests.el | ||
| hmac-md5-tests.el | ||
| mailcap-tests.el | ||
| network-stream-tests.el | ||
| newsticker-tests.el | ||
| nsm-tests.el | ||
| ntlm-tests.el | ||
| puny-tests.el | ||
| rcirc-tests.el | ||
| rfc2104-tests.el | ||
| sasl-cram-tests.el | ||
| sasl-scram-rfc-tests.el | ||
| sasl-tests.el | ||
| secrets-tests.el | ||
| shr-tests.el | ||
| socks-tests.el | ||
| tramp-archive-tests.el | ||
| tramp-tests.el | ||
| webjump-tests.el | ||