diff options
| author | Chong Yidong | 2008-10-20 02:17:20 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-10-20 02:17:20 +0000 |
| commit | c5c040a79981ac2856a0230bf32e48ce7ab38c1e (patch) | |
| tree | 9870498c686c4bf52a024b2029373d5077db3600 /doc | |
| parent | dac94f8e259af9d0b7b840e678477a7fedbd7665 (diff) | |
| download | emacs-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.texi | 64 |
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 |
| 841 | the left of each Emacs window, and running the height of the | 841 | the left of each Emacs window, running the height of the |
| 842 | window.@footnote{Placing it at the left is usually more useful with | 842 | window.@footnote{Placing it at the left is usually more useful with |
| 843 | overlapping frames with text starting at the left margin.} | 843 | overlapping 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 |
| 846 | in operating systems such as Microsoft Windows or Mac OS, you can use | 846 | in operating systems such as Microsoft Windows or Mac OS, you can use |
| 847 | the scroll bar as you do in other graphical applications. If you | 847 | the scroll bar as you do in other graphical applications. If you |
| 848 | click @key{Mouse-1} on the scroll bar's up and down buttons, that | 848 | click @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} | |||
| 852 | respectively (@pxref{Moving Point}). Dragging the inner box with | 852 | respectively (@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, |
| 856 | scroll bar behaves differently. The scroll bar's inner box is drawn | 856 | the scroll bar behaves differently. The scroll bar's inner box is |
| 857 | to represent the portion of the buffer currently displayed, with the | 857 | drawn to represent the portion of the buffer currently displayed, with |
| 858 | entire height of the scroll bar representing the entire length of the | 858 | the entire height of the scroll bar representing the entire length of |
| 859 | buffer. @key{Mouse-1} anywhere on the scroll bar scrolls forward like | 859 | the 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}. | 860 | like @kbd{C-v}, and @key{Mouse-3} scrolls backward like @kbd{M-v}. |
| 861 | Clicking @key{Mouse-2} in the scroll bar lets you move or drag the | 861 | Clicking @key{Mouse-2} in the scroll bar lets you move or drag the |
| 862 | inner box up and down. | 862 | inner 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 |
| 990 | question or some other special question. Many Emacs commands use a | 990 | question or some other special question. Many Emacs commands use a |
| 991 | dialog box to ask a yes-or-no question, if you used the mouse to | 991 | dialog box to ask a yes-or-no question, if you used the mouse to |
| 992 | invoke the command to begin with. | 992 | invoke 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 |
| 995 | use of dialog boxes. This also controls whether to use file selection | 995 | @code{use-dialog-box} to @code{nil}. In that case, Emacs always |
| 996 | windows (but those are not supported on all platforms). | 996 | performs yes-or-no prompts using the echo area and keyboard input. |
| 997 | This variable also controls whether to use file selection windows (but | ||
| 998 | those 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 | |||
| 1003 | suppressed all dialog boxes with the variable @code{use-dialog-box}. | 1005 | suppressed 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 | ||
| 1007 | dialog. Emacs adds a toggle button that enables and disables showing | ||
| 1008 | of hidden files (files starting with a dot) in that dialog. The | ||
| 1009 | variable @code{x-gtk-show-hidden-files} controls whether to show | ||
| 1010 | hidden 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 | ||
| 1014 | dialog (@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 | ||
| 1017 | with a Gtk+ version that has only one file dialog, this variable has | ||
| 1018 | no 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 | 1011 | chooser'' dialog. Emacs adds an additional toggle button to this |
| 1023 | @code{nil}, that disables the added text. | 1012 | dialog, which you can use to enable or disable the display of hidden |
| 1013 | files (files starting with a dot) in that dialog. If you want this | ||
| 1014 | toggle to be activated by default, change the variable | ||
| 1015 | @code{x-gtk-show-hidden-files} to @code{t}. In addition, Emacs adds | ||
| 1016 | help text to the GTK+ file chooser dialog; to disable this help text, | ||
| 1017 | change 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 | ||
| 1020 | version 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 | ||
| 1022 | is built with a GTK+ version that has only one file dialog, this | ||
| 1023 | variable 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 | ||
| 1120 | Some terminal emulators support mouse clicks in the terminal window. | 1120 | Some text-only terminals support mouse clicks in the terminal window. |
| 1121 | 1121 | ||
| 1122 | @cindex xterm | 1122 | @cindex xterm |
| 1123 | In a terminal emulator which is compatible with @code{xterm}, | 1123 | In 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 |
| 1130 | again. | 1130 | again. |
| 1131 | 1131 | ||
| 1132 | In the console on GNU/Linux, you can use @kbd{M-x t-mouse-mode}. You | 1132 | In the console on GNU/Linux, you can use @kbd{M-x t-mouse-mode} to |
| 1133 | need to have the gpm package installed and running on your system in | 1133 | enable terminal mouse support. You must have the gpm package |
| 1134 | order for this to work. | 1134 | installed 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 |