aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorMiles Bader2005-02-06 12:06:02 +0000
committerMiles Bader2005-02-06 12:06:02 +0000
commita359f0e0ff878285654e2f0bcc7bd3b4340c778c (patch)
treecc0aff13c751bb8ab7ccaae29082bab32e15fd13 /man
parentf3d3402885646e6fa79f1ad59fb8a1f9017851d7 (diff)
parent56c30d721096a64f151f9ea6e3c76562380da895 (diff)
downloademacs-a359f0e0ff878285654e2f0bcc7bd3b4340c778c.tar.gz
emacs-a359f0e0ff878285654e2f0bcc7bd3b4340c778c.zip
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-11
Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-69 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-71 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-72 src/dispextern.h (xassert): Enable unconditionally. * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-73 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-81 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-82 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-12 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-13 Update from CVS
Diffstat (limited to 'man')
-rw-r--r--man/ChangeLog52
-rw-r--r--man/basic.texi2
-rw-r--r--man/buffers.texi66
-rw-r--r--man/cmdargs.texi7
-rw-r--r--man/dired.texi5
-rw-r--r--man/files.texi49
-rw-r--r--man/fixit.texi2
-rw-r--r--man/frames.texi168
-rw-r--r--man/text.texi36
-rw-r--r--man/windows.texi15
10 files changed, 255 insertions, 147 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index 2559bdfaa61..71185265be5 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,4 +1,54 @@
12005-01-31 Luc Teirlinck <teirllm@auburn.edu> 12005-02-05 Eli Zaretskii <eliz@gnu.org>
2
3 * frames.texi (Frame Parameters): Add an xref to the description
4 of list-colors-display. Add a pointer to the X docs about colors.
5
6 * cmdargs.texi (Colors): Mention 16-, 88- and 256-color modes.
7 Impove docs of list-colors-display.
8
92005-02-03 Lute Kamstra <lute@gnu.org>
10
11 * frames.texi (Frames, Drag and Drop): Fix typos.
12
132005-02-03 Richard M. Stallman <rms@gnu.org>
14
15 * windows.texi (Basic Window): Mention color-change in mode line.
16 (Change Window): Explain dragging vertical boundaries.
17
18 * text.texi (Sentences): Clarify.
19 (Paragraphs): Explain M-a and blank lines.
20 (Outline Mode): Clarify text and menu.
21 (Hard and Soft Newlines): Mention use-hard-newlines.
22
23 * frames.texi (Frames): Delete unnecessary mention of Windows.
24 (Mouse Commands): Likewise. Mention xterm mouse support.
25 (Clipboard): Clarify.
26 (Mouse References): Mention use of Mouse-1 for following links.
27 (Menu Mouse Clicks): Clarify.
28 (Mode Line Mouse): Clarify.
29 (Drag and Drop): Rewrite.
30
31 * fixit.texi (Spelling): Fix typo.
32
33 * files.texi (File Names): Clarify.
34 (Visiting): Update conditions for use of file dialog. Clarify.
35 (Saving): Doc d as answer in save-some-buffers.
36 (Remote Files): Clean up the text.
37
38 * dired.texi (Misc Dired Commands): Delete dired-marked-files.
39
40 * buffers.texi (Select Buffer): Doc next-buffer and prev-buffer.
41 (List Buffers): Clarify.
42 (Several Buffers): Doc T command.
43 (Buffer Convenience): Clarify menu.
44
45 * basic.texi (Undo): Clarify last change.
46
472005-02-02 Matt Hodges <MPHodges@member.fsf.org>
48
49 * fixit.texi (Spelling): Fix typo.
50
512005-02-01 Luc Teirlinck <teirllm@auburn.edu>
2 52
3 * basic.texi (Undo): Update description of `undo-outer-limit'. 53 * basic.texi (Undo): Update description of `undo-outer-limit'.
4 54
diff --git a/man/basic.texi b/man/basic.texi
index 29bf6d4e207..1598de2632a 100644
--- a/man/basic.texi
+++ b/man/basic.texi
@@ -400,7 +400,7 @@ value of @code{undo-strong-limit} is 30000.
400 Regardless of the values of those variables, the most recent change 400 Regardless of the values of those variables, the most recent change
401is never discarded unless it gets bigger than @code{undo-outer-limit} 401is never discarded unless it gets bigger than @code{undo-outer-limit}
402(normally 3,000,000). At that point, Emacs discards the undo data and 402(normally 3,000,000). At that point, Emacs discards the undo data and
403warns you about it. This is the only situation in which you can not 403warns you about it. This is the only situation in which you cannot
404undo the last command. If this happens, you can increase the value of 404undo the last command. If this happens, you can increase the value of
405@code{undo-outer-limit} to make it even less likely to happen in the 405@code{undo-outer-limit} to make it even less likely to happen in the
406future. But if you didn't expect the command to create such large 406future. But if you didn't expect the command to create such large
diff --git a/man/buffers.texi b/man/buffers.texi
index 558b636de60..97234966b4b 100644
--- a/man/buffers.texi
+++ b/man/buffers.texi
@@ -67,6 +67,10 @@ megabytes.
67@table @kbd 67@table @kbd
68@item C-x b @var{buffer} @key{RET} 68@item C-x b @var{buffer} @key{RET}
69Select or create a buffer named @var{buffer} (@code{switch-to-buffer}). 69Select or create a buffer named @var{buffer} (@code{switch-to-buffer}).
70@item C-x @key{LEFT}
71Select the previous buffer in the list of existing buffers.
72@item C-x @key{RIGHT}
73Select the next buffer in the list of existing buffers.
70@item C-x 4 b @var{buffer} @key{RET} 74@item C-x 4 b @var{buffer} @key{RET}
71Similar, but select @var{buffer} in another window 75Similar, but select @var{buffer} in another window
72(@code{switch-to-buffer-other-window}). 76(@code{switch-to-buffer-other-window}).
@@ -84,6 +88,16 @@ name you want (@pxref{Completion}). An empty argument to @kbd{C-x b}
84specifies the buffer that was current most recently among those not 88specifies the buffer that was current most recently among those not
85now displayed in any window. 89now displayed in any window.
86 90
91@kindex C-x @key{LEFT}
92@kindex C-x @key{RIGHT}
93@findex next-buffer
94@findex prev-buffer
95 For conveniently switching between a few buffers, use the commands
96@kbd{C-x @key{LEFT}} and @kbd{C-x @key{RIGHT}}. @kbd{C-x @key{RIGHT}}
97(@code{prev-buffer}) selects the previous buffer (following the order
98of most recent selection), while @kbd{C-x @key{LEFT}}
99(@code{next-buffer}) moves through buffers in the reverse direction.
100
87@kindex C-x 4 b 101@kindex C-x 4 b
88@findex switch-to-buffer-other-window 102@findex switch-to-buffer-other-window
89@vindex even-window-heights 103@vindex even-window-heights
@@ -141,9 +155,9 @@ List the existing buffers (@code{list-buffers}).
141@cindex listing current buffers 155@cindex listing current buffers
142@kindex C-x C-b 156@kindex C-x C-b
143@findex list-buffers 157@findex list-buffers
144 To display a list of all the buffers that exist, type @kbd{C-x C-b}. 158 To display a list of existing buffers, type @kbd{C-x C-b}. Each
145Each line in the list shows one buffer's name, major mode and visited 159line in the list shows one buffer's name, major mode and visited file.
146file. The buffers are listed in the order that they were current; the 160The buffers are listed in the order that they were current; the
147buffers that were current most recently come first. 161buffers that were current most recently come first.
148 162
149 @samp{*} in the first field of a line indicates the buffer is ``modified.'' 163 @samp{*} in the first field of a line indicates the buffer is ``modified.''
@@ -171,7 +185,7 @@ directory @file{~/cvs/emacs/src/}. You can list only buffers that are
171visiting files by giving the command a prefix; for instance, by typing 185visiting files by giving the command a prefix; for instance, by typing
172@kbd{C-u C-x C-b}. 186@kbd{C-u C-x C-b}.
173 187
174@code{list-buffers} omits buffers whose name begins with a blank, 188 @code{list-buffers} omits buffers whose names begin with a space,
175unless they visit files: such buffers are used internally by Emacs. 189unless they visit files: such buffers are used internally by Emacs.
176 190
177@need 2000 191@need 2000
@@ -332,8 +346,9 @@ Similar, but do it in another window.
332buffers@footnote{Buffers which don't visit files and whose names begin 346buffers@footnote{Buffers which don't visit files and whose names begin
333with a space are omitted: these are used internally by Emacs.} into the 347with a space are omitted: these are used internally by Emacs.} into the
334buffer @samp{*Buffer List*}, and selects that buffer in Buffer Menu 348buffer @samp{*Buffer List*}, and selects that buffer in Buffer Menu
335mode. The list in the @samp{*Buffer List*} buffer looks exactly as 349mode.
336described in @ref{List Buffers}. The buffer is read-only, and can be 350
351 The buffer is read-only, and can be
337changed only through the special commands described in this section. 352changed only through the special commands described in this section.
338The usual Emacs cursor motion commands can be used in the @samp{*Buffer 353The usual Emacs cursor motion commands can be used in the @samp{*Buffer
339List*} buffer. The following commands apply to the buffer described on 354List*} buffer. The following commands apply to the buffer described on
@@ -411,21 +426,32 @@ any buffers previously marked with the @kbd{m} command. If you have not
411marked any buffers, this command is equivalent to @kbd{1}. 426marked any buffers, this command is equivalent to @kbd{1}.
412@end table 427@end table
413 428
414 All that @code{buffer-menu} does directly is create and switch to a 429 There is also a command that affects the entire buffer list:
415suitable buffer, and turn on Buffer Menu mode. Everything else 430
431@table @kbd
432@item T
433Delete, or reinsert, lines for non-file buffers. This command toggles
434the inclusion of such buffers in the buffer list.
435@end table
436
437 What @code{buffer-menu} actually does is create and switch to a
438suitable buffer, and turn on Buffer Menu mode in it. Everything else
416described above is implemented by the special commands provided in 439described above is implemented by the special commands provided in
417Buffer Menu mode. One consequence of this is that you can switch from 440Buffer Menu mode. One consequence of this is that you can switch from
418the @samp{*Buffer List*} buffer to another Emacs buffer, and edit there. 441the @samp{*Buffer List*} buffer to another Emacs buffer, and edit
419You can reselect the @samp{*Buffer List*} buffer later, to perform the 442there. You can reselect the @samp{*Buffer List*} buffer later, to
420operations already requested, or you can kill it, or pay no further 443perform the operations already requested, or you can kill it, or pay
421attention to it. 444no further attention to it.
422 445
423 The only difference between @code{buffer-menu} and @code{list-buffers} 446 The list in the @samp{*Buffer List*} buffer looks exactly like the
424is that @code{buffer-menu} switches to the @samp{*Buffer List*} buffer 447buffer list described in @ref{List Buffers}, because they really are
425in the selected window; @code{list-buffers} displays it in another 448the same. The only difference between @code{buffer-menu} and
426window. If you run @code{list-buffers} (that is, type @kbd{C-x C-b}) 449@code{list-buffers} is that @code{buffer-menu} switches to the
427and select the buffer list manually, you can use all of the commands 450@samp{*Buffer List*} buffer in the selected window;
428described here. 451@code{list-buffers} displays the same buffer in another window. If
452you run @code{list-buffers} (that is, type @kbd{C-x C-b}) and select
453the buffer list manually, you can use all of the commands described
454here.
429 455
430 Normally, the buffer @samp{*Buffer List*} is not updated automatically when 456 Normally, the buffer @samp{*Buffer List*} is not updated automatically when
431buffers are created and killed; its contents are just text. If you have 457buffers are created and killed; its contents are just text. If you have
@@ -506,7 +532,7 @@ minibuffer.
506convenient to switch between buffers. 532convenient to switch between buffers.
507 533
508@menu 534@menu
509* Uniquify:: Buffer names can contain directory parts. 535* Uniquify:: Making buffer names unique with directory parts.
510* Iswitchb:: Switching between buffers with substrings. 536* Iswitchb:: Switching between buffers with substrings.
511* Buffer Menus:: Configurable buffer menu. 537* Buffer Menus:: Configurable buffer menu.
512@end menu 538@end menu
diff --git a/man/cmdargs.texi b/man/cmdargs.texi
index 960f2d0bd65..d131baa094a 100644
--- a/man/cmdargs.texi
+++ b/man/cmdargs.texi
@@ -874,6 +874,9 @@ displays the entire font @samp{6x13}.
874parts of the Emacs display. To find out what colors are available on 874parts of the Emacs display. To find out what colors are available on
875your system, type @kbd{M-x list-colors-display}, or press 875your system, type @kbd{M-x list-colors-display}, or press
876@kbd{C-Mouse-2} and select @samp{Display Colors} from the pop-up menu. 876@kbd{C-Mouse-2} and select @samp{Display Colors} from the pop-up menu.
877(A particular window system might support many more colors, but the
878list displayed by @code{list-colors-display} shows their portable
879subset that can be safely used on any display supported by Emacs.)
877If you do not specify colors, on windowed displays the default for the 880If you do not specify colors, on windowed displays the default for the
878background is white and the default for all other colors is black. On a 881background is white and the default for all other colors is black. On a
879monochrome display, the foreground is black, the background is white, 882monochrome display, the foreground is black, the background is white,
@@ -947,7 +950,9 @@ specified by the ANSI escape sequences for the 8 standard colors.
947Use color mode for @var{num} colors. If @var{num} is -1, turn off 950Use color mode for @var{num} colors. If @var{num} is -1, turn off
948color support (equivalent to @samp{never}); if it is 0, use the 951color support (equivalent to @samp{never}); if it is 0, use the
949default color support for this terminal (equivalent to @samp{auto}); 952default color support for this terminal (equivalent to @samp{auto});
950otherwise use an appropriate standard mode for @var{num} colors. If 953otherwise use an appropriate standard mode for @var{num} colors.
954Depending on your terminal's capabilities, Emacs might be able to turn
955on a color mode for 8, 16, 88, or 256 as the value of @var{num}. If
951there is no mode that supports @var{num} colors, Emacs acts as if 956there is no mode that supports @var{num} colors, Emacs acts as if
952@var{num} were 0, i.e.@: it uses the terminal's default color support 957@var{num} were 0, i.e.@: it uses the terminal's default color support
953mode. 958mode.
diff --git a/man/dired.texi b/man/dired.texi
index 464aa34c6c2..0390848faf6 100644
--- a/man/dired.texi
+++ b/man/dired.texi
@@ -1116,13 +1116,10 @@ marked file. As a special case, if no prefix argument is given and
1116point is on a directory headerline, @kbd{w} gives you the name of that 1116point is on a directory headerline, @kbd{w} gives you the name of that
1117directory without looking for marked files. 1117directory without looking for marked files.
1118 1118
1119@vindex dired-marked-files
1120The main purpose of the @kbd{w} command is so that you can yank the 1119The main purpose of the @kbd{w} command is so that you can yank the
1121file names into arguments for other Emacs commands. It also displays 1120file names into arguments for other Emacs commands. It also displays
1122what was pushed onto the kill ring, so you can use it to display the 1121what was pushed onto the kill ring, so you can use it to display the
1123list of currently marked files in the echo area. It also stores the 1122list of currently marked files in the echo area.
1124list of names in the variable @code{dired-marked-files}, for use in
1125Lisp expressions.
1126@end table 1123@end table
1127 1124
1128@ignore 1125@ignore
diff --git a/man/files.texi b/man/files.texi
index 2ab9d5aaaa6..df7809309e8 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -120,7 +120,7 @@ is not defined).
120only when done before Emacs is started. 120only when done before Emacs is started.
121 121
122@cindex home directory shorthand 122@cindex home directory shorthand
123 You can use the @file{~/} in a file name to mean your home directory, 123 You can use @file{~/} in a file name to mean your home directory,
124or @file{~@var{user-id}/} to mean the home directory of a user whose 124or @file{~@var{user-id}/} to mean the home directory of a user whose
125login name is @code{user-id}. (On DOS and Windows systems, where a user 125login name is @code{user-id}. (On DOS and Windows systems, where a user
126doesn't have a home directory, Emacs substitutes @file{~/} with the 126doesn't have a home directory, Emacs substitutes @file{~/} with the
@@ -208,11 +208,13 @@ While in the minibuffer, you can abort @kbd{C-x C-f} by typing
208about this, see @ref{Completion Options}. 208about this, see @ref{Completion Options}.
209 209
210@cindex file selection dialog 210@cindex file selection dialog
211 When Emacs is built with a suitable GUI toolkit, it pops up the 211 When Emacs is built with a suitable GUI toolkit, commands invoked
212standard File Selection dialog of that toolkit instead of prompting for 212with the mouse or the menu bar use the toolkit's standard File
213the file name in the minibuffer. On Unix and GNU/Linux platforms, Emacs 213Selection dialog instead of prompting for the file name in the
214does that when built with LessTif and Motif toolkits; on MS-Windows, the 214minibuffer. On Unix and GNU/Linux platforms, Emacs does that when
215GUI version does that by default. 215built with GTK, LessTif, and Motif toolkits; on MS-Windows, the GUI
216version does that by default. @xref{Dialog Boxes}, for info
217on customization of this.
216 218
217 Your confirmation that @kbd{C-x C-f} has completed successfully is the 219 Your confirmation that @kbd{C-x C-f} has completed successfully is the
218appearance of new text on the screen and a new buffer name in the mode 220appearance of new text on the screen and a new buffer name in the mode
@@ -253,10 +255,10 @@ carriage-return linefeed or just carriage-return if appropriate.
253@vindex find-file-run-dired 255@vindex find-file-run-dired
254 If the file you specify is actually a directory, @kbd{C-x C-f} invokes 256 If the file you specify is actually a directory, @kbd{C-x C-f} invokes
255Dired, the Emacs directory browser, so that you can ``edit'' the contents 257Dired, the Emacs directory browser, so that you can ``edit'' the contents
256of the directory (@pxref{Dired}). Dired is a convenient way to delete, 258of the directory (@pxref{Dired}). Dired is a convenient way to view, delete,
257look at, or operate on the files in the directory. However, if the 259or operate on the files in the directory. However, if the variable
258variable @code{find-file-run-dired} is @code{nil}, then it is an error 260@code{find-file-run-dired} is @code{nil}, then it is an error to try
259to try to visit a directory. 261to visit a directory.
260 262
261 Files which are actually collections of other files, or @dfn{file 263 Files which are actually collections of other files, or @dfn{file
262archives}, are visited in special modes which invoke a Dired-like 264archives}, are visited in special modes which invoke a Dired-like
@@ -407,6 +409,9 @@ about other buffers.
407View the buffer that you are currently being asked about. When you exit 409View the buffer that you are currently being asked about. When you exit
408View mode, you get back to @code{save-some-buffers}, which asks the 410View mode, you get back to @code{save-some-buffers}, which asks the
409question again. 411question again.
412@item d
413Diff the buffer against its corresponding file, so you can see
414what changes you would be saving.
410@item C-h 415@item C-h
411Display a help message about these options. 416Display a help message about these options.
412@end table 417@end table
@@ -3085,26 +3090,24 @@ syntax:
3085@end example 3090@end example
3086 3091
3087@noindent 3092@noindent
3088When you do this, Emacs may use the FTP program to access files on the 3093To carry out this request, Emacs uses either the FTP program or a
3089remote host, or Emacs may use a remote-login program (such as 3094remote-login program such as @command{ssh}, @command{rlogin}, or
3090@command{ssh}, @command{rlogin}, or @command{telnet}) to do this. 3095@command{telnet}. You can always specify in the file name which
3091 3096method to use---for example,
3092You can always specify in the file name which method should be used to
3093access the remote files, for example
3094@file{/ftp:@var{user}@@@var{host}:@var{filename}} uses FTP, whereas 3097@file{/ftp:@var{user}@@@var{host}:@var{filename}} uses FTP, whereas
3095@file{/ssh:@var{user}@@@var{host}:@var{filename}} uses @command{ssh}. 3098@file{/ssh:@var{user}@@@var{host}:@var{filename}} uses @command{ssh}.
3096When you don't specify a method in the file name, Emacs determines a 3099When you don't specify a method in the file name, Emacs chooses
3097default method according to the following rules: 3100the method as follows:
3098 3101
3099@enumerate 3102@enumerate
3100@item 3103@item
3101If the host name starts with @samp{ftp.} (with dot), then Emacs assumes 3104If the host name starts with @samp{ftp.} (with dot), then Emacs uses
3102the @command{ftp} method. 3105FTP.
3103@item 3106@item
3104If the user name is @samp{ftp} or @samp{anonymous}, then Emacs assumes 3107If the user name is @samp{ftp} or @samp{anonymous}, then Emacs uses
3105the @command{ftp} method. 3108FTP.
3106@item 3109@item
3107Otherwise, Emacs assumes the @command{ssh} method. 3110Otherwise, Emacs uses @command{ssh}.
3108@end enumerate 3111@end enumerate
3109 3112
3110@noindent 3113@noindent
diff --git a/man/fixit.texi b/man/fixit.texi
index 84121842b8c..04fa823e76e 100644
--- a/man/fixit.texi
+++ b/man/fixit.texi
@@ -159,7 +159,7 @@ checker program Ispell, which is not part of Emacs.
159@table @kbd 159@table @kbd
160@item M-x flyspell-mode 160@item M-x flyspell-mode
161Enable Flyspell mode, which highlights all misspelled words. 161Enable Flyspell mode, which highlights all misspelled words.
162@item M-x flyspell-progmode 162@item M-x flyspell-prog-mode
163Enable Flyspell mode for comments and strings only. 163Enable Flyspell mode for comments and strings only.
164@item M-$ 164@item M-$
165Check and correct spelling of the word at point (@code{ispell-word}). 165Check and correct spelling of the word at point (@code{ispell-word}).
diff --git a/man/frames.texi b/man/frames.texi
index 2d6c953d2e4..5c0c42b3d8b 100644
--- a/man/frames.texi
+++ b/man/frames.texi
@@ -29,10 +29,6 @@ frame.
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 Input}, for more information.
31 31
32@cindex MS Windows
33 Emacs compiled for MS Windows mostly supports the same features as
34under X.
35
36@menu 32@menu
37* Mouse Commands:: Moving, cutting, and pasting, with the mouse. 33* Mouse Commands:: Moving, cutting, and pasting, with the mouse.
38* Secondary Selection:: Cutting without altering point and mark. 34* Secondary Selection:: Cutting without altering point and mark.
@@ -48,7 +44,7 @@ under X.
48* Frame Parameters:: Changing the colors and other modes of frames. 44* Frame Parameters:: Changing the colors and other modes of frames.
49* Scroll Bars:: How to enable and disable scroll bars; how to use them. 45* Scroll Bars:: How to enable and disable scroll bars; how to use them.
50* Wheeled Mice:: Using mouse wheels for scrolling. 46* Wheeled Mice:: Using mouse wheels for scrolling.
51* Drag and drop:: Using drag and drop to open files and insert text. 47* Drag and Drop:: Using drag and drop to open files and insert text.
52* Menu Bars:: Enabling and disabling the menu bar. 48* Menu Bars:: Enabling and disabling the menu bar.
53* Tool Bars:: Enabling and disabling the tool bar. 49* Tool Bars:: Enabling and disabling the tool bar.
54* Dialog Boxes:: Controlling use of dialog boxes. 50* Dialog Boxes:: Controlling use of dialog boxes.
@@ -64,7 +60,9 @@ under X.
64 60
65 The mouse commands for selecting and copying a region are mostly 61 The mouse commands for selecting and copying a region are mostly
66compatible with the @code{xterm} program. You can use the same mouse 62compatible with the @code{xterm} program. You can use the same mouse
67commands for copying between Emacs and other X client programs. 63commands for copying between Emacs and other window-based programs.
64Most of these commands also work in Emacs when you run it under an
65@code{xterm} terminal.
68 66
69@kindex DELETE @r{(and mouse selection)} 67@kindex DELETE @r{(and mouse selection)}
70 If you select a region with any of these mouse commands, and then 68 If you select a region with any of these mouse commands, and then
@@ -188,8 +186,6 @@ you want. Then yank it in Emacs with @kbd{C-y} or @kbd{Mouse-2}.
188system for X selections, use @kbd{C-x @key{RET} x} or @kbd{C-x 186system for X selections, use @kbd{C-x @key{RET} x} or @kbd{C-x
189@key{RET} X}. @xref{Specify Coding}. 187@key{RET} X}. @xref{Specify Coding}.
190 188
191 These cutting and pasting commands also work on MS-Windows.
192
193@cindex primary selection 189@cindex primary selection
194@cindex cut buffer 190@cindex cut buffer
195@cindex selection, primary 191@cindex selection, primary
@@ -270,7 +266,7 @@ that matters is which window you click on. @xref{Mouse Commands}.
270@cindex OpenWindows 266@cindex OpenWindows
271@cindex Gnome 267@cindex Gnome
272 268
273 As well as the primary and secondary selection types, X supports a 269 Apart from the primary and secondary selection types, X supports a
274@dfn{clipboard} selection type which is used by some applications, 270@dfn{clipboard} selection type which is used by some applications,
275particularly under OpenWindows and Gnome. 271particularly under OpenWindows and Gnome.
276 272
@@ -287,28 +283,42 @@ unlike most systems.
287 283
288@node Mouse References 284@node Mouse References
289@section Following References with the Mouse 285@section Following References with the Mouse
286@kindex Mouse-1 @r{(selection)}
290@kindex Mouse-2 @r{(selection)} 287@kindex Mouse-2 @r{(selection)}
291 288
292 Some Emacs buffers display lists of various sorts. These include 289 Some read-only Emacs buffers include references you can follow, or
293lists of files, of buffers, of possible completions, of matches for 290commands you can activate. These include names of files, of buffers,
294a pattern, and so on. 291of possible completions, of matches for a pattern, as well as the
295 292buttons in Help buffers and customization buffers. You can follow the
296 Since yanking text into these buffers is not very useful, most of them 293reference or activate the command by moving point to it and typing
297define @kbd{Mouse-2} specially, as a command to use or view the item you 294@key{RET}. You can also do this with the mouse, using either
298click on. 295@kbd{Mouse-1} or @kbd{Mouse-2}.
299 296
300 For example, if you click @kbd{Mouse-2} on a file name in a Dired 297 Since yanking text into a read-only buffer is not allowed, these
301buffer, you visit that file. If you click @kbd{Mouse-2} on an error 298buffers generally define @kbd{Mouse-2} to follow a reference or
302message in the @samp{*Compilation*} buffer, you go to the source code 299activate a command. For example, if you click @kbd{Mouse-2} on a file
303for that error message. If you click @kbd{Mouse-2} on a completion in 300name in a Dired buffer, you visit that file. If you click
304the @samp{*Completions*} buffer, you choose that completion. 301@kbd{Mouse-2} on an error message in the @samp{*Compilation*} buffer,
302you go to the source code for that error message. If you click
303@kbd{Mouse-2} on a completion in the @samp{*Completions*} buffer, you
304choose that completion.
305
306@vindex mouse-1-click-follows-link
307 However, most applications use @kbd{Mouse-1} to do this sort of
308thing, so Emacs implements this too. If you click @kbd{Mouse-1}
309quickly on a reference or button, it follows or activates. If you
310click slowly, it moves point as usual. Dragging, meaning moving the
311mouse while it is held down, also has its usual behavior of setting
312the region. The variable @code{mouse-1-click-follows-link} controls
313whether @kbd{Mouse-1} has this behavior.
305 314
306@vindex mouse-highlight 315@vindex mouse-highlight
307 You can usually tell when @kbd{Mouse-2} has this special sort of 316 You can usually tell when @kbd{Mouse-1} and @kbd{Mouse-2} have this
308meaning because the sensitive text highlights when you move the mouse 317special sort of meaning because the sensitive text highlights when you
309over it. The variable @code{mouse-highlight} controls whether to do 318move the mouse over it. The variable @code{mouse-highlight} controls
310this highlighting always (even when such text appears where the mouse 319whether to do this highlighting always (even when such text appears
311already is), never, or only immediately after you move the mouse. 320where the mouse already is), never, or only immediately after you move
321the mouse.
312 322
313@node Menu Mouse Clicks 323@node Menu Mouse Clicks
314@section Mouse Clicks for Menus 324@section Mouse Clicks for Menus
@@ -331,16 +341,17 @@ for editing formatted text. @xref{Formatted Text}.
331 341
332@item C-Mouse-3 342@item C-Mouse-3
333@kindex C-Mouse-3 343@kindex C-Mouse-3
334This menu is mode-specific. For most modes if Menu-bar mode is on, this 344This menu is mode-specific. For most modes if Menu-bar mode is on,
335menu has the same items as all the mode-specific menu-bar menus put 345this menu has the same items as all the mode-specific menu-bar menus
336together. Some modes may specify a different menu for this 346put together. Some modes may specify a different menu for this
337button.@footnote{Some systems use @kbd{Mouse-3} for a mode-specific 347button.@footnote{Some systems use @kbd{Mouse-3} for a mode-specific
338menu. We took a survey of users, and found they preferred to keep 348menu. We took a survey of users, and found they preferred to keep
339@kbd{Mouse-3} for selecting and killing regions. Hence the decision to 349@kbd{Mouse-3} for selecting and killing regions. Hence the decision
340use @kbd{C-Mouse-3} for this menu.} If Menu-bar mode is off, this menu 350to use @kbd{C-Mouse-3} for this menu. To use @kbd{Mouse-3} instead,
341contains all the items which would be present in the menu bar---not just 351do @code{(global-set-key [mouse-3] 'mouse-popup-menubar-stuff)}.} If
342the mode-specific ones---so that you can access them without having to 352Menu-bar mode is off, this menu contains all the items which would be
343display the menu bar. 353present in the menu bar---not just the mode-specific ones---so that
354you can access them without having to display the menu bar.
344 355
345@item S-Mouse-1 356@item S-Mouse-1
346This menu is for specifying the frame's principal font. 357This menu is for specifying the frame's principal font.
@@ -357,9 +368,9 @@ windows.
357@table @kbd 368@table @kbd
358@item Mouse-1 369@item Mouse-1
359@kindex Mouse-1 @r{(mode line)} 370@kindex Mouse-1 @r{(mode line)}
360@kbd{Mouse-1} on a mode line selects the window above. By dragging 371@kbd{Mouse-1} on a mode line selects the window it belongs to. By
361@kbd{Mouse-1} on the mode line, you can move it, thus changing the 372dragging @kbd{Mouse-1} on the mode line, you can move it, thus
362height of the windows above and below. 373changing the height of the windows above and below.
363 374
364@item Mouse-2 375@item Mouse-2
365@kindex Mouse-2 @r{(mode line)} 376@kindex Mouse-2 @r{(mode line)}
@@ -367,9 +378,9 @@ height of the windows above and below.
367 378
368@item Mouse-3 379@item Mouse-3
369@kindex Mouse-3 @r{(mode line)} 380@kindex Mouse-3 @r{(mode line)}
370@kbd{Mouse-3} on a mode line deletes the window above. If the frame has 381@kbd{Mouse-3} on a mode line deletes the window it belongs to. If the
371only one window, it buries the current buffer instead and switches to 382frame has only one window, it buries the current buffer instead, and
372another buffer. 383switches to another buffer.
373 384
374@item C-Mouse-2 385@item C-Mouse-2
375@kindex C-mouse-2 @r{(mode line)} 386@kindex C-mouse-2 @r{(mode line)}
@@ -639,7 +650,6 @@ whether that feature is also in use for the same buffer name.
639 650
640@node Frame Parameters 651@node Frame Parameters
641@section Setting Frame Parameters 652@section Setting Frame Parameters
642@cindex colors
643@cindex Auto-Raise mode 653@cindex Auto-Raise mode
644@cindex Auto-Lower mode 654@cindex Auto-Lower mode
645 655
@@ -653,10 +663,16 @@ window management behavior of the selected frame.
653@findex set-border-color 663@findex set-border-color
654@findex auto-raise-mode 664@findex auto-raise-mode
655@findex auto-lower-mode 665@findex auto-lower-mode
666@cindex colors
656@table @kbd 667@table @kbd
657@item M-x set-foreground-color @key{RET} @var{color} @key{RET} 668@item M-x set-foreground-color @key{RET} @var{color} @key{RET}
658Specify color @var{color} for the foreground of the selected frame. 669Specify color @var{color} for the foreground of the selected frame.
659(This also changes the foreground color of the default face.) 670(This also changes the foreground color of the default face.) You can
671specify @var{color} either by its symbolic name or by its RGB
672numerical specification@footnote{
673See the X Window System documentation for more details. On a typical
674GNU or Unix system, the command @kbd{man 7 X} or @kbd{man -s 7 X} will
675display the X manual page that explains how to specify colors.}.
660 676
661@item M-x set-background-color @key{RET} @var{color} @key{RET} 677@item M-x set-background-color @key{RET} @var{color} @key{RET}
662Specify color @var{color} for the background of the selected frame. 678Specify color @var{color} for the background of the selected frame.
@@ -674,7 +690,8 @@ Specify color @var{color} for the border of the selected frame.
674 690
675@item M-x list-colors-display 691@item M-x list-colors-display
676Display the defined color names and show what the colors look like. 692Display the defined color names and show what the colors look like.
677This command is somewhat slow. 693This command is somewhat slow. @xref{Colors, list-colors-display,
694Display available colors}.
678 695
679@item M-x auto-raise-mode 696@item M-x auto-raise-mode
680Toggle whether or not the selected frame should auto-raise. Auto-raise 697Toggle whether or not the selected frame should auto-raise. Auto-raise
@@ -798,19 +815,24 @@ generating appropriate events for Emacs.
798@code{mouse-wheel-scroll-amount} determine where and by how much 815@code{mouse-wheel-scroll-amount} determine where and by how much
799buffers are scrolled. 816buffers are scrolled.
800 817
801@node Drag and drop 818@node Drag and Drop
802@section Drag and drop in Emacs. 819@section Drag and Drop
803
804@cindex drag and drop 820@cindex drag and drop
805 Emacs supports drag and drop so that dropping of files and text is handled.
806Currently supported drag and drop protocols are XDND, Motif and the old
807KDE 1.x protocol. There is no drag support yet.
808When text is dropped on Emacs, Emacs inserts the text where it is dropped.
809When a file is dragged from a file manager to Emacs, Emacs opens that file.
810As a special case, if a file is dropped on a dired buffer the file is
811copied or moved (depends on exactly how it is dragged and the application
812it was dragged from) to the directory the dired buffer is displaying.
813 821
822 Emacs supports @dfn{drag and drop} using the mouse. For instance,
823dropping text onto an Emacs frame inserts the text where it is dropped.
824Dropping a file onto an Emacs frame visits that file. As a special
825case, dropping the file on a Dired buffer moves or copies the file
826(according to the conventions of the application it came from) into the
827directory displayed in that buffer.
828
829@vindex x-dnd-open-file-other-window
830 Dropping a file normally visits it in the window you drop it on. If
831you prefer to visit the file in a new window in such cases, customize
832the variable @code{x-dnd-open-file-other-window}.
833
834@ignore
835@c ??? To Lisp manual
814@vindex x-dnd-test-function 836@vindex x-dnd-test-function
815@vindex x-dnd-known-types 837@vindex x-dnd-known-types
816 When a user drags something from another application over Emacs, that other 838 When a user drags something from another application over Emacs, that other
@@ -822,26 +844,24 @@ which accepts drops if the type of the data to be dropped is present in
822@code{x-dnd-known-types} if you want Emacs to accept or reject drops based 844@code{x-dnd-known-types} if you want Emacs to accept or reject drops based
823on some other criteria. 845on some other criteria.
824 846
825@vindex x-dnd-open-file-other-window
826 A file is normally opened in the window it is dropped on, but if you
827prefer the file to be opened in a new window you can customize the variable
828@code{x-dnd-open-file-other-window}.
829
830@vindex x-dnd-types-alist 847@vindex x-dnd-types-alist
831 If you want to change the way Emacs handles drop of different types 848 If you want to change the way Emacs handles drop of different types
832or add a new type, you shall customize @code{x-dnd-types-alist}. This 849or add a new type, customize @code{x-dnd-types-alist}. This requires
833requires detailed knowledge of what types other applications use 850detailed knowledge of what types other applications use for drag and
834for drag and drop. 851drop.
835 852
836@vindex x-dnd-protocol-alist 853@vindex x-dnd-protocol-alist
837 When an URL is dropped on Emacs it may be a file, but it may also be 854 When an URL is dropped on Emacs it may be a file, but it may also be
838another URL type (ftp, http, etc.). Emacs first checks 855another URL type (ftp, http, etc.). Emacs first checks
839@code{x-dnd-protocol-alist} to determine what to do with the URL. If there 856@code{x-dnd-protocol-alist} to determine what to do with the URL. If
840is no match there and if @code{browse-url-browser-function} is an alist, 857there is no match there and if @code{browse-url-browser-function} is
841Emacs looks for a match there. If no match is found the text for the URL 858an alist, Emacs looks for a match there. If no match is found the
842is inserted. If you want to alter Emacs behaviour you can customize these 859text for the URL is inserted. If you want to alter Emacs behavior,
843variables. 860you can customize these variables.
861@end ignore
844 862
863 The drag and drop protocols XDND, Motif and the
864old KDE 1.x protocol are currently supported.
845 865
846@node Menu Bars 866@node Menu Bars
847@section Menu Bars 867@section Menu Bars
@@ -873,20 +893,20 @@ menus.
873@cindex mode, Tool Bar 893@cindex mode, Tool Bar
874@cindex icons, toolbar 894@cindex icons, toolbar
875 895
876The @dfn{tool bar} is a line (or multiple lines) of icons at the top 896 The @dfn{tool bar} is a line (or lines) of icons at the top of the
877of the Emacs window. You can click on these icons with the mouse 897Emacs window, just below the menu bar. You can click on these icons
878to do various jobs. 898with the mouse to do various jobs.
879 899
880The global tool bar contains general commands. Some major modes 900 The global tool bar contains general commands. Some major modes
881define their own tool bars to replace it. A few ``special'' modes 901define their own tool bars to replace it. A few ``special'' modes
882that are not designed for ordinary editing remove some items from the 902that are not designed for ordinary editing remove some items from the
883global tool bar. 903global tool bar.
884 904
885Tool bars work only on a graphical display. The tool bar uses colored 905 Tool bars work only on a graphical display. The tool bar uses colored
886XPM icons if Emacs was built with XPM support. Otherwise, the tool 906XPM icons if Emacs was built with XPM support. Otherwise, the tool
887bar uses monochrome icons (PBM or XBM format). 907bar uses monochrome icons (PBM or XBM format).
888 908
889You can turn display of tool bars on or off with @kbd{M-x 909 You can turn display of tool bars on or off with @kbd{M-x
890tool-bar-mode}. 910tool-bar-mode}.
891 911
892@node Dialog Boxes 912@node Dialog Boxes
diff --git a/man/text.texi b/man/text.texi
index a83e78cc211..8eaa6178a8d 100644
--- a/man/text.texi
+++ b/man/text.texi
@@ -185,9 +185,9 @@ Kill back to the beginning of the sentence (@code{backward-kill-sentence}).
185 The commands @kbd{M-a} and @kbd{M-e} (@code{backward-sentence} and 185 The commands @kbd{M-a} and @kbd{M-e} (@code{backward-sentence} and
186@code{forward-sentence}) move to the beginning and end of the current 186@code{forward-sentence}) move to the beginning and end of the current
187sentence, respectively. They were chosen to resemble @kbd{C-a} and 187sentence, respectively. They were chosen to resemble @kbd{C-a} and
188@kbd{C-e}, which move to the beginning and end of a line. Unlike them, 188@kbd{C-e}, which move to the beginning and end of a line. Unlike
189@kbd{M-a} and @kbd{M-e} if repeated or given numeric arguments move over 189them, @kbd{M-a} and @kbd{M-e} move over successive sentences if
190successive sentences. 190repeated.
191 191
192 Moving backward over a sentence places point just before the first 192 Moving backward over a sentence places point just before the first
193character of the sentence; moving forward places point right after the 193character of the sentence; moving forward places point right after the
@@ -238,11 +238,10 @@ set @code{sentence-end} to this value:
238@end example 238@end example
239 239
240@noindent 240@noindent
241You should also set the variable @code{sentence-end-double-space} to 241This is what setting the variable @code{sentence-end-double-space} to
242@code{nil} so that the fill commands expect and leave just one space at 242@code{nil} automatically does. But note that this makes it impossible
243the end of a sentence. Note that this makes it impossible to 243to distinguish between periods that end sentences and those that
244distinguish between periods that end sentences and those that indicate 244indicate abbreviations.
245abbreviations.
246 245
247@node Paragraphs 246@node Paragraphs
248@section Paragraphs 247@section Paragraphs
@@ -269,8 +268,8 @@ paragraph, while @kbd{M-@}} moves to the end of the current or next
269paragraph. Blank lines and text-formatter command lines separate 268paragraph. Blank lines and text-formatter command lines separate
270paragraphs and are not considered part of any paragraph. In Indented 269paragraphs and are not considered part of any paragraph. In Indented
271Text mode, but not in Text mode, an indented line also starts a new 270Text mode, but not in Text mode, an indented line also starts a new
272paragraph. (If a paragraph is preceded by a blank line, these 271paragraph. If there is a blank line before the paragraph, @kbd{M-@{}
273commands treat that blank line as the beginning of the paragraph.) 272moves to the blank line, because that is convenient in practice.
274 273
275 In major modes for programs, paragraphs begin and end only at blank 274 In major modes for programs, paragraphs begin and end only at blank
276lines. This makes the paragraph commands continue to be useful even 275lines. This makes the paragraph commands continue to be useful even
@@ -894,11 +893,11 @@ invisible so that you can see the outline structure. Type @kbd{M-x
894outline-mode} to switch to Outline mode as the major mode of the current 893outline-mode} to switch to Outline mode as the major mode of the current
895buffer. 894buffer.
896 895
897 When Outline mode makes a line invisible, the line does not appear on 896 When Outline mode makes a line invisible, the line does not appear
898the screen. The screen appears exactly as if the invisible line were 897on the screen. The screen appears exactly as if the invisible line
899deleted, except that an ellipsis (three periods in a row) appears at the 898were deleted, except that an ellipsis (three periods in a row) appears
900end of the previous visible line (only one ellipsis no matter how many 899at the end of the previous visible line. (Multiple consecutive
901invisible lines follow). 900invisible lines produce just one ellipsis.)
902 901
903 Editing commands that operate on lines, such as @kbd{C-n} and 902 Editing commands that operate on lines, such as @kbd{C-n} and
904@kbd{C-p}, treat the text of the invisible line as part of the previous 903@kbd{C-p}, treat the text of the invisible line as part of the previous
@@ -929,7 +928,7 @@ the hook @code{outline-mode-hook} (@pxref{Hooks}).
929 outlines. 928 outlines.
930* Visibility: Outline Visibility. Commands to control what is visible. 929* Visibility: Outline Visibility. Commands to control what is visible.
931* Views: Outline Views. Outlines and multiple views. 930* Views: Outline Views. Outlines and multiple views.
932* Foldout:: Folding editing. 931* Foldout:: Folding means zooming in on outlines.
933@end menu 932@end menu
934 933
935@node Outline Format 934@node Outline Format
@@ -1900,8 +1899,11 @@ for more information about text properties.
1900@cindex soft newline 1899@cindex soft newline
1901@cindex newlines, hard and soft 1900@cindex newlines, hard and soft
1902 1901
1902@cindex use-hard-newlines
1903 In formatted text, Emacs distinguishes between two different kinds of 1903 In formatted text, Emacs distinguishes between two different kinds of
1904newlines, @dfn{hard} newlines and @dfn{soft} newlines. 1904newlines, @dfn{hard} newlines and @dfn{soft} newlines. (You can enable
1905or disable this feature separately in any buffer with the command
1906@code{use-hard-newlines}.)
1905 1907
1906 Hard newlines are used to separate paragraphs, or items in a list, or 1908 Hard newlines are used to separate paragraphs, or items in a list, or
1907anywhere that there should always be a line break regardless of the 1909anywhere that there should always be a line break regardless of the
diff --git a/man/windows.texi b/man/windows.texi
index 8416c4be076..0d90a3b2e0c 100644
--- a/man/windows.texi
+++ b/man/windows.texi
@@ -60,8 +60,8 @@ only one mark position.
60 60
61 Each window has its own mode line, which displays the buffer name, 61 Each window has its own mode line, which displays the buffer name,
62modification status and major and minor modes of the buffer that is 62modification status and major and minor modes of the buffer that is
63displayed in the window. @xref{Mode Line}, for full details on the mode 63displayed in the window. The selected window's mode line appears in a
64line. 64different color. @xref{Mode Line}, for full details on the mode line.
65 65
66@iftex 66@iftex
67@break 67@break
@@ -322,9 +322,14 @@ except for the echo area.
322@kbd{Mouse-3}, and delete all the windows in a frame except one window 322@kbd{Mouse-3}, and delete all the windows in a frame except one window
323by clicking on that window's mode line with @kbd{Mouse-2}. 323by clicking on that window's mode line with @kbd{Mouse-2}.
324 324
325 The easiest way to adjust window heights is with a mouse. If you 325 You can also adjust window heights and widths with the mouse. If
326press @kbd{Mouse-1} on a mode line, you can drag that mode line up or 326you press @kbd{Mouse-1} on a mode line, you can drag that mode line up
327down, changing the heights of the windows above and below it. 327or down, changing the heights of the windows above and below it. If
328you press it on the divider between two consecutive mode lines, you
329can drag that divider right or left, changing the widths of the
330windows to either side. Note that changing heights and widths with
331the mouse never deletes windows, it just refuses to make any window
332smaller than it can be.
328 333
329@kindex C-x ^ 334@kindex C-x ^
330@findex enlarge-window 335@findex enlarge-window