aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/maintaining.texi6
-rw-r--r--doc/emacs/msdos.texi65
-rw-r--r--doc/emacs/mule.texi4
-rw-r--r--doc/emacs/search.texi10
-rw-r--r--doc/lispref/debugging.texi3
-rw-r--r--doc/lispref/display.texi6
-rw-r--r--doc/lispref/files.texi13
-rw-r--r--doc/lispref/internals.texi13
-rw-r--r--doc/lispref/searching.texi2
-rw-r--r--doc/misc/efaq.texi2
-rw-r--r--doc/misc/emacs-mime.texi17
-rw-r--r--doc/misc/gnus.texi2
-rw-r--r--doc/misc/smtpmail.texi7
-rw-r--r--doc/misc/tramp.texi29
14 files changed, 130 insertions, 49 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index e92a959d99c..9a9957069fd 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1281,6 +1281,12 @@ point is on a directory entry, mark all files in that directory tree
1281(@code{vc-dir-mark-all-files}). With a prefix argument, mark all 1281(@code{vc-dir-mark-all-files}). With a prefix argument, mark all
1282listed files and directories. 1282listed files and directories.
1283 1283
1284@item G
1285Add the file under point to the list of files that the VC should
1286ignore (@code{vc-dir-ignore}). For instance, if the VC is Git, it
1287will append this file to the @file{.gitignore} file. If given a
1288prefix, do this with all the marked files.
1289
1284@item q 1290@item q
1285Quit the VC Directory buffer, and bury it (@code{quit-window}). 1291Quit the VC Directory buffer, and bury it (@code{quit-window}).
1286 1292
diff --git a/doc/emacs/msdos.texi b/doc/emacs/msdos.texi
index 6933130d5bd..5377df91d10 100644
--- a/doc/emacs/msdos.texi
+++ b/doc/emacs/msdos.texi
@@ -1025,7 +1025,7 @@ symbols, as in @code{(uniscribe)} or @w{@code{(harfbuzz uniscribe gdi)}}.
1025 1025
1026@cindex font properties (MS Windows) 1026@cindex font properties (MS Windows)
1027@noindent 1027@noindent
1028Optional properties common to all font backends on MS-Windows are: 1028Optional font properties supported on MS-Windows are:
1029 1029
1030@table @code 1030@table @code
1031 1031
@@ -1078,40 +1078,61 @@ Not used on Windows, but for informational purposes and to
1078prevent problems with code that expects it to be set, is set internally to 1078prevent problems with code that expects it to be set, is set internally to
1079@code{raster} for bitmapped fonts, @code{outline} for scalable fonts, 1079@code{raster} for bitmapped fonts, @code{outline} for scalable fonts,
1080or @code{unknown} if the type cannot be determined as one of those. 1080or @code{unknown} if the type cannot be determined as one of those.
1081@end table
1082
1083@cindex font properties (MS Windows gdi backend)
1084Options specific to @code{GDI} fonts:
1085
1086@table @code
1087 1081
1088@cindex font scripts (MS Windows) 1082@cindex font scripts (MS Windows)
1089@cindex font Unicode subranges (MS Windows) 1083@cindex font Unicode subranges (MS Windows)
1090@item script 1084@item script
1091Specifies a Unicode subrange the font should support. 1085Specifies a Unicode subrange the font should support.
1092 1086
1093The following scripts are recognized on Windows: @code{latin}, @code{greek}, 1087All the scripts known to Emacs (which generally means all the scripts
1094@code{coptic}, @code{cyrillic}, @code{armenian}, @code{hebrew}, @code{arabic}, 1088defined by the latest Unicode Standard) are recognized on MS-Windows.
1095@code{syriac}, @code{nko}, @code{thaana}, @code{devanagari}, @code{bengali}, 1089However, @code{GDI} fonts support only a subset of the known scripts:
1096@code{gurmukhi}, @code{gujarati}, @code{oriya}, @code{tamil}, @code{telugu}, 1090@code{greek}, @code{hangul}, @code{kana}, @code{kanbun},
1097@code{kannada}, @code{malayam}, @code{sinhala}, @code{thai}, @code{lao}, 1091@code{bopomofo}, @code{tibetan}, @code{yi}, @code{mongolian},
1098@code{tibetan}, @code{myanmar}, @code{georgian}, @code{hangul}, 1092@code{hebrew}, @code{arabic}, and @code{thai}.
1099@code{ethiopic}, @code{cherokee}, @code{canadian-aboriginal}, @code{ogham},
1100@code{runic}, @code{khmer}, @code{mongolian}, @code{symbol}, @code{braille},
1101@code{han}, @code{ideographic-description}, @code{cjk-misc}, @code{kana},
1102@code{bopomofo}, @code{kanbun}, @code{yi}, @code{byzantine-musical-symbol},
1103@code{musical-symbol}, and @code{mathematical}.
1104 1093
1105@cindex font antialiasing (MS Windows) 1094@cindex font antialiasing (MS Windows)
1095@cindex Cleartype
1106@item antialias 1096@item antialias
1107Specifies the antialiasing method. The value @code{none} means no 1097Specifies the antialiasing method. The value @code{none} means no
1108antialiasing, @code{standard} means use standard antialiasing, 1098antialiasing, @code{standard} means use standard antialiasing,
1109@code{subpixel} means use subpixel antialiasing (known as Cleartype on 1099@code{subpixel} means use subpixel antialiasing (known as
1110Windows), and @code{natural} means use subpixel antialiasing with 1100@dfn{Cleartype} on Windows), and @code{natural} means use subpixel
1111adjusted spacing between letters. If unspecified, the font will use 1101antialiasing with adjusted spacing between letters. If unspecified,
1112the system default antialiasing. 1102the font will use the system default antialiasing.
1113@end table 1103@end table
1114 1104
1105@cindex font lookup, MS-Windows
1106@findex w32-find-non-USB-fonts
1107The method used by Emacs on MS-Windows to look for fonts suitable for
1108displaying a given non-@sc{ascii} character might fail for some rare
1109scripts, specifically those added by Unicode relatively recently, even
1110if you have fonts installed on your system that support those scripts.
1111That is because these scripts have no Unicode Subrange Bits (USBs)
1112defined for them in the information used by Emacs on MS-Windows to
1113look for fonts. You can use the @code{w32-find-non-USB-fonts}
1114function to overcome these problems. It needs to be run once at the
1115beginning of the Emacs session, and again if you install new fonts.
1116You can add the following line to your init file to have this function
1117run every time you start Emacs:
1118
1119@lisp
1120(w32-find-non-USB-fonts)
1121@end lisp
1122
1123@noindent
1124@vindex w32-non-USB-fonts
1125Alternatively, you can run this function manually via @kbd{M-:}
1126(@pxref{Lisp Eval}) at any time. On a system that has many fonts
1127installed, running @code{w32-find-non-USB-fonts} might take a couple
1128of seconds; if you consider that to be too long to be run during
1129startup, and if you install new fonts only rarely, run this function
1130once via @kbd{M-:}, and then assign the value it returns, if
1131non-@code{nil}, to the variable @code{w32-non-USB-fonts} in your init
1132file. (If the function returns @code{nil}, you have no fonts
1133installed that can display characters from the scripts which need this
1134facility.)
1135
1115@node Windows Misc 1136@node Windows Misc
1116@section Miscellaneous Windows-specific features 1137@section Miscellaneous Windows-specific features
1117 1138
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index 6a26667510a..dfd464c827c 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -497,6 +497,10 @@ one of them selects that alternative. The keys @kbd{C-f}, @kbd{C-b},
497do the highlighting in the buffer showing the possible characters, 497do the highlighting in the buffer showing the possible characters,
498rather than in the echo area. 498rather than in the echo area.
499 499
500 To enter characters according to the @dfn{pīnyīn} transliteration
501method instead, use the @code{chinese-sisheng} input method. This is
502a composition based method, where e.g. @kbd{pi1} results in @samp{pī}.
503
500 In Japanese input methods, first you input a whole word using 504 In Japanese input methods, first you input a whole word using
501phonetic spelling; then, after the word is in the buffer, Emacs 505phonetic spelling; then, after the word is in the buffer, Emacs
502converts it into one or more characters using a large dictionary. One 506converts it into one or more characters using a large dictionary. One
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 66af5d40162..38ef49ed64d 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -262,11 +262,19 @@ of whether to copy a character or a symbol is heuristic.)
262 262
263@kindex M-s C-e @r{(Incremental search)} 263@kindex M-s C-e @r{(Incremental search)}
264@findex isearch-yank-line 264@findex isearch-yank-line
265 Similarly, @kbd{M-s C-e} (@code{isearch-yank-line}) appends the rest 265 @kbd{M-s C-e} (@code{isearch-yank-line}) appends the rest
266of the current line to the search string. If point is already at the 266of the current line to the search string. If point is already at the
267end of a line, it appends the next line. With a prefix argument 267end of a line, it appends the next line. With a prefix argument
268@var{n}, it appends the next @var{n} lines. 268@var{n}, it appends the next @var{n} lines.
269 269
270@kindex C-M-z @r{(Incremental search)}
271@findex isearch-yank-until-char
272 Similarly, @kbd{C-M-z} (@code{isearch-yank-until-char}) appends to
273the search string everything from point until the next occurence of
274a specified character (not including that character). This is especially
275useful for keyboard macros, for example in programming languages or
276markup languages in which that character marks a token boundary.
277
270@kindex C-y @r{(Incremental search)} 278@kindex C-y @r{(Incremental search)}
271@kindex M-y @r{(Incremental search)} 279@kindex M-y @r{(Incremental search)}
272@kindex mouse-2 @r{in the minibuffer (Incremental search)} 280@kindex mouse-2 @r{in the minibuffer (Incremental search)}
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index 12caeaf1289..71e767d0a66 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -457,6 +457,9 @@ Collapse the top-level Lisp form at point back to a single line.
457@item # 457@item #
458Toggle @code{print-circle} for the frame at point. 458Toggle @code{print-circle} for the frame at point.
459 459
460@item :
461Toggle @code{print-gensym} for the frame at point.
462
460@item . 463@item .
461Expand all the forms abbreviated with ``...'' in the frame at point. 464Expand all the forms abbreviated with ``...'' in the frame at point.
462 465
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 7c0a56dcad3..3c3ee1fc6a4 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -25,7 +25,7 @@ that Emacs presents to the user.
25* Fringes:: Controlling window fringes. 25* Fringes:: Controlling window fringes.
26* Scroll Bars:: Controlling scroll bars. 26* Scroll Bars:: Controlling scroll bars.
27* Window Dividers:: Separating windows visually. 27* Window Dividers:: Separating windows visually.
28* Display Property:: Enabling special display features. 28* Display Property:: Images, margins, text size, etc.
29* Images:: Displaying images in Emacs buffers. 29* Images:: Displaying images in Emacs buffers.
30* Xwidgets:: Displaying native widgets in Emacs buffers. 30* Xwidgets:: Displaying native widgets in Emacs buffers.
31* Buttons:: Adding clickable buttons to Emacs buffers. 31* Buttons:: Adding clickable buttons to Emacs buffers.
@@ -5016,7 +5016,9 @@ means no right marginal area.
5016 Setting these variables does not immediately affect the window. These 5016 Setting these variables does not immediately affect the window. These
5017variables are checked when a new buffer is displayed in the window. 5017variables are checked when a new buffer is displayed in the window.
5018Thus, you can make changes take effect by calling 5018Thus, you can make changes take effect by calling
5019@code{set-window-buffer}. 5019@code{set-window-buffer}. Do not use these variables to try to
5020determine the current width of the left or right margin. Instead, use
5021the function @code{window-margins}.
5020 5022
5021 You can also set the margin widths immediately. 5023 You can also set the margin widths immediately.
5022 5024
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 18a1f4908d6..fba9622fecf 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -856,8 +856,7 @@ systems, this is true if the file exists and you have execute
856permission on the containing directories, regardless of the 856permission on the containing directories, regardless of the
857permissions of the file itself.) 857permissions of the file itself.)
858 858
859If the file does not exist, or if access control policies prevent you 859If the file does not exist, this function returns @code{nil}.
860from finding its attributes, this function returns @code{nil}.
861 860
862Directories are files, so @code{file-exists-p} can return @code{t} when 861Directories are files, so @code{file-exists-p} can return @code{t} when
863given a directory. However, because @code{file-exists-p} follows 862given a directory. However, because @code{file-exists-p} follows
@@ -1262,7 +1261,7 @@ on the 19th, @file{aug-20} was written on the 20th, and the file
1262@defun file-attributes filename &optional id-format 1261@defun file-attributes filename &optional id-format
1263@anchor{Definition of file-attributes} 1262@anchor{Definition of file-attributes}
1264This function returns a list of attributes of file @var{filename}. If 1263This function returns a list of attributes of file @var{filename}. If
1265the specified file's attributes cannot be accessed, it returns @code{nil}. 1264the specified file does not exist, it returns @code{nil}.
1266This function does not follow symbolic links. 1265This function does not follow symbolic links.
1267The optional parameter @var{id-format} specifies the preferred format 1266The optional parameter @var{id-format} specifies the preferred format
1268of attributes @acronym{UID} and @acronym{GID} (see below)---the 1267of attributes @acronym{UID} and @acronym{GID} (see below)---the
@@ -1464,9 +1463,8 @@ The underlying ACL implementation is platform-specific; on GNU/Linux
1464and BSD, Emacs uses the POSIX ACL interface, while on MS-Windows Emacs 1463and BSD, Emacs uses the POSIX ACL interface, while on MS-Windows Emacs
1465emulates the POSIX ACL interface with native file security APIs. 1464emulates the POSIX ACL interface with native file security APIs.
1466 1465
1467If Emacs was not compiled with ACL support, or the file does not exist 1466If ACLs are not supported or the file does not exist,
1468or is inaccessible, or Emacs was unable to determine the ACL entries 1467then the return value is @code{nil}.
1469for any other reason, then the return value is @code{nil}.
1470@end defun 1468@end defun
1471 1469
1472@defun file-selinux-context filename 1470@defun file-selinux-context filename
@@ -1478,8 +1476,7 @@ for details about what these actually mean. The return value has the
1478same form as what @code{set-file-selinux-context} takes for its 1476same form as what @code{set-file-selinux-context} takes for its
1479@var{context} argument (@pxref{Changing Files}). 1477@var{context} argument (@pxref{Changing Files}).
1480 1478
1481If Emacs was not compiled with SELinux support, or the file does not 1479If SELinux is not supported or the file does not exist,
1482exist or is inaccessible, or if the system does not support SELinux,
1483then the return value is @code{(nil nil nil nil)}. 1480then the return value is @code{(nil nil nil nil)}.
1484@end defun 1481@end defun
1485 1482
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index f85c266edef..c52999e1cd2 100644
--- a/doc/lispref/internals.texi
+++ b/doc/lispref/internals.texi
@@ -533,9 +533,6 @@ be allocated for Lisp objects after one garbage collection in order to
533trigger another garbage collection. You can use the result returned by 533trigger another garbage collection. You can use the result returned by
534@code{garbage-collect} to get an information about size of the particular 534@code{garbage-collect} to get an information about size of the particular
535object type; space allocated to the contents of buffers does not count. 535object type; space allocated to the contents of buffers does not count.
536Note that the subsequent garbage collection does not happen immediately
537when the threshold is exhausted, but only the next time the Lisp interpreter
538is called.
539 536
540The initial threshold value is @code{GC_DEFAULT_THRESHOLD}, defined in 537The initial threshold value is @code{GC_DEFAULT_THRESHOLD}, defined in
541@file{alloc.c}. Since it's defined in @code{word_size} units, the value 538@file{alloc.c}. Since it's defined in @code{word_size} units, the value
@@ -562,6 +559,16 @@ increases. Thus, it can be desirable to do them less frequently in
562proportion. 559proportion.
563@end defopt 560@end defopt
564 561
562 Control over the garbage collector via @code{gc-cons-threshold} and
563@code{gc-cons-percentage} is only approximate. Although Emacs checks
564for threshold exhaustion regularly, for efficiency reasons it does not
565do so immediately after every change to the heap or to
566@code{gc-cons-threshold} or @code{gc-cons-percentage}, so exhausting
567the threshold does not immediately trigger garbage collection. Also,
568for efficency in threshold calculations Emacs approximates the heap
569size, which counts the bytes used by currently-accessible objects in
570the heap.
571
565 The value returned by @code{garbage-collect} describes the amount of 572 The value returned by @code{garbage-collect} describes the amount of
566memory used by Lisp data, broken down by data type. By contrast, the 573memory used by Lisp data, broken down by data type. By contrast, the
567function @code{memory-limit} provides information on the total amount of 574function @code{memory-limit} provides information on the total amount of
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index 2088f16e47c..1286b63446a 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1183,7 +1183,7 @@ Match @var{rx}, with @code{zero-or-more}, @code{0+},
1183@cindex @code{maximal-match} in rx 1183@cindex @code{maximal-match} in rx
1184Match @var{rx}, with @code{zero-or-more}, @code{0+}, 1184Match @var{rx}, with @code{zero-or-more}, @code{0+},
1185@code{one-or-more}, @code{1+}, @code{zero-or-one}, @code{opt} and 1185@code{one-or-more}, @code{1+}, @code{zero-or-one}, @code{opt} and
1186@code{optional} using non-greedy matching. This is the default. 1186@code{optional} using greedy matching. This is the default.
1187@end table 1187@end table
1188 1188
1189@subsubheading Matching single characters 1189@subsubheading Matching single characters
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index e5673daf3a9..a591b882017 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -21,7 +21,7 @@ Copyright @copyright{} 1990, 1991, 1992 Joseph Brian Wells@*
21@quotation 21@quotation
22This list of frequently asked questions about GNU Emacs with answers 22This list of frequently asked questions about GNU Emacs with answers
23(``FAQ'') may be translated into other languages, transformed into other 23(``FAQ'') may be translated into other languages, transformed into other
24formats (e.g., Texinfo, Info, WWW, WAIS), and updated with new information. 24formats (e.g., Texinfo, Info, HTML, PDF), and updated with new information.
25 25
26The same conditions apply to any derivative of the FAQ as apply to the FAQ 26The same conditions apply to any derivative of the FAQ as apply to the FAQ
27itself. Every copy of the FAQ must include this notice or an approved 27itself. Every copy of the FAQ must include this notice or an approved
diff --git a/doc/misc/emacs-mime.texi b/doc/misc/emacs-mime.texi
index 131a358ba59..8a1ba969ed9 100644
--- a/doc/misc/emacs-mime.texi
+++ b/doc/misc/emacs-mime.texi
@@ -375,16 +375,13 @@ message as follows:
375 375
376@item mm-inline-large-images 376@item mm-inline-large-images
377@vindex mm-inline-large-images 377@vindex mm-inline-large-images
378When displaying inline images that are larger than the window, Emacs 378This variable is @code{resize} by default, which means that images
379does not enable scrolling, which means that you cannot see the whole 379that are bigger than the Emacs window are resized so that they fit.
380image. To prevent this, the library tries to determine the image size 380If you set this to @code{nil}, large images are not displayed in
381before displaying it inline, and if it doesn't fit the window, the 381Emacs, but can instead be displayed externally (e.g., with
382library will display it externally (e.g., with @samp{ImageMagick} or 382@samp{ImageMagick} or @samp{xv}). Setting this variable to @code{t}
383@samp{xv}). Setting this variable to @code{t} disables this check and 383disables this check and makes the library display all inline images as
384makes the library display all inline images as inline, regardless of 384inline, regardless of their size.
385their size. If you set this variable to @code{resize}, the image will
386be displayed resized to fit in the window, if Emacs has the ability to
387resize images.
388 385
389@item mm-inline-large-images-proportion 386@item mm-inline-large-images-proportion
390@vindex mm-inline-images-max-proportion 387@vindex mm-inline-images-max-proportion
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 28a5eccc6ae..fb9581f9853 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -23682,7 +23682,7 @@ point your Web browser at
23682@uref{http://www.cs.indiana.edu/picons/ftp/index.html}. 23682@uref{http://www.cs.indiana.edu/picons/ftp/index.html}.
23683 23683
23684If you are using Debian GNU/Linux, saying @samp{apt-get install 23684If you are using Debian GNU/Linux, saying @samp{apt-get install
23685picons.*} will install the picons where Gnus can find them. 23685picon-.*} will install the picons where Gnus can find them.
23686 23686
23687To enable displaying picons, simply make sure that 23687To enable displaying picons, simply make sure that
23688@code{gnus-picon-databases} points to the directory containing the 23688@code{gnus-picon-databases} points to the directory containing the
diff --git a/doc/misc/smtpmail.texi b/doc/misc/smtpmail.texi
index b2fc90a337a..7fa7b24e162 100644
--- a/doc/misc/smtpmail.texi
+++ b/doc/misc/smtpmail.texi
@@ -372,6 +372,13 @@ implement support for common requirements.
372 372
373@table @code 373@table @code
374 374
375@item smtpmail-retries
376@vindex smtpmail-retries
377An SMTP server may return an error code saying that there's a
378transient error (a @samp{4xx} code). In that case, smtpmail will try
379to resend the message automatically, and the number of times it tries
380before giving up is determined by this variable, which defaults to 10.
381
375@item smtpmail-local-domain 382@item smtpmail-local-domain
376@vindex smtpmail-local-domain 383@vindex smtpmail-local-domain
377 The variable @code{smtpmail-local-domain} controls the hostname sent 384 The variable @code{smtpmail-local-domain} controls the hostname sent
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index e6a454be4c8..1ed334b6bde 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -1591,6 +1591,7 @@ via the @command{CONNECT} command (conforming to RFC 2616, 2817
1591specifications). Proxy servers using HTTP 1.1 or later protocol 1591specifications). Proxy servers using HTTP 1.1 or later protocol
1592support this command. 1592support this command.
1593 1593
1594
1594@subsection Tunneling with ssh 1595@subsection Tunneling with ssh
1595 1596
1596With ssh, you could use the @code{ProxyCommand} entry in 1597With ssh, you could use the @code{ProxyCommand} entry in
@@ -1609,6 +1610,7 @@ Any other program with such a feature could be used as well.
1609In the example, opening @file{@trampfn{ssh,host.your.domain,}} passes 1610In the example, opening @file{@trampfn{ssh,host.your.domain,}} passes
1610the HTTP proxy server @samp{proxy.your.domain} on port 3128. 1611the HTTP proxy server @samp{proxy.your.domain} on port 3128.
1611 1612
1613
1612@subsection Tunneling with PuTTY 1614@subsection Tunneling with PuTTY
1613 1615
1614PuTTY does not need an external program, HTTP tunnel support is 1616PuTTY does not need an external program, HTTP tunnel support is
@@ -2092,6 +2094,33 @@ be recomputed. To force @value{tramp} to recompute afresh, call
2092 2094
2093@node Remote shell setup 2095@node Remote shell setup
2094@section Remote shell setup hints 2096@section Remote shell setup hints
2097
2098
2099@subsection Changing the default remote shell
2100@cindex zsh setup
2101
2102Per default, @value{tramp} uses the command @command{/bin/sh} for
2103strting a shell on the remote host. This can be changed by setting
2104the connection property @option{remote-shell}, see @xref{Predefined
2105connection information}. Other properties might be adapted as well,
2106like @option{remote-shell-login} or @option{remote-shell-args}. If
2107you want, for example, use @command{/usr/bin/zsh} on a remote host,
2108you might apply
2109
2110@lisp
2111@group
2112(add-to-list 'tramp-connection-properties
2113 (list (regexp-quote "@trampfn{ssh,user@@host,}")
2114 "remote-shell" "/usr/bin/zsh"))
2115@end group
2116@end lisp
2117
2118This approach has also the advantage, that settings in
2119@code{tramp-sh-extra-args} will be applied. For zsh, the trouble
2120with the shell prompt due to set zle options will be avoided.
2121
2122
2123@subsection Other remote shell setup hints
2095@cindex remote shell setup 2124@cindex remote shell setup
2096@cindex @file{.profile} file 2125@cindex @file{.profile} file
2097@cindex @file{.login} file 2126@cindex @file{.login} file