aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChong Yidong2008-10-20 02:17:20 +0000
committerChong Yidong2008-10-20 02:17:20 +0000
commitc5c040a79981ac2856a0230bf32e48ce7ab38c1e (patch)
tree9870498c686c4bf52a024b2029373d5077db3600 /doc
parentdac94f8e259af9d0b7b840e678477a7fedbd7665 (diff)
downloademacs-c5c040a79981ac2856a0230bf32e48ce7ab38c1e.tar.gz
emacs-c5c040a79981ac2856a0230bf32e48ce7ab38c1e.zip
(Dialog Boxes): Clarify description of GTK+ file chooser.
(Text-Only Mouse): Copyedit.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/frames.texi64
1 files changed, 32 insertions, 32 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index b5457f22a3d..68322bf515f 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -838,11 +838,11 @@ Parameters,,, elisp, The Emacs Lisp Reference Manual}.
838@cindex mode, Scroll Bar 838@cindex mode, Scroll Bar
839 839
840 On graphical displays, Emacs normally makes a @dfn{scroll bar} at 840 On graphical displays, Emacs normally makes a @dfn{scroll bar} at
841the left of each Emacs window, and running the height of the 841the left of each Emacs window, running the height of the
842window.@footnote{Placing it at the left is usually more useful with 842window.@footnote{Placing it at the left is usually more useful with
843overlapping frames with text starting at the left margin.} 843overlapping frames with text starting at the left margin.}
844 844
845 When Emacs is compiled with GTK support on the X window system, or 845 When Emacs is compiled with GTK+ support on the X window system, or
846in operating systems such as Microsoft Windows or Mac OS, you can use 846in operating systems such as Microsoft Windows or Mac OS, you can use
847the scroll bar as you do in other graphical applications. If you 847the scroll bar as you do in other graphical applications. If you
848click @key{Mouse-1} on the scroll bar's up and down buttons, that 848click @key{Mouse-1} on the scroll bar's up and down buttons, that
@@ -852,12 +852,12 @@ the entire height of the window, like @kbd{M-v} and @kbd{C-v}
852respectively (@pxref{Moving Point}). Dragging the inner box with 852respectively (@pxref{Moving Point}). Dragging the inner box with
853@key{Mouse-1} scrolls the window continuously. 853@key{Mouse-1} scrolls the window continuously.
854 854
855 If Emacs is compiled without GTK support on the X window system, the 855 If Emacs is compiled without GTK+ support on the X window system,
856scroll bar behaves differently. The scroll bar's inner box is drawn 856the scroll bar behaves differently. The scroll bar's inner box is
857to represent the portion of the buffer currently displayed, with the 857drawn to represent the portion of the buffer currently displayed, with
858entire height of the scroll bar representing the entire length of the 858the entire height of the scroll bar representing the entire length of
859buffer. @key{Mouse-1} anywhere on the scroll bar scrolls forward like 859the buffer. @key{Mouse-1} anywhere on the scroll bar scrolls forward
860@kbd{C-v}, and @key{Mouse-3} scrolls backward like @kbd{M-v}. 860like @kbd{C-v}, and @key{Mouse-3} scrolls backward like @kbd{M-v}.
861Clicking @key{Mouse-2} in the scroll bar lets you move or drag the 861Clicking @key{Mouse-2} in the scroll bar lets you move or drag the
862inner box up and down. 862inner box up and down.
863 863
@@ -989,11 +989,13 @@ tool-bar-mode} or by customizing the option @code{tool-bar-mode}.
989 A dialog box is a special kind of menu for asking you a yes-or-no 989 A dialog box is a special kind of menu for asking you a yes-or-no
990question or some other special question. Many Emacs commands use a 990question or some other special question. Many Emacs commands use a
991dialog box to ask a yes-or-no question, if you used the mouse to 991dialog box to ask a yes-or-no question, if you used the mouse to
992invoke the command to begin with. 992invoke the command that led to the question.
993 993
994 You can customize the variable @code{use-dialog-box} to suppress the 994 To disable the use of dialog boxes, change the variable
995use of dialog boxes. This also controls whether to use file selection 995@code{use-dialog-box} to @code{nil}. In that case, Emacs always
996windows (but those are not supported on all platforms). 996performs yes-or-no prompts using the echo area and keyboard input.
997This variable also controls whether to use file selection windows (but
998those are not supported on all platforms).
997 999
998@vindex use-file-dialog 1000@vindex use-file-dialog
999 A file selection window is a special kind of dialog box for asking 1001 A file selection window is a special kind of dialog box for asking
@@ -1003,24 +1005,22 @@ other kinds of dialogs. This variable has no effect if you have
1003suppressed all dialog boxes with the variable @code{use-dialog-box}. 1005suppressed all dialog boxes with the variable @code{use-dialog-box}.
1004 1006
1005@vindex x-gtk-show-hidden-files 1007@vindex x-gtk-show-hidden-files
1006 For Gtk+ version 2.4 and newer, Emacs use the Gtk+ file chooser
1007dialog. Emacs adds a toggle button that enables and disables showing
1008of hidden files (files starting with a dot) in that dialog. The
1009variable @code{x-gtk-show-hidden-files} controls whether to show
1010hidden files by default.
1011
1012@vindex x-gtk-use-old-file-dialog 1008@vindex x-gtk-use-old-file-dialog
1013 For Gtk+ versions 2.4 through 2.10, you can select the old file
1014dialog (@code{gtk-file-selector}) by setting the variable
1015@code{x-gtk-use-old-file-dialog} to a non-@code{nil} value. If it is
1016@code{nil}, Emacs uses @code{gtk-file-chooser}. If Emacs is built
1017with a Gtk+ version that has only one file dialog, this variable has
1018no effect.
1019
1020@vindex x-gtk-file-dialog-help-text 1009@vindex x-gtk-file-dialog-help-text
1021 Emacs adds help text to the Gtk+ file chooser dialog. The variable 1010 When Emacs is compiled with GTK+ support, it uses the GTK+ ``file
1022@code{x-gtk-file-dialog-help-text} specifies the text to add; if it is 1011chooser'' dialog. Emacs adds an additional toggle button to this
1023@code{nil}, that disables the added text. 1012dialog, which you can use to enable or disable the display of hidden
1013files (files starting with a dot) in that dialog. If you want this
1014toggle to be activated by default, change the variable
1015@code{x-gtk-show-hidden-files} to @code{t}. In addition, Emacs adds
1016help text to the GTK+ file chooser dialog; to disable this help text,
1017change the variable @code{x-gtk-file-dialog-help-text} to @code{nil}.
1018
1019 In GTK+ versions 2.4 through 2.10, you can choose to use an older
1020version of the GTK+ file dialog by setting the variable
1021@code{x-gtk-use-old-file-dialog} to a non-@code{nil} value. If Emacs
1022is built with a GTK+ version that has only one file dialog, this
1023variable has no effect.
1024 1024
1025@node Tooltips 1025@node Tooltips
1026@section Tooltips 1026@section Tooltips
@@ -1117,7 +1117,7 @@ in the mode line when the frame is selected.
1117@cindex mouse support 1117@cindex mouse support
1118@cindex terminal emulators, mouse support 1118@cindex terminal emulators, mouse support
1119 1119
1120Some terminal emulators support mouse clicks in the terminal window. 1120Some text-only terminals support mouse clicks in the terminal window.
1121 1121
1122@cindex xterm 1122@cindex xterm
1123In a terminal emulator which is compatible with @code{xterm}, 1123In a terminal emulator which is compatible with @code{xterm},
@@ -1129,9 +1129,9 @@ press the mouse button. Xterm Mouse mode is a global minor mode
1129(@pxref{Minor Modes}). Repeating the command turns the mode off 1129(@pxref{Minor Modes}). Repeating the command turns the mode off
1130again. 1130again.
1131 1131
1132In the console on GNU/Linux, you can use @kbd{M-x t-mouse-mode}. You 1132In the console on GNU/Linux, you can use @kbd{M-x t-mouse-mode} to
1133need to have the gpm package installed and running on your system in 1133enable terminal mouse support. You must have the gpm package
1134order for this to work. 1134installed and running on your system in order for this to work.
1135 1135
1136@ignore 1136@ignore
1137 arch-tag: 7dcf3a31-a43b-45d4-a900-445b10d77e49 1137 arch-tag: 7dcf3a31-a43b-45d4-a900-445b10d77e49