aboutsummaryrefslogtreecommitdiffstats
path: root/man/frames.texi
diff options
context:
space:
mode:
authorRichard M. Stallman2006-12-25 20:35:15 +0000
committerRichard M. Stallman2006-12-25 20:35:15 +0000
commite22f9f45dd7e24eea2775ee4bd950fd71c3716cf (patch)
tree4a677122216fe420670ec48da1791417467ce828 /man/frames.texi
parent01295a2211886f33fddc2039ef9e07c14d0af4f0 (diff)
downloademacs-e22f9f45dd7e24eea2775ee4bd950fd71c3716cf.tar.gz
emacs-e22f9f45dd7e24eea2775ee4bd950fd71c3716cf.zip
(Cut and Paste): New section to hold other nodes.
(Mouse Commands): Node demoted. (Cut/Paste Other App): Split out from Mouse Commands. (Word and Line Mouse): Likewise. (Secondary Selection, Clipboard): Nodes demoted.
Diffstat (limited to 'man/frames.texi')
-rw-r--r--man/frames.texi88
1 files changed, 60 insertions, 28 deletions
diff --git a/man/frames.texi b/man/frames.texi
index f3191014434..7d8fdbfd0ce 100644
--- a/man/frames.texi
+++ b/man/frames.texi
@@ -34,11 +34,8 @@ so that you can use many of the features described in this chapter.
34@xref{MS-DOS Mouse}. 34@xref{MS-DOS Mouse}.
35@end ifnottex 35@end ifnottex
36 36
37
38@menu 37@menu
39* Mouse Commands:: Moving, cutting, and pasting, with the mouse. 38* Cut and Paste:: Mouse commands for cut and paste.
40* Secondary Selection:: Cutting without altering point and mark.
41* Clipboard:: Using the clipboard for selections.
42* Mouse References:: Using the mouse to select an item from a list. 39* Mouse References:: Using the mouse to select an item from a list.
43* Menu Mouse Clicks:: Mouse clicks that bring up menus. 40* Menu Mouse Clicks:: Mouse clicks that bring up menus.
44* Mode Line Mouse:: Mouse clicks on the mode line. 41* Mode Line Mouse:: Mouse clicks on the mode line.
@@ -60,8 +57,22 @@ so that you can use many of the features described in this chapter.
60* Text-Only Mouse:: Using the mouse in text-only terminals. 57* Text-Only Mouse:: Using the mouse in text-only terminals.
61@end menu 58@end menu
62 59
60@node Cut and Paste
61@section Killing and Yanking on Graphical Displays
62
63 This section describes facilities for selecting a region, killing,
64and yanking using the mouse.
65
66@menu
67* Mouse Commands:: Moving, cutting, and pasting, with the mouse.
68* Cut/Paste Other App:: Transfering text between Emacs and other apps.
69* Word and Line Mouse:: Mouse commands for selecting whole words or lines.
70* Secondary Selection:: Cutting without altering point and mark.
71* Clipboard:: Using the clipboard for selections.
72@end menu
73
63@node Mouse Commands 74@node Mouse Commands
64@section Mouse Commands for Editing 75@subsection Mouse Commands for Editing
65@cindex mouse buttons (what they do) 76@cindex mouse buttons (what they do)
66 77
67 The mouse commands for selecting and copying a region are mostly 78 The mouse commands for selecting and copying a region are mostly
@@ -154,27 +165,6 @@ entire words or lines.
154 165
155If you use @kbd{Mouse-3} a second time consecutively, at the same place, 166If you use @kbd{Mouse-3} a second time consecutively, at the same place,
156that kills the region already selected. 167that kills the region already selected.
157
158@item Double-Mouse-1
159This key sets the region around the word which you click on. If you
160click on a character with ``symbol'' syntax (such as underscore, in C
161mode), it sets the region around the symbol surrounding that character.
162
163If you click on a character with open-parenthesis or close-parenthesis
164syntax, it sets the region around the parenthetical grouping
165which that character starts or ends. If you click on a character with
166string-delimiter syntax (such as a singlequote or doublequote in C), it
167sets the region around the string constant (using heuristics to figure
168out whether that character is the beginning or the end of it).
169
170@item Double-Drag-Mouse-1
171This key selects a region made up of the words you drag across.
172
173@item Triple-Mouse-1
174This key sets the region around the line you click on.
175
176@item Triple-Drag-Mouse-1
177This key selects a region made up of the lines you drag across.
178@end table 168@end table
179 169
180 The simplest way to kill text with the mouse is to press @kbd{Mouse-1} 170 The simplest way to kill text with the mouse is to press @kbd{Mouse-1}
@@ -191,6 +181,20 @@ point. Then it does not matter where you click, or even which of the
191frame's windows you click on. The default value is @code{nil}. This 181frame's windows you click on. The default value is @code{nil}. This
192variable also affects yanking the secondary selection. 182variable also affects yanking the secondary selection.
193 183
184@cindex Delete Selection mode
185@cindex mode, Delete Selection
186@findex delete-selection-mode
187 Many graphical applications follow the convention that insertion while text
188is selected deletes the selected text. You can make Emacs behave this
189way by enabling Delete Selection mode---with @kbd{M-x
190delete-selection-mode} or using Custom. Another effect of this mode
191is that @key{DEL}, @kbd{C-d} and some other keys, when a selection
192exists, will kill the whole selection. It also enables Transient Mark
193mode (@pxref{Transient Mark}).
194
195@node Cut/Paste Other App
196@subsection Cut and Paste with Other Window Applications
197
194@cindex cutting 198@cindex cutting
195@cindex pasting 199@cindex pasting
196@cindex X cutting and pasting 200@cindex X cutting and pasting
@@ -224,8 +228,36 @@ to yank, the kill ring contents are used.
224system for selections, use @kbd{C-x @key{RET} x} or @kbd{C-x @key{RET} 228system for selections, use @kbd{C-x @key{RET} x} or @kbd{C-x @key{RET}
225X}. @xref{Communication Coding}. 229X}. @xref{Communication Coding}.
226 230
231@node Word and Line Mouse
232@subsection Mouse Commands for Words and Lines
233
234 These variants of @kbd{Mouse-1} select entire words or lines at a time.
235
236@table @kbd
237@item Double-Mouse-1
238This key sets the region around the word which you click on. If you
239click on a character with ``symbol'' syntax (such as underscore, in C
240mode), it sets the region around the symbol surrounding that character.
241
242If you click on a character with open-parenthesis or close-parenthesis
243syntax, it sets the region around the parenthetical grouping
244which that character starts or ends. If you click on a character with
245string-delimiter syntax (such as a singlequote or doublequote in C), it
246sets the region around the string constant (using heuristics to figure
247out whether that character is the beginning or the end of it).
248
249@item Double-Drag-Mouse-1
250This key selects a region made up of the words you drag across.
251
252@item Triple-Mouse-1
253This key sets the region around the line you click on.
254
255@item Triple-Drag-Mouse-1
256This key selects a region made up of the lines you drag across.
257@end table
258
227@node Secondary Selection 259@node Secondary Selection
228@section Secondary Selection 260@subsection Secondary Selection
229@cindex secondary selection 261@cindex secondary selection
230 262
231 The @dfn{secondary selection} is another way of selecting text using 263 The @dfn{secondary selection} is another way of selecting text using
@@ -280,7 +312,7 @@ yanks at point. Then it does not matter precisely where you click; all
280that matters is which window you click on. @xref{Mouse Commands}. 312that matters is which window you click on. @xref{Mouse Commands}.
281 313
282@node Clipboard 314@node Clipboard
283@section Using the Clipboard 315@subsection Using the Clipboard
284@cindex clipboard 316@cindex clipboard
285@vindex x-select-enable-clipboard 317@vindex x-select-enable-clipboard
286@findex menu-bar-enable-clipboard 318@findex menu-bar-enable-clipboard