aboutsummaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vc-test--with-author-identity: Handle MercurialSean Whitton2025-08-161-3/+9
| | | | | | * test/lisp/vc/vc-tests/vc-tests.el (vc-hg-global-switches): Declare. (vc-test--with-author-identity): Handle Mercurial.
* ; Stabilize a Windows-specific process-testEli Zaretskii2025-08-161-6/+6
| | | | | * test/src/process-tests.el (process-sentinel-interrupt-event): Improve stability of results, and show all of the results.
* ; Skip a process-test that is unreliable on MS-WindowsEli Zaretskii2025-08-161-0/+3
| | | | | * test/src/process-tests.el (process-tests/multiple-threads-waiting): Skip on MS-Windows.
* Reject non-nil non-number REPEAT in 'run-with-timer'Eli Zaretskii2025-08-161-0/+20
| | | | | | | | | * lisp/emacs-lisp/timer.el (run-at-time, run-with-timer): Reject non-nil REPEAT if it is not a non-negative number. (Bug#79227) Doc fixes. * test/lisp/emacs-lisp/timer-tests.el (timer-test-repeat-arg): New test.
* ; * test/infra/Dockerfile.emba: Fix warning about casing not matching.Juri Linkov2025-08-141-10/+10
|
* Fix lua-ts-mode-tests.elElijah Gabe Pérez2025-08-141-0/+1
| | | | | * test/lisp/progmodes/lua-ts-mode-tests.el (lua-ts-test-auto-close-block-comments): Skip when needed.
* vc-test--other-working-trees: Export env vars so Git finds an authorSean Whitton2025-08-121-158/+164
| | | | | | | * test/lisp/vc/vc-tests/vc-tests.el (vc-test--with-author-identity): New macro, factored out of vc-test--version-diff. (vc-test--version-diff, vc-test--other-working-trees): Use it.
* vc-test--other-working-trees: Fix a skip conditionSean Whitton2025-08-121-16/+16
| | | | | | * test/lisp/vc/vc-tests/vc-tests.el (vc-test--other-working-trees): For Git, don't try moving the first working tree unless we have Git>=2.29.
* vc-test-git07-other-working-trees: Widen scope of skip on Git<=2.17Sean Whitton2025-08-121-27/+28
| | | | | | | | * test/lisp/vc/vc-tests/vc-tests.el (vc-test--other-working-trees): Delete condition to skip 'move-working-tree' tests on Git<=2.17. (vc-test-git07-other-working-trees): Skip this whole test on Git<=2.17 (discussion in bug#79024).
* Fix some 'git worktree' compatibility issuesSean Whitton2025-08-101-26/+31
| | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-delete-working-tree): Reimplement to avoid requiring 'git worktree remove'. (vc-git-move-working-tree): Use 'git worktree move' if 'git worktree repair' is not available. Give a more informative error message if we don't even have that. * test/lisp/vc/vc-tests/vc-tests.el (vc-git--program-version): Declare. (vc-test--other-working-trees): Skip vc-move-working-tree tests with Git old enough to lack 'git worktree move'.
* ; Fix thread-testsEli Zaretskii2025-08-101-1/+3
| | | | | | * test/src/thread-tests.el (make-thread): Fix declaration. (thread-set-buffer-disposition, thread-buffer-disposition): Declare. (Bug#76969)
* Allow thread's buffer to be killed, by defaultDmitry Gutov2025-08-091-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/thread.c (Fmake_thread): Add new argument (bug#76969). (thread_set_error): New function, extracted from thread-signal. (Fthread_buffer_disposition): Add getter. (Fthread_set_buffer_disposition): And setter. (thread_check_current_buffer): Check the values of threads' buffer_disposition. (thread_all_before_buffer_killed): New function. (init_threads): Set buffer_disposition to nil for the main thread. (syms_of_threads): Add new symbols and define the error. * src/thread.h (thread_state): New field buffer_disposition. (thread_all_before_buffer_killed): Declare. * src/buffer.c (Fkill_buffer): Call thread_check_current_buffer one more time after all hooks and after that call thread_all_before_buffer_killed. * src/comp.c (ABI_VERSION): Increase the value. * test/src/thread-tests.el (thread-buffer-disposition-t) (thread-buffer-disposition-nil) (thread-buffer-disposition-silently) (thread-set-buffer-disposition) (thread-set-buffer-disposition-main-thread): New tests. * doc/lispref/threads.texi (Basic Thread Functions): Document buffer-disposition in make-thread and its getter and setter. * etc/NEWS: Add entry.
* Add multi-character pairs to lua-ts-mode and texinfo-modeElías Gabriel Pérez2025-08-091-0/+33
| | | | | | | | | | | | | * etc/NEWS: Add entry for lua-ts-mode changes. * lisp/progmodes/lua-ts-mode.el (lua-ts-auto-close-block-comments): New user option. (lua-ts-mode): Add '--[[ ]]' pairs to 'electric-pair-pairs' only if 'lua-ts-auto-close-block-comments' is non-nil. * lisp/textmodes/texinfo.el (texinfo-mode): Add "`` ''" pairs to 'electric-pair-pairs'. * test/lisp/progmodes/lua-ts-mode-tests.el (lua-ts-test-auto-close-block-comments): Add new test. (Bug#79047)
* ; * lisp/autoinsert.el (auto-insert-alist): Fix last change.Eli Zaretskii2025-08-091-1/+2
|
* Autoinsert: Allow condition to be a functionmattiasdrp2025-08-091-0/+34
| | | | | | | | | | | | | | | | | Currently a condition can only be a regexp or a major-mode symbol but there's no real reason to not allow any predicate as a condition. * doc/misc/autotype.texi: Document the new condition type in 'auto-insert-alist'. * etc/NEWS: Announce the new condition type in 'auto-insert-alist'. * lisp/autoinsert.el (auto-insert-alist): Add the new condition type to the variable documentation. (auto-insert): Change the way the condition is matched to allow for custom predicates. * test/lisp/autoinsert-tests.el (autoinsert-tests-auto-insert-lambda/-nil): Add two tests for lambdas (nil and t cases) (autoinsert-tests-auto-insert-predicate/-nil): Add two tests for named predicates (nil and t cases) (Bug#79178)
* Rework autorevert-tests.elMichael Albinus2025-08-081-270/+313
| | | | | | | | | | | | | | | | | * lisp/autorevert.el (auto-revert-handler): Rearrange timer handling. * test/lisp/autorevert-tests.el (ert-temp-file-prefix): Don't set it. (auto-revert--test-rootdir, auto-revert--test-monitors): New defvars. Replace globally `temporary-file-directory' by `auto-revert--test-rootdir'. (auto-revert--wait-for-revert): Rewrite. (auto-revert--test-library, auto-revert--test-monitor) (auto-revert--skip-unless-proper-library-and-monitor): New defuns. (with-auto-revert-test): Let-bind `ert-temp-file-prefix'. Call `file-notify-rm-all-watches'. (auto-revert-test--write-region, auto-revert-test--write-file): New defuns. (auto-revert-testNN-*): Rework.
* Rework filenotify-tests.elMichael Albinus2025-08-081-18/+22
| | | | | | * test/lisp/filenotify-tests.el (ert-temp-file-suffix): Set it. (with-file-notify-test): Don't set :suffix. (file-notify-testNN-*): Rework.
* (help-function-arglist): Fix bug#79128Stefan Monnier2025-08-071-0/+3
| | | | | | | | * lisp/help.el (help-function-arglist): Fix use of `documentation`, to obey the `function-documentation` property. * test/lisp/help-tests.el (help-tests--use-docstring-arglist-79128): New test.
* Fix some tests on OpenBSDManuel Giraud2025-08-072-2/+9
| | | | | | | * test/lisp/eshell/em-script-tests.el (em-script-test/batch-file/shebang): "env -S" is not supported. * test/src/fns-tests.el (fns-tests-random): 'random' is non-deterministic on OpenBSD. (Bug#79190)
* Fix Python PDB tracking for remote inferior Pythonkobarity2025-08-071-0/+26
| | | | | | | | | | | | | | * lisp/progmodes/python.el (python-shell-local-prefix): New constant. (python-shell--convert-file-name-to-send): New function to add/remove prefix. (python-shell-send-string, python-shell-send-file): Changed to use 'python-shell--convert-file-name-to-send'. (python-pdbtrack-set-tracked-buffer): Changed to add/remove prefix. * test/lisp/progmodes/python-tests.el (python-shell--convert-file-name-to-send-1): New test. (Bug#79036)
* Add set-file-times implementation for Tramp smb methodMichael Albinus2025-08-061-5/+7
| | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times): Don't use UTC in all cases. * lisp/net/tramp-smb.el (tramp-smb-handle-set-file-times): New defun. (tramp-smb-file-name-handler-alist): Use it. * test/lisp/net/tramp-tests.el (tramp-test22-file-times): Adapt test.
* Tramp allows now external implementations for functionsMichael Albinus2025-08-052-9/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Mention tramp-hlo. (New operations): New node. (Top, Files directories and localnames): Add it to @menu. * etc/NEWS: Mention Tramp's feature to add function implementations. Presentational fixes and improvements. * lisp/net/tramp.el (tramp-file-name-for-operation-external): New defvar. (tramp-file-name-for-operation): Use `memq'. Handle external operations. Raise `remote-file-error' error in case of. (tramp-add-external-operation, tramp-remove-external-operation): New defuns. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test50-auto-load) (tramp-archive-test50-delay-load) (tramp-archive-test51-without-remote-files): Rename. * test/lisp/net/tramp-tests.el (tramp--test-operation) (tramp--handler-for-test-operation): New defuns. (tramp-test49-external-backend-function): New test. (tramp-test50-auto-load, tramp-test50-delay-load) (tramp-test50-recursive-load, tramp-test50-remote-load-path) (tramp-test51-without-remote-files, tramp-test52-unload): Rename.
* Fix vc-git worktrees and vc-tests for directories with symlinksMattias Engdegård2025-08-041-6/+9
| | | | | | | * lisp/vc/vc-git.el (vc-git-known-other-working-trees): * test/lisp/vc/vc-tests/vc-tests.el (vc-test--other-working-trees): Tolerate directories with symlinks in them, such as the standard temporary dirs on MacOS. 'git worktree list' outputs expanded names.
* ; Make erc-autojoin-channels-delayed tests more robustF. Jason Park2025-08-031-21/+23
| | | | | | * test/lisp/erc/erc-join-tests.el (erc-join-tests--autojoin-channels-ident): Be more flexible in checking assertion. (Bug#79017)
* Improve region deletion handling in python.elJakub Ječmínek2025-08-021-0/+18
| | | | | | | | | * lisp/progmodes/python.el (python-indent-dedent-line-backspace): Delete the text in the region if Transient Mark mode is enabled, the mark is active, and prefix arg is 1. (Bug#48695) * test/lisp/progmodes/python-tests.el (python-indent-dedent-line-backspace-4): Add new test.
* url: %-encode literal % characters when building query stringsSteven Allen2025-08-021-4/+4
| | | | | | | | | | | | | When building a query string via `url-build-query-string', %-encode literal % characters appearing in both the keys and the values. * lisp/url/url-util.el (url--query-key-value-preserved-chars): Define a new constant based on `url-query-key-value-allowed-chars' specifying the characters that should be preserved when %-encoding query-string keys and values. (url-build-query-string): Use the new constant (fixes Bug#78984). * test/lisp/url/url-util-tests.el (url-util-tests): Add a test.
* Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMichael Albinus2025-07-312-6/+6
|\
| * Move keyboard input functions from lread.c to keyboard.cMattias Engdegård2025-07-302-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | These have nothing to do with the Lisp reader at all. Suggested by Lynn Winebarger (bug#79035). * src/lread.c (read_filtered_event, Fread_char, Fread_event) (Fread_char_exclusive, Qascii_character): Move... * src/keyboard.c: ...here. * test/src/lread-tests.el (test-inhibit-interaction): Move... * test/src/keyboard-tests.el (keyboard-inhibit-interaction): ...here.
* | Fix problem in tramp-smb.elMichael Albinus2025-07-301-2/+11
|/ | | | | | | | * lisp/net/tramp-smb.el (tramp-smb-handle-file-attributes): Use `directory-file-name'. * test/lisp/net/tramp-tests.el (tramp-test18-file-attributes) (tramp-test19-directory-files-and-attributes): Extend tests.
* ; Adjust sleep-for in erc-autojoin-channels testsF. Jason Park2025-07-291-3/+2
| | | | | | | | * test/lisp/erc/erc-join-tests.el (erc-join-tests--autojoin-channels-ident): A `sleep-for' value of 0.01 caused associated tests to fail on at least one setup involving Solaris 10. The new value is arbitrary and possibly temporary, pending further investigation. (Bug#79017)
* cperl-mode.el: Support syntax of Perl version 5.42Harald Jörg2025-07-282-7/+14
| | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/cperl-mode.el (cperl--sub-name-generated-rx): Simplify captures to account for the :writer attribute. Parsing is done later. (cperl-imenu-sub-keywords): Remove attributes which generate subs (cperl-imenu--create-perl-index): Analyze field declarations for autogenerated methods (cperl-init-faces): Add "all" and "any" to the list of functions (cperl-short-docs): Add short docs for "all" and "any" * test/lisp/progmodes/cperl-mode-tests.el (cperl-test-autogenerated-reader-rx): Adjust for modified rx form due to ":writer" support (cperl-test-imenu-index): Add tests for autogenerated writer accessors (in grammar.pl) * test/lisp/progmodes/cperl-mode-resources/grammar.pl: Add code samples for ":writer" * etc/NEWS: Announce that CPerl mode supports Perl 5.42.
* Redo erc-nicks track integration tests as scenariosF. Jason Park2025-07-274-275/+517
| | | | | | | | | | * test/lisp/erc/erc-nicks-tests.el (erc-nicks-tests--track-faces): Remove unused function. (erc-nicks-track-faces/prioritize, erc-nicks-track-faces/defer) (erc-nicks-track-faces/nil, erc-nicks-track-faces/t): Remove tests. * test/lisp/erc/erc-scenarios-nicks-track.el: New file. * test/lisp/erc/resources/nicks/track-prioritize.eld: New file. * test/lisp/erc/resources/nicks/track-t.eld: New file. (Bug#76188)
* Cancel ERC autojoin timer in the server bufferF. Jason Park2025-07-276-326/+487
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-join.el (erc-autojoin-channels-delayed): Only cancel `erc--autojoin-timer' in the server buffer in which it's local. After Emacs 28 brought commit fc66ec33226aeed0b745356363ed952c8ff1f7fd "Prefer defvar-local in erc", customizing `erc-autojoin-timing' to `ident' led to ERC emitting redundant JOINs before `erc-autojoin--join' was factored out. Additionally, don't bother binding options around the call to `erc-autojoin-channels' to shape its behavior, preferring instead to call the internal workhorse function directly. Ever since bug#5521 introduced those options, the logic in `erc-autojoin-channels' has ignored `erc-autojoin-delay' anyway, so long as `erc-autojoin-timing' isn't `ident'. This change may break third party advice. (erc-autojoin-after-ident): Restore code to cancel timer. It was erroneously deleted in 959fbcf34b5dd04e1b4bf87c0b73afd784a41f7f "favor network identities in erc-join". * test/lisp/erc/erc-join-tests.el: Require erc-tests-common atop file so tests can take advantage of common utilities. (erc-autojoin-channels--connect): Replace with a function and three separate tests. (erc-join-tests--autojoin-channels-connect): New function. (erc-autojoin-channels/server, erc-autojoin-channels/network) (erc-autojoin-channels/nomatch): New tests. (erc-autojoin-channels--delay): Replace with a function and three separate tests. Remove guard to skip test on Solaris. (erc-join-tests--autojoin-channels-ident): New function. (erc-autojoin-channels-delayed/server) (erc-autojoin-channels-delayed/network) (erc-autojoin-channels-delayed/nomatch): New tests. (erc-autojoin-channels--ident): Replace with function and two separate tests. (erc-join-tests--autojoin-after-ident): New function. (erc-autojoin-after-ident/server) (erc-autojoin-after-ident/network): New tests. (erc-join-tests--autojoin-add--common) (erc-join-tests--autojoin-add): Rename former to latter. (erc-autojoin-add--network) (erc-autojoin-add--network-extended-syntax) (erc-autojoin-add--network-id): Adjust arguments to fixture. (erc-autojoin-add--server): Use common utils. (erc-join-tests--autojoin-remove--common) (erc-join-tests--autojoin-remove): Rename former to latter. (erc-autojoin-remove--network) (erc-autojoin-remove--network-id): Adjust args for fixture. (erc-autojoin-remove--server): Use common utils. * test/lisp/erc/erc-scenarios-join-timing.el: New file. * test/lisp/erc/resources/erc-scenarios-common.el (erc-scenarios-common--run-in-term): In subprocess, don't use failure tally as exit status unless body form succeeds. * test/lisp/erc/resources/erc-tests-common.el (erc-tests-common-init-server-proc): Use `make-process' instead of `start-process'. (erc-tests-common-make-server-buf): Use `erc-server-current-nick' to create the `erc-networks--id' as a `erc-networks--id-qualifying' instance, which is more realistic than a "fixed" variant. * test/lisp/erc/resources/join/timing/connect-both.eld: New file. * test/lisp/erc/resources/join/timing/ident-both.eld: New file. (Bug#79017)
* vc-test--other-working-trees: Stub out 'vc-dir'Sean Whitton2025-07-271-5/+9
| | | | | | * test/lisp/vc/vc-tests/vc-tests.el (vc-test--other-working-trees): Stub out 'vc-dir' when adding the second working tree.
* vc-tests: Fix two problems with other working tree testsSean Whitton2025-07-271-4/+12
| | | | | | | | * test/lisp/vc/vc-tests/vc-tests.el (project, cl-lib): Require. (vc-test--other-working-trees): Bind project-list-file to a writeable file name. (vc-test-hg07-other-working-trees): Use vc-hg-global-switches to enable the share extension.
* ; vc-test--other-working-trees: Fix unused variable warning.Sean Whitton2025-07-261-1/+1
|
* Merge from origin/emacs-30Eli Zaretskii2025-07-261-0/+22
|\ | | | | | | | | | | | | | | | | | | a44e9139c2f loaddefs-generate--rubric: Note about committing ldefs-bo... e4908623f23 ; Fix documentation of 'other-window' 5f3cbd62b1c ; * lisp/international/quail.el (quail-insert-kbd-layout)... 47deb38f214 ; face-font-family-alternatives, fixed-pitch: Comments. dd29b0ab66d Fix Eshell call to 'string-suffix-p' when checking for tr... cbfc095ed42 * etc/PROBLEMS: Describe how to work around screen reader... 8f00d36b63d (gnus)Scoring Tips: New tip regarding header continuation...
| * Fix Eshell call to 'string-suffix-p' when checking for trailing newlineJim Porter2025-07-211-0/+22
| | | | | | | | | | | | | | | | | | * lisp/eshell/esh-io.el (eshell--output-maybe-n): Fix call. * test/lisp/eshell/esh-io-tests.el (esh-io-test/output-newline/add-newline) (esh-io-test/output-newline/no-newline) (esh-io-test/output-newline/no-extra-newline): New tests (bug#79063).
| * Nativecomp don't error with undeclared types (bug#6573) (don't merge)Andrea Corallo2025-07-091-0/+20
| | | | | | | | | | | | | | | | | | Backporting f38e969e472 from trunk to emacs-30 * test/src/comp-resources/comp-test-funcs.el (comp-test-76573-1-f): New function. * lisp/emacs-lisp/comp-cstr.el (comp-supertypes): Don't error if 'type' is unknown.
| * Adapt emba integration (don't merge)Michael Albinus2025-06-082-4/+3
| | | | | | | | | | | | | | * test/infra/Dockerfile.emba (emacs-inotify): Don't install clangd. * test/infra/gitlab-ci.yml (.job-template): Make actions in after_script more robust.
| * Fix gitlab-ci.yml (don't merge to master)Michael Albinus2025-05-271-9/+4
| | | | | | | | | | * test/infra/gitlab-ci.yml (.job-template): Fix config.log name. (test-filenotify-gio, test-eglot): Fix formatting.
* | Rework filenotify-tests.elMichael Albinus2025-07-263-1300/+1143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/filenotify.el (file-notify--rm-descriptor): Use `insert-special-event'. * lisp/net/tramp-sh.el (tramp-bundle-read-file-names): Fix docstring. (tramp-sh-gio-monitor-process-filter): Extend error strings. * test/infra/Dockerfile.emba (emacs-base): Install python3. * test/lisp/filenotify-tests.el (auto-revert-buffer-list): Declare. (file-notify--test-rootdir): New defvar. Replace all uses of `temporary-file-directory' by it. (file-notify--test-cleanup): Set `auto-revert-buffer-list' to nil. (file-notify--test-monitor): Check also for `process-live-p'. Skip test, if the monitor cannot be determined. (file-notify--deftest-remote): Do not call `tramp-cleanup-connection', this is done in `file-notify--test-cleanup' already. (with-file-notify-test): New defmacro. Use it in (almost) all tests. (file-notify--test-make-temp-name): Do not create `file-notify--test-tmpdir'. (file-notify--test-event-handler): Use `directory-file-name '. (auto-revert-debug): Set it to nil. (file-notify-test<nn>-*): Rewrite, using `with-file-notify-test' and `ert-with-temp-file'. * test/lisp/net/tramp-tests.el (tramp-test46-file-notifications): Tag it :unstable.
* | Check for end-of-file when reading character escapes (bug#79097)Mattias Engdegård2025-07-251-0/+31
| | | | | | | | | | * src/lread.c (read_char_escape): Add check. * test/src/lread-tests.el (lread-char-escape-eof): New test.
* | VC: New support for other working treesSean Whitton2025-07-251-1/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git--read-start-point): New function, factored out of vc-git-create-tag. (vc-git-create-tag): Use it. (vc-git--worktrees, vc-git-known-other-working-trees) (vc-git-add-working-tree, vc-git-delete-working-tree) (vc-git-move-working-tree): * lisp/vc/vc-hg.el (vc-hg-known-other-working-trees) (vc-hg-add-working-tree, vc-hg--shared-p) (vc-hg-delete-working-tree, vc-hg-move-working-tree): New functions. * lisp/vc/vc.el: Define API for known-other-working-tree, add-working-tree, delete-working-tree and move-working-tree backend functions. (vc-dir-status-files): New function. (project-current-directory-override): Declare. (dired-rename-subdir): Autoload. (vc-add-working-tree, vc-switch-working-tree) (vc-delete-working-tree, vc-move-working-tree): New commands. * lisp/vc/vc-hooks.el (vc-prefix-map): Bind them under C-x v. * doc/emacs/vc1-xtra.texi (Other Working Trees): New node. * etc/NEWS: Announce the new commands. * test/lisp/vc/vc-tests/vc-tests.el (vc-test--other-working-trees): New function. (vc-test-git07-other-working-trees) (vc-test-hg07-other-working-trees): New tests. * lisp/ldefs-boot.el: Regenerate.
* | vc-test--version-diff: Bind vc-async-checkinSean Whitton2025-07-251-1/+2
| | | | | | | | | | * test/lisp/vc/vc-tests/vc-tests.el (vc-test--version-diff): Bind vc-async-checkin to disable async checkins during test.
* | Use macro to reduce repetition in TLS testsRobert Pluim2025-07-241-339/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/net/network-stream-tests.el (with-tls-params): New macro, abstracts most of the boiler plate for TLS tests. (connect-to-tls-ipv4-wait, connect-to-tls-ipv4-nowait) (connect-to-tls-ipv6-nowait, open-network-stream-tls-wait) (open-network-stream-tls-nowait, open-network-stream-tls) (open-network-stream-tls-nocert) (open-gnutls-stream-new-api-default) (open-gnutls-stream-new-api-wait) open-gnutls-stream-old-api-wait) (open-gnutls-stream-new-api-nowait) (open-gnutls-stream-old-api-nowait): Use it.
* | Handle Eshell prompts where stickiness properties are 't'Jim Porter2025-07-221-4/+6
| | | | | | | | | | | | | | | | | | | | Previously, this signaled an error, breaking the prompt (bug#79059). * lisp/eshell/em-prompt.el (eshell--append-text-property): Don't append to non-list property values. * test/lisp/eshell/em-prompt-tests.el (em-prompt-test/field-properties/merge-stickiness): Adapt test.
* | Disable track-changes while reloading pages in EWWJim Porter2025-07-201-0/+24
| | | | | | | | | | | | | | | | | | | | | | This makes sure 'eww--track-changes' doesn't interfere with the initial rendering process. Previously, this caused problems like <textareas> consuming the rest of the page when reloading the document. * lisp/net/eww.el (eww--change-tracker-id): New variable. (eww-display-document): Temporarily unregister our change tracker. * test/lisp/net/eww-tests.el (eww-test/tag/textarea/reload): New test.
* | Fix EWW <textarea> properties when it's on the same line as other textJim Porter2025-07-201-0/+23
| | | | | | | | | | | | | | | | * lisp/net/eww.el (eww-tag-textarea): Set 'start' after ensuring preceding newline. * test/lisp/net/eww-tests.el (eww-test/tag/textarea/starts-on-new-line): New test.
* | Make sure we always set the ':readable' state when displaying EWW pageJim Porter2025-07-191-0/+17
| | | | | | | | | | | | * lisp/net/eww.el (eww-display-html): Always set ':readable'. * test/lisp/net/eww-tests.el (eww-test/readable/reload-resets-readable): New test.