aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/maintaining.texi7
-rw-r--r--doc/lispref/text.texi24
-rw-r--r--doc/lispref/windows.texi23
-rw-r--r--doc/misc/cc-mode.texi13
-rw-r--r--doc/misc/emacs-gnutls.texi6
-rw-r--r--doc/misc/tramp.texi77
6 files changed, 93 insertions, 57 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index dc0a71511ff..112f1f4d9ed 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1887,8 +1887,7 @@ the special XREF mode:
1887@table @kbd 1887@table @kbd
1888@item @key{RET} 1888@item @key{RET}
1889@itemx mouse-2 1889@itemx mouse-2
1890Display the reference on the current line and bury the @file{*xref*} 1890Display the reference on the current line.
1891buffer.
1892@item n 1891@item n
1893@itemx . 1892@itemx .
1894@findex xref-next-line 1893@findex xref-next-line
@@ -1903,6 +1902,10 @@ Move to the previous reference and display it in the other window
1903@findex xref-show-location-at-point 1902@findex xref-show-location-at-point
1904Display the reference on the current line in the other window 1903Display the reference on the current line in the other window
1905(@code{xref-show-location-at-point}). 1904(@code{xref-show-location-at-point}).
1905@item TAB
1906@findex xref-quit-and-goto-xref
1907Display the reference on the current line and bury the @file{*xref*}
1908buffer (@code{xref-quit-and-goto-xref}).
1906@findex xref-query-replace-in-results 1909@findex xref-query-replace-in-results
1907@item r @var{pattern} @key{RET} @var{replacement} @key{RET} 1910@item r @var{pattern} @key{RET} @var{replacement} @key{RET}
1908Perform interactive query-replace on references that match 1911Perform interactive query-replace on references that match
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 6094a41c473..ab554dcd421 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -1886,10 +1886,10 @@ prefix or @code{nil}, meaning it has failed to determine a prefix.
1886@cindex filling, automatic 1886@cindex filling, automatic
1887@cindex Auto Fill mode 1887@cindex Auto Fill mode
1888 1888
1889@c FIXME: I don't think any of the variables below is a/an normal/abnormal hook. 1889Auto Fill mode is a minor mode that fills lines automatically as text is
1890 Auto Fill mode is a minor mode that fills lines automatically as text 1890inserted. @xref{Auto Fill,,, emacs, The GNU Emacs Manual}. This
1891is inserted. This section describes the hook used by Auto Fill mode. 1891section describes some variables used by Auto Fill mode. For a
1892For a description of functions that you can call explicitly to fill and 1892description of functions that you can call explicitly to fill and
1893justify existing text, see @ref{Filling}. 1893justify existing text, see @ref{Filling}.
1894 1894
1895 Auto Fill mode also enables the functions that change the margins and 1895 Auto Fill mode also enables the functions that change the margins and
@@ -1898,11 +1898,11 @@ justification style to refill portions of the text. @xref{Margins}.
1898@defvar auto-fill-function 1898@defvar auto-fill-function
1899The value of this buffer-local variable should be a function (of no 1899The value of this buffer-local variable should be a function (of no
1900arguments) to be called after self-inserting a character from the table 1900arguments) to be called after self-inserting a character from the table
1901@code{auto-fill-chars}. It may be @code{nil}, in which case nothing 1901@code{auto-fill-chars}, see below. It may be @code{nil}, in which case
1902special is done in that case. 1902nothing special is done in that case.
1903 1903
1904The value of @code{auto-fill-function} is @code{do-auto-fill} when 1904The value of @code{auto-fill-function} is @code{do-auto-fill} when Auto
1905Auto-Fill mode is enabled. That is a function whose sole purpose is to 1905Fill mode is enabled. That is a function whose sole purpose is to
1906implement the usual strategy for breaking a line. 1906implement the usual strategy for breaking a line.
1907@end defvar 1907@end defvar
1908 1908
@@ -1919,6 +1919,14 @@ self-inserted---space and newline in most language environments. They
1919have an entry @code{t} in the table. 1919have an entry @code{t} in the table.
1920@end defvar 1920@end defvar
1921 1921
1922@defopt comment-auto-fill-only-comments
1923This variable, if non-@code{nil}, means to fill lines automatically
1924within comments only. More precisely, this means that if a comment
1925syntax was defined for the current buffer, then self-inserting a
1926character outside of a comment will not call @code{auto-fill-function}.
1927@end defopt
1928
1929
1922@node Sorting 1930@node Sorting
1923@section Sorting Text 1931@section Sorting Text
1924@cindex sorting text 1932@cindex sorting text
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 5014cd3d82d..e1eac457179 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -5127,7 +5127,10 @@ redisplaying a window with scrolling. Displaying a different buffer in
5127the window also runs these functions. 5127the window also runs these functions.
5128 5128
5129This variable is not a normal hook, because each function is called with 5129This variable is not a normal hook, because each function is called with
5130two arguments: the window, and its new display-start position. 5130two arguments: the window, and its new display-start position. At the
5131time of the call, the display-start position of the window argument is
5132already set to its new value, and the buffer to be displayed in the
5133window is already set as the current buffer.
5131 5134
5132These functions must take care when using @code{window-end} 5135These functions must take care when using @code{window-end}
5133(@pxref{Window Start and End}); if you need an up-to-date value, you 5136(@pxref{Window Start and End}); if you need an up-to-date value, you
@@ -5138,6 +5141,11 @@ is scrolled. It's not designed for that, and such use probably won't
5138work. 5141work.
5139@end defvar 5142@end defvar
5140 5143
5144@defun run-window-scroll-functions &optional window
5145This function calls @code{window-scroll-functions} for the specified
5146@var{window}, which defaults to the selected window.
5147@end defun
5148
5141@defvar window-size-change-functions 5149@defvar window-size-change-functions
5142This variable holds a list of functions to be called if the size of any 5150This variable holds a list of functions to be called if the size of any
5143window changes for any reason. The functions are called once per 5151window changes for any reason. The functions are called once per
@@ -5167,17 +5175,22 @@ be called again.
5167@defvar window-configuration-change-hook 5175@defvar window-configuration-change-hook
5168A normal hook that is run every time the window configuration of a frame 5176A normal hook that is run every time the window configuration of a frame
5169changes. Window configuration changes include splitting and deleting 5177changes. Window configuration changes include splitting and deleting
5170windows and the display of a different buffer in a window. Resizing the 5178windows, and the display of a different buffer in a window. Resizing the
5171frame or individual windows do not count as configuration changes. Use 5179frame or individual windows do not count as configuration changes. Use
5172@code{window-size-change-functions}, see above, when you want to track 5180@code{window-size-change-functions}, see above, when you want to track
5173size changes that are not caused by the deletion or creation of windows. 5181size changes that are not caused by the deletion or creation of windows.
5174 5182
5175The buffer-local part of this hook is run once for each window on the 5183The buffer-local value of this hook is run once for each window on the
5176affected frame, with the relevant window selected and its buffer 5184affected frame, with the relevant window selected and its buffer
5177current. The global part is run once for the modified frame, with that 5185current. The global value of this hook is run once for the modified
5178frame selected. 5186frame, with that frame selected.
5179@end defvar 5187@end defvar
5180 5188
5189@defun run-window-configuration-change-hook &optional frame
5190This function runs @code{window-configuration-change-hook} for the
5191specified @var{frame}, which defaults to the selected frame.
5192@end defun
5193
5181 In addition, you can use @code{jit-lock-register} to register a Font 5194 In addition, you can use @code{jit-lock-register} to register a Font
5182Lock fontification function, which will be called whenever parts of a 5195Lock fontification function, which will be called whenever parts of a
5183buffer are (re)fontified because a window was scrolled or its size 5196buffer are (re)fontified because a window was scrolled or its size
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index c90f6d06bf6..13f5c81d949 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -1760,6 +1760,7 @@ file. For commands that you can use to view the effect of your changes,
1760see @ref{Indentation Commands} and @ref{Filling and Breaking}. 1760see @ref{Indentation Commands} and @ref{Filling and Breaking}.
1761 1761
1762For details of the @ccmode{} style system, see @ref{Styles}. 1762For details of the @ccmode{} style system, see @ref{Styles}.
1763
1763@item @kbd{C-c :} (@code{c-scope-operator}) 1764@item @kbd{C-c :} (@code{c-scope-operator})
1764@kindex C-c : 1765@kindex C-c :
1765@findex c-scope-operator 1766@findex c-scope-operator
@@ -1768,6 +1769,18 @@ In C++, it is also sometimes desirable to insert the double-colon scope
1768operator without performing the electric behavior of colon insertion. 1769operator without performing the electric behavior of colon insertion.
1769@kbd{C-c :} does just this. 1770@kbd{C-c :} does just this.
1770 1771
1772@item @kbd{C-c C-z} (@code{c-display-defun-name})
1773@kindex C-c C-z
1774@findex c-display-defun-name
1775@findex display-defun-name (c-)
1776Display the current function name, if any, in the minibuffer.
1777Additionally, if a prefix argument is given, push the function name to
1778the kill ring. If there is no current function,
1779@code{c-display-defun-name} does nothing. In Emacs, you can use this
1780command in the middle of an interactive search if you set the
1781customizable option @code{isearch-allow-scroll} to non-@code{nil}.
1782@xref{Not Exiting Isearch,,,emacs, GNU Emacs Manual}.
1783
1771@item @kbd{C-c C-\} (@code{c-backslash-region}) 1784@item @kbd{C-c C-\} (@code{c-backslash-region})
1772@kindex C-c C-\ 1785@kindex C-c C-\
1773@findex c-backslash-region 1786@findex c-backslash-region
diff --git a/doc/misc/emacs-gnutls.texi b/doc/misc/emacs-gnutls.texi
index 0ad48b0b9ec..92846a924c5 100644
--- a/doc/misc/emacs-gnutls.texi
+++ b/doc/misc/emacs-gnutls.texi
@@ -94,7 +94,11 @@ There's one way to find out if GnuTLS is available, by calling
94Zaretskii) in the same directory as Emacs, you should be OK. 94Zaretskii) in the same directory as Emacs, you should be OK.
95 95
96@defun gnutls-available-p 96@defun gnutls-available-p
97This function returns @code{t} if GnuTLS is available in this instance of Emacs. 97This function returns non-@code{nil} if GnuTLS is available in this
98instance of Emacs, @code{nil} otherwise. If GnuTLS is available, the
99value is a list of GnuTLS capabilities supported by the installed
100GnuTLS library, which depends on the library version. The meaning of
101the capabilities is documented in the doc string of this function.
98@end defun 102@end defun
99 103
100Oh, but sometimes things go wrong. Budgets aren't balanced, 104Oh, but sometimes things go wrong. Budgets aren't balanced,
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 47055793b73..f1d9434bf72 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -581,10 +581,7 @@ not auto loaded by Emacs. All examples require @value{tramp} is
581installed and loaded: 581installed and loaded:
582 582
583@lisp 583@lisp
584@group 584(customize-set-variable 'tramp-verbose 6 "Enable remote command traces")
585(custom-set-variables
586 '(tramp-verbose 6 nil (tramp) "Enable remote command traces"))
587@end group
588@end lisp 585@end lisp
589 586
590 587
@@ -1155,7 +1152,7 @@ option to determine the default method for remote file names that do
1155not have one specified. 1152not have one specified.
1156 1153
1157@lisp 1154@lisp
1158(custom-set-variables '(tramp-default-method "ssh" nil (tramp))) 1155(customize-set-variable 'tramp-default-method "ssh")
1159@end lisp 1156@end lisp
1160@end defopt 1157@end defopt
1161 1158
@@ -1242,7 +1239,7 @@ this substitution can be overridden with @option{tramp-default-user}.
1242For example: 1239For example:
1243 1240
1244@lisp 1241@lisp
1245(custom-set-variables'(tramp-default-user "root" nil (tramp))) 1242(customize-set-variable 'tramp-default-user "root")
1246@end lisp 1243@end lisp
1247@end defopt 1244@end defopt
1248 1245
@@ -1298,9 +1295,9 @@ follows:
1298@lisp 1295@lisp
1299@group 1296@group
1300(custom-set-variables 1297(custom-set-variables
1301 '(tramp-default-method "ssh" nil (tramp)) 1298 '(tramp-default-method "ssh")
1302 '(tramp-default-user "john" nil (tramp)) 1299 '(tramp-default-user "john")
1303 '(tramp-default-host "target" nil (tramp))) 1300 '(tramp-default-host "target"))
1304@end group 1301@end group
1305@end lisp 1302@end lisp
1306 1303
@@ -1858,21 +1855,20 @@ example below:
1858 1855
1859@lisp 1856@lisp
1860@group 1857@group
1861(custom-set-variables 1858(customize-set-variable
1862 '(tramp-password-prompt-regexp 1859 'tramp-password-prompt-regexp
1863 (concat 1860 (concat
1864 "^.*" 1861 "^.*"
1865 (regexp-opt 1862 (regexp-opt
1866 '("passphrase" "Passphrase" 1863 '("passphrase" "Passphrase"
1867 ;; English 1864 ;; English
1868 "password" "Password" 1865 "password" "Password"
1869 ;; Deutsch 1866 ;; Deutsch
1870 "passwort" "Passwort" 1867 "passwort" "Passwort"
1871 ;; Français 1868 ;; Français
1872 "mot de passe" "Mot de passe") 1869 "mot de passe" "Mot de passe")
1873 t) 1870 t)
1874 ".*:\0? *") 1871 ".*:\0? *"))
1875 nil (tramp)))
1876@end group 1872@end group
1877@end lisp 1873@end lisp
1878 1874
@@ -2175,8 +2171,8 @@ Example:
2175@group 2171@group
2176(add-to-list 'backup-directory-alist 2172(add-to-list 'backup-directory-alist
2177 (cons "." "~/.emacs.d/backups/")) 2173 (cons "." "~/.emacs.d/backups/"))
2178(custom-set-variables 2174(customize-set-variable
2179 '(tramp-backup-directory-alist backup-directory-alist 6 nil (tramp))) 2175 'tramp-backup-directory-alist backup-directory-alist)
2180@end group 2176@end group
2181@end lisp 2177@end lisp
2182 2178
@@ -2549,7 +2545,7 @@ For ad-hoc definitions to be saved automatically in
2549@option{tramp-save-ad-hoc-proxies} to non-@code{nil}. 2545@option{tramp-save-ad-hoc-proxies} to non-@code{nil}.
2550 2546
2551@lisp 2547@lisp
2552(custom-set-variables '(tramp-save-ad-hoc-proxies t nil (tramp))) 2548(customize-set-variable 'tramp-save-ad-hoc-proxies t)
2553@end lisp 2549@end lisp
2554@end defopt 2550@end defopt
2555 2551
@@ -3189,10 +3185,11 @@ which allows you to set the @code{ControlPath} provided the variable
3189 3185
3190@lisp 3186@lisp
3191@group 3187@group
3192(setq tramp-ssh-controlmaster-options 3188(customize-set-variable
3193 (concat 3189 'tramp-ssh-controlmaster-options
3194 "-o ControlPath=/tmp/ssh-ControlPath-%%r@@%%h:%%p " 3190 (concat
3195 "-o ControlMaster=auto -o ControlPersist=yes")) 3191 "-o ControlPath=/tmp/ssh-ControlPath-%%r@@%%h:%%p "
3192 "-o ControlMaster=auto -o ControlPersist=yes"))
3196@end group 3193@end group
3197@end lisp 3194@end lisp
3198 3195
@@ -3205,10 +3202,7 @@ behavior, then any changes to @command{ssh} can be suppressed with
3205this @code{nil} setting: 3202this @code{nil} setting:
3206 3203
3207@lisp 3204@lisp
3208@group 3205(customize-set-variable 'tramp-use-ssh-controlmaster-options nil)
3209(custom-set-variables
3210 '(tramp-use-ssh-controlmaster-options nil nil (tramp)))
3211@end group
3212@end lisp 3206@end lisp
3213 3207
3214 3208
@@ -3364,8 +3358,8 @@ You can define default methods and user names for hosts,
3364@lisp 3358@lisp
3365@group 3359@group
3366(custom-set-variables 3360(custom-set-variables
3367 '(tramp-default-method "ssh" nil (tramp)) 3361 '(tramp-default-method "ssh")
3368 '(tramp-default-user "news" nil (tramp))) 3362 '(tramp-default-user "news"))
3369@end group 3363@end group
3370@end lisp 3364@end lisp
3371 3365
@@ -3659,7 +3653,7 @@ disable such features.
3659Disable @value{tramp} file name completion: 3653Disable @value{tramp} file name completion:
3660 3654
3661@lisp 3655@lisp
3662(custom-set-variables '(ido-enable-tramp-completion nil)) 3656(customize-set-variable 'ido-enable-tramp-completion nil)
3663@end lisp 3657@end lisp
3664 3658
3665@item 3659@item
@@ -3682,15 +3676,16 @@ To keep Ange FTP as default the remote files access package, set this
3682in @file{.emacs}: 3676in @file{.emacs}:
3683 3677
3684@lisp 3678@lisp
3685(custom-set-variables '(tramp-default-method "ftp" nil (tramp))) 3679(customize-set-variable 'tramp-default-method "ftp")
3686@end lisp 3680@end lisp
3687 3681
3688@item 3682@item
3689To disable both @value{tramp} (and Ange FTP), set @code{tramp-mode} to 3683To disable both @value{tramp} (and Ange FTP), set @code{tramp-mode} to
3690@code{nil} in @file{.emacs}. 3684@code{nil} in @file{.emacs}. @strong{Note}, that we don't use
3685@code{customize-set-variable}, in order to avoid loading @value{tramp}.
3691 3686
3692@lisp 3687@lisp
3693(custom-set-variables '(tramp-mode nil nil (tramp))) 3688(setq tramp-mode nil)
3694@end lisp 3689@end lisp
3695 3690
3696@item 3691@item