mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
; Minor Tramp changes
* 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.
This commit is contained in:
parent
126493735f
commit
a7417c47fa
2 changed files with 8 additions and 6 deletions
|
|
@ -5366,7 +5366,7 @@ The package works successfully on @w{Emacs 28}, @w{Emacs 29}, @w{Emacs
|
||||||
|
|
||||||
While Unix and Unix-like systems are the primary remote targets,
|
While Unix and Unix-like systems are the primary remote targets,
|
||||||
@value{tramp} has equal success connecting to other platforms, such as
|
@value{tramp} has equal success connecting to other platforms, such as
|
||||||
MS Windows 7/8/10.
|
MS Windows 10/11.
|
||||||
|
|
||||||
|
|
||||||
@item
|
@item
|
||||||
|
|
@ -5381,7 +5381,8 @@ responsiveness slows down. Some suggestions within the scope of
|
||||||
@itemize @minus
|
@itemize @minus
|
||||||
@item
|
@item
|
||||||
Use an external method, such as @option{scp}, which are faster than
|
Use an external method, such as @option{scp}, which are faster than
|
||||||
internal methods for large files.
|
internal methods for large files. Set
|
||||||
|
@code{tramp-use-scp-direct-remote-copying} to non-@code{nil}.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Keep the file @code{tramp-persistency-file-name}, which is where
|
Keep the file @code{tramp-persistency-file-name}, which is where
|
||||||
|
|
|
||||||
|
|
@ -4054,10 +4054,11 @@ and \"%y\" format specifiers are replaced by the respective `awk',
|
||||||
`hexdump', `ls', `test', od', `perl', `test -e', `readlink', `stat' and
|
`hexdump', `ls', `test', od', `perl', `test -e', `readlink', `stat' and
|
||||||
`python' commands. \"%n\" is replaced by \"2>/dev/null\", and \"%t\" is
|
`python' commands. \"%n\" is replaced by \"2>/dev/null\", and \"%t\" is
|
||||||
replaced by a temporary file name. If VEC is nil, the respective local
|
replaced by a temporary file name. If VEC is nil, the respective local
|
||||||
commands are used. If there is a format specifier which cannot be
|
commands are used.
|
||||||
expanded, this function returns nil."
|
\"%%\" is replaced by \"%\". If one of the format specifiers cannot be
|
||||||
(if (not (string-match-p
|
expanded, this function returns nil. If there are only other format
|
||||||
(rx (| bol (not "%")) "%" (any "ahlmnopqrsty")) script))
|
specifiers, SCRIPT is returned unchanged."
|
||||||
|
(if (not (string-match-p (rx "%" (any "ahlmnopqrsty%")) script))
|
||||||
script
|
script
|
||||||
(catch 'wont-work
|
(catch 'wont-work
|
||||||
(let ((awk (when (string-match-p (rx (| bol (not "%")) "%a") script)
|
(let ((awk (when (string-match-p (rx (| bol (not "%")) "%a") script)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue