comparison man/frames.texi @ 83550:17e0dd217877

Merged from emacs@sv.gnu.org. Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-536 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-537 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-538 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-539 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-540 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-541 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-542 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-543 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-544 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-545 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-546 Update from erc--emacs--22 * emacs@sv.gnu.org/emacs--devo--0--patch-547 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-548 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-549 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-550 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-551 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-552 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-553 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-554 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-555 erc-iswitchb: Temporarily enable iswitchb mode * emacs@sv.gnu.org/emacs--devo--0--patch-556 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-557 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-558 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-559 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-560 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-561 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-562 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-563 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-564 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-565 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-566 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-567 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-568 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-569 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-570 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-571 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-572 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-573 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-574 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-575 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-576 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-577 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-578 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-579 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-580 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-581 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-582 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-583 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-584 Fix admin/quick-install-emacs to work with recent versions of autoconf * emacs@sv.gnu.org/gnus--rel--5.10--patch-171 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-172 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-173 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-174 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-175 Update from CVS: lisp/legacy-gnus-agent.el: Add Copyright notice. * emacs@sv.gnu.org/gnus--rel--5.10--patch-176 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-177 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-178 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-179 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-180 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-181 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-182 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-183 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-184 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-185 Merge from emacs--devo--0 git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-590
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 01 Jan 2007 17:38:32 +0000
parents 2d56e13fd23d 88568ee4f8e8
children b8d9a391daf3
comparison
equal deleted inserted replaced
83549:8d80de0a1ac6 83550:17e0dd217877
32 @end iftex 32 @end iftex
33 @ifnottex 33 @ifnottex
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.
45 * Creating Frames:: Creating additional Emacs frames with various contents. 42 * Creating Frames:: Creating additional Emacs frames with various contents.
46 * Frame Commands:: Iconifying, deleting, and switching frames. 43 * Frame Commands:: Iconifying, deleting, and switching frames.
58 * Mouse Avoidance:: Moving the mouse pointer out of the way. 55 * Mouse Avoidance:: Moving the mouse pointer out of the way.
59 * Non-Window Terminals:: Multiple frames on terminals that show only one. 56 * Non-Window Terminals:: Multiple frames on terminals that show only one.
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,
64 and 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
68 compatible with the @code{xterm} program. You can use the same mouse 79 compatible with the @code{xterm} program. You can use the same mouse
69 commands for copying between Emacs and other window-based programs. 80 commands for copying between Emacs and other window-based programs.
152 or lines, then adjusting the region with @kbd{Mouse-3} also proceeds by 163 or lines, then adjusting the region with @kbd{Mouse-3} also proceeds by
153 entire words or lines. 164 entire words or lines.
154 165
155 If you use @kbd{Mouse-3} a second time consecutively, at the same place, 166 If you use @kbd{Mouse-3} a second time consecutively, at the same place,
156 that kills the region already selected. 167 that kills the region already selected.
157
158 @item Double-Mouse-1
159 This key sets the region around the word which you click on. If you
160 click on a character with ``symbol'' syntax (such as underscore, in C
161 mode), it sets the region around the symbol surrounding that character.
162
163 If you click on a character with open-parenthesis or close-parenthesis
164 syntax, it sets the region around the parenthetical grouping
165 which that character starts or ends. If you click on a character with
166 string-delimiter syntax (such as a singlequote or doublequote in C), it
167 sets the region around the string constant (using heuristics to figure
168 out whether that character is the beginning or the end of it).
169
170 @item Double-Drag-Mouse-1
171 This key selects a region made up of the words you drag across.
172
173 @item Triple-Mouse-1
174 This key sets the region around the line you click on.
175
176 @item Triple-Drag-Mouse-1
177 This 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}
181 at one end, then press @kbd{Mouse-3} twice at the other end. 171 at one end, then press @kbd{Mouse-3} twice at the other end.
182 @xref{Killing}. To copy the text into the kill ring without deleting it 172 @xref{Killing}. To copy the text into the kill ring without deleting it
188 and press @kbd{Mouse-2}. @xref{Yanking}. However, if 178 and press @kbd{Mouse-2}. @xref{Yanking}. However, if
189 @code{mouse-yank-at-point} is non-@code{nil}, @kbd{Mouse-2} yanks at 179 @code{mouse-yank-at-point} is non-@code{nil}, @kbd{Mouse-2} yanks at
190 point. Then it does not matter where you click, or even which of the 180 point. Then it does not matter where you click, or even which of the
191 frame's windows you click on. The default value is @code{nil}. This 181 frame's windows you click on. The default value is @code{nil}. This
192 variable also affects yanking the secondary selection. 182 variable also affects yanking the secondary selection.
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
188 is selected deletes the selected text. You can make Emacs behave this
189 way by enabling Delete Selection mode---with @kbd{M-x
190 delete-selection-mode} or using Custom. Another effect of this mode
191 is that @key{DEL}, @kbd{C-d} and some other keys, when a selection
192 exists, will kill the whole selection. It also enables Transient Mark
193 mode (@pxref{Transient Mark}).
194
195 @node Cut/Paste Other App
196 @subsection Cut and Paste with Other Window Applications
193 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
197 To copy text to another windowing application, kill it or save it in 201 To copy text to another windowing application, kill it or save it in
222 The standard coding system for X Window System selections is 226 The standard coding system for X Window System selections is
223 @code{compound-text-with-extensions}. To specify another coding 227 @code{compound-text-with-extensions}. To specify another coding
224 system for selections, use @kbd{C-x @key{RET} x} or @kbd{C-x @key{RET} 228 system for selections, use @kbd{C-x @key{RET} x} or @kbd{C-x @key{RET}
225 X}. @xref{Communication Coding}. 229 X}. @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
238 This key sets the region around the word which you click on. If you
239 click on a character with ``symbol'' syntax (such as underscore, in C
240 mode), it sets the region around the symbol surrounding that character.
241
242 If you click on a character with open-parenthesis or close-parenthesis
243 syntax, it sets the region around the parenthetical grouping
244 which that character starts or ends. If you click on a character with
245 string-delimiter syntax (such as a singlequote or doublequote in C), it
246 sets the region around the string constant (using heuristics to figure
247 out whether that character is the beginning or the end of it).
248
249 @item Double-Drag-Mouse-1
250 This key selects a region made up of the words you drag across.
251
252 @item Triple-Mouse-1
253 This key sets the region around the line you click on.
254
255 @item Triple-Drag-Mouse-1
256 This 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
232 the X Window System. It does not use point or the mark, so you can 264 the X Window System. It does not use point or the mark, so you can
233 use it to kill text without setting point or the mark. 265 use it to kill text without setting point or the mark.
278 If @code{mouse-yank-at-point} is non-@code{nil}, @kbd{M-Mouse-2} 310 If @code{mouse-yank-at-point} is non-@code{nil}, @kbd{M-Mouse-2}
279 yanks at point. Then it does not matter precisely where you click; all 311 yanks at point. Then it does not matter precisely where you click; all
280 that matters is which window you click on. @xref{Mouse Commands}. 312 that 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
287 @cindex OpenWindows 319 @cindex OpenWindows
288 @cindex Gnome 320 @cindex Gnome