aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc/tramp.texi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ; Make the document language in Info manuals explicitly statedEli Zaretskii2026-02-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/woman.texi: * doc/misc/wisent.texi: * doc/misc/widget.texi: * doc/misc/vtable.texi: * doc/misc/viper.texi: * doc/misc/vhdl-mode.texi: * doc/misc/use-package.texi: * doc/misc/url.texi: * doc/misc/tramp.texi: * doc/misc/todo-mode.texi: * doc/misc/srecode.texi: * doc/misc/speedbar.texi: * doc/misc/smtpmail.texi: * doc/misc/sieve.texi: * doc/misc/ses.texi: * doc/misc/semantic.texi: * doc/misc/sc.texi: * doc/misc/sasl.texi: * doc/misc/remember.texi: * doc/misc/reftex.texi: * doc/misc/rcirc.texi: * doc/misc/pgg.texi: * doc/misc/pcl-cvs.texi: * doc/misc/octave-mode.texi: * doc/misc/nxml-mode.texi: * doc/misc/newsticker.texi: * doc/misc/mh-e.texi: * doc/misc/message.texi: * doc/misc/mairix-el.texi: * doc/misc/info.texi: * doc/misc/ido.texi: * doc/misc/idlwave.texi: * doc/misc/htmlfontify.texi: * doc/misc/gnus.texi: * doc/misc/forms.texi: * doc/misc/flymake.texi: * doc/misc/eww.texi: * doc/misc/eudc.texi: * doc/misc/eshell.texi: * doc/misc/ert.texi: * doc/misc/erc.texi: * doc/misc/epa.texi: * doc/misc/emacs-gnutls.texi: * doc/misc/eieio.texi: * doc/misc/eglot.texi: * doc/misc/efaq-w32.texi: * doc/misc/efaq.texi: * doc/misc/edt.texi: * doc/misc/ediff.texi: * doc/misc/ede.texi: * doc/misc/ebrowse.texi: * doc/misc/dired-x.texi: * doc/misc/dbus.texi: * doc/misc/cl.texi: * doc/misc/cc-mode.texi: * doc/misc/calc.texi: * doc/misc/bovine.texi: * doc/misc/autotype.texi: * doc/misc/auth.texi: * doc/lispintro/emacs-lisp-intro.texi: * doc/lispref/elisp.texi: * doc/emacs/emacs.texi: Add @documentlanguage where it was missing. This makes the language explicit given the change in behavior expected in Texinfo 7.3.
* Minor Tramp doc clarificationsMichael Albinus2026-02-161-1/+9
| | | | | | * doc/misc/tramp.texi (External packages): Mention handler-bind to trap for remote-file-error. (Traces and Profiles): Explain tramp-error-show-message-timeout.
* Tramp signals 'remote-file-error' consequentlyMichael Albinus2026-02-121-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (External packages): Mention also special events. Emphasise, that Tramp raises remote-file-error. * etc/NEWS: Tramp signals 'remote-file-error' consequently. Presentational fixes and improvements. * lisp/net/tramp.el (tramp-skeleton-process-file) (tramp-handle-make-symbolic-link, tramp-process-actions) (tramp-wait-for-regexp, tramp-send-string): * lisp/net/tramp-adb.el (tramp-adb-get-device) (tramp-adb-send-command-and-check, tramp-adb-barf-unless-okay) (tramp-adb-wait-for-output, tramp-adb-maybe-open-connection): * lisp/net/tramp-archive.el (tramp-archive-handle-not-implemented): * lisp/net/tramp-crypt.el (tramp-crypt-do-encrypt-or-decrypt-file-name) (tramp-crypt-do-encrypt-or-decrypt-file): * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error) (tramp-gvfs-maybe-open-connection): * lisp/net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-perl) (tramp-do-copy-or-rename-file-directly) (tramp-do-copy-or-rename-file-out-of-band) (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region) (tramp-bundle-read-file-names, tramp-maybe-send-script) (tramp-find-file-exists-command, tramp-barf-if-no-shell-prompt) (tramp-maybe-open-connection, tramp-wait-for-output) (tramp-send-command-and-check, tramp-barf-unless-okay) (tramp-send-command-and-read, tramp-get-ls-command): * lisp/net/tramp-smb.el (tramp-smb-handle-file-attributes) (tramp-smb-handle-make-symbolic-link) (tramp-smb-maybe-open-connection, tramp-smb-call-winexe): * lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command-and-read): Raise a `remote-file-error' in case of connection problems. * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection): Improve check for host. * lisp/net/tramp-smb.el (tramp-smb-get-localname): Improve error message. * lisp/net/tramp-sudoedit.el (tramp-default-host-alist): Set a default for "sudoedit" method. (tramp-sudoedit-maybe-open-connection): Check for proper host name. (tramp-sudoedit-send-command): Do not expand ?h. * lisp/net/tramp.el (tramp-compute-multi-hops): Check for cycle proxy definition. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test20-file-modes) (tramp-archive-test21-file-links): Check for `rmote-file-error'. * test/lisp/net/tramp-tests.el (tramp-file-name-with-sudo): Declare. (tramp--test-ignore-make-symbolic-link-error): Check for `rmote-file-error'. (tramp-test03-file-name-method-rules): Delete. (tramp-test03-file-error): New test. (tramp--test-supports-processes-p): Make it more rebust.
* External Tramp methods can be used in multi-hopsMichael Albinus2026-01-061-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (External methods): Mention, how external methods are used for multi-hops. (Ad-hoc multi-hops): Change requirement of method. * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.8.2-pre". * etc/NEWS: External Tramp methods can be used in multi-hops. Presentational fixes and improvements. * lisp/net/tramp-sh.el (tramp-sh-handle-copy-directory): Check for `tramp-method-out-of-band-p' explicitly. Don't flush directory properties. (tramp-method-out-of-band-p): There shouldn't be a multi-hop. * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory): Don't flush directory properties. * lisp/net/tramp.el (tramp-methods): Adapt docstring. (tramp-barf-if-file-missing) (with-parsed-tramp-file-name): Adapt debug spec. (tramp-skeleton-copy-directory): Flush directory properties. (tramp-add-hops): Check for `tramp-login-args' property.
* ; Add 2026 to copyright years.Sean Whitton2026-01-011-1/+1
|
* * doc/misc/tramp.texi (FUSE setup): Extend rclone setup section.Michael Albinus2025-12-211-0/+8
|
* Document and test process filters in tramp-smb.elMichael Albinus2025-12-161-15/+20
| | | | | | | | * doc/misc/tramp.texi (Remote processes): Provide more details in "Running remote processes on MS Windows hosts". * test/lisp/net/tramp-tests.el (tramp-test29-start-file-process) (tramp-test30-make-process): Adapt tests.
* Finish process error buffer support in tramp-smb.elMichael Albinus2025-12-151-2/+14
| | | | | | | | | | | | | * doc/misc/tramp.texi (Remote processes): Provide more details in "Running remote processes on MS Windows hosts". * lisp/net/tramp-smb.el (tramp-smb-handle-make-process): Suppress lock files. * test/lisp/net/tramp-tests.el (auto-revert-notify-watch-descriptor) (auto-revert-remote-files, auto-revert-use-notify): Declare. Set proper values. (tramp-test30-make-process): Adapt test.
* Mention tramp-hlo in Tramp's documentationMichael Albinus2025-12-131-6/+12
| | | | | * doc/misc/tramp.texi (Frequently Asked Questions) (New operations): Mention tramp-hlo, again.
* Rework remote process support for Tramp's "smb" methodMichael Albinus2025-12-061-23/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Remote processes): Rewrite subsection "Running remote processes on MS Windows hosts". * etc/NEWS: Mention remote process support for Tramp's "smb" method. Presentational fixes and improvements. * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use `tramp-smb-handle-make-process', `tramp-smb-handle-shell-command' and `tramp-handle-start-file-process'. (tramp-smb-matching-line): New defvar. (tramp-smb-handle-make-process, tramp-smb-handle-shell-command) (tramp-smb-shell-prompt): New defuns. (tramp-smb-handle-process-file): Rewrite. (tramp-smb-handle-start-file-process): Remove. (tramp-smb-get-localname, tramp-smb-shell-quote-localname): New optional argument SHARE. (tramp-smb-send-command): Remove echoed command string. (tramp-smb-maybe-open-connection): Initialize variables. (tramp-smb-wait-for-output): Wait more robust. (tramp-smb-call-winexe): Check for share. Goto current directory. (tramp-smb-connection-local-powershell-variables): New defconst. Set it as connection local variables. * test/lisp/net/tramp-tests.el (tramp-test28-process-file) (tramp-test29-start-file-process, tramp-test30-make-process) (tramp-test32-shell-command, tramp--test-async-shell-command) (tramp--test-supports-processes-p): Adapt for "smb" method. (tramp-test34-explicit-shell-file-name) (tramp-test45-asynchronous-requests): Skip for "smb" method. (tramp--test-check-files): Skip shell test for some special characters in the "smb" case. (tramp-test52-unload): Disable further tests.
* Sync with Tramp 2.8.0.5Michael Albinus2025-11-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Remote processes): Improve description where direct asyn processes won't work. * lisp/net/tramp-cache.el (with-tramp-saved-connection-properties): Adapt `tramp-verbose' less aggressive. * lisp/net/tramp-container.el (tramp-kubernetes--context-namespace): Use `string-join'. * lisp/net/tramp-message.el (tramp-get-debug-file-name): Modify debug file name. (tramp-debug-message): Simplify. * lisp/net/tramp-sh.el (tramp-actions-before-shell) (tramp-actions-copy-out-of-band): Add `tramp-keyboard-interactive-authentication-prompt-regexp'. * lisp/net/tramp.el (tramp-encoding-shell): Fix docstring. (tramp-keyboard-interactive-authentication-prompt-regexp): New defcustom. (tramp-action-ignore-message): New defun. * test/lisp/net/tramp-tests.el (tramp-test10-write-region) (tramp-test10-write-region-file-precious-flag) (tramp-test10-write-region-other-file-name-handler) (tramp-test27-load, tramp-test32-shell-command) (tramp-test32-shell-command-dont-erase-buffer) (tramp-test34-connection-local-variables) (tramp-test36-vc-registered, tramp-test39-make-lock-file-name) (tramp-test39-detect-external-change) (tramp-test45-asynchronous-requests): Adapt tests.
* Improve handling of Tramp internal shell scriptsMichael Albinus2025-11-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (New operations): Mention tramp-expand-script. * lisp/net/tramp-sh.el (tramp-uudecode) (tramp-readlink-file-truename, tramp-perl-file-truename) (tramp-perl-file-name-all-completions) (tramp-shell-file-name-all-completions) (tramp-perl-file-attributes) (tramp-perl-directory-files-and-attributes, tramp-perl-id) (tramp-python-id, tramp-perl-encode, tramp-perl-decode) (tramp-awk-encode, tramp-awk-decode) (tramp-bundle-read-file-names): Indent script for better readability. (tramp-perl-file-name-all-completions) (tramp-shell-file-name-all-completions) (tramp-ls-file-attributes, tramp-bundle-read-file-names): Adapt docstring. (tramp-shell-print-quoted-string): New defconst. (tramp-shell-file-name-all-completions): Use "%b" format specifier. (tramp-bundle-read-file-names): Use "%k" format specifier. (tramp-sh-handle-file-name-all-completions): Don't send `tramp-bundle-read-file-names'. (tramp-expand-script): Adapt docstring. Apply always `format-spec'. Handle also "%b" and "%k" format specifiers.
* ; Minor Tramp changesMichael Albinus2025-11-011-2/+3
| | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Don't mention Windows 7/8, they are obsolete now. Improve "speed up" item. * lisp/net/tramp-sh.el (tramp-expand-script): Handle "%%" format specifier better.
* Tramp cleanupMichael Albinus2025-10-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Configuration): Extend example. * lisp/net/tramp.el (tramp-skeleton-write-region): * lisp/net/tramp-cache.el (tramp-flush-file-upper-properties): * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory): Use `when-let*' consequently. * lisp/net/tramp-cmds.el (tramp-file-name-with-method): Add :initialize and :set functions. (tramp-set-file-name-with-method): New defun. (with-tramp-file-name-with-method): Filter out enabled methods. * lisp/net/tramp-compat.el: Add TODO. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test-cascaded-file-archive): Use "foo.zip". * test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case-p): Extend check. (tramp-test48-session-timeout): Adapt test. * test/lisp/net/tramp-archive-resources/foo.zip: Renamed from outer.zip.
* Add support for su-rs and sudo-rs programsMichael Albinus2025-10-151-0/+16
| | | | | | | | | | | | | | | | | | | | * 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.
* ; TRAMP docs: "cherry pick"->"cherry-pick" (see bug#79408).Sean Whitton2025-10-031-1/+1
|
* Merge from origin/emacs-30Michael Albinus2025-09-091-1/+1
|\ | | | | | | | | | | | | 56cdb65e540 ; * doc/emacs/mini.texi (Minibuffer History): Fix typo. e65ebdf3290 ; Improve documentation of isearch ion minibuffer 6544372764d * doc/misc/tramp.texi (Password handling): Fix default of... 96d90403417 Fix auth-source.el doc
| * * doc/misc/tramp.texi (Password handling): Fix default of auth-sources.Michael Albinus2025-09-071-1/+1
| |
* | ; Comment out tramp-hlo in tramp.texiMichael Albinus2025-08-251-6/+6
| | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Comment out tramp-hlo. It hasn't landed in GNU ELPA yet.
* | Minor tramp.texi changesMichael Albinus2025-08-221-1/+3
| | | | | | | | | | * doc/misc/tramp.texi (File name syntax): Describe port for IPv6 address. (Traces and Profiles): Fix default value of tramp-debug-buffer-limit.
* | Suppress Tramp session timeout if buffer is modifiedMichael Albinus2025-08-171-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Limit size of Tramp debug bufferMichael Albinus2025-08-131-1/+10
| | | | | | | | | | | | | | | | * 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)
* | Tramp allows now external implementations for functionsMichael Albinus2025-08-051-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Update Tramp manualMichael Albinus2025-07-191-0/+10
| | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Add new items for Tramp speed up.
* | ; Fixes to last change.Sean Whitton2025-07-131-1/+1
| |
* | tramp-file-name-with-method can be set connection-localMichael Albinus2025-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Ad-hoc multi-hops): tramp-file-name-with-method can be set connection-local. * etc/NEWS: tramp-file-name-with-method can be set connection-local. Presentational fixes and improvements. * lisp/net/tramp-cmds.el (tramp-get-file-name-with-method): New defun. (with-tramp-file-name-with-method, tramp-file-name-with-sudo): Use it. (tramp-dired-find-file-with-sudo): Fix docstring.
* | Merge from origin/emacs-30Eli Zaretskii2025-04-051-0/+9
|\ \ | |/ | | | | | | | | | | | | ae7f65f3f9c Fix obsolete documentation of desktop library fd5f817882a Improve Tramp's initial warnings 1e865a2f288 Explain, how to suppress Tramp warnings a0962074743 printed manuals: xrefs in and out of "Preparing Patches" 3f9ac99fc7e Fix Tramp's file-attributes cache
| * Explain, how to suppress Tramp warningsMichael Albinus2025-04-021-11/+9
| | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Remove double item. (Traces and Profiles): Mention `warning-suppress-types'. (Bug#77422)
| * Sync with Tramp 2.7.3-preMichael Albinus2025-03-301-30/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi: Use @dots{} where appropriate. (External methods): Precise remark on rsync speed. (Customizing Methods): Add incus-tramp. (Password handling): Mention expiration of cached passwords when a session timeout happens. (Predefined connection information): Mention also "androidsu" as special case of "tmpdir". (Ad-hoc multi-hops, Frequently Asked Questions): Improve description how ad-hoc multi-hop file names can be made persistent. (Bug#65039, Bug#76457) (Remote processes): Signals are not delivered to remote direct async processes. Say, that there are restrictions for transfer of binary data to remote direct async processes. (Bug Reports): Explain bisecting. (Frequently Asked Questions): Improve index. Speak about fingerprint readers. Recommend `small-temporary-file-directory' for ssh sockets. (External packages): Rename subsection "Timers, process filters, process sentinels, redisplay". (Extension packages): New node. (Top, Files directories and localnames): Add it to @menu. * doc/misc/trampver.texi: * lisp/net/trampver.el (tramp-version): Adapt Tramp versions. (tramp-repository-branch, tramp-repository-version): Remove ;;;###tramp-autoload cookie. * lisp/net/tramp-adb.el: * lisp/net/tramp-androidsu.el: * lisp/net/tramp-cache.el: * lisp/net/tramp-cmds.el: * lisp/net/tramp-compat.el: * lisp/net/tramp-container.el: * lisp/net/tramp-crypt.el: * lisp/net/tramp-ftp.el: * lisp/net/tramp-fuse.el: * lisp/net/tramp-gvfs.el: * lisp/net/tramp-integration.el: * lisp/net/tramp-message.el: * lisp/net/tramp-rclone.el: * lisp/net/tramp-sh.el: * lisp/net/tramp-smb.el: * lisp/net/tramp-sshfs.el: * lisp/net/tramp-sudoedit.el: * lisp/net/tramp.el: Use `when-let*', `if-let*' and `and-let*' consequently. (Bug#73441) * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection): Move setting of sentinel up. * lisp/net/tramp-archive.el (tramp-archive-file-name-p): Add ;;;###tramp-autoload cookie. (tramp-archive-local-file-name): New defun. * lisp/net/tramp-cache.el (tramp-connection-properties): Add link to the Tramp manual in the docstring. (tramp-get-connection-property, tramp-set-connection-property): Don't raise a debug message for the `tramp-cache-version' key. (with-tramp-saved-connection-property) (with-tramp-saved-connection-properties): Add traces. (tramp-dump-connection-properties): Don't save connection property "pw-spec". * lisp/net/tramp-cmds.el (tramp-repository-branch) (tramp-repository-version): Declare. * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): (tramp-gvfs-do-copy-or-rename-file): Don't use the truename. Handle symlinks. (tramp-gvfs-local-file-name): New defun. * lisp/net/tramp-message.el (tramp-repository-branch) (tramp-repository-version): Declare. (tramp-error-with-buffer, tramp-user-error): Don't redisplay in `sit-for'. (Bug#73718) (tramp-warning): Fix `lwarn' call. * lisp/net/tramp.el (tramp-read-passwd): * lisp/net/tramp-sh.el (tramp-maybe-open-connection): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command): Rename connection property "password-vector" to "pw-vector". * lisp/net/tramp-sh.el (tramp-methods) <pscp, psftp>: Adapt `tramp-copy-args' argument. (tramp-get-remote-pipe-buf, tramp-actions-before-shell): Use `tramp-fingerprint-prompt-regexp'. (tramp-sh-handle-copy-directory): Apply `tramp-do-copy-or-rename-file-directly' if possible. (tramp-do-copy-or-rename-file): Refactor. Handle symlinks. (Bug#76678) (tramp-plink-option-exists-p): New defun. (tramp-ssh-or-plink-options): Rename from `tramp-ssh-controlmaster-options'. Adapt further plink options. (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Adapt calls. (tramp-sh-handle-make-process): Don't set connection property "remote-pid", it's unused. (tramp-sh-handle-process-file): Do proper quoting. (tramp-vc-file-name-handler): Add `file-directory-p', which is used in `vc-find-root'. (Bug#74026) (tramp-maybe-open-connection): Use connection property "hop-vector". (tramp-get-remote-pipe-buf): Make it more robust. * lisp/net/tramp-smb.el (tramp-smb-errors): Add string. (tramp-smb-handle-copy-directory): Don't check existence of DIRNAME, this is done in `tramp-skeleton-copy-directory' already. (tramp-smb-handle-copy-file, tramp-smb-handle-rename-file): Refactor. * lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file): STDERR is not implemented. * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file): Don't use the truename. Handle symlinks. * lisp/net/tramp.el (tramp-mode): Set to nil on MS-DOS. (tramp-otp-password-prompt-regexp): Add TACC HPC prompt. (tramp-wrong-passwd-regexp): Add fingerprint messages. (tramp-fingerprint-prompt-regexp, tramp-use-fingerprint): New defcustoms. (tramp-string-empty-or-nil-p): Declare `tramp-suppress-trace' property. (tramp-barf-if-file-missing): Accept also symlinks. (tramp-skeleton-file-exists-p) (tramp-handle-file-directory-p): Protect against cyclic symlinks. (tramp-skeleton-make-symbolic-link): Drop volume letter when flushing. (tramp-skeleton-process-file): Raise a warning if STDERR is not implemented. (tramp-skeleton-set-file-modes-times-uid-gid): Fix typo. (tramp-compute-multi-hops): Check for `tramp-sh-file-name-handler-p', it works only for this. (tramp-handle-shell-command): Respect `async-shell-command-display-buffer'. (tramp-action-password, tramp-process-actions): Use connection property "hop-vector". (tramp-action-fingerprint, tramp-action-show-message): New defuns. (tramp-action-show-and-confirm-message): Start check at (point-min). (tramp-wait-for-regexp): Don't redisplay in `sit-for'. (Bug#73718) (tramp-convert-file-attributes): Don't cache "file-attributes-ID-FORMAT". (tramp-read-passwd, tramp-clear-passwd): Rewrite. (Bug#74105) * test/lisp/net/tramp-tests.el (auth-source-cache-expiry) (ert-batch-backtrace-right-margin): Set them to nil. (vc-handled-backends): Suppress if noninteractive. (tramp--test-enabled): Cleanup also `tramp-compat-temporary-file-directory'. (tramp-test11-copy-file, tramp-test12-rename-file) (tramp-test18-file-attributes, tramp--test-deftest-with-stat) (tramp--test-deftest-with-perl, tramp--test-deftest-with-ls) (tramp--test-deftest-without-file-attributes) (tramp-test21-file-links, tramp-test28-process-file) (tramp-test32-shell-command, tramp-test36-vc-registered) (tramp-test39-make-lock-file-name, tramp--test-check-files) (tramp-test42-utf8, tramp-test43-file-system-info) (tramp-test44-file-user-group-ids, tramp-test47-read-password): Adapt tests. (tramp-test47-read-fingerprint): New test.
| * Update copyright year to 2025Stefan Kangas2025-01-021-1/+1
| | | | | | | | Run "TZ=UTC0 admin/update-copyright".
* | Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMichael Albinus2025-03-151-3/+2
|\ \
| * | ; Touch up tramp-*-with-sudo documentation, add FIXMEsSean Whitton2025-03-151-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/dired.texi (Dired Visiting): * doc/emacs/files.texi (Reverting): * doc/misc/tramp.texi (Ad-hoc multi-hops): * etc/NEWS: * lisp/net/tramp-cmds.el (tramp-revert-buffer-with-sudo) (tramp-dired-find-file-with-sudo): Touch up documentation of these features. Add FIXMEs about renaming the two commands.
* | | ; Minor Tramp changesMichael Albinus2025-03-151-0/+6
|/ / | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Top): Add Key Index to menu. (Key Index): New node. * lisp/net/tramp-cmds.el (tramp-dired-buffer-command-completion-p): New defun. (tramp-dired-find-file-with-sudo): Add property `completion-predicate'.
* | Improve tramp-*-with-sudo commandsMichael Albinus2025-03-141-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/dired.texi (Dired Visiting): Add tramp-dired-find-file-with-sudo. * doc/emacs/files.texi (Reverting): Add tramp-revert-buffer-with-sudo. * doc/misc/tramp.texi (Ad-hoc multi-hops): Extend wrt `tramp-*-with-sudo' commands. * etc/NEWS: Add tramp-dired-find-file-with-sudo. Fix typos. * lisp/bindings.el (ctl-x-x-map): * lisp/dired.el (dired-mode-map): Add "@" binding. (Bug#76974) * lisp/net/tramp-cmds.el (dired-get-file-for-visit): Declare. (with-tramp-file-name-with-method): New macro. (tramp-revert-buffer-with-sudo): Autoload. Preserve position. Use `with-tramp-file-name-with-method'. (tramp-dired-find-file-with-sudo): New command.
* | Tramp: Don't offer non-existing containers in completionMichael Albinus2025-03-121-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (File name completion): Explain "completion-use-cache" property. * lisp/net/tramp-cache.el (tramp-get-method-parameter): Declare. (tramp-get-hash-table): Mark connection properties. (tramp-dump-connection-properties): Remove empty lists. (tramp-parse-connection-properties): Take connection property "completion-use-cache" into account. (Bug#76950) * lisp/net/tramp-container.el (tramp-methods) <docker, dockercp, podman> <podmancp, kubernetes, toolbox, distrobox, flatpak, apptainer, nspawn>: Add `tramp-completion-use-cache' argument.
* | ; Fix last changeMichael Albinus2025-02-251-1/+0
| | | | | | | | | | | | * lisp/net/tramp-cmds.el (tramp-list-remote-buffers) (tramp-list-remote-buffer-connections): Fix docstring. (tramp-cleanup-bufferless-connections): Use `string-join'.
* | Add tramp-cleanup-bufferless-connections (bug#76417)shipmints2025-02-251-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Cleanup remote connections): Add 'tramp-cleanup-bufferless-connections'. * etc/NEWS: Announce 'tramp-cleanup-bufferless-connections'. * lisp/net/tramp-cmds.el: (tramp-list-remote-buffer-connections): New function. (tramp-cleanup-bufferless-connections): New command. (tramp-list-remote-buffers): Account for 'buffer-file-name'.
* | Tramp: Improve doc of ad-hoc multi-hop file namesMichael Albinus2025-02-231-23/+51
| | | | | | | | | | | | * doc/misc/tramp.texi (Ad-hoc multi-hops, Frequently Asked Questions): Improve description how ad-hoc multi-hop file names can be made persistent. (Bug#65039, Bug#76457)
* | ; Fix typosStefan Kangas2025-02-221-1/+1
| |
* | Tramp: Don't require PuTTY 0.82 anymoreMichael Albinus2025-02-151-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi: Revert last change. * lisp/net/tramp-cache.el (with-tramp-saved-connection-properties): Adapt `tramp-verbose' when completing host names. * lisp/net/tramp-sh.el (tramp-methods) <plink, plinkx, pscp, psftp>: Adapt `tramp-login-args' and `tramp-copy-args' arguments. (tramp-plink-option-exists-p): New defun. (tramp-ssh-or-plink-options): Rename from `tramp-ssh-controlmaster-options'. Adapt further plink options. (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Adapt calls. * lisp/net/tramp.el (tramp-file-name-handler): Don't touch `tramp-verbose'. * test/lisp/net/tramp-tests.el (top): Set `vc-handled-backends' to nil. (tramp--test-enabled): Rearrange code.
* | Adapt PuTTY integration into TrampMichael Albinus2025-02-141-4/+6
| | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Inline methods, External methods): PuTTY must be at least version 0.82. * lisp/net/tramp-cache.el (with-tramp-saved-connection-property) (with-tramp-saved-connection-properties): Add traces. * lisp/net/tramp-sh.el (tramp-methods) <plink, plinkx, pscp, psftp>: Adapt `tramp-login-args' and `tramp-copy-args' arguments. (Bug#75746)
* | Minor Tramp changesMichael Albinus2025-02-011-1/+2
| | | | | | | | | | | | | | * doc/misc/tramp.texi (External methods): Precise remark on rsync speed. * lisp/net/tramp-cache.el (tramp-connection-properties): Add link to the Tramp manual in the docstring.
* | Tramp cleanupMichael Albinus2025-01-301-4/+15
| | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Predefined connection information): Mention also "androidsu" as special case of "tmpdir". (Remote processes): Signals are not delivered to remote direct async processes. Say, that there are restrictions for transfer of binary data to remote direct async processes. * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory): Simplify.
* | ; Fix cross-references in Texinfo manualsEli Zaretskii2025-01-191-5/+5
| |
* | Revert "Revert "Use @xref more consistently; "See @ref" -> "@xref"""Eli Zaretskii2025-01-191-9/+9
| | | | | | | | | | | | | | | | This reverts commit 59167e2de8a93341cd235d83e034c00be32403f6. TRT to use reference in Texinfo is to place some punctuation character after a reference. This is common both to @ref and to @xref. So this is what should be done to fix the changeset, not to revert it.
* | Revert "Use @xref more consistently; "See @ref" -> "@xref""Po Lu2025-01-191-9/+9
| | | | | | | | | | This reverts commit e54b94c28cdf9699009e7691f7c8ffa5b2c7b741, which prevented building Emacs on a number of my machine(s).
* | Use @xref more consistently; "See @ref" -> "@xref"Stefan Kangas2025-01-191-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/commands.texi (Using Interactive): * doc/lispref/customize.texi (Type Keywords): * doc/lispref/edebug.texi (Using Edebug, Specification List): * doc/lispref/frames.texi (Frame Layout): * doc/lispref/functions.texi (What Is a Function, Related Topics): * doc/lispref/keymaps.texi (Controlling Active Maps, Key Lookup): * doc/lispref/minibuf.texi (Completion Variables): * doc/lispref/os.texi (Terminal Input): * doc/lispref/text.texi (JSONRPC Overview): * doc/misc/calc.texi (More About Embedded Mode, Customizing Calc): * doc/misc/cc-mode.texi (Movement Commands, Auto-newlines) (Config Basics, Custom Auto-newlines): * doc/misc/gnus.texi (Email Based Diary): * doc/misc/htmlfontify.texi (Interactive, Non-interactive): (Variables): * doc/misc/idlwave.texi (Using the Shell): * doc/misc/srecode.texi (Quick Start, User Templates) (Parts of SRecode, Compound Variable Values, Template Macros): * doc/misc/tramp.texi (Inline methods, FUSE-based methods) (Predefined connection information, Remote shell setup) (Frequently Asked Questions): * doc/misc/transient.texi (Configuration, Technical Introduction): (Binding Suffix and Infix Commands, Transient State): (Prefix Slots, Predicate Slots): * doc/misc/wisent.texi (Example, Compiling a grammar, Conflicts): (Grammar Debugging, Error recovery):
* | Update copyright year to 2025Paul Eggert2025-01-011-1/+1
| | | | | | | | Run "TZ=UTC0 admin/update-copyright".
* | Merge from origin/emacs-30Eli Zaretskii2024-12-281-3/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ba6387d1d6 ; Fix inaccuracy in ELisp Reference manual 8ac6a178804 ; * etc/PROBLEMS: Mention problems with XPM support in GD... 624322d5f6a Add missing fontification matches for elixir-ts-mode 5bafb11b400 ; Fix copyright year 186ea407326 Don't start docstrings with "This function" or similar cb8ce2e68bb Enable indent-tabs-mode in obj-c-mode 54f35137096 Fix comment indent in 'lua-ts-mode' and old grammar 8b95549e908 * admin/nt/dist-build/build-dep-zips.py: (deps src) handl... 8064b2a6798 Document undocumented completion commands c29b798537e ; etc/w32-feature.el (harfbuzz): improve test 0e43e35f96e * admin/nt/dist-build/emacs.nsi: (Uninstall) delete only ... b83cd8a8fb0 ; * etc/tutorials/TUTORIAL.ko: Fix the beginning. 41caccc488b ; * etc/publicsuffix.txt: Update from upstream. e6fb18406ee ; Fix refcards 14e791f9ba2 ; Update acknowledgments for Emacs 30 861b7864fc4 ; Fix node name in emacs-lisp-intro.texi 77243ba5be8 ; Update version tags of defcustoms fe2ac33bae8 ;* doc/misc/efaq.texi (New in Emacs 30): Mention 'trusted... 8fb884f0dc0 ; * etc/NEWS: Fix wording. e281355a5e8 Improve D-Bus and Tramp manual # Conflicts: # doc/emacs/emacs.texi # etc/NEWS # lisp/erc/erc-log.el # lisp/eshell/esh-mode.el # lisp/which-key.el
| * Improve D-Bus and Tramp manualMichael Albinus2024-12-221-3/+6
| | | | | | | | | | | | * doc/misc/dbus.texi (Overview): * doc/misc/tramp.texi (GVFS-based methods): Describe, how the feature can be checked at runtime. (Bug#75004)