aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-02-02 04:31:13 +0000
committerRichard M. Stallman2006-02-02 04:31:13 +0000
commit9c75b18738b4f5436b071ea1b402fca17d046bc3 (patch)
treea206d9ba74c47663507ca289ed54341c021a5176
parent1384a6109ee7a8243d867bd05ac6bd0f309ad9c0 (diff)
downloademacs-9c75b18738b4f5436b071ea1b402fca17d046bc3.tar.gz
emacs-9c75b18738b4f5436b071ea1b402fca17d046bc3.zip
Minor clarifications.
Reduce the specific references to X Windows. Refer to "graphical" terminals, rather than window systems. (Frame Parameters): Don't mention commands like set-foreground-color. Just say to customize a face. (Drag and Drop): Lisp-level stuff moved to Emacs Lisp manual.
-rw-r--r--man/frames.texi335
1 files changed, 134 insertions, 201 deletions
diff --git a/man/frames.texi b/man/frames.texi
index dd076262e82..15d9c5f4eed 100644
--- a/man/frames.texi
+++ b/man/frames.texi
@@ -3,29 +3,29 @@
3@c 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3@c 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4@c See file emacs.texi for copying conditions. 4@c See file emacs.texi for copying conditions.
5@node Frames, International, Windows, Top 5@node Frames, International, Windows, Top
6@chapter Frames and X Windows 6@chapter Frames and Graphical Displays
7@cindex frames 7@cindex frames
8 8
9 When using the X Window System, you can create multiple windows at the 9 When using a graphical display, you can create multiple windows at
10X level in a single Emacs session. Each X window that belongs to Emacs 10the system in a single Emacs session. Each system-level window that
11displays a @dfn{frame} which can contain one or several Emacs windows. 11belongs to Emacs displays a @dfn{frame} which can contain one or
12A frame initially contains a single general-purpose Emacs window which 12several Emacs windows. A frame initially contains a single
13you can subdivide vertically or horizontally into smaller windows. A 13general-purpose Emacs window which you can subdivide vertically or
14frame normally contains its own echo area and minibuffer, but you can 14horizontally into smaller windows. A frame normally contains its own
15make frames that don't have these---they use the echo area and 15echo area and minibuffer, but you can make frames that don't have
16minibuffer of another frame. 16these---they use the echo area and minibuffer of another frame.
17 17
18 Editing you do in one frame also affects the other frames. For 18 To avoid confusion, we reserve the word ``window'' for the
19subdivisions that Emacs implements, and never use it to refer to a
20frame.
21
22 Editing you do in one frame affects the other frames. For
19instance, if you put text in the kill ring in one frame, you can yank it 23instance, if you put text in the kill ring in one frame, you can yank it
20in another frame. If you exit Emacs through @kbd{C-x C-c} in one frame, 24in another frame. If you exit Emacs through @kbd{C-x C-c} in one frame,
21it terminates all the frames. To delete just one frame, use @kbd{C-x 5 25it terminates all the frames. To delete just one frame, use @kbd{C-x 5
220} (that is zero, not @kbd{o}). 260} (that is zero, not @kbd{o}).
23 27
24 To avoid confusion, we reserve the word ``window'' for the 28 Emacs compiled for MS-DOS emulates some windowing functionality,
25subdivisions that Emacs implements, and never use it to refer to a
26frame.
27
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 Mouse}, for more information. 30@xref{MS-DOS Mouse}, for more information.
31 31
@@ -185,46 +185,46 @@ point. Then it does not matter where you click, or even which of the
185frame's windows you click on. The default value is @code{nil}. This 185frame's windows you click on. The default value is @code{nil}. This
186variable also affects yanking the secondary selection. 186variable also affects yanking the secondary selection.
187 187
188@cindex cutting and X 188@cindex cutting
189@cindex pasting and X 189@cindex pasting
190@cindex X cutting and pasting 190@cindex X cutting and pasting
191 To copy text to another X window, kill it or save it in the kill ring. 191 To copy text to another windowing application, kill it or save it in
192Under X, this also sets the @dfn{primary selection}. Then use the 192the kill ring. Then use the ``paste'' or ``yank'' command of the
193``paste'' or ``yank'' command of the program operating the other window 193other application to insert the text.
194to insert the text from the selection.
195 194
196 To copy text from another X window, use the ``cut'' or ``copy'' 195 To copy text from another windowing application, use its ``cut'' or
197command of the program operating the other window, to select the text 196``copy'' command to select the text you want. Then yank it in Emacs
198you want. Then yank it in Emacs with @kbd{C-y} or @kbd{Mouse-2}. 197with @kbd{C-y} or @kbd{Mouse-2}.
199
200 The standard coding system for X selections is
201@code{compound-text-with-extensions}. To specify another coding
202system for X selections, use @kbd{C-x @key{RET} x} or @kbd{C-x
203@key{RET} X}. @xref{Specify Coding}.
204 198
205@cindex primary selection 199@cindex primary selection
206@cindex cut buffer 200@cindex cut buffer
207@cindex selection, primary 201@cindex selection, primary
208@vindex x-cut-buffer-max 202@vindex x-cut-buffer-max
209 When Emacs puts text into the kill ring, or rotates text to the front 203 When Emacs puts text into the kill ring, or rotates text to the
210of the kill ring, it sets the @dfn{primary selection} in the X server. 204front of the kill ring, it sets the @dfn{primary selection} in the
211This is how other X clients can access the text. Emacs also stores the 205window system. This is how other windowing applications can access
212text in the cut buffer, but only if the text is short enough 206the text. On the X Window System, emacs also stores the text in the
213(the value of @code{x-cut-buffer-max} specifies the maximum number of 207cut buffer, but only if the text is short enough (the value of
214characters); putting long strings in the cut buffer can be slow. 208@code{x-cut-buffer-max} specifies the maximum number of characters);
209putting long strings in the cut buffer can be slow.
215 210
216 The commands to yank the first entry in the kill ring actually check 211 The commands to yank the first entry in the kill ring actually check
217first for a primary selection in another program; after that, they check 212first for a primary selection in another program; after that, they check
218for text in the cut buffer. If neither of those sources provides text 213for text in the cut buffer. If neither of those sources provides text
219to yank, the kill ring contents are used. 214to yank, the kill ring contents are used.
220 215
216 The standard coding system for X Window System selections is
217@code{compound-text-with-extensions}. To specify another coding
218system for selections, use @kbd{C-x @key{RET} x} or @kbd{C-x @key{RET}
219X}. @xref{Communication Coding}.
220
221@node Secondary Selection 221@node Secondary Selection
222@section Secondary Selection 222@section Secondary Selection
223@cindex secondary selection 223@cindex secondary selection
224 224
225 The @dfn{secondary selection} is another way of selecting text using 225 The @dfn{secondary selection} is another way of selecting text using
226X. It does not use point or the mark, so you can use it to kill text 226the X Window System. It does not use point or the mark, so you can
227without setting point or the mark. 227use it to kill text without setting point or the mark.
228 228
229@table @kbd 229@table @kbd
230@findex mouse-set-secondary 230@findex mouse-set-secondary
@@ -275,16 +275,15 @@ that matters is which window you click on. @xref{Mouse Commands}.
275 275
276@node Clipboard 276@node Clipboard
277@section Using the Clipboard 277@section Using the Clipboard
278@cindex X clipboard
279@cindex clipboard 278@cindex clipboard
280@vindex x-select-enable-clipboard 279@vindex x-select-enable-clipboard
281@findex menu-bar-enable-clipboard 280@findex menu-bar-enable-clipboard
282@cindex OpenWindows 281@cindex OpenWindows
283@cindex Gnome 282@cindex Gnome
284 283
285 Apart from the primary and secondary selection types, X supports a 284 Apart from the primary and secondary selection types, Emacs can
286@dfn{clipboard} selection type which is used by some applications, 285handle the @dfn{clipboard} selection type which is used by some
287particularly under OpenWindows and Gnome. 286applications, particularly under OpenWindows and Gnome.
288 287
289 The command @kbd{M-x menu-bar-enable-clipboard} makes the @code{Cut}, 288 The command @kbd{M-x menu-bar-enable-clipboard} makes the @code{Cut},
290@code{Paste} and @code{Copy} menu items, as well as the keys of the same 289@code{Paste} and @code{Copy} menu items, as well as the keys of the same
@@ -295,7 +294,7 @@ the Emacs yank functions consult the clipboard before the primary
295selection, and to make the kill functions to store in the clipboard as 294selection, and to make the kill functions to store in the clipboard as
296well as the primary selection. Otherwise they do not access the 295well as the primary selection. Otherwise they do not access the
297clipboard at all. Using the clipboard is the default on MS-Windows, 296clipboard at all. Using the clipboard is the default on MS-Windows,
298unlike most systems. 297but not on other systems.
299 298
300@node Mouse References 299@node Mouse References
301@section Following References with the Mouse 300@section Following References with the Mouse
@@ -342,16 +341,16 @@ the mouse.
342 341
343@vindex mouse-1-click-follows-link 342@vindex mouse-1-click-follows-link
344 In Emacs versions before 22, only @kbd{Mouse-2} follows links and 343 In Emacs versions before 22, only @kbd{Mouse-2} follows links and
345@kbd{Mouse-1} always sets points. If you prefer this behavior, set 344@kbd{Mouse-1} always sets point. If you prefer this older behavior,
346the variable @code{mouse-1-click-follows-link} to @code{nil}. This 345set the variable @code{mouse-1-click-follows-link} to @code{nil}.
347variable also lets you choose various other alternatives for following 346This variable also lets you choose various other alternatives for
348links with the mouse. Type @kbd{C-h v mouse-1-click-follows-link @key{RET}} 347following links with the mouse. Type @kbd{C-h v
349for more details. 348mouse-1-click-follows-link @key{RET}} for more details.
350 349
351@node Menu Mouse Clicks 350@node Menu Mouse Clicks
352@section Mouse Clicks for Menus 351@section Mouse Clicks for Menus
353 352
354 Mouse clicks modified with the @key{CTRL} and @key{SHIFT} keys 353 Several mouse clicks with the @key{CTRL} and @key{SHIFT} modifiers
355bring up menus. 354bring up menus.
356 355
357@table @kbd 356@table @kbd
@@ -382,7 +381,7 @@ present in the menu bar---not just the mode-specific ones---so that
382you can access them without having to display the menu bar. 381you can access them without having to display the menu bar.
383 382
384@item S-Mouse-1 383@item S-Mouse-1
385This menu is for specifying the frame's principal font. 384This menu is for specifying the frame's default font.
386@end table 385@end table
387 386
388@node Mode Line Mouse 387@node Mode Line Mouse
@@ -396,17 +395,17 @@ windows.
396 Some areas of the mode line, such as the buffer name and the major 395 Some areas of the mode line, such as the buffer name and the major
397mode name, have their own special mouse bindings. These areas are 396mode name, have their own special mouse bindings. These areas are
398highlighted when you hold the mouse over them, and information about 397highlighted when you hold the mouse over them, and information about
399the special bindings will be displayed (@pxref{Tooltips}). 398the special bindings will be displayed (@pxref{Tooltips}). This
400 399section's commands do not apply in those areas.
401 You can also click on areas of the mode line that do not have
402special mouse bindings of their own. This has the following effects:
403 400
404@table @kbd 401@table @kbd
405@item Mouse-1 402@item Mouse-1
406@kindex Mouse-1 @r{(mode line)} 403@kindex Mouse-1 @r{(mode line)}
407@kbd{Mouse-1} on a mode line selects the window it belongs to. By 404@kbd{Mouse-1} on a mode line selects the window it belongs to. By
408dragging @kbd{Mouse-1} on the mode line, you can move it, thus 405dragging @kbd{Mouse-1} on the mode line, you can move it, thus
409changing the height of the windows above and below. 406changing the height of the windows above and below. Changing heights
407with the mouse in this way never deletes windows, it just refuses to
408make any window smaller than the minimum height.
410 409
411@item Mouse-2 410@item Mouse-2
412@kindex Mouse-2 @r{(mode line)} 411@kindex Mouse-2 @r{(mode line)}
@@ -425,7 +424,10 @@ horizontally, above the place in the mode line where you click.
425@end table 424@end table
426 425
427@kindex C-Mouse-2 @r{(scroll bar)} 426@kindex C-Mouse-2 @r{(scroll bar)}
428 @kbd{C-Mouse-2} on a scroll bar splits the corresponding window 427@kindex Mouse-1 @r{(scroll bar)}
428 Using @kbd{Mouse-1} on the divider between two side-by-side mode
429lines, you can move the vertical boundary left or right. Using
430@kbd{C-Mouse-2} on a scroll bar splits the corresponding window
429vertically. @xref{Split Window}. 431vertically. @xref{Split Window}.
430 432
431@node Creating Frames 433@node Creating Frames
@@ -638,12 +640,12 @@ for all of them!
638@section Special Buffer Frames 640@section Special Buffer Frames
639 641
640@vindex special-display-buffer-names 642@vindex special-display-buffer-names
641 You can make certain chosen buffers, for which Emacs normally creates 643 You can make certain chosen buffers, which Emacs normally displays
642a second window when you have just one window, appear in special frames 644in ``another window,'' appear in special frames of their own. To do
643of their own. To do this, set the variable 645this, set the variable @code{special-display-buffer-names} to a list
644@code{special-display-buffer-names} to a list of buffer names; any 646of buffer names; any buffer whose name is in that list automatically
645buffer whose name is in that list automatically gets a special frame, 647gets a special frame, when an Emacs command wants to display it ``in
646when an Emacs command wants to display it ``in another window.'' 648another window.''
647 649
648 For example, if you set the variable this way, 650 For example, if you set the variable this way,
649 651
@@ -664,7 +666,7 @@ frame automatically.
664 More generally, you can set @code{special-display-regexps} to a list 666 More generally, you can set @code{special-display-regexps} to a list
665of regular expressions; then a buffer gets its own frame if its name 667of regular expressions; then a buffer gets its own frame if its name
666matches any of those regular expressions. (Once again, this applies only 668matches any of those regular expressions. (Once again, this applies only
667to buffers that normally get displayed for you in a separate window.) 669to buffers that normally get displayed for you in ``another window.'')
668 670
669@vindex special-display-frame-alist 671@vindex special-display-frame-alist
670 The variable @code{special-display-frame-alist} specifies the frame 672 The variable @code{special-display-frame-alist} specifies the frame
@@ -707,79 +709,39 @@ whether that feature is also in use for the same buffer name.
707@cindex Auto-Raise mode 709@cindex Auto-Raise mode
708@cindex Auto-Lower mode 710@cindex Auto-Lower mode
709 711
710 This section describes commands for altering the display style and 712@kindex S-Mouse-1
711window management behavior of the selected frame. 713@item S-Mouse-1
714 You can specify the font and colors used for text display, and the
715colors for the frame borders, the cursor, and the mouse cursor, by
716customizing the faces @code{default}, @code{border}, @code{cursor} and
717@code{mouse}. @xref{Face Customization}. You can also set a frame's
718default font through a pop-up menu. Press @kbd{S-Mouse-1} to activate
719this menu.
712 720
713@findex set-foreground-color 721 These commands are available for controlling the window management
714@findex set-background-color 722behavior of the selected frame.
715@findex set-cursor-color
716@findex set-mouse-color
717@findex set-border-color
718@findex auto-raise-mode
719@findex auto-lower-mode
720@cindex colors
721@table @kbd
722@item M-x set-foreground-color @key{RET} @var{color} @key{RET}
723Specify color @var{color} for the foreground of the selected frame.
724(This also changes the foreground color of the default face.) You can
725specify @var{color} either by its symbolic name or by its RGB
726numerical specification@footnote{
727See the X Window System documentation for more details. On a typical
728GNU or Unix system, the command @kbd{man 7 X} or @kbd{man -s 7 X} will
729display the X manual page that explains how to specify colors.}.
730
731@item M-x set-background-color @key{RET} @var{color} @key{RET}
732Specify color @var{color} for the background of the selected frame.
733(This also changes the background color of the default face.)
734
735@item M-x set-cursor-color @key{RET} @var{color} @key{RET}
736Specify color @var{color} for the cursor of the selected frame.
737
738@item M-x set-mouse-color @key{RET} @var{color} @key{RET}
739Specify color @var{color} for the mouse cursor when it is over the
740selected frame.
741
742@item M-x set-border-color @key{RET} @var{color} @key{RET}
743Specify color @var{color} for the border of the selected frame.
744
745@item M-x list-colors-display
746Display the defined color names and show what the colors look like.
747This command is somewhat slow. @xref{Colors, list-colors-display,
748Display available colors}.
749 723
724@table @kbd
725@findex auto-raise-mode
750@item M-x auto-raise-mode 726@item M-x auto-raise-mode
751Toggle whether or not the selected frame should auto-raise. Auto-raise 727Toggle whether or not the selected frame should auto-raise. Auto-raise
752means that every time you move the mouse onto the frame, it raises the 728means that every time you move the mouse onto the frame, it raises the
753frame. 729frame.
754 730
755Note that this auto-raise feature is implemented by Emacs itself. Some 731Some window managers also implement auto-raise. If you enable
756window managers also implement auto-raise. If you enable auto-raise for 732auto-raise for Emacs frames in your window manager, it will work, but
757Emacs frames in your X window manager, it should work, but it is beyond 733it is beyond Emacs' control, so @code{auto-raise-mode} has no effect
758Emacs's control and therefore @code{auto-raise-mode} has no effect on 734on it.
759it.
760 735
736@findex auto-lower-mode
761@item M-x auto-lower-mode 737@item M-x auto-lower-mode
762Toggle whether or not the selected frame should auto-lower. 738Toggle whether or not the selected frame should auto-lower.
763Auto-lower means that every time you move the mouse off the frame, 739Auto-lower means that every time you move the mouse off the frame,
764the frame moves to the bottom of the stack of X windows. 740the frame moves to the bottom of the stack on the screen.
765 741
766The command @code{auto-lower-mode} has no effect on auto-lower 742The command @code{auto-lower-mode} has no effect on auto-lower
767implemented by the X window manager. To control that, you must use 743implemented by the window manager. To control that, you must use the
768the appropriate window manager features. 744appropriate window manager features.
769
770@findex set-frame-font
771@item M-x set-frame-font @key{RET} @var{font} @key{RET}
772@cindex font (principal)
773Specify font @var{font} as the principal font for the selected frame.
774The principal font controls several face attributes of the
775@code{default} face (@pxref{Faces}). For example, if the principal font
776has a height of 12 pt, all text will be drawn in 12 pt fonts, unless you
777use another face that specifies a different height. @xref{Font X}, for
778ways to list the available fonts on your system.
779
780@kindex S-Mouse-1
781You can also set a frame's principal font through a pop-up menu.
782Press @kbd{S-Mouse-1} to activate this menu.
783@end table 745@end table
784 746
785 In Emacs versions that use an X toolkit, the color-setting and 747 In Emacs versions that use an X toolkit, the color-setting and
@@ -800,13 +762,13 @@ Parameters,,, elisp, The Emacs Lisp Reference Manual}.
800@cindex Scroll Bar mode 762@cindex Scroll Bar mode
801@cindex mode, Scroll Bar 763@cindex mode, Scroll Bar
802 764
803 When using X, Emacs normally makes a @dfn{scroll bar} at the left of 765 On graphical displays, Emacs normally makes a @dfn{scroll bar} at
804each Emacs window.@footnote{Placing it at the left is usually more 766the left of each Emacs window.@footnote{Placing it at the left is
805useful with overlapping frames with text starting at the left margin.} 767usually more useful with overlapping frames with text starting at the
806The scroll bar runs the height of the window, and shows a moving 768left margin.} The scroll bar runs the height of the window, and shows
807rectangular inner box which represents the portion of the buffer 769a moving rectangular inner box which represents the portion of the
808currently displayed. The entire height of the scroll bar represents the 770buffer currently displayed. The entire height of the scroll bar
809entire length of the buffer. 771represents the entire length of the buffer.
810 772
811 You can use @kbd{Mouse-2} (normally, the middle button) in the scroll 773 You can use @kbd{Mouse-2} (normally, the middle button) in the scroll
812bar to move or drag the inner box up and down. If you move it to the 774bar to move or drag the inner box up and down. If you move it to the
@@ -826,16 +788,18 @@ window vertically. The split occurs on the line where you click.
826@findex scroll-bar-mode 788@findex scroll-bar-mode
827@vindex scroll-bar-mode 789@vindex scroll-bar-mode
828 You can enable or disable Scroll Bar mode with the command @kbd{M-x 790 You can enable or disable Scroll Bar mode with the command @kbd{M-x
829scroll-bar-mode}. With no argument, it toggles the use of scroll bars. 791scroll-bar-mode}. With no argument, it toggles the use of scroll
830With an argument, it turns use of scroll bars on if and only if the 792bars. With an argument, it turns use of scroll bars on if and only if
831argument is positive. This command applies to all frames, including 793the argument is positive. This command applies to all frames,
832frames yet to be created. Customize the variable @code{scroll-bar-mode} 794including frames yet to be created. Customize the variable
833to control the use of scroll bars at startup. You can use it to specify 795@code{scroll-bar-mode} to control the use of scroll bars at startup.
834that they are placed at the right of windows if you prefer that. You 796You can use it to specify that they are placed at the right of windows
835have to set this variable through the @samp{Customize} interface 797if you prefer that. You have to set this variable through the
836(@pxref{Easy Customization}). Otherwise, it will not work properly. 798@samp{Customize} interface (@pxref{Easy Customization}), or it will
837You can use the X resource @samp{verticalScrollBars} to control the 799not work properly.
838initial setting of Scroll Bar mode similarly. @xref{Resources}. 800
801 You can also use the X resource @samp{verticalScrollBars} to control
802the initial setting of Scroll Bar mode. @xref{Resources}.
839 803
840@findex toggle-scroll-bar 804@findex toggle-scroll-bar
841 To enable or disable scroll bars for just the selected frame, use the 805 To enable or disable scroll bars for just the selected frame, use the
@@ -887,37 +851,8 @@ directory displayed in that buffer.
887you prefer to visit the file in a new window in such cases, customize 851you prefer to visit the file in a new window in such cases, customize
888the variable @code{dnd-open-file-other-window}. 852the variable @code{dnd-open-file-other-window}.
889 853
890@ignore 854 The XDND and Motif drag and drop protocols, and the old KDE 1.x
891@c ??? To Lisp manual 855protocol, are currently supported.
892@vindex x-dnd-test-function
893@vindex x-dnd-known-types
894 When a user drags something from another application over Emacs, that other
895application expects Emacs to tell it if Emacs can handle the data that is
896dragged. The variable @code{x-dnd-test-function} is used by Emacs to determine
897what to reply. The default value is @code{x-dnd-default-test-function}
898which accepts drops if the type of the data to be dropped is present in
899@code{x-dnd-known-types}. You can customize @code{x-dnd-test-function} and/or
900@code{x-dnd-known-types} if you want Emacs to accept or reject drops based
901on some other criteria.
902
903@vindex x-dnd-types-alist
904 If you want to change the way Emacs handles drop of different types
905or add a new type, customize @code{x-dnd-types-alist}. This requires
906detailed knowledge of what types other applications use for drag and
907drop.
908
909@vindex dnd-protocol-alist
910 When an URL is dropped on Emacs it may be a file, but it may also be
911another URL type (ftp, http, etc.). Emacs first checks
912@code{dnd-protocol-alist} to determine what to do with the URL. If
913there is no match there and if @code{browse-url-browser-function} is
914an alist, Emacs looks for a match there. If no match is found the
915text for the URL is inserted. If you want to alter Emacs behavior,
916you can customize these variables.
917@end ignore
918
919 The drag and drop protocols XDND, Motif and the
920old KDE 1.x protocol are currently supported.
921 856
922@node Menu Bars 857@node Menu Bars
923@section Menu Bars 858@section Menu Bars
@@ -941,7 +876,7 @@ with @kbd{C-Mouse-3} on a display which supports pop-up menus.
941 876
942 @xref{Menu Bar}, for information on how to invoke commands with the 877 @xref{Menu Bar}, for information on how to invoke commands with the
943menu bar. @xref{X Resources}, for how to customize the menu bar 878menu bar. @xref{X Resources}, for how to customize the menu bar
944menus. 879menus' visual appearance.
945 880
946@node Tool Bars 881@node Tool Bars
947@section Tool Bars 882@section Tool Bars
@@ -980,13 +915,18 @@ use of dialog boxes. This also controls whether to use file selection
980windows (but those are not supported on all platforms). 915windows (but those are not supported on all platforms).
981 916
982@vindex use-file-dialog 917@vindex use-file-dialog
983 A file selection window is a special kind of dialog box for asking for 918 A file selection window is a special kind of dialog box for asking
984file names. 919for file names. You can customize the variable @code{use-file-dialog}
920to suppress the use of file selection windows, even if you still want
921other kinds of dialogs. This variable has no effect if you have
922suppressed all dialog boxes with the variable @code{use-dialog-box}.
985 923
986 You can customize the variable @code{use-file-dialog} to suppress the 924@vindex x-gtk-show-hidden-files
987use of file selection windows even if you still want other kinds 925 For Gtk+ version 2.4 and newer, Emacs use the Gtk+ file chooser
988of dialogs. This variable has no effect if you have suppressed all dialog 926dialog. Emacs adds a toggle button that enables and disables showing
989boxes with the variable @code{use-dialog-box}. 927of hidden files (files starting with a dot) in that dialog. The
928variable @code{x-gtk-show-hidden-files} controls whether to show
929hidden files by default.
990 930
991@vindex x-use-old-gtk-file-dialog 931@vindex x-use-old-gtk-file-dialog
992 For Gtk+ version 2.4 and 2.6, you can make Emacs use the old file dialog 932 For Gtk+ version 2.4 and 2.6, you can make Emacs use the old file dialog
@@ -994,12 +934,6 @@ by setting the variable @code{x-use-old-gtk-file-dialog} to a non-@code{nil}
994value. If Emacs is built with a Gtk+ version that has only one file dialog, 934value. If Emacs is built with a Gtk+ version that has only one file dialog,
995the setting of this variable has no effect. 935the setting of this variable has no effect.
996 936
997@vindex x-gtk-show-hidden-files
998 For Gtk+ version 2.4 and newer, Emacs use the Gtk+ file chooser dialog.
999Emacs adds a toggle button that enables and disables showing of hidden files
1000(files starting with a dot) in that dialog. This variable controls if
1001hidden files should be shown by default or not.
1002
1003@node Tooltips 937@node Tooltips
1004@section Tooltips 938@section Tooltips
1005@cindex tooltips 939@cindex tooltips
@@ -1010,13 +944,13 @@ movement. There are two types of tooltip: help tooltips and GUD
1010tooltips. 944tooltips.
1011 945
1012 @dfn{Help tooltips} typically display over text---including the mode 946 @dfn{Help tooltips} typically display over text---including the mode
1013line---but may be also available for many other parts of the Emacs 947line---but are also available for other parts of the Emacs frame, such
1014frame such as the tool bar and menu items. 948as the tool bar and menu items.
1015 949
1016@findex tooltip-mode 950@findex tooltip-mode
1017 You can toggle help tooltips (Tooltip mode) with the command 951 You can toggle display of help tooltips (Tooltip mode) with the
1018 @kbd{M-x tooltip-mode}. When Tooltip mode is disabled, the help text 952command @kbd{M-x tooltip-mode}. When Tooltip mode is disabled, the
1019is displayed in the echo area instead. 953help text is displayed in the echo area instead.
1020 954
1021 @dfn{GUD tooltips} show values of variables. They are useful when 955 @dfn{GUD tooltips} show values of variables. They are useful when
1022you are debugging a program. @xref{Debugger Operation}. 956you are debugging a program. @xref{Debugger Operation}.
@@ -1066,11 +1000,10 @@ the mode.
1066@cindex non-window terminals 1000@cindex non-window terminals
1067@cindex single-frame terminals 1001@cindex single-frame terminals
1068 1002
1069 If your terminal does not have a window system that Emacs supports, 1003 On a text-only terminal, Emacs can display only one Emacs frame at a
1070then it can display only one Emacs frame at a time. However, you can 1004time. However, you can still create multiple Emacs frames, and switch
1071still create multiple Emacs frames, and switch between them. Switching 1005between them. Switching frames on these terminals is much like
1072frames on these terminals is much like switching between different 1006switching between different window configurations.
1073window configurations.
1074 1007
1075 Use @kbd{C-x 5 2} to create a new frame and switch to it; use @kbd{C-x 1008 Use @kbd{C-x 5 2} to create a new frame and switch to it; use @kbd{C-x
10765 o} to cycle through the existing frames; use @kbd{C-x 5 0} to delete 10095 o} to cycle through the existing frames; use @kbd{C-x 5 0} to delete
@@ -1083,20 +1016,20 @@ appears near the beginning of the mode line, in the form
1083 1016
1084@findex set-frame-name 1017@findex set-frame-name
1085@findex select-frame-by-name 1018@findex select-frame-by-name
1086 @samp{F@var{n}} is actually the frame's name. You can also specify a 1019 @samp{F@var{n}} is in fact the frame's initial name. You can give
1087different name if you wish, and you can select a frame by its name. Use 1020frames more meaningful names if you wish, and you can select a frame
1088the command @kbd{M-x set-frame-name @key{RET} @var{name} @key{RET}} to 1021by its name. Use the command @kbd{M-x set-frame-name @key{RET}
1089specify a new name for the selected frame, and use @kbd{M-x 1022@var{name} @key{RET}} to specify a new name for the selected frame,
1090select-frame-by-name @key{RET} @var{name} @key{RET}} to select a frame 1023and use @kbd{M-x select-frame-by-name @key{RET} @var{name} @key{RET}}
1091according to its name. The name you specify appears in the mode line 1024to select a frame according to its name. The name you specify appears
1092when the frame is selected. 1025in the mode line when the frame is selected.
1093 1026
1094@node XTerm Mouse 1027@node XTerm Mouse
1095@section Using a Mouse in Terminal Emulators 1028@section Using a Mouse in Terminal Emulators
1096@cindex xterm, mouse support 1029@cindex xterm, mouse support
1097@cindex terminal emulators, mouse support 1030@cindex terminal emulators, mouse support
1098 1031
1099Some terminal emulators under X support mouse clicks in the terminal 1032 Some terminal emulators under X support mouse clicks in the terminal
1100window. In a terminal emulator which is compatible with @code{xterm}, 1033window. In a terminal emulator which is compatible with @code{xterm},
1101you can use @kbd{M-x xterm-mouse-mode} to give Emacs control over 1034you can use @kbd{M-x xterm-mouse-mode} to give Emacs control over
1102simple use of the mouse---basically, only non-modified single clicks 1035simple use of the mouse---basically, only non-modified single clicks