aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for su-rs and sudo-rs programsMichael Albinus2025-10-153-14/+54
| | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Inline methods): Add "surs" and "sudors" methods. * etc/NEWS: Add optional "surs" and "sudors" Tramp methods. Presentational fixes and improvements. * lisp/net/tramp-cmds.el (tramp-file-name-with-method): Add "surs" and "sudors" to :type. Adapt :version. * lisp/net/tramp-sh.el (tramp-enable-surs-method) (tramp-enable-sudors-method): New defuns (tramp-sh-handle-expand-file-name): Add "surs" and "sudors" in check. * lisp/net/tramp.el (tramp-methods): Adapt docstring. * lisp/comint.el (comint-password-prompt-regexp): * test/lisp/comint-tests.el (comint-testsuite-password-strings): Add su-rs and sudo-rs password prompts.
* Fix Tramp customizationMichael Albinus2025-10-142-2/+1
| | | | | | | | | | | Do not use the ;;;###tramp-autoload cookie for defcustoms. This damages the customisation when Tramp is autoloaded. Reported by Joel Reicher <joel.reicher@gmail.com>. * lisp/net/tramp-cache.el (tramp-verbose): Declare. (tramp-connection-properties): * lisp/net/tramp-message.el (tramp-verbose): Remove ;;;###tramp-autoload cookie.
* (read-only-keymap-*): Be more careful with the namespaceStefan Monnier2025-10-122-2/+2
| | | | | | | | | | * lisp/keymap.el (keymap-read-only-bind): Rename from `read-only-keymap-bind`. Improve docstring. (keymap--read-only-filter): Rename from `read-only-keymap-filter`. * lisp/net/goto-addr.el (goto-address-highlight-keymap): * lisp/progmodes/bug-reference.el (bug-reference-map): * lisp/net/browse-url.el (browse-url-button-map): * lisp/ansi-osc.el (ansi-osc-hyperlink-map): Adjust accordingly.
* Fix regression in Tramp file name completionMichael Albinus2025-10-121-0/+3
| | | | | * lisp/net/tramp.el (tramp-make-tramp-file-name): Do not use the hop for the "archive" method.
* Make cascaded archives working in tramp-archive.el work, againMichael Albinus2025-10-111-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-archive.el (tramp-archive-file-name-handler): Move bindings of `tramp-methods' and `tramp-gvfs-methods' up. (tramp-archive-file-name-handler): Do not use `tramp-archive-run-real-handler' for testing existence of `archive'. (Bug#79582) * test/lisp/net/tramp-archive-tests.el (tramp-archive-test-file-archive-hexlified): Move down. (tramp-archive-test-cascaded-file-archive) (tramp-archive-test-cascaded-archive, tramp-archive-test-cascaded): New defvars. (tramp-archive--test-deftest-cascaded): New defmacro. (tramp-archive-test01-file-name-syntax) (tramp-archive-test05-expand-file-name): Adapt tests. (tramp-archive-test01-file-name-syntax-cascaded) (tramp-archive-test05-expand-file-name-cascaded) (tramp-archive-test06-directory-file-name-cascaded) (tramp-archive-test07-file-exists-p-cascaded) (tramp-archive-test08-file-local-copy-cascaded) (tramp-archive-test09-insert-file-contents-cascaded) (tramp-archive-test11-copy-file-cascaded) (tramp-archive-test15-copy-directory-cascaded) (tramp-archive-test16-directory-files-cascaded) (tramp-archive-test17-insert-directory-cascaded) (tramp-archive-test18-file-attributes-cascaded) (tramp-archive-test19-directory-files-and-attributes-cascaded) (tramp-archive-test20-file-modes-cascaded) (tramp-archive-test21-file-links-cascaded) (tramp-archive-test26-file-name-completion-cascaded) (tramp-archive-test40-make-nearby-temp-file-cascaded) (tramp-archive-test43-file-system-info-cascaded) (tramp-archive-test44-user-group-ids-cascaded): New tests. * test/lisp/net/tramp-archive-resources/outer.zip: New test file.
* newsticker.el: fix escaping of XML stringsLdBeth2025-10-081-3/+3
| | | | | | * lisp/net/newst-backend.el (newsticker--unxml): XML-escape the parsed string in case it contains characters that could confuse the HTML parser. (Bug#79600)
* Merge from origin/emacs-30Sean Whitton2025-10-031-1/+1
|\ | | | | | | | | 6a8fda1f339 Fix process name matching in 'tramp-process-running-p' 217fd4f09ea ; * doc/lispref/modes.texi (Defining Minor Modes): Fix la...
| * Fix process name matching in 'tramp-process-running-p'Renato Ferreira2025-10-011-1/+1
| | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-process-running-p): Use 'compare-strings' for matching PROCESS-NAME with process command. (Bug#79545) Copyright-paperwork-exempt: yes
* | Fix bootstrap and prevent browse-url from preloading numerous filesPo Lu2025-09-222-16/+2
| | | | | | | | | | | | | | | | | | | | * lisp/keymap.el (read-only-keymap-filter) (read-only-keymap-bind): New functions, removed from browse-url.el. * lisp/net/browse-url.el (browse-url-keymap-filter) (browse-url-keymap-bind): Move to keymap.el. All callers changed.
* | Support 'RET' for visiting URLs in read-only buffers (bug#74792)Juri Linkov2025-09-212-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-keymap-filter) (browse-url-keymap-bind): New functions. (browse-url-button-map): Bind "C-c RET" to 'browse-url-button-open' and rebind "RET" with the filter 'browse-url-keymap-bind'. * lisp/ansi-osc.el (ansi-osc-hyperlink-map): * lisp/net/goto-addr.el (goto-address-highlight-keymap): * lisp/progmodes/bug-reference.el (bug-reference-map): Bind "RET" with the filter 'browse-url-keymap-bind'.
* | * lisp/net/tramp.el (tramp-cache): Require at bottom.Michael Albinus2025-09-171-0/+4
| |
* | Tramp code cleanupMichael Albinus2025-09-155-21/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-use-absolute-autoload-file-names) (tramp-skeleton-file-name-all-completions) (tramp-parse-auth-sources, tramp-parse-file, tramp-parse-netrc): * lisp/net/tramp-cache.el (tramp-parse-connection-properties): * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names): * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory): Use `seq-uniq'. * lisp/net/tramp.el (tramp-register-foreign-file-name-handler): * lisp/net/tramp-fuse.el (tramp-fuse-handle-directory-files): Use `seq-union'. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test17-insert-directory): * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory): Use `seq-union'. (tramp-test42-utf8): Use `seq-uniq' and `tramp-compat-seq-keep'.
* | * lisp/net/shr.el (shr-tag-sub): Handle BOB (bug#79448).Eli Zaretskii2025-09-141-1/+1
| |
* | (eww-switch-to-buffer): Prefer seq- functions to cl-James Thomas2025-09-131-6/+6
| | | | | | | | | | * lisp/net/eww.el (eww-switch-to-buffer): Don't reverse the list of buffers since it doesn't do what we want any way (bug#79084).
* | Fix parsing single-digit color codes in rcircAlcor2025-09-131-2/+2
| | | | | | | | | | * lisp/net/rcirc.el (rcirc-color-attributes) (rcirc-remove-markup-codes): Handle single-digit color codes correctly.
* | Tramp: Refactor environment variable filtering to a separate functionLiu Hui2025-09-123-9/+16
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-local-environment-variable-p): New function. (Bug#79413) (tramp-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process) (tramp-sh-handle-process-file): * lisp/net/tramp-androidsu.el (tramp-androidsu-handle-make-process): Use `tramp-local-environment-variable-p'.
* | Rearrange tramp.el in order to avoid bootstrap problemsStefan Monnier2025-09-111-9/+14
| | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-compat, tramp-message) (tramp-integration, trampver): Require them later. (top): Use `eval-and-compile' modifying `macro-declarations-alist'. (tramp-register-file-name-handlers): Don't fail during bootstrap before `tramp-loaddefs.el' is built.
* | ; * lisp/net/tramp-compat.el (top): Use read syntax #' for `functionp'.Stefan Monnier2025-09-101-1/+1
| |
* | Extend tramp-test26-interactive-file-name-completionMichael Albinus2025-09-021-1/+1
| | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-get-completion-methods): Use `tramp-compat-seq-keep'. * test/lisp/net/tramp-tests.el (completions-max-height): Declare. (tramp-test26-interactive-file-name-completion): Extend test.
* | ; Fix last commitMichael Albinus2025-08-291-5/+7
| | | | | | | | | | * lisp/net/tramp.el (tramp-parse-default-user-host): Fix thinko. (tramp-handle-file-directory-p): Extend simple check.
* | `Fix read-directory-name' for Tramp filesMichael Albinus2025-08-294-82/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/minibuffer.el (completion-file-name-table): Improve bypass for directory checking. (Bug#79236) * lisp/net/tramp.el (tramp-user-regexp): Exclude "[" and "]". (tramp-completion-make-tramp-file-name): Handle port for IPv6 hosts. (tramp-completion-handle-file-directory-p) (tramp-completion-handle-file-exists-p): Simplify. (tramp-completion-handle-file-name-completion): Ignore PREDICATE. (tramp-completion-dissect-file-name): Handle ports. (tramp-parse-default-user-host): Suppress '(nil nil) result. (tramp-parse-file): Delete duplicates. (tramp-parse-shosts-group): Accept also IPv6 addresses. (tramp-handle-file-directory-p): Return t for filenames "/method:foo:". (tramp-parse-auth-sources, tramp-parse-netrc): * lisp/net/tramp-cache.el (tramp-parse-connection-properties): * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names): Use `tramp-compat-seq-keep'. * test/lisp/net/tramp-tests.el (edebug-mode): Declare. (tramp--test-message): Write also trace value. (tramp-test26-file-name-completion): (tramp-test26-interactive-file-name-completion): Extend tests.
* | ; Remove duplicate menu item in 'eww'john muhl2025-08-211-1/+0
| | | | | | | | | | | | | | * lisp/net/eww.el (eww-mode-map): Delete "Exit" menu item. It once called 'eww-quit', which was deleted in Dec 2013, so now it does the same as "Close browser" menu item. (Bug#79284)
* | Change default of tramp-debug-buffer-limitMichael Albinus2025-08-201-1/+1
| | | | | | | | | | | | * lisp/net/tramp-message.el (tramp-debug-buffer-limit): Change default to 100MB. Suggested by Francesco Potortì <pot@potorti.it>.
* | Adapt tramp to new autoload-macro expandJD Smith2025-08-172-1/+8
| | | | | | | | | | | | | | | | | | | | Bug #78995. * lisp/net/tramp-compat.el (tramp-loaddefs): suppress error on requiring tramp-loaddef. * lisp/net/tramp.el (tramp--with-startup): declare autoload-macro expand, and suppress warnings about this declare form on older versions of Emacs.
* | Suppress Tramp session timeout if buffer is modifiedMichael Albinus2025-08-171-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Predefined connection information): A session timeout is suppressed if there is a modified buffer, or a buffer under auto-revert. (Traces and Profiles): Tramp messages are written to the *Messages* buffer when level is less than or equal to 3. * lisp/net/tramp-sh.el (tramp-timeout-session): Do not timeout when buffer is modified, or in auto-revert mode. * test/lisp/net/tramp-tests.el (tramp-test48-session-timeout): Extend test.
* | Merge from origin/emacs-30Michael Albinus2025-08-161-9/+17
|\ \ | |/ | | | | | | 964741d40e0 * lisp/net/tramp-sh.el (tramp-get-remote-touch): Simplify. 6a018a2d7e4 Improve use of "touch" in Tramp
| * * lisp/net/tramp-sh.el (tramp-get-remote-touch): Simplify.Michael Albinus2025-08-161-13/+10
| |
| * Improve use of "touch" in TrampToru TSUNEYOSHI2025-08-161-1/+12
| | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-get-remote-touch): Set connection property "touch-h". (tramp-sh-handle-set-file-times): Use it.
| * Sync with Tramp 2.7.4-preMichael Albinus2025-08-166-108/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el (tramp-version): Adapt Tramp versions. * lisp/net/tramp-cmds.el (tramp-cleanup-connection): Use read syntax #' for `tramp-timeout-session', * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection): Set "connected" property in time. * lisp/net/tramp-sh.el (tramp-timeout-session): Add ;;;###tramp-autoload cookie. * lisp/net/tramp.el (tramp-barf-if-file-missing): Do not raise an error when not connected. (Bug#78572) (tramp-file-name-handler): Do not force the backtrace. (tramp-connectable-p): Check also, whether initial handshake is finished. (tramp-skeleton-directory-files) (tramp-skeleton-directory-files-and-attributes) (tramp-skeleton-set-file-modes-times-uid-gid): Rearrange sending `file-missing' error. (tramp-handle-access-file, tramp-handle-unlock-file): Use `tramp-connectable-p'. (tramp-skeleton-file-name-all-completions): Filter out "" hits. (Bug#79173) * test/lisp/net/tramp-tests.el (project-mode-line-format) (project-mode-line): Declare. (tramp-test48-session-timeout): New test. (tramp-test49-auto-load, tramp-test49-delay-load) (tramp-test49-recursive-load, tramp-test49-remote-load-path) (tramp-test50-without-remote-files, tramp-test51-unload): Rename.
| * Populate the ':title' in EWW when defaulting to readable modeJim Porter2025-06-291-0/+6
| | | | | | | | | | | | | | Do not merge to master. * lisp/net/eww.el (eww-display-document): Always render the full document first to populate ':title' (bug#77299).
* | Limit size of Tramp debug bufferMichael Albinus2025-08-131-1/+17
| | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Traces and Profiles): Add tramp-debug-buffer-limit to index. Describe it. * lisp/net/tramp-message.el (tramp-debug-buffer-limit): New defcustom. (tramp-debug-message): Use it. (Bug#79182)
* | Rename variables *-in-progress-p to *-in-progressMichael Albinus2025-08-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/backups.texi (Reverting): Fix variable names revert-buffer-in-progress and auto-revert-buffer-in-progress. * etc/NEWS: Fix variable names revert-buffer-in-progress and auto-revert-buffer-in-progress. Presentational fixes and improvements. * lisp/autorevert.el (auto-revert-buffer-in-progress): Rename. (auto-revert-handler, auto-revert-buffer): Use renamed variables. * lisp/dired-x.el (dired-omit-expunge): Use `auto-revert-buffer-in-progress'. * lisp/files.el (revert-buffer-in-progress): Rename. (revert-buffer-in-progress-p): Declare obsolete. (after-find-file, revert-buffer): * lisp/saveplace.el (save-place-find-file-hook) (save-place-dired-hook): * lisp/vc/vc-git.el (vc-git-command, vc-git--out-ok): * lisp/vc/vc.el (vc-diff-internal): Use `revert-buffer-in-progress'. * lisp/net/tramp-sh.el (tramp-sh-handle-vc-registered): Suppress warning.
* | Fix Tramp completionMichael Albinus2025-08-071-2/+2
| | | | | | | | | | * lisp/net/tramp.el (tramp-skeleton-file-name-all-completions): Filter out "" hits. (Bug#79173)
* | Add set-file-times implementation for Tramp smb methodMichael Albinus2025-08-062-3/+12
| | | | | | | | | | | | | | | | | | | | * 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-051-43/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMichael Albinus2025-07-311-0/+19
|\ \
| * | Add support for AUTH=PLAIN to imap.elRobert Pluim2025-07-301-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/imap.el (imap-authenticators): Add 'plain' to the list. (imap-authenticator-alist): Add 'imap-plain-p' and 'imap-plain-auth'. (imap-plain-p): New function, detects AUTH=PLAIN support. (imap-plain-auth): Perform the AUTH=PLAIN authentication. * doc/misc/gnus.texi (Mail Source Specifiers): Add 'plain'. (Conformity): Add reference to RFC 4616. * etc/NEWS: Announce the support.
* | | Fix problem in tramp-smb.elMichael Albinus2025-07-301-0/+1
|/ / | | | | | | | | | | | | | | * 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.
* | Tramp: Fix thinko in local process environmentMichael Albinus2025-07-273-7/+10
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Do not set "TERM", "PROMPT_COMMAND" and "PS1". * lisp/net/tramp.el (with-tramp-local-environment): Do not override `process-environment'. Set "TERM", "PROMPT_COMMAND", "PS1" and "INSIDE_EMACS". (Bug#79103) * lisp/net/trampver.el (tramp-inside-emacs): Remove duplicate entries.
* | ; Fix last changeEli Zaretskii2025-07-271-3/+5
| | | | | | | | | | | | | | * etc/NEWS: Announce new newsticker commands. * lisp/net/newst-plainview.el (newsticker-hide-old-feed-header): Doc fix. Add :version tag. (Bug#78305)
* | Add a new user option to hide the header of old newsticker feedsBaptiste Strazzulla2025-07-271-14/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/newst-plainview.el (newsticker-hide-old-feed-header): Define that new user option (newsticker-mode-map): Add the new bindings related to that new user option. (newsticker-buffer-update): Hide the old feeds if the new user option is true. (newsticker-hide-old-feed-header): Define a function to hide the old feeds. (newsticker-show-old-feed-header): Define a function to restore them. (newsticker--old-feed-p): Define a function to check if a feed is old. (newsticker--buffer-do-insert-text): Set age of feed to old if applicable. (newsticker--buffer-set-invisibility): Update the function to account for the fact that there are two lines (not just one) to hide feeds. * etc/NEWS: Announce the new user option 'newsticker-hide-old-feed-header' to hide old feeds. (Bug#78305)
* | Rework filenotify-tests.elMichael Albinus2025-07-261-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Simplify code in 'newsticker--buffer-do-insert-text'Baptiste Strazzulla2025-07-261-10/+6
| | | | | | | | | | * lisp/net/newst-plainview.el (newsticker--buffer-do-insert-text): Use the already defined 'age' variable. (Bug#78305)
* | Improve performance when computing the "readable" form of a page in EWWJim Porter2025-07-251-3/+27
| | | | | | | | | | | | | | | | | | | | | | The previous version made a lot of string copies, but only needed the word count of each DOM node. In this version, we just sum up the word counts in all the existing nodes, which results in a significant performance improvement (bug#78902). * lisp/net/eww.el (eww--string-count-words, eww--dom-count-words): New functions... (eww--walk-readability, eww-readable-dom): Use them.
* | Add new function 'dom-inner-text'Jim Porter2025-07-251-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces 'dom-text' and 'dom-texts', and is both more correct and more efficient than them. * lisp/dom.el (dom-text, dom-texts): Make obsolete in favor of... (dom-inner-text--1, dom-inner-text): ... these new functions. Update callers. * doc/lispref/text.texi (Document Object Model): Update documentation to refer to 'dom-inner-text'. * etc/NEWS: Announce this change.
* | ; Revert last changeMichael Albinus2025-07-241-5/+6
| | | | | | | | | | | | * lisp/net/tramp-smb.el (tramp-connection-local-default-system-variables): Add "" to `exec-suffixes'. (Bug#78886)
* | Disable setting connection-local variables in tramp-smb.elMichael Albinus2025-07-241-3/+4
| | | | | | | | | | * lisp/net/tramp-smb.el: Disable setting connection-local variables. (Bug#78886)
* | Add consistent environment for local process calls in TrampMichael Albinus2025-07-237-97/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection): * lisp/net/tramp-androidsu.el (tramp-androidsu-maybe-open-connection): * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch): * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory) (tramp-smb-handle-file-acl) (tramp-smb-handle-file-notify-add-watch) (tramp-smb-handle-set-file-acl, tramp-smb-maybe-open-connection): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command): Use `tramp-start-process'. Do not call `tramp-post-process-creation'. * lisp/net/tramp.el (with-tramp-local-environment): New defmacro. (tramp-start-process): New defun. (tramp-call-process, tramp-call-process-region) (tramp-process-lines): Use `with-tramp-local-environment'.
* | Add function exec-suffixesMichael Albinus2025-07-222-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/processes.texi (Subprocess Creation): Add function exec-suffixes. * etc/NEWS: New function 'exec-suffixes'. Presentational fixes and improvements. * lisp/files-x.el (exec-suffixes): New defun. (Bug#78886) * lisp/files.el (executable-find): Use function `exec-suffixes'. * lisp/net/tramp-integration.el (tramp-connection-local-default-system-variables): Add also `exec-suffixes'. * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection): Use default values of `path-separator', `null-device' and `exec-suffixes'. (tramp-smb-connection-local-default-system-variables): New defconst. Add it to connection-local profiles.
* | Disable track-changes while reloading pages in EWWJim Porter2025-07-201-4/+11
| | | | | | | | | | | | | | | | | | | | | | 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.