annotate man/new-users-guide/xmenu.texi @ 462:0784d089fdc9 r21-2-46

Import from CVS: tag r21-2-46
author cvs
date Mon, 13 Aug 2007 11:44:37 +0200
parents 3ecd8885ac67
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 @comment node-name, next, previous, up
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 @node Windows and Menus, Edit, Entering, Top
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 @chapter XEmacs Windows and Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 @cindex selected window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5 @cindex windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 @findex delete-window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 @findex delete-other-windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8 @findex scroll-other-window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10 The first section of this chapter will show you how you can manipulate
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 XEmacs Windows and the other section will explain the Pull-down Menus of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 an XEmacs window.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 @comment node-name, next, previous, up
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 @menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 * XEmacs Window:: Manipulating XEmacs Windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 * Pull-down Menus:: Description of XEmacs Pull-down Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 @end menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 @node XEmacs Window, Pull-down Menus, Windows and Menus, Windows and Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 @section XEmacs Windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 When you use XEmacs under X, you can open multiple windows and each
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 window can display one buffer or multiple parts of one buffer. Each window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 will have its own @dfn{mode line} and @dfn{echo area}. At any one time
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 there is only one @dfn{selected window} and the buffer it displays is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 the @dfn{selected buffer}. There are some commands for manipulating
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27 windows:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
29 @kindex C-x 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
30 @kindex C-x 1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
31 @kindex C-x 2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32 @kindex C-x 3
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33 @kindex C-x 4
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34 @kindex M-C-v
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35 @table @kbd
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
36 @item M-C-v
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
37 @findex scroll-other-window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
38 This command will scroll the window which is not @dfn{selected}
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 (@code{scroll-other-window}).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
41 @findex delete-window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
42 @item C-x 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
43 This command will get rid of the selected window (@code{delete-window}).
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
44 That is a zero. If there is more than one Emacs frame, deleting the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
45 sole remaining window on that frame deletes the frame as well. If the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
46 current frame is the only frame, it is not deleted.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
47
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
48 @findex delete-other-windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
49 @item C-x 1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
50 This command will get rid of all the windows except the selected one.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
51 (@code{delete-other-windows}). For example, if you use the @b{Describe
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
52 variable} option from the @b{Help} menu, the window will split
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
53 vertically and the bottom window will contain documentation for that
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
54 variable. After you are done looking at that variable's documentation
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
55 you might want to come back to your original single window. Just type
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
56 @kbd{C-x 1} after your cursor is in the top window (the window which you
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
57 want to keep) and hit @key{RET}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
58
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
59 @findex split-window-vertically
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
60 @item C-x 2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
61 This command will split the selected window into two windows, one above
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
62 the other (@code{split-window-vertically}). Both the windows will start
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
63 out by displaying the same buffer. The window in which you have your
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
64 cursor will be your @dfn{selected window}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
65
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
66 @findex split-window-horizontally
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
67 @item C-x 3
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
68 This will split the selected window into two windows positioned side by
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
69 side (@code{split-window-horizontally}). A line of vertical bars will
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
70 separate the window.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
71 @end table
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
72 @noindent
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
73
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
74 You can select a buffer in another window by using some other
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
75 commands. These commands all have a prefix key @kbd{C-x 4}
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
76 @table @kbd
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
77 @kindex C-x 4 b
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
78 @kindex C-x 4 f
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
79 @kindex C-x 4 d
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
80 @kindex C-x 4 m
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
81 @findex switch-to-buffer-other-window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
82 @findex find-file-other-window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
83 @findex dired-other-window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
84 @findex mail-other-window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
85 @item C-x 4 b @var{bufname} @key{RET}
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
86 This command will select a buffer @var{bufname} in another window. This
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
87 runs @code{switch-to-buffer-other-window}. It will prompt you for a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
88 buffername.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
89
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
90 @item C-x 4 f @var{filename} @key{RET}
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
91 Visit file @var{filename} and select its buffer in another window. This
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
92 runs @code{find-file-other-window}. @xref{Visiting,,,xemacs,XEmacs User's
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
93 Manual}. It will prompt you for a filename.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
94
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
95 @item C-x 4 d @var{directory} @key{RET}
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
96 Select a Dired buffer for directory @var{directory} in another window.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
97 This runs @code{dired-other-window}. @xref{Dired,,,xemacs,XEmacs User's
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
98 Manual}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
99
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
100 @item C-x 4 m
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
101 Start composing a mail message in another window. This runs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
102 @code{mail-other-window}, and its same-window version is @kbd{C-x m}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
103 @xref{Sending Mail,,,xemacs,XEmacs User's Manual}, for information on how
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
104 to @b{S}end @b{M}ail using XEmacs. @xref{Reading Mail With
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
105 Rmail,,,xemacs,XEmacs User's Manual}, for information on reading mail using
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
106 @b{Rmail}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
107 @end table
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
108
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
109
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
110 If you click the right button on the mouse on a mode line, you will
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
111 get a menu with following options:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
112 @cindex windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
113 @cindex pull-down-menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
114 @cindex menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
115 @table @b
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
116 @item Delete Window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
117 Choosing this menu will remove the window above this modeline from the frame.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
118 @item Delete Other Windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
119 Delete all windows on the frame except for the one above this modeline.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
120 @item Split Window
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
121 Split the window above the mode line in half, creating another window.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
122 @item Split Window Horizontally
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
123 Split the window above the mode line in half horizontally, so that there
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
124 will be two windows side-by-side.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
125 @item Balance Windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
126 Readjust the sizes of all windows on the frame until all windows have
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
127 roughly the same number of lines.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
128 @end table
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
129
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
130
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
131 @comment node-name, next, previous, up
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
132 @node Pull-down Menus, , XEmacs Window, Windows and Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
133 @section XEmacs Pull-down Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
134
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
135 When you run XEmacs under X, each Emacs frame has a menu-bar at the top
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
136 which provides commands for editing, help and other
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
137 options. All these options are also available via key commands, the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
138 menus just provide convenient short-cuts. The key commands are displayed
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
139 right besides some of the options. The following is a brief
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
140 description of the four default menus on the menu bar:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
141
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
142 @menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
143 * File menu:: Items on the File menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
144 * Edit menu:: Items on the Edit menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
145 * Options Menu:: Items on the Options Menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
146 * Buffers Menu:: Items on the Buffers Menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
147 * Help menu:: The Help Menu at the extreme right on
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
148 the frame
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
149 @end menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
150
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
151 @node File menu, Edit menu, Pull-down Menus, Pull-down Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
152 @subsection The File Menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
153 @cindex File menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
154 @cindex Open in New Frame... menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
155 @cindex Open ... menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
156 @cindex Insert File... menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
157 @cindex Save Buffer menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
158 @cindex Save Buffer As ... menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
159 @cindex Revert Buffer menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
160 @cindex Kill Buffer menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
161 @cindex Print Buffer menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
162 @cindex New Frame menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
163 @cindex Delete Frame menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
164 @cindex Split Frame
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
165 @cindex Un-split (Keep This)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
166 @cindex Un-split (Keep Others)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
167 @cindex Exit Emacs menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
168
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
169 The @b{File} menu bar contains the following items. To choose a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
170 particular option, press the left mouse button and drag it to the item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
171 you wish to select. Then release the button.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
172
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
173 @table @b
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
174 @item Open...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
175 This option will prompt you for a file name. You will get a message in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
176 the echo area:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
177
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
178 @example
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
179 Find File:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
180 @end example
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
181 @noindent
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
182 After Find File, there might be a directory path also. After you type
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
183 the file name and press @key{RET} the file will be loaded into a new
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
184 buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
185
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
186 @item Open in New Frame...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
187 It prompts you for a file name and loads that file in a new buffer in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
188 a new frame. You can open many frames for the same Emacs session. You
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
189 can delete the frame by selecting @b{Delete Frame}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
190
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
191 @item Insert File...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
192 Prompts you for a filename and inserts the contents of this filename in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
193 your current buffer. Position your cursor at the place you wish to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
194 insert the file and select this option. You will get the following
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
195 message in the echo area:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
196
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
197 @example
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
198 Insert file:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
199 @end example
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
200 @noindent
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
201 Insert the file name and press @key{RET}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
202
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
203 @item Save <Buffername>
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
204 It saves the changes you have made to the buffer. If you have made
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
205 changes which are not saved yet, the option will appear dark, otherwise
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
206 it will be light and unselectable. If you do not wish to save the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
207 changes, select @b{Revert Buffer}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
208
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
209 @item Save As...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
210 Prompts you for a filename and saves the current buffer in that file. It
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
211 loads the new file if the filename you specify is different from the one
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
212 you were working with.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
213
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
214 @item Print Buffer <buffername>
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
215 Prints a hardcopy of the current or @dfn{selected} buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
216
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
217 @item New Frame
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
218 Opens a new frame with @b{*scratch*} as the default buffer. It doesn't
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
219 prompt you for a filename. To open a file you need to go to that frame
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
220 and select @b{Open...}
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
221
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
222 @item Split Frame
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
223 Splits the current window into two equal-sized windows with the same
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
224 buffer. To get back a single frame, select @b{Un-Split (Keep
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
225 This)}. @xref{XEmacs Window}, for more information about windows.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
226
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
227 @item Un-Split (Keep This)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
228 If the frame contains multiple windows, it will remove all windows
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
229 except the selected one.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
230
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
231 @item Un-Split (Keep Others)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
232 If the frame contains multiple windows, it will remove the selected
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
233 window and keep the other one.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
234
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
235 @item Revert Buffer <buffername>
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
236 If you do not wish to save the changes you made to the file since you
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
237 opened it, select this option. It will restore the last saved version of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
238 the file to the current buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
239
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
240 @item Kill Buffer <buffername>
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
241 It will kill the current buffer. If will prompt you if there are unsaved
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
242 changes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
243
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
244 @item Exit Emacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
245 It will kill the Emacs @dfn{process} as opposed to simply killing the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
246 @dfn{buffer}. Before it kills the process, it will prompt you as to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
247 which unsaved buffers you wish to save by going through the list of the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
248 buffers.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
249
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
250 @end table
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
251
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
252 @comment node-name, next, previous, up
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
253 @menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
254 * Edit menu:: Items on the Edit Menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
255 * Options Menu:: Items on the Options Menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
256 * Buffers Menu:: Items on the Buffers Menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
257 * Help menu:: The Help Menu at the extreme right on
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
258 the frame
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
259 @end menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
260
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
261 @node Edit menu, Options Menu, File menu, Pull-down Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
262 @subsection The Edit Menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
263 @cindex Undo menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
264 @cindex Cut menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
265 @cindex Copy menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
266 @cindex Paste menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
267 @cindex Clear menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
268 @cindex Start Macro Recording menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
269 @cindex End Macro Recording menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
270 @cindex Execute Last Macro menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
271
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
272 Most of the commands in this menu work on a block of text or a selected
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
273 region. The text will be highlighted as you select it.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
274 @table @b
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
275 @item Undo
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
276 Undoes the previous command. If you type something by mistake you can
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
277 use this command. For example, if you select @b{Insert File...} from the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
278 @b{File} menu and insert a wrong file by mistake, you can select this
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
279 item and it will remove the inserted file. It undoes a batch of text
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
280 which is worth an emacs command.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
281
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
282 @item Cut
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
283 Removes the selected text block from the current buffer, makes it the X
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
284 clipboard selection, and places it in the kill ring
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
285 (@pxref{Moving Text}). Before executing this command, you have to select
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
286 a region using Emacs region selection commands or with the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
287 mouse. @xref{Selecting Text}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
288
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
289 @item Copy
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
290 Makes a selected text block the X clipboard selection, and places it in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
291 the kill ring. You can select text using one of the Emacs region
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
292 selection commands or by selecting a text region with the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
293 mouse. @xref{Selecting Text}, for more information.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
294
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
295 @item Paste
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
296 Inserts the current value of the X clipboard selection in the current
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
297 buffer. Note that this is not necessarily the same as the Emacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
298 @code{yank} command, because the Emacs kill ring and the X clipboard
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
299 selection are not the same thing. You can paste in text you have placed
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
300 in the clipboard using @b{Copy} or @b{Cut}. You can also use @b{Paste}
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
301 to insert text that was pasted into the clipboard from other
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
302 applications. @xref{X Clipboard Selection,,,xemacs,XEmacs User's Manual},
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
303 for information on using Clipboard Selection.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
304
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
305 @item Clear
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
306 Removes the selected text block from the current buffer but does not
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
307 place it in the kill ring or the X clipboard selection. You will not be
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
308 able to get this text back.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
309
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
310 @item Start Macro Recording
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
311 After selecting this, Emacs will remember every keystroke you type until
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
312 @b{End Macro Recording} is selected.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
313
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
314 @item End Macro Recording
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
315 Selecting this tells emacs to stop remembering your keystrokes.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
316
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
317 @item Execute Last Macro
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
318 Selecting this item will cause emacs to re-interpret all of the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
319 keystrokes which were saved between selections of the @b{Start Macro
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
320 Recording} and @b{End Macro Recording} menu items. You can now execute
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
321 the most recent keyboard macro. @xref{Keyboard Macros,,,xemacs,XEmacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
322 User's Manual}, for further information.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
323 @end table
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
324
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
325 @comment node-name, next, previous, up
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
326 @node Options Menu, Buffers Menu, Edit menu, Pull-down Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
327 @subsection The Options Menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
328 @cindex Options menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
329 @cindex Read Only menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
330 @cindex Case Sensitive Search menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
331 @cindex Overstrike menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
332 @cindex Auto Delete Selection menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
333 @cindex Teach Extended Commands menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
334 @cindex Syntax Highlighting menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
335 @cindex Paren Highlighting menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
336 @cindex Font menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
337 @cindex Size menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
338 @cindex Weight menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
339 @cindex Buffers Menu Length... menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
340 @cindex Buffers Sub-Menus menu item
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
341 @cindex Save Options
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
342
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
343 There are sub-menus for some of the menus which you will need to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
344 select. If sub-menus exist for an item, they will be displayed
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
345 automatically when you drag the mouse on that item. The items in this
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
346 menu provide some fancy editing operations.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
347
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
348 @table @b
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
349 @item Read Only
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
350 Selecting this item will cause the buffer to visit the file in a
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
351 read-only mode. Changes to the file will not be allowed.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
352
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
353 @item Case Sensitive Search
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
354 Selecting this item will cause searches to be case-sensitive. If
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
355 its not selected then searches will ignore case. This option is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
356 local to the buffer. For example, if this item is selected and you are
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
357 searching for @samp{Smile}, then an occurrence of @samp{smile} will not
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
358 be recognized because of the smaller case of @samp{s}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
359
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
360 @item Overstrike
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
361 After selecting this item, when you type letters they will replace
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
362 existing text on a one-to-one basis, rather than pushing it to the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
363 right. At the end of a line, such characters extend the line. Before
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
364 a tab, such characters insert until the tab is filled in.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
365
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
366 @item Auto Delete Selection
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
367 Selecting this item will cause automatic deletion of the selected
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
368 region. After you select a region and hit the @key{RET} key, the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
369 selected text will be deleted. The typed text will replace the selection
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
370 if the selection is active (i.e. if its highlighted). If the option is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
371 not selected then the typed text is just inserted at the cursor.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
372
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
373 @item Teach Extended Commands
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
374 After you select this item, any time you execute a command with
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
375 @kbd{M-x} which has a shorter keybinding, you will be shown the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
376 alternate binding before the command executes. For example if you type
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
377 @kbd{M-x find-file-other-window} which performs the same function as the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
378 @b{Open in Other Window...} in @b{File} menu you will see the following
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
379 message:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
380
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
381 @example
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
382 M-x find-file-other-window (bound to keys: C-x 4 f, C-x 4 C-f)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
383 @end example
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
384
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
385 @item Syntax Highlighting
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 428
diff changeset
386 You can customize your @code{init.el} file to include the font-lock mode
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
387 so that when you select this item, the comments will be displayed in one
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
388 face, strings in another, reserved words in another, and so
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
389 on. @xref{Customization,,,xemacs,XEmacs User's Manual}, for more
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 428
diff changeset
390 information on customizing @code{init.el} file. After selecting this
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
391 item, you will find your code a lot easier to read. When @b{Fonts} is
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
392 selected, different parts of the program will appear in different
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
393 Fonts. When @b{Colors} is selected, then the program will be displayed
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
394 in different colors. Selecting @b{None} causes the program to appear in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
395 just one Font and Color. Selecting @b{Less} resets the Fonts and Colors
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
396 to a fast, minimal set of decorations. Selecting @b{More} resets the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
397 Fonts and Colors to a larger set of decorations. For example, if
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
398 @b{Less} is selected (which is the default setting) then you might have
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
399 all comments in green color. It does not matter what the comments
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
400 contain. Whereas, if @b{More} is selected then a function name in the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
401 comments themselves might appear in a different Color or Font. Even
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
402 though the comments themselves might appear in green color, a function
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
403 name @dfn{within} the comments might appear in red color.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
404
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
405 @item Paren Highlighting
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
406 After selecting @b{Blink} from this item, if you place the cursor
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
407 on a parenthesis, the matching parenthesis will blink. If you select
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
408 @b{Highlight} and place the cursor on a parenthesis, the whole
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
409 expression of the parenthesis under the cursor will be highlighted.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
410 Selecting @b{None} will turn off the options (regarding @b{Paren
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
411 Highlighting}) which you had selected earlier.@refill
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
412
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
413 @item Font
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
414 You can select any Font for your program by choosing from one of the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
415 available Fonts. The whole buffer will be converted to the Font you select.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
416
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
417 @item Size
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
418 You can select any size for the text in your buffer (ranging from @b{2} to @b{24}) by selecting the appropriate option.@refill
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
419
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
420 @item Weight
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
421 You can choose either @b{Bold} or @b{Medium} for the weight of the text
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
422 of your buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
423
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
424 @item Buffers Menu Length...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
425 Prompts you for the number of buffers to display. Then it will display
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
426 that number of most recently selected buffers.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
427
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
428 @item Buffers Sub-Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
429 After selection of this item the Buffers menu will contain several
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
430 commands, as submenus of each buffer line. If this item is unselected,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
431 then there are no submenus for each buffer line, the only command
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
432 available will be selecting that buffer.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
433
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
434 @item Save Options
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
435 Selecting this item will save the current settings of your Options
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 428
diff changeset
436 menu to your @code{init.el} file so that the next time you start XEmacs,
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
437 you won't need to select the options again.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
438 @end table
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
439
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
440
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
441 @comment node-name, next, previous, up
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
442 @node Buffers Menu, Help menu, Options Menu, Pull-down Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
443 @subsection The Buffers Menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
444 @cindex Buffers menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
445 The @b{Buffers} menu provides a selection of up to ten buffers and the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
446 item @b{List All Buffers}, which provides a Buffer List. If you select
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
447 @b{Buffers Sub-menus} from the @b{Options} menu, you will get some
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
448 sub-menus for each of the buffer listing.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
449
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
450
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
451 @comment node-name, next, previous, up
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
452 @node Help menu, , Buffers Menu, Pull-down Menus
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
453 @subsection The Help Menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
454 @cindex Help menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
455
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
456 The Help Menu gives you access to Emacs Info and provides a menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
457 equivalent for some of the choices you have when using @kbd{C-h}.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
458 @xref{Help}, for more information.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
459
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
460 The @b{Describe variable} and @b{Describe function} will provide
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
461 documentation for the corresponding variable or function. The Help menu
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
462 also gives access to UNIX online manual pages via the @b{UNIX Manual...}
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
463 option.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
464
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
465
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
466
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
467
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
468
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
469
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
470
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
471
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
472