aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorKaroly Lorentey2005-02-19 00:06:48 +0000
committerKaroly Lorentey2005-02-19 00:06:48 +0000
commit60c73d2ed638e5d51643c65a0fc6dea618fc72c8 (patch)
tree3d9e0adc703f9cfd5df162c66ac15999c4106738 /man
parentc20213c90736fc9c2a6eca2ca44d6e200dbf5efe (diff)
parent8a59305430c68ee23d3cc7ab7487ab3acebdbe7f (diff)
downloademacs-60c73d2ed638e5d51643c65a0fc6dea618fc72c8.tar.gz
emacs-60c73d2ed638e5d51643c65a0fc6dea618fc72c8.zip
Merged from miles@gnu.org--gnu-2005 (patch 14-16, 95-106)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-95 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-96 Move Gnus images into etc/images * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-97 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-98 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-99 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-100 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-101 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-102 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-103 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-104 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-105 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-106 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-14 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-15 Update from CVS: lisp/imap.el (imap-log): Doc fix. * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-16 Merge from emacs--cvs-trunk--0 git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-295
Diffstat (limited to 'man')
-rw-r--r--man/ChangeLog73
-rw-r--r--man/basic.texi21
-rw-r--r--man/dired.texi26
-rw-r--r--man/display.texi210
-rw-r--r--man/emacs.texi20
-rw-r--r--man/fixit.texi9
-rw-r--r--man/frames.texi2
-rw-r--r--man/help.texi80
-rw-r--r--man/indent.texi22
-rw-r--r--man/kmacro.texi23
-rw-r--r--man/major.texi13
-rw-r--r--man/msdog.texi64
-rw-r--r--man/programs.texi55
-rw-r--r--man/sending.texi16
-rw-r--r--man/text.texi10
-rw-r--r--man/trouble.texi18
-rw-r--r--man/windows.texi14
17 files changed, 393 insertions, 283 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index c2dc393be1d..bcba521884c 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,76 @@
12005-02-16 Luc Teirlinck <teirllm@auburn.edu>
2
3 * emacs.texi (Top): Update menu for splitting of node in
4 msdog.texi.
5 * frames.texi (Frames): Update xref for splitting of node in
6 msdog.texi.
7 * trouble.texi (Quitting): Ditto.
8
92005-02-16 Richard M. Stallman <rms@gnu.org>
10
11 * windows.texi (Split Window): Simplify line truncation info
12 and xref to Display Custom.
13
14 * trouble.texi (Quitting): Emergency escape only for text terminal.
15 (Screen Garbled): C-l for ungarbling is only for text terminal.
16
17 * text.texi (Text Mode): ESC TAB alternative for M-TAB.
18
19 * sending.texi (Header Editing): ESC TAB alternative for M-TAB.
20
21 * programs.texi (Program Modes): Mention Python mode.
22 (Moving by Defuns): Repeating C-M-h extends region.
23 (Basic Indent): Clarify.
24 (Custom C Indent): Clarify.
25 (Expressions): Repeating C-M-@ extends region.
26 (Info Lookup): Clarify for C-h S.
27 (Symbol Completion): ESC TAB alternative for M-TAB.
28 (Electric C): Clarify.
29
30 * emacs.texi (Top): Update display.texi and frames.texi submenu data.
31
32 * msdog.texi (MS-DOS Keyboard, MS-DOS Mouse): Split from
33 MS-DOS Input node.
34 (MS-DOS Keyboard): Start with explaining DEL and BREAK.
35 (MS-DOS and MULE): Clarify.
36 (MS-DOS Processes, Windows Processes): Fix typos.
37
38 * major.texi (Choosing Modes): Clarify.
39
40 * kmacro.texi (Basic Keyboard Macro): Doc F3, F4.
41 (Keyboard Macro Step-Edit): Clarify.
42
43 * indent.texi (Indentation): Clarifications.
44
45 * help.texi (Help): Correct error about C-h in query-replace.
46 Clarify apropos vs C-h a. Fix how to search in FAQ.
47 (Key Help): Describe C-h w here.
48 (Name Help): Minor cleanup. C-h w moved to Key Help.
49 Clarify the "object" joke.
50 (Apropos): Clarify. Mouse-1 like Mouse-2.
51 (Help Mode): Mouse-1 like Mouse-2.
52
53 * fixit.texi (Spelling): Mention ESC TAB as alt. for M-TAB.
54
55 * display.texi (Display): Reorder menu.
56 (Faces): Cleanup.
57 (Font Lock): Cleanup. Mention Options menu.
58 Delete obsolete text.
59 (Scrolling): For C-l, don't presume text terminal.
60 (Horizontal Scrolling): Simplify intro.
61 (Follow Mode): Clarify.
62 (Cursor Display): Moved before Display Custom.
63 (Display Custom): Explain no-redraw-on-reenter is for text terminals.
64 Doc default-tab-width. Doc line truncation more thoroughly.
65
66 * dired.texi (Dired Enter): C-x C-f can run Dired.
67 (Dired Visiting): Comment out `a' command.
68 Mouse-1 is like Mouse-2.
69 (Shell Commands in Dired): ? can be used more than once.
70
71 * basic.texi (Continuation Lines): Simplify description of truncation,
72 and refer to Display Custom for the rest of it.
73
12005-02-10 Jay Belanger <belanger@truman.edu> 742005-02-10 Jay Belanger <belanger@truman.edu>
2 75
3 * calc.texi: Change @LaTeX to La@TeX throughout. 76 * calc.texi: Change @LaTeX to La@TeX throughout.
diff --git a/man/basic.texi b/man/basic.texi
index 6a8ffc0000f..487e9579ece 100644
--- a/man/basic.texi
+++ b/man/basic.texi
@@ -544,25 +544,16 @@ character that indicates continuation.
544a line gets too long. Continuation on the screen does not do that. Use 544a line gets too long. Continuation on the screen does not do that. Use
545Auto Fill mode (@pxref{Filling}) if that's what you want. 545Auto Fill mode (@pxref{Filling}) if that's what you want.
546 546
547@vindex truncate-lines
548@cindex truncation 547@cindex truncation
549@cindex line truncation, and fringes 548@cindex line truncation, and fringes
550 As an alternative to continuation, Emacs can display long lines by 549 As an alternative to continuation, Emacs can display long lines by
551@dfn{truncation}. This means that all the characters that do not fit 550@dfn{truncation}. This means that all the characters that do not fit
552in the width of the screen or window do not appear at all. They 551in the width of the screen or window do not appear at all. @samp{$}
553remain in the buffer, temporarily invisible. On terminals, @samp{$} 552in the last column or a small straight arrow in the fringe to the
554in the last column informs you that the line has been truncated on the 553right of the window indicates a truncated line.
555display. On window systems, a small straight arrow in the fringe to 554
556the right of the window indicates a truncated line. 555 @xref{Display Custom}, for more information about line truncation,
557 556and other variables that affect how text is displayed.
558@findex toggle-truncate-lines
559 Truncation instead of continuation happens whenever horizontal
560scrolling is in use, and optionally in all side-by-side windows
561(@pxref{Windows}). You can enable or disable truncation for a
562particular buffer with the command @kbd{M-x toggle-truncate-lines}.
563
564 @xref{Display Custom}, for additional variables that affect how text is
565displayed.
566 557
567@node Position Info 558@node Position Info
568@section Cursor Position Information 559@section Cursor Position Information
diff --git a/man/dired.texi b/man/dired.texi
index 0390848faf6..3ce58f2b460 100644
--- a/man/dired.texi
+++ b/man/dired.texi
@@ -48,14 +48,15 @@ files.
48@findex dired 48@findex dired
49@kindex C-x d 49@kindex C-x d
50@vindex dired-listing-switches 50@vindex dired-listing-switches
51 To invoke Dired, do @kbd{C-x d} or @kbd{M-x dired}. The command reads 51 To invoke Dired, do @kbd{C-x d} or @kbd{M-x dired}. The command
52a directory name or wildcard file name pattern as a minibuffer argument 52reads a directory name or wildcard file name pattern as a minibuffer
53to specify which files to list. Where @code{dired} differs from 53argument to specify which files to list. @kbd{C-x C-f} given a
54@code{list-directory} is in putting the buffer into Dired mode so that 54directory name also invokes Dired. Where @code{dired} differs from
55the special commands of Dired are available. 55@code{list-directory} is that it puts the buffer into Dired mode, so
56that the special commands of Dired are available.
56 57
57 The variable @code{dired-listing-switches} specifies the options to 58 The variable @code{dired-listing-switches} specifies the options to
58give to @code{ls} for listing directory; this string @emph{must} contain 59give to @code{ls} for listing the directory; this string @emph{must} contain
59@samp{-l}. If you use a numeric prefix argument with the @code{dired} 60@samp{-l}. If you use a numeric prefix argument with the @code{dired}
60command, you can specify the @code{ls} switches with the minibuffer 61command, you can specify the @code{ls} switches with the minibuffer
61before you enter the directory specification. No matter how they are 62before you enter the directory specification. No matter how they are
@@ -255,11 +256,13 @@ and supplying that file name (@code{dired-find-file}). @xref{Visiting}.
255@kindex e @r{(Dired)} 256@kindex e @r{(Dired)}
256Equivalent to @kbd{f}. 257Equivalent to @kbd{f}.
257 258
259@ignore @c This command seems too risky to document at all.
258@item a 260@item a
259@kindex a @r{(Dired)} 261@kindex a @r{(Dired)}
260@findex dired-find-alternate-file 262@findex dired-find-alternate-file
261Like @kbd{f}, but replaces the contents of the Dired buffer with 263Like @kbd{f}, but replaces the contents of the Dired buffer with
262that of an alternate file or directory (@code{dired-find-alternate-file}). 264that of an alternate file or directory (@code{dired-find-alternate-file}).
265@end ignore
263 266
264@item o 267@item o
265@kindex o @r{(Dired)} 268@kindex o @r{(Dired)}
@@ -275,7 +278,8 @@ file. @xref{Windows}.
275Visit the file described on the current line, and display the buffer in 278Visit the file described on the current line, and display the buffer in
276another window, but do not select that window (@code{dired-display-file}). 279another window, but do not select that window (@code{dired-display-file}).
277 280
278@item Mouse-2 281@item Mouse-1
282@itemx Mouse-2
279@findex dired-mouse-find-file-other-window 283@findex dired-mouse-find-file-other-window
280Visit the file named by the line you click on 284Visit the file named by the line you click on
281(@code{dired-mouse-find-file-other-window}). This uses another window 285(@code{dired-mouse-find-file-other-window}). This uses another window
@@ -697,10 +701,10 @@ For example, @kbd{! uudecode @key{RET}} runs @code{uudecode} on each
697file. 701file.
698 702
699@item 703@item
700If the command string contains @samp{?} surrounded by whitespace, the 704However, if the command string contains @samp{?} surrounded by
701current file name is substituted for @samp{?}. You can use @samp{?} 705whitespace, the current file name is substituted for @samp{?} (rather
702this way more than once in the command, and each occurrence is 706than added at the end). You can use @samp{?} this way more than once
703replaced. 707in the command, and the same file name replaces each occurrence.
704@end itemize 708@end itemize
705 709
706To iterate over the file names in a more complicated fashion, use an 710To iterate over the file names in a more complicated fashion, use an
diff --git a/man/display.texi b/man/display.texi
index 23b79d1703e..c652b47787a 100644
--- a/man/display.texi
+++ b/man/display.texi
@@ -23,20 +23,20 @@ display it.
23* Selective Display:: Hiding lines with lots of indentation. 23* Selective Display:: Hiding lines with lots of indentation.
24* Optional Mode Line:: Optional mode line display features. 24* Optional Mode Line:: Optional mode line display features.
25* Text Display:: How text characters are normally displayed. 25* Text Display:: How text characters are normally displayed.
26* Display Custom:: Information on variables for customizing display.
27* Cursor Display:: Features for displaying the cursor. 26* Cursor Display:: Features for displaying the cursor.
27* Display Custom:: Information on variables for customizing display.
28@end menu 28@end menu
29 29
30@node Faces 30@node Faces
31@section Using Multiple Typefaces 31@section Using Multiple Typefaces
32@cindex faces 32@cindex faces
33 33
34 Emacs supports using multiple styles of displaying characters. Each 34 You can specify various styles for displaying text using
35style is called a @dfn{face}. Each face can specify various @dfn{face 35@dfn{faces}. Each face can specify various @dfn{face attributes},
36attributes}, such as the font family, the height, weight and slant of 36such as the font family, the height, weight and slant of the
37the characters, the foreground and background color, and underlining 37characters, the foreground and background color, and underlining or
38or overlining. A face does not have to specify all of these 38overlining. A face does not have to specify all of these attributes;
39attributes; often it inherits many of them from another face. 39often it inherits most of them from another face.
40 40
41 On a window system, all the Emacs face attributes are meaningful. 41 On a window system, all the Emacs face attributes are meaningful.
42On a character terminal, only some of them work. Some character 42On a character terminal, only some of them work. Some character
@@ -196,7 +196,7 @@ on your screen using the command @code{ps-print-buffer-with-faces}.
196@cindex syntax highlighting and coloring 196@cindex syntax highlighting and coloring
197 197
198 Font Lock mode is a minor mode, always local to a particular buffer, 198 Font Lock mode is a minor mode, always local to a particular buffer,
199which highlights (or ``fontifies'') using various faces according to 199which highlights (or ``fontifies'') the buffer contents according to
200the syntax of the text you are editing. It can recognize comments and 200the syntax of the text you are editing. It can recognize comments and
201strings in most languages; in several languages, it can also recognize 201strings in most languages; in several languages, it can also recognize
202and properly highlight various other important constructs---for 202and properly highlight various other important constructs---for
@@ -227,6 +227,10 @@ this:
227(global-font-lock-mode 1) 227(global-font-lock-mode 1)
228@end example 228@end example
229 229
230@noindent
231You can also specify this using the menu bar Options menu, specifying
232first Syntax Highlighting and then Save Options.
233
230 Font Lock mode uses several specifically named faces to do its job, 234 Font Lock mode uses several specifically named faces to do its job,
231including @code{font-lock-string-face}, @code{font-lock-comment-face}, 235including @code{font-lock-string-face}, @code{font-lock-comment-face},
232and others. The easiest way to find them all is to use completion 236and others. The easiest way to find them all is to use completion
@@ -248,10 +252,6 @@ Customize the faces interactively with @kbd{M-x customize-face}, as
248described in @ref{Face Customization}. 252described in @ref{Face Customization}.
249@end itemize 253@end itemize
250 254
251 To get the full benefit of Font Lock mode, you need to choose a
252default font which has bold, italic, and bold-italic variants; or else
253you need to have a color or gray-scale screen.
254
255@vindex font-lock-maximum-decoration 255@vindex font-lock-maximum-decoration
256 The variable @code{font-lock-maximum-decoration} specifies the 256 The variable @code{font-lock-maximum-decoration} specifies the
257preferred level of fontification, for modes that provide multiple 257preferred level of fontification, for modes that provide multiple
@@ -447,9 +447,10 @@ Scroll heuristically to bring useful information onto the screen
447@kindex C-l 447@kindex C-l
448@findex recenter 448@findex recenter
449 The most basic scrolling command is @kbd{C-l} (@code{recenter}) with 449 The most basic scrolling command is @kbd{C-l} (@code{recenter}) with
450no argument. It clears the entire screen and redisplays all windows. 450no argument. It scrolls the selected window so that point is halfway
451In addition, it scrolls the selected window so that point is halfway 451down from the top of the window. On a text terminal, it also clears
452down from the top of the window. 452the screen and redisplays all windows. That is useful in case the
453screen is garbled (@pxref{Screen Garbled}).
453 454
454@kindex C-v 455@kindex C-v
455@kindex M-v 456@kindex M-v
@@ -566,17 +567,12 @@ window, Emacs recenters the window. By default, @code{scroll-margin} is
566 567
567 @dfn{Horizontal scrolling} means shifting all the lines sideways 568 @dfn{Horizontal scrolling} means shifting all the lines sideways
568within a window---so that some of the text near the left margin is not 569within a window---so that some of the text near the left margin is not
569displayed at all. Emacs does this automatically in any window that 570displayed at all. When the text in a window is scrolled horizontally,
570uses line truncation rather than continuation: whenever point moves 571text lines are truncated rather than continued (@pxref{Display
571off the left or right edge of the screen, Emacs scrolls the buffer 572Custom}). Whenever a window shows truncated lines, Emacs
572horizontally to make point visible. 573automatically updates its horizontal scrolling whenever point moves
573 574off the left or right edge of the screen. You can also use these
574 When a window has been scrolled horizontally, text lines are truncated 575commands to do explicit horizontal scrolling.
575rather than continued (@pxref{Continuation Lines}), with a @samp{$}
576appearing in the first column when there is text truncated to the left,
577and in the last column when there is text truncated to the right.
578
579 You can use these commands to do explicit horizontal scrolling.
580 576
581@table @kbd 577@table @kbd
582@item C-x < 578@item C-x <
@@ -602,10 +598,10 @@ attempting to do so has no effect. This means that you don't have to
602calculate the argument precisely for @w{@kbd{C-x >}}; any sufficiently large 598calculate the argument precisely for @w{@kbd{C-x >}}; any sufficiently large
603argument will restore the normal display. 599argument will restore the normal display.
604 600
605 If you scroll a window horizontally by hand, that sets a lower bound 601 If you use those commands to scroll a window horizontally, that sets
606for automatic horizontal scrolling. Automatic scrolling will continue 602a lower bound for automatic horizontal scrolling. Automatic scrolling
607to scroll the window, but never farther to the right than the amount 603will continue to scroll the window, but never farther to the right
608you previously set by @code{scroll-left}. 604than the amount you previously set by @code{scroll-left}.
609 605
610@vindex hscroll-margin 606@vindex hscroll-margin
611 The value of the variable @code{hscroll-margin} controls how close 607 The value of the variable @code{hscroll-margin} controls how close
@@ -708,12 +704,12 @@ currently doesn't work on character terminals.)
708@cindex windows, synchronizing 704@cindex windows, synchronizing
709@cindex synchronizing windows 705@cindex synchronizing windows
710 706
711 @dfn{Follow mode} is a minor mode that makes two windows showing the 707 @dfn{Follow mode} is a minor mode that makes two windows, both
712same buffer scroll as one tall ``virtual window.'' To use Follow mode, 708showing the same buffer, scroll as a single tall ``virtual window.''
713go to a frame with just one window, split it into two side-by-side 709To use Follow mode, go to a frame with just one window, split it into
714windows using @kbd{C-x 3}, and then type @kbd{M-x follow-mode}. From 710two side-by-side windows using @kbd{C-x 3}, and then type @kbd{M-x
715then on, you can edit the buffer in either of the two windows, or scroll 711follow-mode}. From then on, you can edit the buffer in either of the
716either one; the other window follows it. 712two windows, or scroll either one; the other window follows it.
717 713
718 In Follow mode, if you move point outside the portion visible in one 714 In Follow mode, if you move point outside the portion visible in one
719window and into the portion visible in the other window, that selects 715window and into the portion visible in the other window, that selects
@@ -756,6 +752,9 @@ the three dots.
756precedes hidden lines. Then there is no visible indication of the 752precedes hidden lines. Then there is no visible indication of the
757hidden lines. This variable becomes local automatically when set. 753hidden lines. This variable becomes local automatically when set.
758 754
755 See also @ref{Outline Mode} for another way to hide part of
756the text in a buffer.
757
759@node Optional Mode Line 758@node Optional Mode Line
760@section Optional Mode Line Features 759@section Optional Mode Line Features
761 760
@@ -914,6 +913,46 @@ they are displayed using their graphics (assuming your terminal supports
914them), otherwise as escape sequences. @xref{Single-Byte Character 913them), otherwise as escape sequences. @xref{Single-Byte Character
915Support}. 914Support}.
916 915
916@node Cursor Display
917@section Displaying the Cursor
918
919@findex blink-cursor-mode
920@vindex blink-cursor-alist
921@cindex cursor, locating visually
922@cindex cursor, blinking
923 You can customize the cursor's color, and whether it blinks, using
924the @code{cursor} Custom group (@pxref{Easy Customization}). On
925graphical terminals, the command @kbd{M-x blink-cursor-mode} enables
926or disables the blinking of the cursor. (On text terminals, the
927terminal itself blinks the cursor, and Emacs has no control over it.)
928You can control how the cursor appears when it blinks off by setting
929the variable @code{blink-cursor-alist}.
930
931@cindex cursor in non-selected windows
932@vindex cursor-in-non-selected-windows
933 Normally, the cursor appears in non-selected windows in the ``off''
934state, with the same appearance as when the blinking cursor blinks
935``off''. For a box cursor, this is a hollow box; for a bar cursor,
936this is a thinner bar. To turn off cursors in non-selected windows,
937customize the variable @code{cursor-in-non-selected-windows} and assign
938it a @code{nil} value.
939
940@vindex x-stretch-cursor
941@cindex wide block cursor
942 On graphical terminals, Emacs can optionally draw the block cursor
943as wide as the character under the cursor---for example, if the cursor
944is on a tab character, it would cover the full width occupied by that
945tab character. To enable this feature, set the variable
946@code{x-stretch-cursor} to a non-@code{nil} value.
947
948@findex hl-line-mode
949@findex global-hl-line-mode
950@cindex highlight current line
951 If you find it hard to see the cursor, you might like HL Line mode,
952a minor mode that highlights the line containing point. Use @kbd{M-x
953hl-line-mode} to enable or disable it in the current buffer. @kbd{M-x
954global-hl-line-mode} enables or disables the same mode globally.
955
917@node Display Custom 956@node Display Custom
918@section Customization of Display 957@section Customization of Display
919 958
@@ -937,18 +976,19 @@ to invert all the lines of the display from what they normally are.
937 If the variable @code{visible-bell} is non-@code{nil}, Emacs attempts 976 If the variable @code{visible-bell} is non-@code{nil}, Emacs attempts
938to make the whole screen blink when it would normally make an audible bell 977to make the whole screen blink when it would normally make an audible bell
939sound. This variable has no effect if your terminal does not have a way 978sound. This variable has no effect if your terminal does not have a way
940to make the screen blink.@refill 979to make the screen blink.
941 980
942@vindex no-redraw-on-reenter 981@vindex no-redraw-on-reenter
943 When you reenter Emacs after suspending, Emacs normally clears the 982 On a text terminal, when you reenter Emacs after suspending, Emacs
944screen and redraws the entire display. On some terminals with more than 983normally clears the screen and redraws the entire display. On some
945one page of memory, it is possible to arrange the termcap entry so that 984terminals with more than one page of memory, it is possible to arrange
946the @samp{ti} and @samp{te} strings (output to the terminal when Emacs 985the termcap entry so that the @samp{ti} and @samp{te} strings (output
947is entered and exited, respectively) switch between pages of memory so 986to the terminal when Emacs is entered and exited, respectively) switch
948as to use one page for Emacs and another page for other output. Then 987between pages of memory so as to use one page for Emacs and another
949you might want to set the variable @code{no-redraw-on-reenter} 988page for other output. Then you might want to set the variable
950non-@code{nil}; this tells Emacs to assume, when resumed, that the 989@code{no-redraw-on-reenter} non-@code{nil}; this tells Emacs to
951screen page it is using still contains what Emacs last wrote there. 990assume, when resumed, that the screen page it is using still contains
991what Emacs last wrote there.
952 992
953@vindex echo-keystrokes 993@vindex echo-keystrokes
954 The variable @code{echo-keystrokes} controls the echoing of multi-character 994 The variable @code{echo-keystrokes} controls the echoing of multi-character
@@ -964,6 +1004,7 @@ default is initially @code{t}. @xref{Display Tables,, Display Tables,
964elisp, The Emacs Lisp Reference Manual}. 1004elisp, The Emacs Lisp Reference Manual}.
965 1005
966@vindex tab-width 1006@vindex tab-width
1007@vindex default-tab-width
967 Normally, a tab character in the buffer is displayed as whitespace which 1008 Normally, a tab character in the buffer is displayed as whitespace which
968extends to the next display tab stop position, and display tab stops come 1009extends to the next display tab stop position, and display tab stops come
969at intervals equal to eight spaces. The number of spaces per tab is 1010at intervals equal to eight spaces. The number of spaces per tab is
@@ -971,18 +1012,31 @@ controlled by the variable @code{tab-width}, which is made local by
971changing it, just like @code{ctl-arrow}. Note that how the tab character 1012changing it, just like @code{ctl-arrow}. Note that how the tab character
972in the buffer is displayed has nothing to do with the definition of 1013in the buffer is displayed has nothing to do with the definition of
973@key{TAB} as a command. The variable @code{tab-width} must have an 1014@key{TAB} as a command. The variable @code{tab-width} must have an
974integer value between 1 and 1000, inclusive. 1015integer value between 1 and 1000, inclusive. The variable
975 1016@code{default-tab-width} controls the default value of this variable
976@c @vindex truncate-lines @c No index entry here, because we have one 1017for buffers where you have not set it locally.
977@c in the continuation section. 1018
978 If the variable @code{truncate-lines} is non-@code{nil}, then each 1019@cindex truncation
979line of text gets just one screen line for display; if the text line is 1020@cindex line truncation, and fringes
980too long, display shows only the part that fits. If 1021 As an alternative to continuation, Emacs can display long lines by
981@code{truncate-lines} is @code{nil}, then long text lines display as 1022@dfn{truncation}. This means that all the characters that do not fit
982more than one screen line, enough to show the whole text of the line. 1023in the width of the screen or window do not appear at all. On
983@xref{Continuation Lines}. Altering the value of @code{truncate-lines} 1024graphical terminals, a small straight arrow in the fringe indicates
984makes it local to the current buffer; until that time, the default value 1025truncation at either end of the line. On text terminals, @samp{$}
985is in effect. The default is initially @code{nil}. 1026appears in the first column when there is text truncated to the left,
1027and in the last column when there is text truncated to the right.
1028
1029@vindex truncate-lines
1030@findex toggle-truncate-lines
1031 Horizontal scrolling automatically causes line truncation
1032(@pxref{Horizontal Scrolling}). You can explicitly enable line
1033truncation for a particular buffer with the command @kbd{M-x
1034toggle-truncate-lines}. This works by locally changing the variable
1035@code{truncate-lines}. If that variable is non-@code{nil}, long lines
1036are truncated; if it is @code{nil}, they are continued onto multiple
1037screen lines. Setting the variable @code{truncate-lines} in any way
1038makes it local to the current buffer; until that time, the default
1039value is in effect. The default value is normally @code{nil}.
986 1040
987@c @vindex truncate-partial-width-windows @c Idx entry is in Split Windows. 1041@c @vindex truncate-partial-width-windows @c Idx entry is in Split Windows.
988 If the variable @code{truncate-partial-width-windows} is 1042 If the variable @code{truncate-partial-width-windows} is
@@ -1066,46 +1120,6 @@ result in text that is hard to read. Call the function
1066@code{tty-suppress-bold-inverse-default-colors} with a non-@code{nil} 1120@code{tty-suppress-bold-inverse-default-colors} with a non-@code{nil}
1067argument to suppress the effect of bold-face in this case. 1121argument to suppress the effect of bold-face in this case.
1068 1122
1069@node Cursor Display
1070@section Displaying the Cursor
1071
1072@findex blink-cursor-mode
1073@vindex blink-cursor-alist
1074@cindex cursor, locating visually
1075@cindex cursor, blinking
1076 You can customize the cursor's color, and whether it blinks, using
1077the @code{cursor} Custom group (@pxref{Easy Customization}). On
1078graphical terminals, the command @kbd{M-x blink-cursor-mode} enables
1079or disables the blinking of the cursor. (On text terminals, the
1080terminal itself blinks the cursor, and Emacs has no control over it.)
1081You can control how the cursor appears when it blinks off by setting
1082the variable @code{blink-cursor-alist}.
1083
1084@cindex cursor in non-selected windows
1085@vindex cursor-in-non-selected-windows
1086 Normally, the cursor appears in non-selected windows in the ``off''
1087state, with the same appearance as when the blinking cursor blinks
1088``off''. For a box cursor, this is a hollow box; for a bar cursor,
1089this is a thinner bar. To turn off cursors in non-selected windows,
1090customize the variable @code{cursor-in-non-selected-windows} and assign
1091it a @code{nil} value.
1092
1093@vindex x-stretch-cursor
1094@cindex wide block cursor
1095 On graphical terminals, Emacs can optionally draw the block cursor
1096as wide as the character under the cursor---for example, if the cursor
1097is on a tab character, it would cover the full width occupied by that
1098tab character. To enable this feature, set the variable
1099@code{x-stretch-cursor} to a non-@code{nil} value.
1100
1101@findex hl-line-mode
1102@findex global-hl-line-mode
1103@cindex highlight current line
1104 If you find it hard to see the cursor, you might like HL Line mode,
1105a minor mode that highlights the line containing point. Use @kbd{M-x
1106hl-line-mode} to enable or disable it in the current buffer. @kbd{M-x
1107global-hl-line-mode} enables or disables the same mode globally.
1108
1109@ignore 1123@ignore
1110 arch-tag: 2219f910-2ff0-4521-b059-1bd231a536c4 1124 arch-tag: 2219f910-2ff0-4521-b059-1bd231a536c4
1111@end ignore 1125@end ignore
diff --git a/man/emacs.texi b/man/emacs.texi
index 3bfc95aac5a..dea25cdaa29 100644
--- a/man/emacs.texi
+++ b/man/emacs.texi
@@ -305,12 +305,19 @@ Registers
305 305
306Controlling the Display 306Controlling the Display
307 307
308* Faces:: How to change the display style using faces.
309* Font Lock:: Minor mode for syntactic highlighting using faces.
310* Highlight Changes:: Using colors to show where you changed the buffer.
311* Highlight Interactively:: Tell Emacs what text to highlight.
308* Scrolling:: Moving text up and down in a window. 312* Scrolling:: Moving text up and down in a window.
309* Horizontal Scrolling:: Moving text left and right in a window. 313* Horizontal Scrolling:: Moving text left and right in a window.
314* Fringes:: Enabling or disabling window fringes.
315* Useless Whitespace:: Showing possibly-spurious trailing whitespace.
310* Follow Mode:: Follow mode lets two windows scroll as one. 316* Follow Mode:: Follow mode lets two windows scroll as one.
311* Selective Display:: Hiding lines with lots of indentation. 317* Selective Display:: Hiding lines with lots of indentation.
312* Optional Mode Line:: Optional mode line display features. 318* Optional Mode Line:: Optional mode line display features.
313* Text Display:: How text is normally displayed. 319* Text Display:: How text characters are normally displayed.
320* Cursor Display:: Features for displaying the cursor.
314* Display Custom:: Information on variables for customizing display. 321* Display Custom:: Information on variables for customizing display.
315 322
316Searching and Replacement 323Searching and Replacement
@@ -418,15 +425,11 @@ Frames and X Windows
418* Frame Parameters:: Changing the colors and other modes of frames. 425* Frame Parameters:: Changing the colors and other modes of frames.
419* Scroll Bars:: How to enable and disable scroll bars; how to use them. 426* Scroll Bars:: How to enable and disable scroll bars; how to use them.
420* Wheeled Mice:: Using mouse wheels for scrolling. 427* Wheeled Mice:: Using mouse wheels for scrolling.
428* Drag and Drop:: Using drag and drop to open files and insert text.
421* Menu Bars:: Enabling and disabling the menu bar. 429* Menu Bars:: Enabling and disabling the menu bar.
422* Tool Bars:: Enabling and disabling the tool bar. 430* Tool Bars:: Enabling and disabling the tool bar.
423* Dialog Boxes:: Controlling use of dialog boxes. 431* Dialog Boxes:: Controlling use of dialog boxes.
424* Faces:: How to change the display style using faces. 432* Tooltips:: Showing "tooltips", AKA "balloon help" for active text.
425* Font Lock:: Minor mode for syntactic highlighting using faces.
426* Highlight Changes:: Using colors to show where you changed the buffer.
427* Highlight Interactively:: Tell Emacs what text to highlight.
428* Useless Whitespace:: Showing possibly-spurious trailing whitespace.
429* Tooltips:: Showing "tooltips", AKA "ballon help" for active text.
430* Mouse Avoidance:: Moving the mouse pointer out of the way. 433* Mouse Avoidance:: Moving the mouse pointer out of the way.
431* Non-Window Terminals:: Multiple frames on terminals that show only one. 434* Non-Window Terminals:: Multiple frames on terminals that show only one.
432* XTerm Mouse:: Using the mouse in an XTerm terminal emulator. 435* XTerm Mouse:: Using the mouse in an XTerm terminal emulator.
@@ -828,7 +831,8 @@ Environment Variables
828 831
829MS-DOS and Windows 95/98/NT 832MS-DOS and Windows 95/98/NT
830 833
831* MS-DOS Input:: Keyboard and mouse usage on MS-DOS. 834* MS-DOS Keyboard:: Keyboard usage on MS-DOS.
835* MS-DOS Mouse:: Mouse usage on MS-DOS.
832* MS-DOS Display:: Fonts, frames and display size on MS-DOS. 836* MS-DOS Display:: Fonts, frames and display size on MS-DOS.
833* MS-DOS File Names:: File-name conventions on MS-DOS. 837* MS-DOS File Names:: File-name conventions on MS-DOS.
834* Text and Binary:: Text files on MS-DOS use CRLF to separate lines. 838* Text and Binary:: Text files on MS-DOS use CRLF to separate lines.
diff --git a/man/fixit.texi b/man/fixit.texi
index 04fa823e76e..0982b0856ef 100644
--- a/man/fixit.texi
+++ b/man/fixit.texi
@@ -302,10 +302,11 @@ frame).
302 The command @code{ispell-complete-word}, which is bound to the key 302 The command @code{ispell-complete-word}, which is bound to the key
303@kbd{M-@key{TAB}} in Text mode and related modes, shows a list of 303@kbd{M-@key{TAB}} in Text mode and related modes, shows a list of
304completions based on spelling correction. Insert the beginning of a 304completions based on spelling correction. Insert the beginning of a
305word, and then type @kbd{M-@key{TAB}}; the command displays a completion 305word, and then type @kbd{M-@key{TAB}}; the command displays a
306list window. To choose one of the completions listed, click 306completion list window. (If your window manager intercepts
307@kbd{Mouse-2} on it, or move the cursor there in the completions window 307@kbd{M-@key{TAB}}, type @kbd{@key{ESC} @key{TAB}}.) To choose one of
308and type @key{RET}. @xref{Text Mode}. 308the completions listed, click @kbd{Mouse-2} on it, or move the cursor
309there in the completions window and type @key{RET}. @xref{Text Mode}.
309 310
310@ignore 311@ignore
311@findex reload-ispell 312@findex reload-ispell
diff --git a/man/frames.texi b/man/frames.texi
index 5c0c42b3d8b..a3f71e64bab 100644
--- a/man/frames.texi
+++ b/man/frames.texi
@@ -27,7 +27,7 @@ frame.
27 27
28 Emacs compiled for MS-DOS emulates some aspects of the window system 28 Emacs compiled for MS-DOS emulates some aspects of the window system
29so that you can use many of the features described in this chapter. 29so that you can use many of the features described in this chapter.
30@xref{MS-DOS Input}, for more information. 30@xref{MS-DOS Mouse}, for more information.
31 31
32@menu 32@menu
33* Mouse Commands:: Moving, cutting, and pasting, with the mouse. 33* Mouse Commands:: Moving, cutting, and pasting, with the mouse.
diff --git a/man/help.texi b/man/help.texi
index fb14eb150a2..d546440e114 100644
--- a/man/help.texi
+++ b/man/help.texi
@@ -25,11 +25,10 @@ help options, each with a brief description. Before you type a help
25option, you can use @key{SPC} or @key{DEL} to scroll through the list. 25option, you can use @key{SPC} or @key{DEL} to scroll through the list.
26 26
27 @kbd{C-h} or @key{F1} means ``help'' in various other contexts as 27 @kbd{C-h} or @key{F1} means ``help'' in various other contexts as
28well. For example, in the middle of @code{query-replace}, it describes 28well. After a prefix key, it displays a list of the alternatives that
29the options available for how to operate on the current match. After a 29can follow the prefix key. (A few prefix keys don't support
30prefix key, it displays a list of the alternatives that can follow the 30@kbd{C-h}, because they define other meanings for it, but they all
31prefix key. (A few prefix keys don't support @kbd{C-h}, because they 31support @key{F1}.)
32define other meanings for it, but they all support @key{F1}.)
33 32
34 Most help buffers use a special major mode, Help mode, which lets you 33 Most help buffers use a special major mode, Help mode, which lets you
35scroll conveniently with @key{SPC} and @key{DEL}. It also offers 34scroll conveniently with @key{SPC} and @key{DEL}. It also offers
@@ -51,9 +50,8 @@ be a regular expression (@pxref{Regexps}). Browse the buffer that this
51command displays to find what you are looking for. @xref{Apropos}. 50command displays to find what you are looking for. @xref{Apropos}.
52 51
53@item M-x apropos @key{RET} @var{topic} @key{RET} 52@item M-x apropos @key{RET} @var{topic} @key{RET}
54This works like @kbd{C-h a}, but it also searches for variables, 53This works like @kbd{C-h a}, but it also searches for noninteractive
55in case the feature you are looking for is controlled by a variable 54functions and for variables. @xref{Apropos}.
56rather than a command. @xref{Apropos}.
57 55
58@item M-x apropos-documentation @key{RET} @var{topic} @key{RET} 56@item M-x apropos-documentation @key{RET} @var{topic} @key{RET}
59This searches the @emph{documentation strings} (the built-in short 57This searches the @emph{documentation strings} (the built-in short
@@ -72,8 +70,8 @@ expression) in the @emph{text} of the manual rather than in its
72indices. 70indices.
73 71
74@item C-h C-f 72@item C-h C-f
75This brings up the Emacs FAQ, where you can use the usual search 73This brings up the Emacs FAQ. You can use the Info commands
76commands (@pxref{Search}) to find the information. 74to browse it.
77 75
78@item C-h p 76@item C-h p
79Finally, you can try looking up a suitable package using keywords 77Finally, you can try looking up a suitable package using keywords
@@ -198,6 +196,13 @@ This is too big for the echo area, so a window is used for the display.
198 @kbd{C-h c} and @kbd{C-h k} work for any sort of key sequences, 196 @kbd{C-h c} and @kbd{C-h k} work for any sort of key sequences,
199including function keys and mouse events. 197including function keys and mouse events.
200 198
199@kindex C-h w
200@findex where-is
201 @kbd{C-h w @var{command} @key{RET}} tells you what keys are bound to
202@var{command}. It displays a list of the keys in the echo area. If it
203says the command is not on any key, you must use @kbd{M-x} to run it.
204@kbd{C-h w} runs the command @code{where-is}.
205
201@node Name Help 206@node Name Help
202@section Help by Command or Variable Name 207@section Help by Command or Variable Name
203 208
@@ -217,15 +222,15 @@ displays the documentation of @code{auto-fill-mode}. This is the only
217way to get the documentation of a command that is not bound to any key 222way to get the documentation of a command that is not bound to any key
218(one which you would normally run using @kbd{M-x}). 223(one which you would normally run using @kbd{M-x}).
219 224
220 @kbd{C-h f} is also useful for Lisp functions that you are planning to 225 @kbd{C-h f} is also useful for Lisp functions that you are planning
221use in a Lisp program. For example, if you have just written the 226to use in a Lisp program. For example, if you have just written the
222expression @code{(make-vector len)} and want to check that you are using 227expression @code{(make-vector len)} and want to check that you are
223@code{make-vector} properly, type @kbd{C-h f make-vector @key{RET}}. 228using @code{make-vector} properly, type @kbd{C-h f make-vector
224Because @kbd{C-h f} allows all function names, not just command names, 229@key{RET}}. Because @kbd{C-h f} allows all function names, not just
225you may find that some of your favorite abbreviations that work in 230command names, you may find that some of your favorite completion
226@kbd{M-x} don't work in @kbd{C-h f}. An abbreviation may be unique 231abbreviations that work in @kbd{M-x} don't work in @kbd{C-h f}. An
227among command names yet fail to be unique when other function names are 232abbreviation may be unique among command names, yet fail to be unique
228allowed. 233when other function names are allowed.
229 234
230 The default function name for @kbd{C-h f} to describe, if you type 235 The default function name for @kbd{C-h f} to describe, if you type
231just @key{RET}, is the name of the function called by the innermost Lisp 236just @key{RET}, is the name of the function called by the innermost Lisp
@@ -241,13 +246,6 @@ buffer as the default, that name must be defined as a Lisp function. If
241that is all you want to know, just type @kbd{C-g} to cancel the @kbd{C-h 246that is all you want to know, just type @kbd{C-g} to cancel the @kbd{C-h
242f} command, then go on editing. 247f} command, then go on editing.
243 248
244@kindex C-h w
245@findex where-is
246 @kbd{C-h w @var{command} @key{RET}} tells you what keys are bound to
247@var{command}. It displays a list of the keys in the echo area. If it
248says the command is not on any key, you must use @kbd{M-x} to run it.
249@kbd{C-h w} runs the command @code{where-is}.
250
251 @kbd{C-h v} (@code{describe-variable}) is like @kbd{C-h f} but describes 249 @kbd{C-h v} (@code{describe-variable}) is like @kbd{C-h f} but describes
252Lisp variables instead of Lisp functions. Its default is the Lisp symbol 250Lisp variables instead of Lisp functions. Its default is the Lisp symbol
253around or before point, but only if that is the name of a known Lisp 251around or before point, but only if that is the name of a known Lisp
@@ -257,8 +255,9 @@ variable. @xref{Variables}.@refill
257normally have hyperlinks to the Lisp definition, if you have the Lisp 255normally have hyperlinks to the Lisp definition, if you have the Lisp
258source files installed. If you know Lisp, this provides the ultimate 256source files installed. If you know Lisp, this provides the ultimate
259documentation. If you don't know Lisp, you should learn it. If you 257documentation. If you don't know Lisp, you should learn it. If you
260are treating Emacs as an object file, then you are just @emph{using} 258are just @emph{using} Emacs, treating Emacs as an object (file), then
261Emacs. For real intimacy with Emacs, you must read the source code. 259you don't really love it. For true intimacy with your editor, you
260need to read the source code.
262 261
263@node Apropos 262@node Apropos
264@section Apropos 263@section Apropos
@@ -278,11 +277,11 @@ example, it would say that you can invoke @code{find-file} by typing
278normally checks only commands (interactive functions); if you specify a 277normally checks only commands (interactive functions); if you specify a
279prefix argument, it checks noninteractive functions as well. 278prefix argument, it checks noninteractive functions as well.
280 279
281 Because @kbd{C-h a} looks only for functions whose names contain the 280 Because @kbd{C-h a} looks only for commands whose names contain the
282string you specify, you must use ingenuity in choosing the 281string you specify, you must use ingenuity in choosing the string. If
283string. If you are looking for commands for killing backwards and 282you are looking for commands for killing backwards and @kbd{C-h a
284@kbd{C-h a kill-backwards @key{RET}} doesn't reveal any, don't give up. 283kill-backwards @key{RET}} doesn't reveal any, don't give up. Try just
285Try just @kbd{kill}, or just @kbd{backwards}, or just @kbd{back}. Be 284@kbd{kill}, or just @kbd{backwards}, or just @kbd{back}. Be
286persistent. Also note that you can use a regular expression as the 285persistent. Also note that you can use a regular expression as the
287argument, for more flexibility (@pxref{Regexps}). 286argument, for more flexibility (@pxref{Regexps}).
288 287
@@ -330,7 +329,7 @@ above all behave as if they had been given a prefix argument.
330 329
331 If you want more information about a function definition, variable or 330 If you want more information about a function definition, variable or
332symbol property listed in the Apropos buffer, you can click on it with 331symbol property listed in the Apropos buffer, you can click on it with
333@kbd{Mouse-2} or move there and type @key{RET}. 332@kbd{Mouse-1} or @kbd{Mouse-2}, or move there and type @key{RET}.
334 333
335@node Library Keywords 334@node Library Keywords
336@section Keyword Search for Lisp Libraries 335@section Keyword Search for Lisp Libraries
@@ -421,16 +420,17 @@ Follow a cross reference at point.
421Move point forward to the next cross reference. 420Move point forward to the next cross reference.
422@item S-@key{TAB} 421@item S-@key{TAB}
423Move point back to the previous cross reference. 422Move point back to the previous cross reference.
424@item Mouse-2 423@item Mouse-1
424@itemx Mouse-2
425Follow a cross reference that you click on. 425Follow a cross reference that you click on.
426@end table 426@end table
427 427
428 When a command name (@pxref{M-x,, Running Commands by Name}) or 428 When a function name (@pxref{M-x,, Running Commands by Name}) or
429variable name (@pxref{Variables}) appears in the documentation, it 429variable name (@pxref{Variables}) appears in the documentation, it
430normally appears inside paired single-quotes. You can click on the name 430normally appears inside paired single-quotes. You can click on the
431with @kbd{Mouse-2}, or move point there and type @key{RET}, to view the 431name with @kbd{Mouse-1} or @kbd{Mouse-2}, or move point there and type
432documentation of that command or variable. Use @kbd{C-c C-b} to retrace 432@key{RET}, to view the documentation of that command or variable. Use
433your steps. 433@kbd{C-c C-b} to retrace your steps.
434 434
435@kindex @key{TAB} @r{(Help mode)} 435@kindex @key{TAB} @r{(Help mode)}
436@findex help-next-ref 436@findex help-next-ref
diff --git a/man/indent.texi b/man/indent.texi
index ab640e76462..48a54747714 100644
--- a/man/indent.texi
+++ b/man/indent.texi
@@ -16,7 +16,7 @@ Indent the current line ``appropriately'' in a mode-dependent fashion.
16Perform @key{RET} followed by @key{TAB} (@code{newline-and-indent}). 16Perform @key{RET} followed by @key{TAB} (@code{newline-and-indent}).
17@item M-^ 17@item M-^
18Merge the previous and the current line (@code{delete-indentation}). 18Merge the previous and the current line (@code{delete-indentation}).
19This would cancel out the effect of @kbd{C-j}. 19This would cancel the effect of a preceding @kbd{C-j}.
20@item C-M-o 20@item C-M-o
21Split the current line at point; text on the line after point becomes a 21Split the current line at point; text on the line after point becomes a
22new line indented to the same column where point is located 22new line indented to the same column where point is located
@@ -25,9 +25,9 @@ new line indented to the same column where point is located
25Move (forward or back) to the first nonblank character on the current 25Move (forward or back) to the first nonblank character on the current
26line (@code{back-to-indentation}). 26line (@code{back-to-indentation}).
27@item C-M-\ 27@item C-M-\
28Indent several lines to the same column (@code{indent-region}). 28Indent lines in the region to the same column (@code{indent-region}).
29@item C-x @key{TAB} 29@item C-x @key{TAB}
30Shift a block of lines rigidly right or left (@code{indent-rigidly}). 30Shift lines in the region rigidly right or left (@code{indent-rigidly}).
31@item M-i 31@item M-i
32Indent from point to the next prespecified tab stop column 32Indent from point to the next prespecified tab stop column
33(@code{tab-to-tab-stop}). 33(@code{tab-to-tab-stop}).
@@ -47,11 +47,11 @@ to the next display tab stop position, and the default width of a tab
47stop is eight. @xref{Display Custom}, for more details. 47stop is eight. @xref{Display Custom}, for more details.
48 48
49@item 49@item
50Advance to the next tab stop. You can set tab stops at your choice of 50Insert whitespace up to the next tab stop. You can set tab stops at
51column positions, then type @kbd{M-i} to advance to the next tab stop. 51your choice of column positions, then type @kbd{M-i} to advance to the
52The default is to have tab stops every eight columns, which means by 52next tab stop. The default tab stop settings have a tab stop every
53default @kbd{M-i} inserts a tab character. To set the tab stops, use 53eight columns, which means by default @kbd{M-i} inserts a tab
54@kbd{M-x edit-tab-stops}. 54character. To set the tab stops, use @kbd{M-x edit-tab-stops}.
55 55
56@item 56@item
57Align a line with the previous line. More precisely, the command 57Align a line with the previous line. More precisely, the command
@@ -72,15 +72,11 @@ of the preceding lines. No matter where in the line you are when you
72type @key{TAB}, it aligns the line as a whole. 72type @key{TAB}, it aligns the line as a whole.
73@end enumerate 73@end enumerate
74 74
75 Normally, all of the above methods insert an optimal mix of tabs and 75 Normally, most of the above methods insert an optimal mix of tabs and
76spaces to align to the desired column. @xref{Just Spaces}, for how to 76spaces to align to the desired column. @xref{Just Spaces}, for how to
77disable use of tabs. However, @kbd{C-q @key{TAB}} always inserts a 77disable use of tabs. However, @kbd{C-q @key{TAB}} always inserts a
78tab, even when tabs are disabled for the indentation commands. 78tab, even when tabs are disabled for the indentation commands.
79 79
80@c In Text mode, @key{TAB} runs the command @code{tab-to-tab-stop}, which
81@c indents to the next tab stop column. You can set the tab stops with
82@c @kbd{M-x edit-tab-stops}.
83
84@menu 80@menu
85* Indentation Commands:: Various commands and techniques for indentation. 81* Indentation Commands:: Various commands and techniques for indentation.
86* Tab Stops:: You can set arbitrary "tab stops" and then 82* Tab Stops:: You can set arbitrary "tab stops" and then
diff --git a/man/kmacro.texi b/man/kmacro.texi
index 459752d3c4b..5ef34f6c929 100644
--- a/man/kmacro.texi
+++ b/man/kmacro.texi
@@ -46,6 +46,7 @@ intelligent or general. For such things, Lisp must be used.
46 46
47@table @kbd 47@table @kbd
48@item C-x ( 48@item C-x (
49@itemx @key{F3}
49Start defining a keyboard macro (@code{kmacro-start-macro}). 50Start defining a keyboard macro (@code{kmacro-start-macro}).
50@item C-x ) 51@item C-x )
51End the definition of a keyboard macro (@code{kmacro-end-macro}). 52End the definition of a keyboard macro (@code{kmacro-end-macro}).
@@ -53,6 +54,10 @@ End the definition of a keyboard macro (@code{kmacro-end-macro}).
53Execute the most recent keyboard macro (@code{kmacro-end-and-call-macro}). 54Execute the most recent keyboard macro (@code{kmacro-end-and-call-macro}).
54First end the definition of the keyboard macro, if currently defining it. 55First end the definition of the keyboard macro, if currently defining it.
55To immediately execute the keyboard macro again, just repeat the @kbd{e}. 56To immediately execute the keyboard macro again, just repeat the @kbd{e}.
57@item @key{F4}
58If a keyboard macro is being defined, end the definition; otherwise,
59execute the most recent keyboard macro
60(@code{kmacro-end-or-call-macro}).
56@item C-u C-x ( 61@item C-u C-x (
57Re-execute last keyboard macro, then add more keys to its definition. 62Re-execute last keyboard macro, then add more keys to its definition.
58@item C-u C-u C-x ( 63@item C-u C-u C-x (
@@ -120,6 +125,10 @@ of zero to @kbd{C-x e} or @kbd{C-x )} means repeat the macro
120indefinitely (until it gets an error or you type @kbd{C-g} or, on 125indefinitely (until it gets an error or you type @kbd{C-g} or, on
121MS-DOS, @kbd{C-@key{BREAK}}). 126MS-DOS, @kbd{C-@key{BREAK}}).
122 127
128 The key @key{F4} is like a combination of @kbd{C-x )} and @kbd{C-x
129e}. If you're defining a macro, @key{F4} ends the definition.
130Otherwise it executes the last macro.
131
123 If you wish to repeat an operation at regularly spaced places in the 132 If you wish to repeat an operation at regularly spaced places in the
124text, define a macro and include as part of the macro the commands to move 133text, define a macro and include as part of the macro the commands to move
125to the next place you want to use it. For example, if you want to change 134to the next place you want to use it. For example, if you want to change
@@ -490,18 +499,16 @@ keyboard input that you would use to invoke the macro---@kbd{C-x e} or
490 499
491@findex kmacro-step-edit-macro 500@findex kmacro-step-edit-macro
492@kindex C-x C-k SPC 501@kindex C-x C-k SPC
493 You can interactively and stepwise replay and edit the last keyboard 502 You can interactively replay and edit the last keyboard
494macro one command at a time by typing @kbd{C-x C-k SPC} 503macro, one command at a time, by typing @kbd{C-x C-k SPC}
495(@code{kmacro-step-edit-macro}). Unless you quit the macro using 504(@code{kmacro-step-edit-macro}). Unless you quit the macro using
496@kbd{q} or @kbd{C-g}, the edited macro replaces the last macro on the 505@kbd{q} or @kbd{C-g}, the edited macro replaces the last macro on the
497macro ring. 506macro ring.
498 507
499This shows the last macro in the minibuffer together with the first 508 This macro editing feature shows the last macro in the minibuffer
500(or next) command to be executed, and prompts you for an action. 509together with the first (or next) command to be executed, and prompts
501You can enter @kbd{?} to get a command summary. 510you for an action. You can enter @kbd{?} to get a summary of your
502 511options. These actions are available:
503The following commands are available in the step-edit mode and relate
504to the first (or current) command in the keyboard macro:
505 512
506@itemize @bullet{} 513@itemize @bullet{}
507@item 514@item
diff --git a/man/major.texi b/man/major.texi
index a7c3a9062cf..fa44b873031 100644
--- a/man/major.texi
+++ b/man/major.texi
@@ -92,14 +92,14 @@ For example, one element normally found in the list has the form
92@code{(@t{"\\.c\\'"} . c-mode)}, and it is responsible for selecting C 92@code{(@t{"\\.c\\'"} . c-mode)}, and it is responsible for selecting C
93mode for files whose names end in @file{.c}. (Note that @samp{\\} is 93mode for files whose names end in @file{.c}. (Note that @samp{\\} is
94needed in Lisp syntax to include a @samp{\} in the string, which must 94needed in Lisp syntax to include a @samp{\} in the string, which must
95be used to suppress the special meaning of @samp{.} in regexps.) If the 95be used to suppress the special meaning of @samp{.} in regexps.) If
96element has the form @code{(@var{regexp} @var{mode-function} 96the element has the form @code{(@var{regexp} @var{mode-function}
97@var{flag})} and @var{flag} is non-@code{nil}, then after calling 97@var{flag})} and @var{flag} is non-@code{nil}, then after calling
98@var{mode-function}, the suffix that matched @var{regexp} is discarded 98@var{mode-function}, Emacs discards the suffix that matched
99and the list is searched again for another match. 99@var{regexp} and searches the list again for another match.
100 100
101 You can specify which major mode should be used for editing a certain 101 You can specify the major mode to use for editing a certain file by
102file by a special sort of text in the first nonblank line of the file. The 102special text in the first nonblank line of the file. The
103mode name should appear in this line both preceded and followed by 103mode name should appear in this line both preceded and followed by
104@samp{-*-}. Other text may appear on the line as well. For example, 104@samp{-*-}. Other text may appear on the line as well. For example,
105 105
@@ -166,6 +166,7 @@ the file's local variables list (if any).
166@vindex change-major-mode-with-file-name 166@vindex change-major-mode-with-file-name
167 The commands @kbd{C-x C-w} and @code{set-visited-file-name} change to 167 The commands @kbd{C-x C-w} and @code{set-visited-file-name} change to
168a new major mode if the new file name implies a mode (@pxref{Saving}). 168a new major mode if the new file name implies a mode (@pxref{Saving}).
169(@kbd{C-x C-s} does this too, if the buffer wasn't visiting a file.)
169However, this does not happen if the buffer contents specify a major 170However, this does not happen if the buffer contents specify a major
170mode, and certain ``special'' major modes do not allow the mode to 171mode, and certain ``special'' major modes do not allow the mode to
171change. You can turn off this mode-changing feature by setting 172change. You can turn off this mode-changing feature by setting
diff --git a/man/msdog.texi b/man/msdog.texi
index dec258ec672..a1d7647a95d 100644
--- a/man/msdog.texi
+++ b/man/msdog.texi
@@ -24,7 +24,8 @@ sections at the end of this chapter which apply specifically for the
24Windows version. 24Windows version.
25 25
26@menu 26@menu
27* Input: MS-DOS Input. Keyboard and mouse usage on MS-DOS. 27* Keyboard: MS-DOS Keyboard. Keyboard conventions on MS-DOS.
28* Mouse: MS-DOS Mouse. Mouse conventions on MS-DOS.
28* Display: MS-DOS Display. Fonts, frames and display size on MS-DOS. 29* Display: MS-DOS Display. Fonts, frames and display size on MS-DOS.
29* Files: MS-DOS File Names. File name conventions on MS-DOS. 30* Files: MS-DOS File Names. File name conventions on MS-DOS.
30* Text and Binary:: Text files on MS-DOS use CRLF to separate lines. 31* Text and Binary:: Text files on MS-DOS use CRLF to separate lines.
@@ -35,8 +36,28 @@ Windows version.
35* Windows System Menu:: Controlling what the ALT key does. 36* Windows System Menu:: Controlling what the ALT key does.
36@end menu 37@end menu
37 38
38@node MS-DOS Input 39@node MS-DOS Keyboard
39@section Keyboard and Mouse on MS-DOS 40@section Keyboard Usage on MS-DOS
41
42@kindex DEL @r{(MS-DOS)}
43@kindex BS @r{(MS-DOS)}
44 The key that is called @key{DEL} in Emacs (because that's how it is
45designated on most workstations) is known as @key{BS} (backspace) on a
46PC. That is why the PC-specific terminal initialization remaps the
47@key{BS} key to act as @key{DEL}; the @key{DELETE} key is remapped to act
48as @kbd{C-d} for the same reasons.
49
50@kindex C-g @r{(MS-DOS)}
51@kindex C-BREAK @r{(MS-DOS)}
52@cindex quitting on MS-DOS
53 Emacs built for MS-DOS recognizes @kbd{C-@key{BREAK}} as a quit
54character, just like @kbd{C-g}. This is because Emacs cannot detect
55that you have typed @kbd{C-g} until it is ready for more input. As a
56consequence, you cannot use @kbd{C-g} to stop a running command
57(@pxref{Quitting}). By contrast, @kbd{C-@key{BREAK}} @emph{is} detected
58as soon as you type it (as @kbd{C-g} is on other systems), so it can be
59used to stop a running command and for emergency escape
60(@pxref{Emergency Escape}).
40 61
41@cindex Meta (under MS-DOS) 62@cindex Meta (under MS-DOS)
42@cindex Hyper (under MS-DOS) 63@cindex Hyper (under MS-DOS)
@@ -68,25 +89,8 @@ following line into your @file{_emacs} file:
68(define-key function-key-map [kp-enter] [?\C-j]) 89(define-key function-key-map [kp-enter] [?\C-j])
69@end smallexample 90@end smallexample
70 91
71@kindex DEL @r{(MS-DOS)} 92@node MS-DOS Mouse
72@kindex BS @r{(MS-DOS)} 93@section Mouse Usage on MS-DOS
73 The key that is called @key{DEL} in Emacs (because that's how it is
74designated on most workstations) is known as @key{BS} (backspace) on a
75PC. That is why the PC-specific terminal initialization remaps the
76@key{BS} key to act as @key{DEL}; the @key{DEL} key is remapped to act
77as @kbd{C-d} for the same reasons.
78
79@kindex C-g @r{(MS-DOS)}
80@kindex C-BREAK @r{(MS-DOS)}
81@cindex quitting on MS-DOS
82 Emacs built for MS-DOS recognizes @kbd{C-@key{BREAK}} as a quit
83character, just like @kbd{C-g}. This is because Emacs cannot detect
84that you have typed @kbd{C-g} until it is ready for more input. As a
85consequence, you cannot use @kbd{C-g} to stop a running command
86(@pxref{Quitting}). By contrast, @kbd{C-@key{BREAK}} @emph{is} detected
87as soon as you type it (as @kbd{C-g} is on other systems), so it can be
88used to stop a running command and for emergency escape
89(@pxref{Emergency Escape}).
90 94
91@cindex mouse support under MS-DOS 95@cindex mouse support under MS-DOS
92 Emacs on MS-DOS supports a mouse (on the default terminal only). 96 Emacs on MS-DOS supports a mouse (on the default terminal only).
@@ -281,7 +285,7 @@ only see their short 8+3 aliases.
281 285
282@cindex @env{HOME} directory under MS-DOS 286@cindex @env{HOME} directory under MS-DOS
283 MS-DOS has no notion of home directory, so Emacs on MS-DOS pretends 287 MS-DOS has no notion of home directory, so Emacs on MS-DOS pretends
284that the directory where it is installed is the value of @env{HOME} 288that the directory where it is installed is the value of the @env{HOME}
285environment variable. That is, if your Emacs binary, 289environment variable. That is, if your Emacs binary,
286@file{emacs.exe}, is in the directory @file{c:/utils/emacs/bin}, then 290@file{emacs.exe}, is in the directory @file{c:/utils/emacs/bin}, then
287Emacs acts as if @env{HOME} were set to @samp{c:/utils/emacs}. In 291Emacs acts as if @env{HOME} were set to @samp{c:/utils/emacs}. In
@@ -603,11 +607,11 @@ etc.
603MS-DOS normally doesn't allow use of several codepages in a single 607MS-DOS normally doesn't allow use of several codepages in a single
604session. MS-DOS was designed to load a single codepage at system 608session. MS-DOS was designed to load a single codepage at system
605startup, and require you to reboot in order to change 609startup, and require you to reboot in order to change
606it@footnote{Normally, one particular codepage is burnt into the display 610it@footnote{Normally, one particular codepage is burnt into the
607memory, while other codepages can be installed by modifying system 611display memory, while other codepages can be installed by modifying
608configuration files, such as @file{CONFIG.SYS}, and rebooting. While 612system configuration files, such as @file{CONFIG.SYS}, and rebooting.
609third-party software is known to exist that allows to change the 613While there is third-party software that allows changing the codepage
610codepage without rebooting, we describe here how a stock MS-DOS system 614without rebooting, we describe here how a stock MS-DOS system
611behaves.}. Much the same limitation applies when you run DOS 615behaves.}. Much the same limitation applies when you run DOS
612executables on other systems such as MS-Windows. 616executables on other systems such as MS-Windows.
613 617
@@ -749,7 +753,7 @@ asynchronous invocation on other platforms
749the @kbd{M-x eshell} command. This invokes the Eshell package that 753the @kbd{M-x eshell} command. This invokes the Eshell package that
750implements a Posix-like shell entirely in Emacs Lisp. 754implements a Posix-like shell entirely in Emacs Lisp.
751 755
752 By contrast, Emacs compiled as native Windows application 756 By contrast, Emacs compiled as a native Windows application
753@strong{does} support asynchronous subprocesses. @xref{Windows 757@strong{does} support asynchronous subprocesses. @xref{Windows
754Processes}. 758Processes}.
755 759
@@ -782,7 +786,7 @@ the @code{dired-listing-switches} variable. The options that work are
782@node Windows Processes 786@node Windows Processes
783@section Subprocesses on Windows 9X/ME and Windows NT/2K 787@section Subprocesses on Windows 9X/ME and Windows NT/2K
784 788
785Emacs compiled as a native Windows application (as opposed to the DOS 789 Emacs compiled as a native Windows application (as opposed to the DOS
786version) includes full support for asynchronous subprocesses. 790version) includes full support for asynchronous subprocesses.
787In the Windows version, synchronous and asynchronous subprocesses work 791In the Windows version, synchronous and asynchronous subprocesses work
788fine on both 792fine on both
diff --git a/man/programs.texi b/man/programs.texi
index 67b19c2e5e4..f884e019d22 100644
--- a/man/programs.texi
+++ b/man/programs.texi
@@ -73,6 +73,7 @@ and you can select it by typing @kbd{M-x @var{l}-mode @key{RET}}.
73@cindex Metafont mode 73@cindex Metafont mode
74@cindex Modula2 mode 74@cindex Modula2 mode
75@cindex Prolog mode 75@cindex Prolog mode
76@cindex Python mode
76@cindex Simula mode 77@cindex Simula mode
77@cindex VHDL mode 78@cindex VHDL mode
78@cindex M4 mode 79@cindex M4 mode
@@ -84,7 +85,7 @@ variant of Lisp) and the Scheme-based DSSSL expression language, Ada,
84ASM, AWK, C, C++, Delphi (Object Pascal), Fortran (free format and fixed 85ASM, AWK, C, C++, Delphi (Object Pascal), Fortran (free format and fixed
85format), Icon, IDL (CORBA), IDLWAVE, Java, Metafont (@TeX{}'s 86format), Icon, IDL (CORBA), IDLWAVE, Java, Metafont (@TeX{}'s
86companion for font creation), Modula2, Objective-C, Octave, Pascal, 87companion for font creation), Modula2, Objective-C, Octave, Pascal,
87Perl, Pike, PostScript, Prolog, Simula, Tcl, and VHDL. There is 88Perl, Pike, PostScript, Prolog, Python, Simula, Tcl, and VHDL. There is
88also a major mode for makefiles, called Makefile mode. An alternative 89also a major mode for makefiles, called Makefile mode. An alternative
89mode for Perl is called CPerl mode. Modes are available for the 90mode for Perl is called CPerl mode. Modes are available for the
90scripting languages of the common GNU and Unix shells, VMS DCL, and 91scripting languages of the common GNU and Unix shells, VMS DCL, and
@@ -241,6 +242,9 @@ which puts point at the beginning and mark at the end of the current
241defun. This is the easiest way to get ready to kill the defun in 242defun. This is the easiest way to get ready to kill the defun in
242order to move it to a different place in the file. If you use the 243order to move it to a different place in the file. If you use the
243command while point is between defuns, it uses the following defun. 244command while point is between defuns, it uses the following defun.
245Successive uses of @kbd{C-M-h}, or using it in Transient Mark mode
246when the mark is active, includes an additional defun in the region
247each time.
244 248
245 In C mode, @kbd{C-M-h} runs the function @code{c-mark-function}, 249 In C mode, @kbd{C-M-h} runs the function @code{c-mark-function},
246which is almost the same as @code{mark-defun}; the difference is that 250which is almost the same as @code{mark-defun}; the difference is that
@@ -375,7 +379,7 @@ whitespace at the beginning of the line, @key{TAB} puts it at the end of
375that whitespace; otherwise, @key{TAB} keeps point fixed with respect to 379that whitespace; otherwise, @key{TAB} keeps point fixed with respect to
376the characters around it. 380the characters around it.
377 381
378 Use @kbd{C-q @key{TAB}} to insert a tab at point. 382 Use @kbd{C-q @key{TAB}} to insert a tab character at point.
379 383
380@kindex C-j 384@kindex C-j
381@findex newline-and-indent 385@findex newline-and-indent
@@ -384,12 +388,13 @@ the characters around it.
384followed by a @key{TAB}. @kbd{C-j} at the end of a line creates a 388followed by a @key{TAB}. @kbd{C-j} at the end of a line creates a
385blank line and then gives it the appropriate indentation. 389blank line and then gives it the appropriate indentation.
386 390
387 @key{TAB} indents lines that start within a parenthetical grouping 391 @key{TAB} indents a line that starts within a parenthetical grouping
388each under the preceding line (or the text after the parenthesis). 392under the preceding line within the grouping, or the text after the
389Therefore, if you manually give one of these lines a nonstandard 393parenthesis. Therefore, if you manually give one of these lines a
390indentation, the lines below will tend to follow it. This behavior is 394nonstandard indentation, the lines below will tend to follow it. This
391convenient in cases where you have overridden the standard result of 395behavior is convenient in cases where you have overridden the standard
392@key{TAB} because you find it unaesthetic for a particular line. 396result of @key{TAB} because you find it unaesthetic for a particular
397line.
393 398
394 Remember that an open-parenthesis, open-brace or other opening delimiter 399 Remember that an open-parenthesis, open-brace or other opening delimiter
395at the left margin is assumed by Emacs (including the indentation routines) 400at the left margin is assumed by Emacs (including the indentation routines)
@@ -586,10 +591,11 @@ example,
586 591
587@noindent 592@noindent
588specifies an explicit choice for Java mode, and the default @samp{gnu} 593specifies an explicit choice for Java mode, and the default @samp{gnu}
589style for the other C-like modes. This variable takes effect when you 594style for the other C-like modes. (These settings are actually the
590select one of the C-like major modes; thus, if you specify a new 595defaults.) This variable takes effect when you select one of the
591default style for Java mode, you can make it take effect in an 596C-like major modes; thus, if you specify a new default style for Java
592existing Java mode buffer by typing @kbd{M-x java-mode} there. 597mode, you can make it take effect in an existing Java mode buffer by
598typing @kbd{M-x java-mode} there.
593 599
594 The @code{gnu} style specifies the formatting recommended by the GNU 600 The @code{gnu} style specifies the formatting recommended by the GNU
595Project for C; it is the default, so as to encourage use of our 601Project for C; it is the default, so as to encourage use of our
@@ -712,8 +718,10 @@ at or after point and the mark.
712use @kbd{C-M-@@} (@code{mark-sexp}), which sets mark at the same place 718use @kbd{C-M-@@} (@code{mark-sexp}), which sets mark at the same place
713that @kbd{C-M-f} would move to. @kbd{C-M-@@} takes arguments like 719that @kbd{C-M-f} would move to. @kbd{C-M-@@} takes arguments like
714@kbd{C-M-f}. In particular, a negative argument is useful for putting 720@kbd{C-M-f}. In particular, a negative argument is useful for putting
715the mark at the beginning of the previous balanced expression. 721the mark at the beginning of the previous balanced expression. The
716The alias @kbd{C-M-@key{SPC}} is equivalent to @kbd{C-M-@@}. 722alias @kbd{C-M-@key{SPC}} is equivalent to @kbd{C-M-@@}. If you use
723this command repeatedly, or in Transient Mark mode whenever the mark
724is active, it extends the region by one sexp each time.
717 725
718 In languages that use infix operators, such as C, it is not possible 726 In languages that use infix operators, such as C, it is not possible
719to recognize all balanced expressions as such because there can be 727to recognize all balanced expressions as such because there can be
@@ -1066,9 +1074,10 @@ use in your program.
1066@kindex C-h S 1074@kindex C-h S
1067 For C, Lisp, and other languages that have documentation in Info, 1075 For C, Lisp, and other languages that have documentation in Info,
1068you can use @kbd{C-h S} (@code{info-lookup-symbol}) to view the Info 1076you can use @kbd{C-h S} (@code{info-lookup-symbol}) to view the Info
1069documentation for a symbol. You specify the symbol with the 1077documentation for a symbol used in the program. You specify the
1070minibuffer; the default is the symbol appearing in the buffer at 1078symbol with the minibuffer; the default is the symbol appearing in the
1071point. 1079buffer at point. For example, in C mode this looks for the symbol in
1080the C Library Manual.
1072 1081
1073 The major mode determines where to look for documentation for the 1082 The major mode determines where to look for documentation for the
1074symbol---which Info files to look in, and which indices to search. 1083symbol---which Info files to look in, and which indices to search.
@@ -1316,7 +1325,9 @@ symbol names.
1316 The character @kbd{M-@key{TAB}} runs a command to complete the 1325 The character @kbd{M-@key{TAB}} runs a command to complete the
1317partial symbol before point against the set of meaningful symbol 1326partial symbol before point against the set of meaningful symbol
1318names. This command inserts at point any additional characters that 1327names. This command inserts at point any additional characters that
1319it can determine from the partial name. 1328it can determine from the partial name. (If your window manager
1329defines @kbd{M-@key{TAB}} to switch windows, you can type this Emacs
1330command as @kbd{@key{ESC} @key{TAB}}.)
1320 1331
1321 If the partial name in the buffer has multiple possible completions 1332 If the partial name in the buffer has multiple possible completions
1322that differ in the very next character, so that it is impossible to 1333that differ in the very next character, so that it is impossible to
@@ -1513,10 +1524,10 @@ With prefix argument @var{n}, move @var{n} times.
1513 1524
1514 In C mode and related modes, certain printing characters are 1525 In C mode and related modes, certain printing characters are
1515``electric''---in addition to inserting themselves, they also reindent 1526``electric''---in addition to inserting themselves, they also reindent
1516the current line and may insert newlines. This feature is controlled by 1527the current line, and optionally also insert newlines. The
1517the variable @code{c-auto-newline}. The ``electric'' characters are 1528``electric'' characters are @kbd{@{}, @kbd{@}}, @kbd{:}, @kbd{#},
1518@kbd{@{}, @kbd{@}}, @kbd{:}, @kbd{#}, @kbd{;}, @kbd{,}, @kbd{<}, 1529@kbd{;}, @kbd{,}, @kbd{<}, @kbd{>}, @kbd{/}, @kbd{*}, @kbd{(}, and
1519@kbd{>}, @kbd{/}, @kbd{*}, @kbd{(}, and @kbd{)}. 1530@kbd{)}.
1520 1531
1521 Electric characters insert newlines only when the @dfn{auto-newline} 1532 Electric characters insert newlines only when the @dfn{auto-newline}
1522feature is enabled (indicated by @samp{/a} in the mode line after the 1533feature is enabled (indicated by @samp{/a} in the mode line after the
diff --git a/man/sending.texi b/man/sending.texi
index a1564d4fc01..bb1ac2864ac 100644
--- a/man/sending.texi
+++ b/man/sending.texi
@@ -496,13 +496,15 @@ edit.
496 496
497@findex mail-complete 497@findex mail-complete
498@kindex M-TAB @r{(Mail mode)} 498@kindex M-TAB @r{(Mail mode)}
499 While editing a header field that contains mailing addresses, such as 499 While editing a header field that contains mailing addresses, such
500@samp{To:}, @samp{CC:} and @samp{BCC:}, you can complete a mailing 500as @samp{To:}, @samp{CC:} and @samp{BCC:}, you can complete a mailing
501address by typing @kbd{M-@key{TAB}} (@code{mail-complete}). It inserts 501address by typing @kbd{M-@key{TAB}} (@code{mail-complete}). It
502the full name corresponding to the address, if it can determine the full 502inserts the full name corresponding to the address, if it can
503name. The variable @code{mail-complete-style} controls whether to insert 503determine the full name. The variable @code{mail-complete-style}
504the full name, and what style to use, as in @code{mail-from-style} 504controls whether to insert the full name, and what style to use, as in
505(@pxref{Mail Headers}). 505@code{mail-from-style} (@pxref{Mail Headers}). (If your window
506manager defines @kbd{M-@key{TAB}} to switch windows, you can type this
507Emacs command as @kbd{@key{ESC} @key{TAB}}.)
506 508
507 For completion purposes, the valid mailing addresses are taken to be 509 For completion purposes, the valid mailing addresses are taken to be
508the local users' names plus your personal mail aliases. You can 510the local users' names plus your personal mail aliases. You can
diff --git a/man/text.texi b/man/text.texi
index 8eaa6178a8d..7b262e11abe 100644
--- a/man/text.texi
+++ b/man/text.texi
@@ -852,10 +852,12 @@ paragraph-indent-minor-mode} to enter an equivalent minor mode, for
852instance during mail composition. 852instance during mail composition.
853 853
854@kindex M-TAB @r{(Text mode)} 854@kindex M-TAB @r{(Text mode)}
855 Text mode, and all the modes based on it, define @kbd{M-@key{TAB}} as 855 Text mode, and all the modes based on it, define @kbd{M-@key{TAB}}
856the command @code{ispell-complete-word}, which performs completion of 856as the command @code{ispell-complete-word}, which performs completion
857the partial word in the buffer before point, using the spelling 857of the partial word in the buffer before point, using the spelling
858dictionary as the space of possible words. @xref{Spelling}. 858dictionary as the space of possible words. @xref{Spelling}. If your
859window manager defines @kbd{M-@key{TAB}} to switch windows, you can
860type this Emacs command as @kbd{@key{ESC} @key{TAB}}.
859 861
860@vindex text-mode-hook 862@vindex text-mode-hook
861 Entering Text mode runs the hook @code{text-mode-hook}. Other major 863 Entering Text mode runs the hook @code{text-mode-hook}. Other major
diff --git a/man/trouble.texi b/man/trouble.texi
index 142560c1fe8..ac9697eeeb5 100644
--- a/man/trouble.texi
+++ b/man/trouble.texi
@@ -57,7 +57,7 @@ successive @kbd{C-g} characters to get out of a search
57like @kbd{C-g}. The reason is that it is not feasible, on MS-DOS, to 57like @kbd{C-g}. The reason is that it is not feasible, on MS-DOS, to
58recognize @kbd{C-g} while a command is running, between interactions 58recognize @kbd{C-g} while a command is running, between interactions
59with the user. By contrast, it @emph{is} feasible to recognize 59with the user. By contrast, it @emph{is} feasible to recognize
60@kbd{C-@key{BREAK}} at all times. @xref{MS-DOS Input}. 60@kbd{C-@key{BREAK}} at all times. @xref{MS-DOS Keyboard}.
61 61
62@findex keyboard-quit 62@findex keyboard-quit
63 @kbd{C-g} works by setting the variable @code{quit-flag} to @code{t} 63 @kbd{C-g} works by setting the variable @code{quit-flag} to @code{t}
@@ -66,9 +66,9 @@ frequently and quits if it is non-@code{nil}. @kbd{C-g} is only
66actually executed as a command if you type it while Emacs is waiting for 66actually executed as a command if you type it while Emacs is waiting for
67input. In that case, the command it runs is @code{keyboard-quit}. 67input. In that case, the command it runs is @code{keyboard-quit}.
68 68
69 If you quit with @kbd{C-g} a second time before the first @kbd{C-g} is 69 On a text terminal, if you quit with @kbd{C-g} a second time before
70recognized, you activate the ``emergency escape'' feature and return to 70the first @kbd{C-g} is recognized, you activate the ``emergency
71the shell. @xref{Emergency Escape}. 71escape'' feature and return to the shell. @xref{Emergency Escape}.
72 72
73@cindex NFS and quitting 73@cindex NFS and quitting
74 There may be times when you cannot quit. When Emacs is waiting for 74 There may be times when you cannot quit. When Emacs is waiting for
@@ -237,11 +237,11 @@ back to top level. @xref{Recursive Edit}.
237@node Screen Garbled 237@node Screen Garbled
238@subsection Garbage on the Screen 238@subsection Garbage on the Screen
239 239
240 If the data on the screen looks wrong, the first thing to do is see 240 If the text on a text terminal looks wrong, the first thing to do is
241whether the text is really wrong. Type @kbd{C-l} to redisplay the 241see whether it is wrong in the buffer. Type @kbd{C-l} to redisplay
242entire screen. If the screen appears correct after this, the problem 242the entire screen. If the screen appears correct after this, the
243was entirely in the previous screen update. (Otherwise, see the following 243problem was entirely in the previous screen update. (Otherwise, see
244section.) 244the following section.)
245 245
246 Display updating problems often result from an incorrect termcap entry 246 Display updating problems often result from an incorrect termcap entry
247for the terminal you are using. The file @file{etc/TERMS} in the Emacs 247for the terminal you are using. The file @file{etc/TERMS} in the Emacs
diff --git a/man/windows.texi b/man/windows.texi
index 0d90a3b2e0c..092a678901b 100644
--- a/man/windows.texi
+++ b/man/windows.texi
@@ -109,15 +109,15 @@ scroll bar, the mode line of the split window is side by side with
109your click. 109your click.
110 110
111@vindex truncate-partial-width-windows 111@vindex truncate-partial-width-windows
112 When a window is less than the full width, text lines too long to fit are 112 When a window is less than the full width, text lines too long to
113frequent. Continuing all those lines might be confusing. The variable 113fit are frequent. Continuing all those lines might be confusing, so
114@code{truncate-partial-width-windows} can be set non-@code{nil} to force 114if the variable @code{truncate-partial-width-windows} is
115truncation in all windows less than the full width of the screen, 115non-@code{nil}, that forces truncation in all windows less than the
116independent of the buffer being displayed and its value for 116full width of the screen, independent of the buffer being displayed
117@code{truncate-lines}. @xref{Continuation Lines}.@refill 117and its value for @code{truncate-lines}. @xref{Display Custom}.
118 118
119 Horizontal scrolling is often used in side-by-side windows. 119 Horizontal scrolling is often used in side-by-side windows.
120@xref{Display}. 120@xref{Horizontal Scrolling}.
121 121
122@vindex split-window-keep-point 122@vindex split-window-keep-point
123 If @code{split-window-keep-point} is non-@code{nil}, the default, 123 If @code{split-window-keep-point} is non-@code{nil}, the default,