diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/basic.texi | 22 | ||||
| -rw-r--r-- | doc/emacs/building.texi | 25 | ||||
| -rw-r--r-- | doc/emacs/cmdargs.texi | 17 | ||||
| -rw-r--r-- | doc/emacs/docstyle.texi | 6 | ||||
| -rw-r--r-- | doc/emacs/fixit.texi | 31 | ||||
| -rw-r--r-- | doc/emacs/frames.texi | 20 | ||||
| -rw-r--r-- | doc/emacs/glossary.texi | 58 | ||||
| -rw-r--r-- | doc/emacs/macos.texi | 6 | ||||
| -rw-r--r-- | doc/emacs/mark.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 31 | ||||
| -rw-r--r-- | doc/emacs/msdos-xtra.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/msdos.texi | 8 | ||||
| -rw-r--r-- | doc/emacs/mule.texi | 34 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 28 | ||||
| -rw-r--r-- | doc/emacs/trouble.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/xresources.texi | 4 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 32 |
17 files changed, 211 insertions, 117 deletions
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi index 8a8298bc2c4..4db3855dd9c 100644 --- a/doc/emacs/basic.texi +++ b/doc/emacs/basic.texi | |||
| @@ -184,18 +184,8 @@ Move forward one character (@code{forward-char}). | |||
| 184 | @item @key{RIGHT} | 184 | @item @key{RIGHT} |
| 185 | @kindex RIGHT | 185 | @kindex RIGHT |
| 186 | @findex right-char | 186 | @findex right-char |
| 187 | @vindex visual-order-cursor-movement | 187 | This command (@code{right-char}) behaves like @kbd{C-f}, except when |
| 188 | @cindex cursor, visual-order motion | 188 | point is in a right-to-left paragraph (@pxref{Bidirectional Editing}). |
| 189 | This command (@code{right-char}) behaves like @kbd{C-f}, with one | ||
| 190 | exception: when editing right-to-left scripts such as Arabic, it | ||
| 191 | instead moves @emph{backward} if the current paragraph is a | ||
| 192 | right-to-left paragraph. @xref{Bidirectional Editing}. | ||
| 193 | |||
| 194 | If @code{visual-order-cursor-movement} is non-@code{nil}, this command | ||
| 195 | moves to the character that is to the right of the current screen | ||
| 196 | position, moving to the next or previous screen line as appropriate. | ||
| 197 | Note that this might potentially move point many buffer positions | ||
| 198 | away, depending on the surrounding bidirectional context. | ||
| 199 | 189 | ||
| 200 | @item C-b | 190 | @item C-b |
| 201 | @kindex C-b | 191 | @kindex C-b |
| @@ -205,12 +195,8 @@ Move backward one character (@code{backward-char}). | |||
| 205 | @item @key{LEFT} | 195 | @item @key{LEFT} |
| 206 | @kindex LEFT | 196 | @kindex LEFT |
| 207 | @findex left-char | 197 | @findex left-char |
| 208 | This command (@code{left-char}) behaves like @kbd{C-b}, except it | 198 | This command (@code{left-char}) behaves like @kbd{C-b}, except if the |
| 209 | moves @emph{forward} if the current paragraph is right-to-left. | 199 | current paragraph is right-to-left (@pxref{Bidirectional Editing}). |
| 210 | @xref{Bidirectional Editing}. | ||
| 211 | |||
| 212 | The variable @code{visual-order-cursor-movement} affects this like | ||
| 213 | @key{RIGHT}, but moving left instead of right on the screen. | ||
| 214 | 200 | ||
| 215 | @item C-n | 201 | @item C-n |
| 216 | @itemx @key{DOWN} | 202 | @itemx @key{DOWN} |
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index f61e3335770..878d2f53d53 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi | |||
| @@ -90,9 +90,9 @@ inserted above point, which remains at the end. Otherwise, point | |||
| 90 | remains fixed while compilation output is added at the end of the | 90 | remains fixed while compilation output is added at the end of the |
| 91 | buffer. | 91 | buffer. |
| 92 | 92 | ||
| 93 | While compilation proceeds, the mode line is updated to show the | 93 | While compilation proceeds, the mode line shows the number of |
| 94 | number of errors, warnings, and informational messages that have been | 94 | errors, warnings, and informational messages emitted by the compiler |
| 95 | seen so far. | 95 | so far. |
| 96 | 96 | ||
| 97 | @cindex compilation buffer, keeping point at end | 97 | @cindex compilation buffer, keeping point at end |
| 98 | @vindex compilation-scroll-output | 98 | @vindex compilation-scroll-output |
| @@ -384,16 +384,16 @@ grep -nH -e foo *.el | grep bar | grep toto | |||
| 384 | can find the corresponding lines in the original files using @w{@kbd{C-x | 384 | can find the corresponding lines in the original files using @w{@kbd{C-x |
| 385 | `}}, @key{RET}, and so forth, just like compilation errors. | 385 | `}}, @key{RET}, and so forth, just like compilation errors. |
| 386 | 386 | ||
| 387 | As with compilation commands (@pxref{Compilation}), while the grep | ||
| 388 | command runs, the mode line is updated to show the number of matches | ||
| 389 | that have been seen so far. | ||
| 390 | |||
| 391 | Some grep programs accept a @samp{--color} option to output special | 387 | Some grep programs accept a @samp{--color} option to output special |
| 392 | markers around matches for the purpose of highlighting. You can make | 388 | markers around matches for the purpose of highlighting. You can make |
| 393 | use of this feature by setting @code{grep-highlight-matches} to | 389 | use of this feature by setting @code{grep-highlight-matches} to |
| 394 | @code{t}. When displaying a match in the source buffer, the exact | 390 | @code{t}. When displaying a match in the source buffer, the exact |
| 395 | match will be highlighted, instead of the entire source line. | 391 | match will be highlighted, instead of the entire source line. |
| 396 | 392 | ||
| 393 | As with compilation commands (@pxref{Compilation}), while the grep | ||
| 394 | command runs, the mode line shows the running number of matches found | ||
| 395 | and highlighted so far. | ||
| 396 | |||
| 397 | The @command{grep} commands will offer to save buffers before | 397 | The @command{grep} commands will offer to save buffers before |
| 398 | running. This is controlled by the @code{grep-save-buffers} variable. | 398 | running. This is controlled by the @code{grep-save-buffers} variable. |
| 399 | The possible values are either @code{nil} (don't save), @code{ask} | 399 | The possible values are either @code{nil} (don't save), @code{ask} |
| @@ -1410,12 +1410,13 @@ Loading,,, elisp, the Emacs Lisp Reference Manual}. | |||
| 1410 | @code{load-path}. Its value should be a list of directories | 1410 | @code{load-path}. Its value should be a list of directories |
| 1411 | (strings). These directories are searched, in the specified order, by | 1411 | (strings). These directories are searched, in the specified order, by |
| 1412 | the @kbd{M-x load-library} command, the lower-level @code{load} | 1412 | the @kbd{M-x load-library} command, the lower-level @code{load} |
| 1413 | function, and other Emacs functions that find Emacs Lisp libraries. A | 1413 | function, and other Emacs functions that find Emacs Lisp libraries. |
| 1414 | list entry in @code{load-path} can also have the special value | 1414 | An entry in @code{load-path} can also have the special value |
| 1415 | @code{nil}, which stands for the current default directory, but it is | 1415 | @code{nil}, which stands for the current default directory, but it is |
| 1416 | almost always a bad idea to use this. (If you find yourself wishing | 1416 | almost always a bad idea to use this, because its meaning will depend |
| 1417 | that @code{nil} were in the list, most likely what you really want is | 1417 | on the buffer that is current when @code{load-path} is used by Emacs. |
| 1418 | to use @kbd{M-x load-file}.) | 1418 | (If you find yourself wishing that @code{nil} were in the list, most |
| 1419 | likely what you really want is to use @kbd{M-x load-file}.) | ||
| 1419 | 1420 | ||
| 1420 | The default value of @code{load-path} is a list of directories where | 1421 | The default value of @code{load-path} is a list of directories where |
| 1421 | the Lisp code for Emacs itself is stored. If you have libraries of | 1422 | the Lisp code for Emacs itself is stored. If you have libraries of |
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index e463e7c8194..d18de8e7a02 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi | |||
| @@ -1104,15 +1104,14 @@ border is 2. | |||
| 1104 | @node Title X | 1104 | @node Title X |
| 1105 | @appendixsec Frame Titles | 1105 | @appendixsec Frame Titles |
| 1106 | 1106 | ||
| 1107 | An Emacs frame may or may not have a specified title. The frame | 1107 | Each Emacs frame always has a title, which appears in window |
| 1108 | title, if specified, appears in window decorations and icons as the | 1108 | decorations and icons as the name of the frame. The default title is |
| 1109 | name of the frame. If an Emacs frame has no specified title, the | 1109 | of the form @samp{@var{invocation-name}@@@var{machine}} (if there is |
| 1110 | default title has the form @samp{@var{invocation-name}@@@var{machine}} | 1110 | only one frame) or shows the selected window's buffer name (if there |
| 1111 | (if there is only one frame) or the selected window's buffer name (if | 1111 | is more than one frame). |
| 1112 | there is more than one frame). | 1112 | |
| 1113 | 1113 | You can specify a non-default title for the initial Emacs frame with | |
| 1114 | You can specify a title for the initial Emacs frame with a command | 1114 | a command line option: |
| 1115 | line option: | ||
| 1116 | 1115 | ||
| 1117 | @table @samp | 1116 | @table @samp |
| 1118 | @item -T @var{title} | 1117 | @item -T @var{title} |
diff --git a/doc/emacs/docstyle.texi b/doc/emacs/docstyle.texi index dfd14306b39..f682e3d82be 100644 --- a/doc/emacs/docstyle.texi +++ b/doc/emacs/docstyle.texi | |||
| @@ -8,3 +8,9 @@ | |||
| 8 | @end ignore | 8 | @end ignore |
| 9 | @set txicodequoteundirected | 9 | @set txicodequoteundirected |
| 10 | @set txicodequotebacktick | 10 | @set txicodequotebacktick |
| 11 | @c It turns out TeX sometimes fails to hyphenate, so we help it here | ||
| 12 | @hyphenation{au-to-mat-i-cal-ly} | ||
| 13 | @hyphenation{spec-i-fied} | ||
| 14 | @hyphenation{work-a-round} | ||
| 15 | @hyphenation{work-a-rounds} | ||
| 16 | @hyphenation{un-marked} | ||
diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi index c872e9bb3ac..7cacac42400 100644 --- a/doc/emacs/fixit.texi +++ b/doc/emacs/fixit.texi | |||
| @@ -69,10 +69,10 @@ changes have already been undone, the undo command signals an error. | |||
| 69 | Any command other than an undo command breaks the sequence of undo | 69 | Any command other than an undo command breaks the sequence of undo |
| 70 | commands. Starting from that moment, the entire sequence of undo | 70 | commands. Starting from that moment, the entire sequence of undo |
| 71 | commands that you have just performed are themselves placed into the | 71 | commands that you have just performed are themselves placed into the |
| 72 | undo record, as a single set of changes. Therefore, to re-apply | 72 | undo record. Therefore, to re-apply changes you have undone, type |
| 73 | changes you have undone, type @kbd{C-f} or any other command that | 73 | @kbd{C-f} or any other command that harmlessly breaks the sequence of |
| 74 | harmlessly breaks the sequence of undoing; then type @kbd{C-/} to undo | 74 | undoing; then type @kbd{C-/} one or more times to undo some of the |
| 75 | the undo command. | 75 | undo commands. |
| 76 | 76 | ||
| 77 | Alternatively, if you want to resume undoing, without redoing | 77 | Alternatively, if you want to resume undoing, without redoing |
| 78 | previous undo commands, use @kbd{M-x undo-only}. This is like | 78 | previous undo commands, use @kbd{M-x undo-only}. This is like |
| @@ -180,7 +180,8 @@ Otherwise, a reverse search (@kbd{C-r}) is often the best way. | |||
| 180 | dragging the word preceding or containing point forward as well. The | 180 | dragging the word preceding or containing point forward as well. The |
| 181 | punctuation characters between the words do not move. For example, | 181 | punctuation characters between the words do not move. For example, |
| 182 | @w{@samp{FOO, BAR}} transposes into @w{@samp{BAR, FOO}} rather than | 182 | @w{@samp{FOO, BAR}} transposes into @w{@samp{BAR, FOO}} rather than |
| 183 | @samp{@w{BAR FOO,}}. | 183 | @samp{@w{BAR FOO,}}. When point is at the end of the line, it will |
| 184 | transpose the word before point with the first word on the next line. | ||
| 184 | 185 | ||
| 185 | @kbd{C-M-t} (@code{transpose-sexps}) is a similar command for | 186 | @kbd{C-M-t} (@code{transpose-sexps}) is a similar command for |
| 186 | transposing two expressions (@pxref{Expressions}), and @kbd{C-x C-t} | 187 | transposing two expressions (@pxref{Expressions}), and @kbd{C-x C-t} |
| @@ -344,16 +345,16 @@ wildcard. | |||
| 344 | 345 | ||
| 345 | @item C-g | 346 | @item C-g |
| 346 | @itemx X | 347 | @itemx X |
| 347 | Quit interactive spell checking, leaving point at the word that was | 348 | Quit interactive spell-checking, leaving point at the word that was |
| 348 | being checked. You can restart checking again afterward with @kbd{C-u | 349 | being checked. You can restart checking again afterward with @kbd{C-u |
| 349 | M-$}. | 350 | M-$}. |
| 350 | 351 | ||
| 351 | @item x | 352 | @item x |
| 352 | Quit interactive spell checking and move point back to where it was | 353 | Quit interactive spell-checking and move point back to where it was |
| 353 | when you started spell checking. | 354 | when you started spell-checking. |
| 354 | 355 | ||
| 355 | @item q | 356 | @item q |
| 356 | Quit interactive spell checking and kill the spell-checker subprocess. | 357 | Quit interactive spell-checking and kill the spell-checker subprocess. |
| 357 | 358 | ||
| 358 | @item ? | 359 | @item ? |
| 359 | Show the list of options. | 360 | Show the list of options. |
| @@ -371,7 +372,7 @@ character; type that digit or character to choose it. | |||
| 371 | @cindex @code{ispell} program | 372 | @cindex @code{ispell} program |
| 372 | @findex ispell-kill-ispell | 373 | @findex ispell-kill-ispell |
| 373 | Once started, the spell-checker subprocess continues | 374 | Once started, the spell-checker subprocess continues |
| 374 | to run, waiting for something to do, so that subsequent spell checking | 375 | to run, waiting for something to do, so that subsequent spell-checking |
| 375 | commands complete more quickly. If you want to get rid of the | 376 | commands complete more quickly. If you want to get rid of the |
| 376 | process, use @kbd{M-x ispell-kill-ispell}. This is not usually | 377 | process, use @kbd{M-x ispell-kill-ispell}. This is not usually |
| 377 | necessary, since the process uses no processor time except when you do | 378 | necessary, since the process uses no processor time except when you do |
| @@ -392,19 +393,21 @@ so that it will use a different standard dictionary. Your personal | |||
| 392 | dictionary is specified by the variable | 393 | dictionary is specified by the variable |
| 393 | @code{ispell-personal-dictionary}. If that is @code{nil}, the | 394 | @code{ispell-personal-dictionary}. If that is @code{nil}, the |
| 394 | spelling program looks for a personal dictionary in a default | 395 | spelling program looks for a personal dictionary in a default |
| 395 | location. | 396 | location, which is specific to each spell-checker. |
| 396 | 397 | ||
| 397 | @vindex ispell-complete-word-dict | 398 | @vindex ispell-complete-word-dict |
| 398 | A separate dictionary is used for word completion. The variable | 399 | A separate dictionary is used for word completion. The variable |
| 399 | @code{ispell-complete-word-dict} specifies the file name of this | 400 | @code{ispell-complete-word-dict} specifies the file name of this |
| 400 | dictionary. The completion dictionary must be different because it | 401 | dictionary. The completion dictionary must be different because it |
| 401 | cannot use root and affix information. For some languages, there | 402 | cannot use the information about roots and affixes of the words, which |
| 402 | is a spell checking dictionary but no word completion dictionary. | 403 | spell-checking uses to detect variations of words. For some |
| 404 | languages, there is a spell-checking dictionary but no word completion | ||
| 405 | dictionary. | ||
| 403 | 406 | ||
| 404 | @cindex Flyspell mode | 407 | @cindex Flyspell mode |
| 405 | @cindex mode, Flyspell | 408 | @cindex mode, Flyspell |
| 406 | @findex flyspell-mode | 409 | @findex flyspell-mode |
| 407 | Flyspell mode is a minor mode that performs automatic spell checking | 410 | Flyspell mode is a minor mode that performs automatic spell-checking |
| 408 | as you type. When it finds a word that it does not recognize, it | 411 | as you type. When it finds a word that it does not recognize, it |
| 409 | highlights that word. Type @kbd{M-x flyspell-mode} to toggle Flyspell | 412 | highlights that word. Type @kbd{M-x flyspell-mode} to toggle Flyspell |
| 410 | mode in the current buffer. To enable Flyspell mode in all text mode | 413 | mode in the current buffer. To enable Flyspell mode in all text mode |
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index afdfa6c39c1..b2ec5746a0e 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -248,13 +248,13 @@ this to move point to the beginning of the region, scrolling the | |||
| 248 | display backward if necessary. | 248 | display backward if necessary. |
| 249 | 249 | ||
| 250 | @item Double-Drag-mouse-1 | 250 | @item Double-Drag-mouse-1 |
| 251 | Select the text you drag across, in the form of whole words. | 251 | Select the text you drag across, in units of whole words. |
| 252 | 252 | ||
| 253 | @item Triple-mouse-1 | 253 | @item Triple-mouse-1 |
| 254 | Select the line you click on. | 254 | Select the line you click on. |
| 255 | 255 | ||
| 256 | @item Triple-Drag-mouse-1 | 256 | @item Triple-Drag-mouse-1 |
| 257 | Select the text you drag across, in the form of whole lines. | 257 | Select the text you drag across, in units of whole lines. |
| 258 | @end table | 258 | @end table |
| 259 | 259 | ||
| 260 | @node Mouse References | 260 | @node Mouse References |
| @@ -312,7 +312,7 @@ button. | |||
| 312 | @node Menu Mouse Clicks | 312 | @node Menu Mouse Clicks |
| 313 | @section Mouse Clicks for Menus | 313 | @section Mouse Clicks for Menus |
| 314 | 314 | ||
| 315 | Several mouse clicks with the @key{CTRL} and @key{SHIFT} modifiers | 315 | Several mouse clicks with the @key{Ctrl} and @key{SHIFT} modifiers |
| 316 | bring up menus. | 316 | bring up menus. |
| 317 | 317 | ||
| 318 | @table @kbd | 318 | @table @kbd |
| @@ -409,10 +409,11 @@ boundary to the left or right. | |||
| 409 | The prefix key @kbd{C-x 5} is analogous to @kbd{C-x 4}. Whereas | 409 | The prefix key @kbd{C-x 5} is analogous to @kbd{C-x 4}. Whereas |
| 410 | each @kbd{C-x 4} command pops up a buffer in a different window in the | 410 | each @kbd{C-x 4} command pops up a buffer in a different window in the |
| 411 | selected frame (@pxref{Pop Up Window}), the @kbd{C-x 5} commands use a | 411 | selected frame (@pxref{Pop Up Window}), the @kbd{C-x 5} commands use a |
| 412 | different frame. If an existing visible or iconified (a.k.a.@: ``minimized'') | 412 | different frame. If an existing visible or iconified (a.k.a.@: |
| 413 | frame already displays the requested buffer, that frame is raised and | 413 | ``minimized'', @pxref{Visibility of Frames,,, elisp, The Emacs Lisp |
| 414 | deiconified (``un-minimized''); otherwise, a new frame is created on | 414 | Reference Manual}) frame already displays the requested buffer, that |
| 415 | the current display terminal. | 415 | frame is raised and deiconified (``un-minimized''); otherwise, a new |
| 416 | frame is created on the current display terminal. | ||
| 416 | 417 | ||
| 417 | The various @kbd{C-x 5} commands differ in how they find or create the | 418 | The various @kbd{C-x 5} commands differ in how they find or create the |
| 418 | buffer to select: | 419 | buffer to select: |
| @@ -642,7 +643,7 @@ Monospace-12:weight=bold:slant=italic | |||
| 642 | 643 | ||
| 643 | For a more detailed description of Fontconfig patterns, see the | 644 | For a more detailed description of Fontconfig patterns, see the |
| 644 | Fontconfig manual, which is distributed with Fontconfig and available | 645 | Fontconfig manual, which is distributed with Fontconfig and available |
| 645 | online at @url{http://fontconfig.org/fontconfig-user.html}. | 646 | online at @url{https://fontconfig.org/fontconfig-user.html}. |
| 646 | 647 | ||
| 647 | @cindex GTK font pattern | 648 | @cindex GTK font pattern |
| 648 | The second way to specify a font is to use a @dfn{GTK font pattern}. | 649 | The second way to specify a font is to use a @dfn{GTK font pattern}. |
| @@ -954,7 +955,8 @@ toolkits allow you to customize the scroll bars to not have those | |||
| 954 | buttons). Clicking @kbd{mouse-1} above or below the scroll bar's | 955 | buttons). Clicking @kbd{mouse-1} above or below the scroll bar's |
| 955 | inner box scrolls the window by nearly the entire height of the | 956 | inner box scrolls the window by nearly the entire height of the |
| 956 | window, like @kbd{M-v} and @kbd{C-v} respectively (@pxref{Moving | 957 | window, like @kbd{M-v} and @kbd{C-v} respectively (@pxref{Moving |
| 957 | Point}). Dragging the inner box scrolls continuously. | 958 | Point}). (This, too, can behave differently with some toolkits.) |
| 959 | Dragging the inner box scrolls continuously. | ||
| 958 | 960 | ||
| 959 | If Emacs is compiled on the X Window System without X toolkit | 961 | If Emacs is compiled on the X Window System without X toolkit |
| 960 | support, the scroll bar behaves differently. Clicking @kbd{mouse-1} | 962 | support, the scroll bar behaves differently. Clicking @kbd{mouse-1} |
diff --git a/doc/emacs/glossary.texi b/doc/emacs/glossary.texi index 7a0dd6db750..a9120194a49 100644 --- a/doc/emacs/glossary.texi +++ b/doc/emacs/glossary.texi | |||
| @@ -24,7 +24,7 @@ Setting the mark (q.v.@:) at a position in the text also activates it. | |||
| 24 | When the mark is active, we call the region an active region. | 24 | When the mark is active, we call the region an active region. |
| 25 | @xref{Mark}. | 25 | @xref{Mark}. |
| 26 | 26 | ||
| 27 | @item Alt | 27 | @item @key{Alt} |
| 28 | Alt is the name of a modifier bit that a keyboard input character may | 28 | Alt is the name of a modifier bit that a keyboard input character may |
| 29 | have. To make a character Alt, type it while holding down the @key{Alt} | 29 | have. To make a character Alt, type it while holding down the @key{Alt} |
| 30 | key. Such characters are given names that start with @kbd{@key{Alt}-} | 30 | key. Such characters are given names that start with @kbd{@key{Alt}-} |
| @@ -160,6 +160,12 @@ right away when you press down on a mouse button. @xref{Mouse Buttons}. | |||
| 160 | @item Byte Compilation | 160 | @item Byte Compilation |
| 161 | @xref{Glossary---Compilation}. | 161 | @xref{Glossary---Compilation}. |
| 162 | 162 | ||
| 163 | @item cf. | ||
| 164 | @itemx c.f. | ||
| 165 | Short for ``confer'' in Latin, which means ``compare with'' or | ||
| 166 | ``compare to''. The second variant, ``c.f.'', is a widespread | ||
| 167 | misspelling. | ||
| 168 | |||
| 163 | @anchor{Glossary---C-} | 169 | @anchor{Glossary---C-} |
| 164 | @item @kbd{C-} | 170 | @item @kbd{C-} |
| 165 | @kbd{C-} in the name of a character is an abbreviation for Control. | 171 | @kbd{C-} in the name of a character is an abbreviation for Control. |
| @@ -187,7 +193,7 @@ other input events as well). @xref{User Input}. | |||
| 187 | 193 | ||
| 188 | @item Character Folding | 194 | @item Character Folding |
| 189 | Character folding means ignoring differences between similarly looking | 195 | Character folding means ignoring differences between similarly looking |
| 190 | characters, such as between @code{a}, and @code{@:a} and @code{@'a}. | 196 | characters, such as between @code{a}, and @code{@"a} and @code{@'a}. |
| 191 | Emacs performs character folding by default in text search. @xref{Lax | 197 | Emacs performs character folding by default in text search. @xref{Lax |
| 192 | Search}. | 198 | Search}. |
| 193 | 199 | ||
| @@ -220,14 +226,16 @@ text to or from a variety of coding systems when reading or writing it. | |||
| 220 | @xref{Coding Systems}. | 226 | @xref{Coding Systems}. |
| 221 | 227 | ||
| 222 | @item Command | 228 | @item Command |
| 223 | A command is a Lisp function specially defined to be able to serve as a | 229 | A command is a Lisp function specially defined to be able to serve as |
| 224 | key binding in Emacs. When you type a key sequence (q.v.), its | 230 | a key binding in Emacs or to be invoked by its name |
| 225 | binding (q.v.@:) is looked up in the relevant keymaps (q.v.@:) to find | 231 | (@pxref{Glossary---Command Name}). When you type a key sequence |
| 226 | the command to run. @xref{Commands}. | 232 | (q.v.), its binding (q.v.@:) is looked up in the relevant keymaps |
| 233 | (q.v.@:) to find the command to run. @xref{Commands}. | ||
| 227 | 234 | ||
| 228 | @item Command History | 235 | @item Command History |
| 229 | @xref{Glossary---Minibuffer History}. | 236 | @xref{Glossary---Minibuffer History}. |
| 230 | 237 | ||
| 238 | @anchor{Glossary---Command Name} | ||
| 231 | @item Command Name | 239 | @item Command Name |
| 232 | A command name is the name of a Lisp symbol that is a command | 240 | A command name is the name of a Lisp symbol that is a command |
| 233 | (@pxref{Commands}). You can invoke any command by its name using | 241 | (@pxref{Commands}). You can invoke any command by its name using |
| @@ -250,7 +258,8 @@ Compilation is the process of creating an executable program from source | |||
| 250 | code. Emacs has commands for compiling files of Emacs Lisp code | 258 | code. Emacs has commands for compiling files of Emacs Lisp code |
| 251 | (@pxref{Byte Compilation,,, elisp, the Emacs Lisp | 259 | (@pxref{Byte Compilation,,, elisp, the Emacs Lisp |
| 252 | Reference Manual}) and programs in C and other languages | 260 | Reference Manual}) and programs in C and other languages |
| 253 | (@pxref{Compilation}). | 261 | (@pxref{Compilation}). Byte-compiled Emacs Lisp code loads and |
| 262 | executes faster. | ||
| 254 | 263 | ||
| 255 | @item Complete Key | 264 | @item Complete Key |
| 256 | A complete key is a key sequence that fully specifies one action to be | 265 | A complete key is a key sequence that fully specifies one action to be |
| @@ -440,6 +449,9 @@ tell it to. @xref{Bugs}. | |||
| 440 | @c TODO? Not really appropriate for the user manual I think. | 449 | @c TODO? Not really appropriate for the user manual I think. |
| 441 | @c Dynamic Binding | 450 | @c Dynamic Binding |
| 442 | 451 | ||
| 452 | @item e.g. | ||
| 453 | Short for ``exempli gratia'' in Latin, which means ``for example''. | ||
| 454 | |||
| 443 | @item Echo Area | 455 | @item Echo Area |
| 444 | The echo area is the bottom line of the screen, used for echoing the | 456 | The echo area is the bottom line of the screen, used for echoing the |
| 445 | arguments to commands, for asking questions, and showing brief messages | 457 | arguments to commands, for asking questions, and showing brief messages |
| @@ -499,6 +511,9 @@ like the @key{SHIFT} key, is held down while another character is | |||
| 499 | typed), you press the @key{ESC} key as you would press a letter key, and | 511 | typed), you press the @key{ESC} key as you would press a letter key, and |
| 500 | it applies to the next character you type. | 512 | it applies to the next character you type. |
| 501 | 513 | ||
| 514 | @item etc. | ||
| 515 | Short for ``et cetera'' in Latin, which means ``and so on''. | ||
| 516 | |||
| 502 | @item Expression | 517 | @item Expression |
| 503 | @xref{Glossary---Balanced Expression}. | 518 | @xref{Glossary---Balanced Expression}. |
| 504 | 519 | ||
| @@ -709,6 +724,9 @@ have. To make a character Hyper, type it while holding down the | |||
| 709 | @key{Hyper} key. Such characters are given names that start with | 724 | @key{Hyper} key. Such characters are given names that start with |
| 710 | @kbd{Hyper-} (usually written @kbd{H-} for short). @xref{User Input}. | 725 | @kbd{Hyper-} (usually written @kbd{H-} for short). @xref{User Input}. |
| 711 | 726 | ||
| 727 | @item i.e. | ||
| 728 | Short for ``id est'' in Latin, which means ``that is''. | ||
| 729 | |||
| 712 | @item Iff | 730 | @item Iff |
| 713 | ``Iff'' means ``if and only if''. This terminology comes from | 731 | ``Iff'' means ``if and only if''. This terminology comes from |
| 714 | mathematics. Try to avoid using this term in documentation, since | 732 | mathematics. Try to avoid using this term in documentation, since |
| @@ -861,7 +879,7 @@ A local value of a variable (q.v.@:) applies to only one buffer. | |||
| 861 | @xref{Locals}. | 879 | @xref{Locals}. |
| 862 | 880 | ||
| 863 | @item @kbd{M-} | 881 | @item @kbd{M-} |
| 864 | @kbd{M-} in the name of a character is an abbreviation for @key{Meta}, | 882 | @kbd{M-} in the name of a character is an abbreviation for @key{META}, |
| 865 | one of the modifier keys that can accompany any character. | 883 | one of the modifier keys that can accompany any character. |
| 866 | @xref{User Input,M-}. | 884 | @xref{User Input,M-}. |
| 867 | 885 | ||
| @@ -919,15 +937,15 @@ a keyboard interface to navigate it. @xref{Menu Bars}. | |||
| 919 | 937 | ||
| 920 | @item Meta | 938 | @item Meta |
| 921 | Meta is the name of a modifier bit which you can use in a command | 939 | Meta is the name of a modifier bit which you can use in a command |
| 922 | character. To enter a meta character, you hold down the @key{Meta} | 940 | character. To enter a meta character, you hold down the @key{META} |
| 923 | key while typing the character. We refer to such characters with | 941 | key while typing the character. We refer to such characters with |
| 924 | names that start with @kbd{Meta-} (usually written @kbd{M-} for | 942 | names that start with @kbd{Meta-} (usually written @kbd{M-} for |
| 925 | short). For example, @kbd{M-<} is typed by holding down @key{Meta} | 943 | short). For example, @kbd{M-<} is typed by holding down @key{META} |
| 926 | and at the same time typing @kbd{<} (which itself is done, on most | 944 | and at the same time typing @kbd{<} (which itself is done, on most |
| 927 | terminals, by holding down @key{SHIFT} and typing @kbd{,}). | 945 | terminals, by holding down @key{SHIFT} and typing @kbd{,}). |
| 928 | @xref{User Input,Meta}. | 946 | @xref{User Input,Meta}. |
| 929 | 947 | ||
| 930 | On some terminals, the @key{Meta} key is actually labeled @key{Alt} | 948 | On some terminals, the @key{META} key is actually labeled @key{Alt} |
| 931 | or @key{Edit}. | 949 | or @key{Edit}. |
| 932 | 950 | ||
| 933 | @item Meta Character | 951 | @item Meta Character |
| @@ -1082,6 +1100,9 @@ read an argument (@pxref{Minibuffer}); the echoing that happens when | |||
| 1082 | you pause in the middle of typing a multi-character key sequence is also | 1100 | you pause in the middle of typing a multi-character key sequence is also |
| 1083 | a kind of prompting (@pxref{Echo Area}). | 1101 | a kind of prompting (@pxref{Echo Area}). |
| 1084 | 1102 | ||
| 1103 | @item q.v. | ||
| 1104 | Short for ``quod vide'' in Latin, which means ``which see''. | ||
| 1105 | |||
| 1085 | @item Query-Replace | 1106 | @item Query-Replace |
| 1086 | Query-replace is an interactive string replacement feature provided by | 1107 | Query-replace is an interactive string replacement feature provided by |
| 1087 | Emacs. @xref{Query Replace}. | 1108 | Emacs. @xref{Query Replace}. |
| @@ -1122,8 +1143,8 @@ one corner and putting the mark at the diagonally opposite corner. | |||
| 1122 | A recursive editing level is a state in which part of the execution of | 1143 | A recursive editing level is a state in which part of the execution of |
| 1123 | a command involves asking you to edit some text. This text may | 1144 | a command involves asking you to edit some text. This text may |
| 1124 | or may not be the same as the text to which the command was applied. | 1145 | or may not be the same as the text to which the command was applied. |
| 1125 | The mode line indicates recursive editing levels with square brackets | 1146 | The mode line (q.v.@:) indicates recursive editing levels with square |
| 1126 | (@samp{[} and @samp{]}). @xref{Recursive Edit}. | 1147 | brackets (@samp{[} and @samp{]}). @xref{Recursive Edit}. |
| 1127 | 1148 | ||
| 1128 | @item Redisplay | 1149 | @item Redisplay |
| 1129 | Redisplay is the process of correcting the image on the screen to | 1150 | Redisplay is the process of correcting the image on the screen to |
| @@ -1151,7 +1172,7 @@ digits. @xref{Regexps}. | |||
| 1151 | @item Remote File | 1172 | @item Remote File |
| 1152 | A remote file is a file that is stored on a system other than your own. | 1173 | A remote file is a file that is stored on a system other than your own. |
| 1153 | Emacs can access files on other computers provided that they are | 1174 | Emacs can access files on other computers provided that they are |
| 1154 | connected to the same network as your machine, and (obviously) that | 1175 | reachable from your machine over the network, and (obviously) that |
| 1155 | you have a supported method to gain access to those files. | 1176 | you have a supported method to gain access to those files. |
| 1156 | @xref{Remote Files}. | 1177 | @xref{Remote Files}. |
| 1157 | 1178 | ||
| @@ -1173,8 +1194,9 @@ newline into the text. It is also used to terminate most arguments | |||
| 1173 | read in the minibuffer (q.v.). @xref{User Input,Return}. | 1194 | read in the minibuffer (q.v.). @xref{User Input,Return}. |
| 1174 | 1195 | ||
| 1175 | @item Reverting | 1196 | @item Reverting |
| 1176 | Reverting means returning to the original state. Emacs lets you | 1197 | Reverting means returning to the original state. For example, Emacs |
| 1177 | revert a buffer by re-reading its file from disk. @xref{Reverting}. | 1198 | lets you revert a buffer by re-reading its file from disk. |
| 1199 | @xref{Reverting}. | ||
| 1178 | 1200 | ||
| 1179 | @c Seems too obvious, also there is nothing special about the format | 1201 | @c Seems too obvious, also there is nothing special about the format |
| 1180 | @c these days. | 1202 | @c these days. |
| @@ -1346,6 +1368,7 @@ Emacs does not make a termscript file unless you tell it to. | |||
| 1346 | @xref{Bugs}. | 1368 | @xref{Bugs}. |
| 1347 | 1369 | ||
| 1348 | @item Text | 1370 | @item Text |
| 1371 | |||
| 1349 | ``Text'' has two meanings (@pxref{Text}): | 1372 | ``Text'' has two meanings (@pxref{Text}): |
| 1350 | 1373 | ||
| 1351 | @itemize @bullet | 1374 | @itemize @bullet |
| @@ -1354,6 +1377,7 @@ Data consisting of a sequence of characters, as opposed to binary | |||
| 1354 | numbers, executable programs, and the like. The basic contents of an | 1377 | numbers, executable programs, and the like. The basic contents of an |
| 1355 | Emacs buffer (aside from the text properties, q.v.@:) are always text | 1378 | Emacs buffer (aside from the text properties, q.v.@:) are always text |
| 1356 | in this sense. | 1379 | in this sense. |
| 1380 | |||
| 1357 | @item | 1381 | @item |
| 1358 | Data consisting of written human language (as opposed to programs), | 1382 | Data consisting of written human language (as opposed to programs), |
| 1359 | or following the stylistic conventions of human language. | 1383 | or following the stylistic conventions of human language. |
| @@ -1456,7 +1480,7 @@ where they can be edited. @xref{Visiting}. | |||
| 1456 | 1480 | ||
| 1457 | @item Whitespace | 1481 | @item Whitespace |
| 1458 | Whitespace is any run of consecutive formatting characters (space, | 1482 | Whitespace is any run of consecutive formatting characters (space, |
| 1459 | tab, newline, and backspace). | 1483 | tab, newline, backspace, etc.). |
| 1460 | 1484 | ||
| 1461 | @item Widening | 1485 | @item Widening |
| 1462 | Widening is removing any restriction (q.v.@:) on the current buffer; | 1486 | Widening is removing any restriction (q.v.@:) on the current buffer; |
diff --git a/doc/emacs/macos.texi b/doc/emacs/macos.texi index 28a5f9041ab..bf37d67b642 100644 --- a/doc/emacs/macos.texi +++ b/doc/emacs/macos.texi | |||
| @@ -34,8 +34,8 @@ Support}), but we hope to improve it in the future. | |||
| 34 | @node Mac / GNUstep Basics | 34 | @node Mac / GNUstep Basics |
| 35 | @section Basic Emacs usage under macOS and GNUstep | 35 | @section Basic Emacs usage under macOS and GNUstep |
| 36 | 36 | ||
| 37 | By default, the @key{alt} and @key{option} keys are the same as | 37 | By default, the @key{Alt} and @key{Option} keys are the same as |
| 38 | @key{Meta}. The Mac @key{Cmd} key is the same as @key{Super}, and | 38 | @key{META}. The Mac @key{Cmd} key is the same as @key{Super}, and |
| 39 | Emacs provides a set of key bindings using this modifier key that mimic | 39 | Emacs provides a set of key bindings using this modifier key that mimic |
| 40 | other Mac / GNUstep applications (@pxref{Mac / GNUstep Events}). You | 40 | other Mac / GNUstep applications (@pxref{Mac / GNUstep Events}). You |
| 41 | can change these bindings in the usual way (@pxref{Key Bindings}). | 41 | can change these bindings in the usual way (@pxref{Key Bindings}). |
| @@ -43,7 +43,7 @@ can change these bindings in the usual way (@pxref{Key Bindings}). | |||
| 43 | @vindex ns-alternate-modifier | 43 | @vindex ns-alternate-modifier |
| 44 | @vindex ns-right-alternate-modifier | 44 | @vindex ns-right-alternate-modifier |
| 45 | The variable @code{ns-right-alternate-modifier} controls the | 45 | The variable @code{ns-right-alternate-modifier} controls the |
| 46 | behavior of the right @key{alt} and @key{option} keys. These keys | 46 | behavior of the right @key{Alt} and @key{Option} keys. These keys |
| 47 | behave like the left-hand keys if the value is @code{left} (the | 47 | behave like the left-hand keys if the value is @code{left} (the |
| 48 | default). A value of @code{control}, @code{meta}, @code{alt}, | 48 | default). A value of @code{control}, @code{meta}, @code{alt}, |
| 49 | @code{super}, or @code{hyper} makes them behave like the corresponding | 49 | @code{super}, or @code{hyper} makes them behave like the corresponding |
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi index 7cb48a67e7c..0ffa9f74ac6 100644 --- a/doc/emacs/mark.texi +++ b/doc/emacs/mark.texi | |||
| @@ -260,7 +260,7 @@ change the variable @code{use-empty-active-region} to @code{t}. | |||
| 260 | 260 | ||
| 261 | @vindex delete-active-region | 261 | @vindex delete-active-region |
| 262 | As described in @ref{Erasing}, the @key{DEL} | 262 | As described in @ref{Erasing}, the @key{DEL} |
| 263 | (@code{backward-delete-char}) and @key{delete} | 263 | (@code{backward-delete-char}) and @key{Delete} |
| 264 | (@code{delete-forward-char}) commands also act this way. If the mark | 264 | (@code{delete-forward-char}) commands also act this way. If the mark |
| 265 | is active, they delete the text in the region. (As an exception, if | 265 | is active, they delete the text in the region. (As an exception, if |
| 266 | you supply a numeric argument @var{n}, where @var{n} is not one, these | 266 | you supply a numeric argument @var{n}, where @var{n} is not one, these |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 5babd5081a9..ae6f9446f28 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -2485,7 +2485,7 @@ since it bypasses the init file, where @code{desktop-save-mode} is | |||
| 2485 | usually turned on. | 2485 | usually turned on. |
| 2486 | 2486 | ||
| 2487 | @vindex desktop-restore-eager | 2487 | @vindex desktop-restore-eager |
| 2488 | By default, all the buffers in the desktop are restored at one go. | 2488 | By default, all the buffers in the desktop are restored in one go. |
| 2489 | However, this may be slow if there are a lot of buffers in the | 2489 | However, this may be slow if there are a lot of buffers in the |
| 2490 | desktop. You can specify the maximum number of buffers to restore | 2490 | desktop. You can specify the maximum number of buffers to restore |
| 2491 | immediately with the variable @code{desktop-restore-eager}; the | 2491 | immediately with the variable @code{desktop-restore-eager}; the |
| @@ -2504,6 +2504,35 @@ expression matching the names of buffers not to kill. | |||
| 2504 | If you want to save minibuffer history from one session to | 2504 | If you want to save minibuffer history from one session to |
| 2505 | another, use the @code{savehist} library. | 2505 | another, use the @code{savehist} library. |
| 2506 | 2506 | ||
| 2507 | @vindex desktop-auto-save-timeout | ||
| 2508 | While Emacs runs with @code{desktop-save-mode} turned on, it by | ||
| 2509 | default auto-saves the desktop whenever any of it changes. The | ||
| 2510 | variable @code{desktop-auto-save-timeout} determines how frequently | ||
| 2511 | Emacs checks for modifications to your desktop. | ||
| 2512 | |||
| 2513 | @vindex desktop-load-locked-desktop | ||
| 2514 | The file in which Emacs saves the desktop is locked while the | ||
| 2515 | session runs, to avoid inadvertently overwriting it from another Emacs | ||
| 2516 | session. That lock is normally removed when Emacs exits, but if Emacs | ||
| 2517 | or your system crashes, the lock stays, and when you restart Emacs, it | ||
| 2518 | will by default ask you whether to use the locked desktop file. You | ||
| 2519 | can avoid the question by customizing the variable | ||
| 2520 | @code{desktop-load-locked-desktop} to either @code{nil}, which means | ||
| 2521 | never load the desktop in this case, or @code{t}, which means load the | ||
| 2522 | desktop without asking. | ||
| 2523 | |||
| 2524 | @cindex desktop restore in daemon mode | ||
| 2525 | When Emacs starts in daemon mode, it cannot ask you any questions, | ||
| 2526 | so if it finds the desktop file locked, it will not load it, unless | ||
| 2527 | @code{desktop-load-locked-desktop} is @code{t}. Note that restoring | ||
| 2528 | the desktop in daemon mode is somewhat problematic for other reasons: | ||
| 2529 | e.g., the daemon cannot use GUI features, so parameters such as frame | ||
| 2530 | position, size, and decorations cannot be restored. For that reason, | ||
| 2531 | you may wish to delay restoring the desktop in daemon mode until the | ||
| 2532 | first client connects, by calling @code{desktop-read} in a hook | ||
| 2533 | function that you add to @code{after-make-frame-functions} | ||
| 2534 | (@pxref{Creating Frames,,, elisp, The Emacs Lisp Reference Manual}). | ||
| 2535 | |||
| 2507 | @node Recursive Edit | 2536 | @node Recursive Edit |
| 2508 | @section Recursive Editing Levels | 2537 | @section Recursive Editing Levels |
| 2509 | @cindex recursive editing level | 2538 | @cindex recursive editing level |
diff --git a/doc/emacs/msdos-xtra.texi b/doc/emacs/msdos-xtra.texi index 541e29aa25f..39d003c453c 100644 --- a/doc/emacs/msdos-xtra.texi +++ b/doc/emacs/msdos-xtra.texi | |||
| @@ -84,7 +84,7 @@ a running command and for emergency escape | |||
| 84 | @vindex dos-super-key | 84 | @vindex dos-super-key |
| 85 | @vindex dos-hyper-key | 85 | @vindex dos-hyper-key |
| 86 | The PC keyboard maps use the left @key{Alt} key as the @key{META} key. | 86 | The PC keyboard maps use the left @key{Alt} key as the @key{META} key. |
| 87 | You have two choices for emulating the @key{SUPER} and @key{HYPER} keys: | 87 | You have two choices for emulating the @key{SUPER} and @key{Hyper} keys: |
| 88 | choose either the right @key{Ctrl} key or the right @key{Alt} key by | 88 | choose either the right @key{Ctrl} key or the right @key{Alt} key by |
| 89 | setting the variables @code{dos-hyper-key} and @code{dos-super-key} to 1 | 89 | setting the variables @code{dos-hyper-key} and @code{dos-super-key} to 1 |
| 90 | or 2 respectively. If neither @code{dos-super-key} nor | 90 | or 2 respectively. If neither @code{dos-super-key} nor |
diff --git a/doc/emacs/msdos.texi b/doc/emacs/msdos.texi index 9c47f47a736..dd368adb54a 100644 --- a/doc/emacs/msdos.texi +++ b/doc/emacs/msdos.texi | |||
| @@ -430,9 +430,9 @@ names, which might cause misalignment of columns in Dired display. | |||
| 430 | The Windows equivalent of @code{HOME} is the @dfn{user-specific | 430 | The Windows equivalent of @code{HOME} is the @dfn{user-specific |
| 431 | application data directory}. The actual location depends on the | 431 | application data directory}. The actual location depends on the |
| 432 | Windows version; typical values are @file{C:\Documents and | 432 | Windows version; typical values are @file{C:\Documents and |
| 433 | Settings\@var{username}\Application Data} on Windows 2000/XP/2K3, | 433 | Settings\@var{username}\Application Data} on Windows 2000 up to XP, |
| 434 | @file{C:\Users\@var{username}\AppData\Roaming} on Windows | 434 | @file{C:\Users\@var{username}\AppData\Roaming} on Windows Vista and |
| 435 | Vista/7/2008, and either @file{C:\WINDOWS\Application Data} or | 435 | later, and either @file{C:\WINDOWS\Application Data} or |
| 436 | @file{C:\WINDOWS\Profiles\@var{username}\Application Data} on Windows | 436 | @file{C:\WINDOWS\Profiles\@var{username}\Application Data} on Windows |
| 437 | 9X/ME@. If this directory does not exist or cannot be accessed, Emacs | 437 | 9X/ME@. If this directory does not exist or cannot be accessed, Emacs |
| 438 | falls back to @file{C:\} as the default value of @code{HOME}. | 438 | falls back to @file{C:\} as the default value of @code{HOME}. |
| @@ -575,7 +575,7 @@ keys (it converts lower-case characters to their upper-case | |||
| 575 | variants). However, if you set the variable | 575 | variants). However, if you set the variable |
| 576 | @code{w32-capslock-is-shiftlock} to a non-@code{nil} value, the | 576 | @code{w32-capslock-is-shiftlock} to a non-@code{nil} value, the |
| 577 | @key{CapsLock} key will affect non-character keys as well, as if you | 577 | @key{CapsLock} key will affect non-character keys as well, as if you |
| 578 | pressed the @key{Shift} key while typing the non-character key. | 578 | pressed the @key{SHIFT} key while typing the non-character key. |
| 579 | 579 | ||
| 580 | @vindex w32-enable-caps-lock | 580 | @vindex w32-enable-caps-lock |
| 581 | If the variable @code{w32-enable-caps-lock} is set to a @code{nil} | 581 | If the variable @code{w32-enable-caps-lock} is set to a @code{nil} |
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 4989982eca0..dc80bc92172 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi | |||
| @@ -1841,7 +1841,33 @@ sometimes jump when point traverses reordered bidirectional text. | |||
| 1841 | Similarly, a highlighted region covering a contiguous range of | 1841 | Similarly, a highlighted region covering a contiguous range of |
| 1842 | character positions may look discontinuous if the region spans | 1842 | character positions may look discontinuous if the region spans |
| 1843 | reordered text. This is normal and similar to the behavior of other | 1843 | reordered text. This is normal and similar to the behavior of other |
| 1844 | programs that support bidirectional text. If you set | 1844 | programs that support bidirectional text. |
| 1845 | @code{visual-order-cursor-movement} to a non-@code{nil} value, cursor | 1845 | |
| 1846 | motion by the arrow keys follows the visual order on screen | 1846 | @kindex RIGHT@r{, and bidirectional text} |
| 1847 | (@pxref{Moving Point, visual-order movement}). | 1847 | @kindex LEFT@r{, and bidirectional text} |
| 1848 | @findex right-char@r{, and bidirectional text} | ||
| 1849 | @findex left-char@r{, and bidirectional text} | ||
| 1850 | Cursor motion commands bound to arrow keys, such as @key{LEFT} and | ||
| 1851 | @kbd{C-@key{RIGHT}}, are sensitive to the base direction of the | ||
| 1852 | current paragraph. In a left-to-right paragraph, commands bound to | ||
| 1853 | @key{RIGHT} with or without modifiers move @emph{forward} through | ||
| 1854 | buffer text, but in a right-to-left paragraph they move | ||
| 1855 | @emph{backward} instead. This reflects the fact that in a | ||
| 1856 | right-to-left paragraph buffer positions predominantly increase when | ||
| 1857 | moving to the left on display. | ||
| 1858 | |||
| 1859 | When you move out of a paragraph, the meaning of the arrow keys | ||
| 1860 | might change if the base direction of the preceding or the following | ||
| 1861 | paragraph is different from the paragraph out of which you moved. | ||
| 1862 | When that happens, you need to adjust the arrow key you press to the | ||
| 1863 | new base direction. | ||
| 1864 | |||
| 1865 | @vindex visual-order-cursor-movement | ||
| 1866 | @cindex cursor, visual-order motion | ||
| 1867 | By default, @key{LEFT} and @key{RIGHT} move in the logical order, | ||
| 1868 | but if @code{visual-order-cursor-movement} is non-@code{nil}, these | ||
| 1869 | commands move to the character that is, correspondingly, to the left | ||
| 1870 | or right of the current screen position, moving to the next or | ||
| 1871 | previous screen line as appropriate. Note that this might potentially | ||
| 1872 | move point many buffer positions away, depending on the surrounding | ||
| 1873 | bidirectional context. | ||
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index c0adab497ba..51a06851977 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -1114,7 +1114,8 @@ matches the empty string, but only at the beginning of a symbol. | |||
| 1114 | A symbol is a sequence of one or more symbol-constituent characters. | 1114 | A symbol is a sequence of one or more symbol-constituent characters. |
| 1115 | A symbol-constituent character is a character whose syntax is either | 1115 | A symbol-constituent character is a character whose syntax is either |
| 1116 | @samp{w} or @samp{_}. @samp{\_<} matches at the beginning of the | 1116 | @samp{w} or @samp{_}. @samp{\_<} matches at the beginning of the |
| 1117 | buffer only if a symbol-constituent character follows. | 1117 | buffer only if a symbol-constituent character follows. As with words, |
| 1118 | the syntax table determines which characters are symbol-constituent. | ||
| 1118 | 1119 | ||
| 1119 | @item \_> | 1120 | @item \_> |
| 1120 | matches the empty string, but only at the end of a symbol. @samp{\_>} | 1121 | matches the empty string, but only at the end of a symbol. @samp{\_>} |
| @@ -1214,7 +1215,7 @@ search string matches exactly one space. | |||
| 1214 | Searches in Emacs by default ignore the case of the text they are | 1215 | Searches in Emacs by default ignore the case of the text they are |
| 1215 | searching through, if you specify the search string in lower case. | 1216 | searching through, if you specify the search string in lower case. |
| 1216 | Thus, if you specify searching for @samp{foo}, then @samp{Foo} and | 1217 | Thus, if you specify searching for @samp{foo}, then @samp{Foo} and |
| 1217 | @samp{foo} also match. Regexps, and in particular character sets, | 1218 | @samp{fOO} also match. Regexps, and in particular character sets, |
| 1218 | behave likewise: @samp{[ab]} matches @samp{a} or @samp{A} or @samp{b} | 1219 | behave likewise: @samp{[ab]} matches @samp{a} or @samp{A} or @samp{b} |
| 1219 | or @samp{B}. This feature is known as @dfn{case folding}, and it is | 1220 | or @samp{B}. This feature is known as @dfn{case folding}, and it is |
| 1220 | supported in both incremental and non-incremental search modes. | 1221 | supported in both incremental and non-incremental search modes. |
| @@ -1226,9 +1227,9 @@ case-sensitive. Thus, searching for @samp{Foo} does not find | |||
| 1226 | as well as to literal string search. The effect ceases if you delete | 1227 | as well as to literal string search. The effect ceases if you delete |
| 1227 | the upper-case letter from the search string. The variable | 1228 | the upper-case letter from the search string. The variable |
| 1228 | @code{search-upper-case} controls this: if it is non-@code{nil} (the | 1229 | @code{search-upper-case} controls this: if it is non-@code{nil} (the |
| 1229 | default), an upper-case character in the search string make the search | 1230 | default), an upper-case character in the search string makes the |
| 1230 | case-sensitive; setting it to @code{nil} disables this effect of | 1231 | search case-sensitive; setting it to @code{nil} disables this effect |
| 1231 | upper-case characters. | 1232 | of upper-case characters. |
| 1232 | 1233 | ||
| 1233 | @vindex case-fold-search | 1234 | @vindex case-fold-search |
| 1234 | If you set the variable @code{case-fold-search} to @code{nil}, then | 1235 | If you set the variable @code{case-fold-search} to @code{nil}, then |
| @@ -1349,7 +1350,7 @@ activating the mark; use @kbd{C-u C-@key{SPC}} to move back there. | |||
| 1349 | surrounded by word boundaries. | 1350 | surrounded by word boundaries. |
| 1350 | 1351 | ||
| 1351 | @xref{Replacement and Lax Matches}, for details about | 1352 | @xref{Replacement and Lax Matches}, for details about |
| 1352 | case-sensitivity in replace commands. | 1353 | case-sensitivity and character folding in replace commands. |
| 1353 | 1354 | ||
| 1354 | @node Regexp Replace | 1355 | @node Regexp Replace |
| 1355 | @subsection Regexp Replacement | 1356 | @subsection Regexp Replacement |
| @@ -1411,13 +1412,14 @@ symbol name goes with the symbol name, so the value replaces them | |||
| 1411 | both. | 1412 | both. |
| 1412 | 1413 | ||
| 1413 | Inside such an expression, you can use some special sequences. | 1414 | Inside such an expression, you can use some special sequences. |
| 1414 | @samp{\&} and @samp{\@var{n}} refer here, as usual, to the entire | 1415 | @samp{\&} and @samp{\@var{d}} refer here, as usual, to the entire |
| 1415 | match as a string, and to a submatch as a string. @var{n} may be | 1416 | match as a string, and to a submatch as a string. @var{d} may be |
| 1416 | multiple digits, and the value of @samp{\@var{n}} is @code{nil} if | 1417 | multiple digits, and the value of @samp{\@var{d}} is @code{nil} if the |
| 1417 | subexpression @var{n} did not match. You can also use @samp{\#&} and | 1418 | @var{d}'th parenthesized grouping did not match. You can also use |
| 1418 | @samp{\#@var{n}} to refer to those matches as numbers (this is valid | 1419 | @samp{\#&} and @samp{\#@var{d}} to refer to those matches as numbers |
| 1419 | when the match or submatch has the form of a numeral). @samp{\#} here | 1420 | (this is valid when the match or submatch has the form of a numeral). |
| 1420 | too stands for the number of already-completed replacements. | 1421 | @samp{\#} here too stands for the number of already-completed |
| 1422 | replacements. | ||
| 1421 | 1423 | ||
| 1422 | Repeating our example to exchange @samp{x} and @samp{y}, we can thus | 1424 | Repeating our example to exchange @samp{x} and @samp{y}, we can thus |
| 1423 | do it also this way: | 1425 | do it also this way: |
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index 2edeb05f9e0..330497c4ea9 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi | |||
| @@ -1322,7 +1322,7 @@ the Emacs Lisp Reference Manual | |||
| 1322 | @url{https://www.gnu.org/software/emacs} | 1322 | @url{https://www.gnu.org/software/emacs} |
| 1323 | 1323 | ||
| 1324 | @item | 1324 | @item |
| 1325 | @url{http://www.emacswiki.org/} | 1325 | @url{https://www.emacswiki.org/} |
| 1326 | @end itemize | 1326 | @end itemize |
| 1327 | 1327 | ||
| 1328 | @menu | 1328 | @menu |
diff --git a/doc/emacs/xresources.texi b/doc/emacs/xresources.texi index d58c6b905eb..ee59551a6a6 100644 --- a/doc/emacs/xresources.texi +++ b/doc/emacs/xresources.texi | |||
| @@ -512,7 +512,7 @@ those are governed by normal X resources (@pxref{Resources}). | |||
| 512 | 512 | ||
| 513 | The following sections describe how to customize GTK+ resources for | 513 | The following sections describe how to customize GTK+ resources for |
| 514 | Emacs. For details about GTK+ resources, see the GTK+ API document at | 514 | Emacs. For details about GTK+ resources, see the GTK+ API document at |
| 515 | @uref{http://developer.gnome.org/gtk2/stable/gtk2-Resource-Files.html}. | 515 | @uref{https://developer.gnome.org/gtk2/stable/gtk2-Resource-Files.html}. |
| 516 | 516 | ||
| 517 | In GTK+ version 3, GTK+ resources have been replaced by a completely | 517 | In GTK+ version 3, GTK+ resources have been replaced by a completely |
| 518 | different system. The appearance of GTK+ widgets is now determined by | 518 | different system. The appearance of GTK+ widgets is now determined by |
| @@ -522,7 +522,7 @@ style settings (where @var{theme} is the name of the current GTK+ | |||
| 522 | theme). Therefore, the description of GTK+ resources in this section | 522 | theme). Therefore, the description of GTK+ resources in this section |
| 523 | does not apply to GTK+ 3. For details about the GTK+ 3 styling | 523 | does not apply to GTK+ 3. For details about the GTK+ 3 styling |
| 524 | system, see | 524 | system, see |
| 525 | @uref{http://developer.gnome.org/gtk3/3.0/GtkCssProvider.html}. | 525 | @uref{https://developer.gnome.org/gtk3/3.0/GtkCssProvider.html}. |
| 526 | 526 | ||
| 527 | @menu | 527 | @menu |
| 528 | * GTK Resource Basics:: Basic usage of GTK+ resources. | 528 | * GTK Resource Basics:: Basic usage of GTK+ resources. |
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 | |||
| 681 | unavailable, @value{tramp} first transfers a small Perl program to the | 681 | unavailable, @value{tramp} first transfers a small Perl program to the |
| 682 | remote host, and then tries that program for encoding and decoding. | 682 | remote host, and then tries that program for encoding and decoding. |
| 683 | 683 | ||
| 684 | @vindex tramp-inline-compress-start-size | ||
| 684 | To increase transfer speeds for large text files, use compression | 685 | To increase transfer speeds for large text files, use compression |
| 685 | before encoding. The user option | 686 | before 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 | ||
| 1026 | This method uses Android Debug Bridge program for accessing Android | 1028 | This method uses Android Debug Bridge program for accessing Android |
| 1027 | devices. The Android Debug Bridge must be installed locally for | 1029 | devices. 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 |
| 1032 | or the absolute path set in the user option @option{tramp-adb-program}. | 1034 | or 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 |
| 1035 | the user option @option{tramp-adb-connect-if-not-connected} is not | 1038 | the 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 | ||
| 1699 | For faster initial connection times, @value{tramp} stores previous | 1703 | For faster initial connection times, @value{tramp} stores previous |
| 1700 | connection properties in a file specified by the user option | 1704 | connection 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 | ||
| 1901 | To suppress inappropriate prompts for terminal type, @value{tramp} | 1906 | To suppress inappropriate prompts for terminal type, @value{tramp} |
| 1902 | sets the @env{TERM} to @code{dumb} before the remote login process | 1907 | sets the @env{TERM} to @code{dumb} before the remote login process |
| 1903 | begins via the user option @option{tramp-terminal-type}. This will | 1908 | begins 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 | ||
| 2174 | Another option is to create better backup file naming with user and | 2181 | Another option is to create better backup file naming with user and |
| 2175 | host names prefixed to the file name. For example, transforming | 2182 | host 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 | ||
| 2207 | Just as for backup files, similar issues of file naming affect | 2215 | Just as for backup files, similar issues of file naming affect |
| 2208 | auto-saving @value{tramp} files. Auto-saved files are saved in the | 2216 | auto-saving @value{tramp} files. Auto-saved files are saved in the |
| 2209 | directory specified by the user option | 2217 | directory specified by the user option |
| @@ -2215,6 +2223,7 @@ compiled. Reset such values to a valid directory. | |||
| 2215 | Set @option{auto-save-file-name-transforms} to @code{nil} to save | 2223 | Set @option{auto-save-file-name-transforms} to @code{nil} to save |
| 2216 | auto-saved files to the same directory as the original file. | 2224 | auto-saved files to the same directory as the original file. |
| 2217 | 2225 | ||
| 2226 | @vindex tramp-auto-save-directory | ||
| 2218 | Alternatively, set the user option @option{tramp-auto-save-directory} | 2227 | Alternatively, set the user option @option{tramp-auto-save-directory} |
| 2219 | to direct all auto saves to that location. | 2228 | to 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 | ||
| 2618 | Customize user option @option{tramp-remote-process-environment} to | 2628 | Customize user option @option{tramp-remote-process-environment} to |
| 2619 | suit the remote program's environment for the remote host. | 2629 | suit 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 | 2673 | In addition to @option{tramp-remote-process-environment}, you can set |
| 2664 | @code{process-environment} for running @code{process-file} or | 2674 | environment variables for invidivual remote process calls by |
| 2665 | @code{start-file-process} on remote hosts. When values from | 2675 | let-binding @code{process-environment}. @value{tramp} will apply any |
| 2666 | @code{process-environment} are needed for remote processes, then set | 2676 | entries which are not present in the global default value of |
| 2667 | them as follows: | 2677 | @code{process-environment} (overriding |
| 2678 | @option{tramp-remote-process-environment} settings, if they conflict). | ||
| 2679 | For 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 | ||
| 2676 | This works only for environment variables not already set in the | 2688 | Let-binding in this way works regardless of whether the process to be |
| 2677 | @code{process-environment}. | 2689 | called 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 | ||
| 2679 | For integrating other Emacs packages so @value{tramp} can execute | 2693 | For integrating other Emacs packages so @value{tramp} can execute |
| 2680 | remotely, please file a bug report. @xref{Bug Reports}. | 2694 | remotely, please file a bug report. @xref{Bug Reports}. |
| @@ -3507,6 +3521,7 @@ the following code in @file{~/.emacs} file. | |||
| 3507 | How to get a Visual Warning when working with @samp{root} privileges? | 3521 | How to get a Visual Warning when working with @samp{root} privileges? |
| 3508 | Host indication in the mode line? | 3522 | Host indication in the mode line? |
| 3509 | 3523 | ||
| 3524 | @vindex tramp-theme-face-remapping-alist | ||
| 3510 | Install @file{tramp-theme} from GNU ELPA via Emacs' Package Manager. | 3525 | Install @file{tramp-theme} from GNU ELPA via Emacs' Package Manager. |
| 3511 | Enable it via @kbd{M-x load-theme @key{RET} tramp}. Further | 3526 | Enable it via @kbd{M-x load-theme @key{RET} tramp}. Further |
| 3512 | customization is explained in user option | 3527 | customization is explained in user option |
| @@ -3534,10 +3549,11 @@ then set them with a hook as follows: | |||
| 3534 | @item | 3549 | @item |
| 3535 | Why is @file{~/.sh_history} file on the remote host growing? | 3550 | Why is @file{~/.sh_history} file on the remote host growing? |
| 3536 | 3551 | ||
| 3552 | @vindex tramp-histfile-override | ||
| 3537 | Due to the remote shell saving tilde expansions triggered by | 3553 | Due 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 |
| 3541 | variable @env{HISTFILE} is unset, and environment variables | 3557 | variable @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 | ||