summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2021-01-19 18:45:55 +0100
committerMichael Albinus <michael.albinus@gmx.de>2021-01-19 18:45:55 +0100
commitf3b9d5b3155fac293d46e55827a1e0ce07afb0ae (patch)
tree3bf57ac396a7e900af1a9bc794007e97419d88cf /doc
parentdeb90c893d3a0094db77753d8a795716784bbc7e (diff)
downloademacs-f3b9d5b3155fac293d46e55827a1e0ce07afb0ae.tar.gz
Some Tramp fixes, resulting from test campaign
* doc/misc/tramp.texi (Remote shell setup): Clarifications for `tramp-actions-before-shell' example. * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory): Do not expand FILENAME explicitely. (tramp-open-shell): Add "-i" for interactive shells. * test/lisp/net/tramp-tests.el (tramp-test07-file-exists-p) (tramp-test14-delete-directory) (tramp-test43-asynchronous-requests): Skip for MS windows.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/tramp.texi8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 2c4b792cc21..e9ffd6a8c43 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2369,8 +2369,7 @@ that can identify such questions using
@lisp
@group
(defconst my-tramp-prompt-regexp
- (concat (regexp-opt '("Enter the birth date of your mother:") t)
- "\\s-*")
+ "Enter the birth date of your mother:\\s-*"
"Regular expression matching my login prompt question.")
@end group
@@ -2389,6 +2388,11 @@ that can identify such questions using
@end group
@end lisp
+The regular expressions used in @code{tramp-actions-before-shell} must
+match the end of the connection buffer. Due to performance reasons,
+this search starts at the end of the buffer, and it is limited to 256
+characters backwards.
+
@item Conflicting names for users and variables in @file{.profile}