annotate man/new-users-guide/enter.texi @ 265:8efd647ea9ca r20-5b31

Import from CVS: tag r20-5b31
author cvs
date Mon, 13 Aug 2007 10:25:37 +0200
parents 376386a54a3c
children c9fe270a4101
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 @node Entering, Windows and Menus, Concept Index, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 @chapter Entering and Exiting Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 @cindex buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 @cindex file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 @cindex windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 While using Emacs you should be familiar with the following three terms:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 @table @asis
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 @item Buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 A @b{buffer} is a region of memory holding characters. It is the basic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 editing unit; one buffer corresponds to one piece of text being
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 edited. You can have multiple buffers but you can edit only one buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 at any one time. For more information, @xref{Buffers,,,,XEmacs User's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 Manual}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 @item File
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 A @b{file} is a region of disk space holding characters. Emacs edits a file by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 reading it into a buffer, editing that buffer and writing out the buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 back to the file. To save your work permanently you have to write it to a file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 So after you load and work with a file, you have to save it back.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 @item Windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 A @b{window} is a rectangular region in which a buffer is displayed. You can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 open multiple windows with multiple buffers and edit them by selecting the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 corresponding buffer. Initially, when you start emacs, it will automatically
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 open up a window for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 * Enter:: Entering Emacs from the shell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 * Frame:: Basic information about the XEmacs Frame
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 * Exiting:: Exiting Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 * Mode Line:: Interpreting the mode line.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 * Echo Area:: Bottom of the frame where you interact
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 with Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 @node Enter, Frame, Entering, Entering
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 @section Entering Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 @cindex entering Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 @cindex entering XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 To enter Emacs type @kbd{xemacs} and press the Return key at the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 shell i.e. @kbd{xemacs @key{RET}}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 This will bring up an emacs window with @samp{*scratch*} as the default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 buffer because Emacs must always have a buffer to work on. Then choose
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 the @b{Open...} option from the @b{File} menu on the menubar at the top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 of the frame. It will prompt you to enter a filename. After you enter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 the filename, Emacs will read that file into the current buffer. You can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 also type :
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 @kbd{xemacs <filename> @key{RET}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 directly which will bring up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 an Emacs frame with the @dfn{filename} as the buffer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 @comment
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 @node Frame, Exiting, Enter, Entering
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 @section Emacs Frame
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 @cindex open another file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 When you run XEmacs under X, a menu bar on top of the Emacs frame
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 provides access to pull-down menus of file, edit, and help-related
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 commands. The menus only provide convenient shortcuts, the options that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 they provide are available via key commands. You can invoke those
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 commands from the keyboard also. For many of the options, their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 corresponding key commands are displayed right besides them. The five
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 default menus on the menubar that you will see on the frame are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 @b{File}, @b{Edit}, @b{Options}, @b{Buffers} and @b{Help}. @xref{XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 Pull-down Menus,,,,XEmacs User's Manual}, for detailed information on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 the functions provided by the pull-down menus.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 The Emacs frame has a rectangle shaped box at the extreme right and you can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 drag it up or down to scroll the window accordingly. Clicking on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 arrows also serves the same purpose.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 The last line in your window is @samp{the Mode line} which will give
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 you a description of what's going on in that particular
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 window. @xref{Mode Line}, for more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 information. Below the mode line is the @samp{Echo area}. Emacs uses
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 this area to interact with the user. @xref{Echo Area}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 If you wish to open another file in a new window after you enter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 XEmacs, select @b{Open in New Frame...} from the @b{File} menu, which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 will prompt you for a filename and open a new window with that filename
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 as the current buffer. If you want to open a new file in the same
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 window, select @b{Open..} from the @b{File} menu. You need to enter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 XEmacs only once, you can edit multiple files by opening several other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 frames or by switching between buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 @comment new section
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 @node Exiting, Mode Line, Frame, Entering
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 @section Exiting Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 @cindex exiting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 @cindex killing Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 @cindex suspending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 @cindex shrinking XEmacs frame
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 There are two commands for exiting Emacs, one for @dfn{suspending} Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 and the other for @dfn{killing} Emacs. @dfn{Suspending} means stopping
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 Emacs temporarily and returning control to the shell, allowing you to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 resume editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 later in the same Emacs job, with the same files, same kill ring, same
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 undo history, and so on. This is the usual way to exit. @dfn{Killing}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 Emacs means destroying the Emacs job. You can run Emacs again later,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 but you will get a fresh Emacs; there is no way to resume the same
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 editing session after it has been killed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 @kindex C-z
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 @findex suspend-emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 @kindex C-x C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 @findex save-buffers-kill-emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 @item C-z
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 Suspend Emacs (@code{suspend-emacs}). If used under the X window system,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 this command will shrink the X window containing the Emacs frame to an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 icon. Clicking on the icon will resume that Emacs process
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 again. @xref{Exiting Emacs,,,,XEmacs User's Manual}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 @item C-x C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 Kill Emacs (@code{save-buffers-kill-emacs}). You can also select
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 @b{Exit Emacs} option from the @b{File} menu to kill that Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 process. If you haven't saved the file, Emacs will ask you if you wish
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 to save the file before killing that process.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 @node Mode Line, Echo Area, Exiting, Entering
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 @section The Mode Line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 @cindex mode line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 @cindex top level
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 When you enter XEmacs, each text window's last line is a @dfn{mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 line} which describes what is going on in that window. Normally, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 mode line looks like :
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 @cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 --@var{ch}-XEmacs: @var{buf} (@var{major} @var{minor})----@var{pos}------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 @end cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 @noindent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 This gives information about the buffer being displayed in the window: the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 buffer's name, what major and minor modes are in use, whether the buffer's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 text has been changed, and how far down the buffer you are currently
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 looking.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 The @var{ch} contains :
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 @table @samp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 @item **
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 if the text in the buffer has been edited
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 @item --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 if the text in the buffer has not been edited
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 @item %%
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 if the buffer is a read-only-buffer i.e. it cannot be edited
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 @var{buf} is the name of the window's chosen @dfn{buffer}. If you are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 editing a file (which is the selected buffer), the file name appears
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 in @var{buf}. @xref{Buffers,,,,XEmacs User's Manual}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 @var{pos} contains :
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 @table @samp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 @item All
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 if your entire file is visible on the screen.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 @item Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 if you are looking at the beginning of the file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 @item Bot
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 if you are looking at the end of the file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 @item @var{nn}%
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 @var{nn} will be a number corresponding to the percentage of the file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 above the top of the screen, for example @samp{52}, which means that 52%
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 of the file is above the top of the screen.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 @var{major} is the name of the @dfn{major mode} in effect in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 buffer. At any time, each buffer is in one and only one major mode.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 The available major modes include Fundamental mode (the least
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 specialized), Text mode, Lisp mode, and C mode. @xref{Major
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 Modes,,,,XEmacs User's Manual}, for details on how the modes differ
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 and how you select one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 @var{minor} is a list of some of the @dfn{minor modes} that are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 turned on in the window's chosen buffer. For example, @samp{Fill} means
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 that Auto Fill mode is on which means that lines are broken
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 automatically when they become too wide. @xref{Minor Modes,,,,XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 Reference Manual}, for more information on various minor modes and how
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 to enable them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 You can also display time in the mode line. @xref{The Mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 Line,,,,XEmacs User's Manual}, for more information regarding the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 mode line.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 @comment node-name, next, previous, up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 @node Echo Area, , Mode Line, Entering
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 @section The Echo Area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 @cindex echo area
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 The line at the bottom of the frame (below the mode line) is the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 @dfn{echo area}. Emacs uses this area to communicate with you:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 @itemize @bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 The @dfn{echo area} will print out the characters that you type. For
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 example, if you choose the @b{Open...} option from the @b{File} menu you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 might get the following in the echo area:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 Find file: /usr/lib/x11/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 @noindent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 Now you need to give a file name to open, for example if the file name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 is @file{myfile}, you will type @file{myfile} after
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 @file{/usr/lib/x11/} and press the @key{Return} key. If you pause for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 more than a second while typing, you will see the characters that you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 type in the @dfn{echo area}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 The @dfn{echo area} also prints error messages. For example, if you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 misspell @samp{usr} and type @file{/urs/lib/x11/myfile} @key{RETURN} in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 the above example you might get an error message. Since
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 Emacs will not be able to find the @file{/urs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 directory, the @dfn{echo area} will say:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 @error{} Opening directory: no such file or directory, /urs/lib/x11/myfile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 @noindent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 This error message will be accompanied by a beep. Some XEmacs commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 will print informative messages in the @dfn{echo area}. @xref{The Echo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 Area,,,,XEmacs User's Manual}, for more information on the @dfn{echo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 area}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252