aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorGlenn Morris2018-02-13 09:26:20 -0800
committerGlenn Morris2018-02-13 09:26:20 -0800
commit98f4e336e879e54251694fa0d47b69d8d325176d (patch)
treeb623c340b850debd5f2e907287f3c48735202aad /doc/misc
parent1d135af78c3ddd502b5feb84884ea55cbc664753 (diff)
parent333d6f4d99a80f30ae6cd3880b9d9ec38a85691b (diff)
downloademacs-98f4e336e879e54251694fa0d47b69d8d325176d.tar.gz
emacs-98f4e336e879e54251694fa0d47b69d8d325176d.zip
Merge from origin/emacs-26
333d6f4 (origin/emacs-26) More changes in the Emacs manual 52ca0d1 * lisp/vc/vc.el (vc-deduce-backend): Use ignore-errors. 69e8046 Don't signal error in vc-deduce-backend f568c91 * doc/misc/tramp.texi: Index more user options. 92ca881 Minor change in the Emacs manual e055a12 NEWS update about 'string-trim' 96b6e24 Clarify TRAMP process-environment interaction (Bug#30419) 4fa467e * lisp/progmodes/grep.el (grep-num-matches-found): New variable. a22820a Avoid aborts in cm.c due to too small TTY frame 26f6441 Another set of improvements in the Emacs manual cef3b42 Fix help in mode-line-mode-menu f8a493c Improve documentation of desktop restoring 10637af Improve the Emacs manual's chapter "Frames" d924953 Fix unbound mm-uu-entry in mm-uu cb2487b Improve Emacs user manual in fixit.texi 66e9527 Another minor change in the manual 6a1c03d More minor changes in the Emacs manual 32fb8c4 Avoid printing garbled error message from image.el Conflicts: etc/NEWS lisp/image.el
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/tramp.texi32
1 files changed, 24 insertions, 8 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index ae544b08712..e21df5ac39b 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -681,6 +681,7 @@ In case both @command{mimencode} and @command{uuencode} are
681unavailable, @value{tramp} first transfers a small Perl program to the 681unavailable, @value{tramp} first transfers a small Perl program to the
682remote host, and then tries that program for encoding and decoding. 682remote host, and then tries that program for encoding and decoding.
683 683
684@vindex tramp-inline-compress-start-size
684To increase transfer speeds for large text files, use compression 685To increase transfer speeds for large text files, use compression
685before encoding. The user option 686before encoding. The user option
686@option{tramp-inline-compress-start-size} specifies the file size for 687@option{tramp-inline-compress-start-size} specifies the file size for
@@ -1023,6 +1024,7 @@ can.
1023@cindex @option{adb} method 1024@cindex @option{adb} method
1024@cindex android (with @option{adb} method) 1025@cindex android (with @option{adb} method)
1025 1026
1027@vindex tramp-adb-program
1026This method uses Android Debug Bridge program for accessing Android 1028This method uses Android Debug Bridge program for accessing Android
1027devices. The Android Debug Bridge must be installed locally for 1029devices. The Android Debug Bridge must be installed locally for
1028@value{tramp} to work. Some GNU/Linux distributions provide Android 1030@value{tramp} to work. Some GNU/Linux distributions provide Android
@@ -1031,6 +1033,7 @@ is installed as part of the Android SDK@. @value{tramp} finds the
1031@command{adb} program either via the @env{PATH} environment variable 1033@command{adb} program either via the @env{PATH} environment variable
1032or the absolute path set in the user option @option{tramp-adb-program}. 1034or the absolute path set in the user option @option{tramp-adb-program}.
1033 1035
1036@vindex tramp-adb-connect-if-not-connected
1034@value{tramp} connects to Android devices with @option{adb} only when 1037@value{tramp} connects to Android devices with @option{adb} only when
1035the user option @option{tramp-adb-connect-if-not-connected} is not 1038the user option @option{tramp-adb-connect-if-not-connected} is not
1036@code{nil}. Otherwise, the connection must be established outside 1039@code{nil}. Otherwise, the connection must be established outside
@@ -1696,6 +1699,7 @@ Set @code{password-cache} to @code{nil} to disable password caching.
1696@cindex caching 1699@cindex caching
1697@vindex tramp-persistency-file-name 1700@vindex tramp-persistency-file-name
1698 1701
1702@vindex tramp-persistency-file-name
1699For faster initial connection times, @value{tramp} stores previous 1703For faster initial connection times, @value{tramp} stores previous
1700connection properties in a file specified by the user option 1704connection properties in a file specified by the user option
1701@option{tramp-persistency-file-name}. 1705@option{tramp-persistency-file-name}.
@@ -1898,6 +1902,7 @@ prompts, for which @value{tramp} uses @option{tramp-wrong-passwd-regexp}.
1898@cindex @command{tset} unix command 1902@cindex @command{tset} unix command
1899@vindex tramp-terminal-type 1903@vindex tramp-terminal-type
1900 1904
1905@vindex tramp-terminal-type
1901To suppress inappropriate prompts for terminal type, @value{tramp} 1906To suppress inappropriate prompts for terminal type, @value{tramp}
1902sets the @env{TERM} to @code{dumb} before the remote login process 1907sets the @env{TERM} to @code{dumb} before the remote login process
1903begins via the user option @option{tramp-terminal-type}. This will 1908begins via the user option @option{tramp-terminal-type}. This will
@@ -2171,6 +2176,8 @@ Disabling backups can be targeted to just the @option{su} and
2171@end group 2176@end group
2172@end lisp 2177@end lisp
2173 2178
2179@vindex backup-directory-alist
2180@vindex tramp-backup-directory-alist
2174Another option is to create better backup file naming with user and 2181Another option is to create better backup file naming with user and
2175host names prefixed to the file name. For example, transforming 2182host names prefixed to the file name. For example, transforming
2176@file{/etc/secretfile} to 2183@file{/etc/secretfile} to
@@ -2204,6 +2211,7 @@ The backup file name of
2204@file{@trampfn{su,root@@localhost,~/.emacs.d/backups/![su!root@@localhost]!etc!secretfile~}} 2211@file{@trampfn{su,root@@localhost,~/.emacs.d/backups/![su!root@@localhost]!etc!secretfile~}}
2205@end ifset 2212@end ifset
2206 2213
2214@vindex auto-save-file-name-transforms
2207Just as for backup files, similar issues of file naming affect 2215Just as for backup files, similar issues of file naming affect
2208auto-saving @value{tramp} files. Auto-saved files are saved in the 2216auto-saving @value{tramp} files. Auto-saved files are saved in the
2209directory specified by the user option 2217directory specified by the user option
@@ -2215,6 +2223,7 @@ compiled. Reset such values to a valid directory.
2215Set @option{auto-save-file-name-transforms} to @code{nil} to save 2223Set @option{auto-save-file-name-transforms} to @code{nil} to save
2216auto-saved files to the same directory as the original file. 2224auto-saved files to the same directory as the original file.
2217 2225
2226@vindex tramp-auto-save-directory
2218Alternatively, set the user option @option{tramp-auto-save-directory} 2227Alternatively, set the user option @option{tramp-auto-save-directory}
2219to direct all auto saves to that location. 2228to direct all auto saves to that location.
2220 2229
@@ -2615,6 +2624,7 @@ upon first connection. Alternatively, use an absolute path or extend
2615@end group 2624@end group
2616@end lisp 2625@end lisp
2617 2626
2627@vindex tramp-remote-process-environment
2618Customize user option @option{tramp-remote-process-environment} to 2628Customize user option @option{tramp-remote-process-environment} to
2619suit the remote program's environment for the remote host. 2629suit the remote program's environment for the remote host.
2620@option{tramp-remote-process-environment} is a list of strings 2630@option{tramp-remote-process-environment} is a list of strings
@@ -2660,11 +2670,13 @@ this. You could overwrite this behavior by evaluating
2660@end group 2670@end group
2661@end lisp 2671@end lisp
2662 2672
2663@value{tramp} does not use the defaults specified in 2673In addition to @option{tramp-remote-process-environment}, you can set
2664@code{process-environment} for running @code{process-file} or 2674environment variables for invidivual remote process calls by
2665@code{start-file-process} on remote hosts. When values from 2675let-binding @code{process-environment}. @value{tramp} will apply any
2666@code{process-environment} are needed for remote processes, then set 2676entries which are not present in the global default value of
2667them as follows: 2677@code{process-environment} (overriding
2678@option{tramp-remote-process-environment} settings, if they conflict).
2679For example:
2668 2680
2669@lisp 2681@lisp
2670@group 2682@group
@@ -2673,8 +2685,10 @@ them as follows:
2673@end group 2685@end group
2674@end lisp 2686@end lisp
2675 2687
2676This works only for environment variables not already set in the 2688Let-binding in this way works regardless of whether the process to be
2677@code{process-environment}. 2689called is local or remote, since @value{tramp} would add just the
2690@env{HGPLAIN} setting and local processes would take whole value of
2691@code{process-environment} along with the new value of @env{HGPLAIN}.
2678 2692
2679For integrating other Emacs packages so @value{tramp} can execute 2693For integrating other Emacs packages so @value{tramp} can execute
2680remotely, please file a bug report. @xref{Bug Reports}. 2694remotely, please file a bug report. @xref{Bug Reports}.
@@ -3507,6 +3521,7 @@ the following code in @file{~/.emacs} file.
3507How to get a Visual Warning when working with @samp{root} privileges? 3521How to get a Visual Warning when working with @samp{root} privileges?
3508Host indication in the mode line? 3522Host indication in the mode line?
3509 3523
3524@vindex tramp-theme-face-remapping-alist
3510Install @file{tramp-theme} from GNU ELPA via Emacs' Package Manager. 3525Install @file{tramp-theme} from GNU ELPA via Emacs' Package Manager.
3511Enable it via @kbd{M-x load-theme @key{RET} tramp}. Further 3526Enable it via @kbd{M-x load-theme @key{RET} tramp}. Further
3512customization is explained in user option 3527customization is explained in user option
@@ -3534,10 +3549,11 @@ then set them with a hook as follows:
3534@item 3549@item
3535Why is @file{~/.sh_history} file on the remote host growing? 3550Why is @file{~/.sh_history} file on the remote host growing?
3536 3551
3552@vindex tramp-histfile-override
3537Due to the remote shell saving tilde expansions triggered by 3553Due to the remote shell saving tilde expansions triggered by
3538@value{tramp}, the history file is probably growing rapidly. 3554@value{tramp}, the history file is probably growing rapidly.
3539@value{tramp} can suppress this behaviour with the user option 3555@value{tramp} can suppress this behaviour with the user option
3540@code{tramp-histfile-override}. When set to @code{t}, environment 3556@option{tramp-histfile-override}. When set to @code{t}, environment
3541variable @env{HISTFILE} is unset, and environment variables 3557variable @env{HISTFILE} is unset, and environment variables
3542@env{HISTFILESIZE} @env{HISTSIZE} are set to 0. 3558@env{HISTFILESIZE} @env{HISTSIZE} are set to 0.
3543 3559