XEmacs 21.2.14.
[chise/xemacs-chise.git.1] / man / new-users-guide / new-users-guide.texi
1 \input ../texinfo  @c -*-texinfo-*-
2 @setfilename ../../info/new-users-guide.info
3 @comment  node-name,  next,  previous,  up
4
5
6 @ifinfo
7 @dircategory XEmacs Editor
8 @direntry
9 * Intro: (new-users-guide).     Introduction to the XEmacs Editor.
10 @end direntry
11
12 This manual serves as an introduction to the XEmacs editor.
13
14 Copyright (C) 1985, 1986, 1988 Richard M. Stallman.
15 Copyright @copyright{} 1991, 1992, 1993, 1994 Lucid, Inc.
16 Copyright @copyright{} 1993, 1994 Sun Microsystems, Inc.
17
18 Permission is granted to make and distribute verbatim copies of
19 this manual provided the copyright notice and this permission notice
20 are preserved on all copies.
21
22 @ignore
23 Permission is granted to process this file through TeX and print the
24 results, provided the printed document carries copying permission
25 notice identical to this one except for the removal of this paragraph
26 (this paragraph not being relevant to the printed manual).
27
28 @end ignore
29 @end ifinfo
30 @c
31 @setchapternewpage odd
32 @settitle Getting Started With XEmacs
33 @c
34 @titlepage
35 @sp 6
36 @center @titlefont{Getting Started With XEmacs}
37 @sp 4
38 @sp 1
39 @sp 1
40 @center July 1994
41 @center (General Public License upgraded, January 1991)
42 @sp 5
43 @center Richard Stallman
44 @sp 1
45 @center and
46 @sp 1
47 @center Rashmi Goyal
48 @page
49 @vskip 0pt plus 1filll
50 Copyright @copyright{} 1985, 1986, 1988 Richard M. Stallman.
51
52 Copyright @copyright{} 1991, 1992, 1993, 1994 Lucid, Inc.
53
54 Copyright @copyright{} 1993, 1994 Sun Microsystems, Inc.
55
56 Permission is granted to make and distribute verbatim copies of
57 this manual provided the copyright notice and this permission notice
58 are preserved on all copies.
59 @end titlepage
60 @page
61 @ifinfo
62 @node Top, Intro, (dir), (dir)
63
64 The Emacs Editor
65 ****************
66
67 Emacs is the extensible, customizable, self-documenting real-time
68 display editor.  This Info file will help you get started on using 
69 XEmacs.  It corresponds to XEmacs version 19.13.
70
71 @end ifinfo
72
73 @iftex
74 @unnumbered Preface
75
76   This guide is intended to help you get started on using the
77 Emacs editor. It will show you some examples of simple customizations.
78
79   For detailed information on any topic, refer to the @b{XEmacs
80 User's Manual}. This document will also refer the reader to the
81 @b{XEmacs User's Manual} for more information on corresponding
82 topics. You can also use the on-line, learn-by-doing tutorial, which you
83 get by running Emacs and typing @kbd{C-h t} OR you can choose the
84 @b{Emacs Tutorial} from the @b{Help} menu on the menu bar (which is
85 located on the extreme right of the frame). With it, you learn Emacs by
86 using Emacs on a specially designed file which describes commands, tells
87 you when to try them, and then explains the results you see.
88
89   The first few chapters will introduce you to some basic Emacs commands. 
90 Later on, some examples of simple customizations will be shown. 
91
92   To find the documentation on a particular command, look in the index.
93 Keys (character commands) and command names have separate indexes.  There
94 is also a glossary, with a cross reference for each term.
95
96   This manual comes in two forms: the published form and the Info form.
97 The Info form is for on-line perusal with the INFO program; it is
98 distributed along with XEmacs.  Both forms contain substantially the
99 same text and are generated from a common source file, which is also
100 distributed along with XEmacs.
101
102 @end iftex
103
104
105 @c node
106
107 @menu
108 * Intro::                       Introduction to XEmacs editor
109
110 Indices, nodes containing large menus
111 * Key Index::                   An item for each standard Emacs key sequence.
112 * Command Index::               An item for each command and function name
113 * Variable Index::              An item for each variable in User-Guide
114 * Concept Index::               An item for the concepts introduced
115
116 Entering, Exiting and Editing Emacs
117 * Entering::                    Starting Emacs from the shell and Exiting
118 * Windows and Menus::           Description of Pull-down menus
119 * Edit::                        Basic Editing commands
120
121 Other Features of XEmacs
122 * Customization Basics::        Customize Emacs menus and keybindings
123 * Help::                        Help menu and other help commands
124 * Modes::                       Major and Minor modes in XEmacs
125 * Files::                       Visiting, Saving and Listing Files
126 * Other Customizations::        Customizing Variables, Modes, etc
127 * Select and Move::             Selecting text and moving text 
128 * Search and Replace::          Searching and Replacing text
129
130
131
132  --- The Detailed Node Listing ---
133
134 Entering and Exiting Emacs
135
136 * Enter::                       Entering Emacs from the shell
137 * Frame::                       Basic information about the XEmacs Frame
138 * Exiting::                     Exiting Emacs
139 * Mode Line::                   Interpreting the mode line.
140 * Echo Area::                   Bottom of the frame where you interact
141                                 with Emacs.
142
143 XEmacs Windows and Menus
144
145 * XEmacs Window::               Manipulating XEmacs Windows
146 * Pull-down Menus::             Description of XEmacs Pull-down Menus
147
148 Pull-down menus
149
150 * File menu::                   Items on the File Menu
151 * Edit menu::                   Items on the Edit Menu
152 * Options Menu::                Items on the Options Menu
153 * Buffers Menu::                Items on the Buffers Menu
154 * Help menu::                   The Help Menu at the extreme right on
155                                 the frame
156
157 Basic Editing Commands
158
159 * Insert::                      Insert text in Emacs by simply typing at
160                                 the cursor position.
161 * Cursor Position::             Moving Around the cursor in the buffer,
162 * Erase::                       Different commands for erasing text 
163 * Numeric Argument::            Giving Numeric Arguments to commands
164 * Undo::                        Undoing Changes made by mistake
165
166 Customize key bindings and menus 
167
168 * Customizing key Bindings::    Changing Key Bindings
169 * Customizing Menus::           Adding, Deleting, Enabling and Disabling Menus
170
171 Help
172
173 * The Help Menu::               Items on the Help Menu                
174
175 Major and Minor Modes
176
177 * Major Modes::                 Choosing Major Modes
178 * Minor Modes::                 Auto-Fill, Abbrev and other minor modes
179
180 Emacs Files
181
182 * File Names::                  How to type and edit file name arguments.
183 * Visiting::                    Visiting a file prepares Emacs to edit the file.
184 * Saving Files::                How to save Emacs files.
185
186 Other Customizations
187
188 * Setting Variables::           Customizing Emacs variables
189 * Init File::                   Some examples of Lisp expressions in
190                                 .emacs file
191
192 Selecting and Moving Text
193
194 * Selecting Text::              Select a region of text by setting the Mark
195 * Mouse::                       Selecting Text with Mouse
196 * Region Operation::            Various ways to operate on a selected text
197 * Moving Text::                 Moving Text 
198 * Accumulating text::           Accumulating Text from several buffers
199
200 No sub menu for the node search and replace
201 @end menu
202
203 @node Intro,Key Index  ,Top , Top
204 @unnumbered Introduction
205
206   You are reading about XEmacs which is a self-documenting, customizable, extensible real-time display editor.
207
208   XEmacs is a @dfn{display} editor because normally the text
209 being edited is visible on the screen and is updated automatically as you
210 type.  @xref{Frame,Display,,xemacs,XEmacs User's Manual}.
211
212   It is a @dfn{real-time} editor because the display is updated very
213 frequently, usually after each character or pair of characters you type.
214 This minimizes the amount of information you must keep in your head as
215 you edit.  @xref{Basic,Real-time,Basic Editing,xemacs,XEmacs User's
216 Manual}.
217
218   It is advanced because it provides facilities that go beyond
219 simple insertion and deletion: filling of text; automatic indentation of
220 programs; viewing two or more files at once; and dealing in terms of
221 characters, words, lines, sentences, paragraphs, and pages, as well as
222 expressions and comments in several different programming languages.  It is
223 much easier to type one command meaning ``go to the end of the paragraph''
224 than to find that spot with simple cursor keys.
225
226   @dfn{Self-documenting} means that at any time you can type a special
227 character, @kbd{Control-h}, to find out what your options are.  You can
228 also use @kbd{C-h} to find out what a command does, or to find all the
229 commands relevant to a topic.  @xref{Help,,,xemacs,XEmacs User's Manual}.
230
231   @dfn{Customizable} means you can change the definitions of Emacs
232 commands.  For example, if you use a programming language in which
233 comments start with @samp{<**} and end with @samp{**>}, you can tell the
234 Emacs comment manipulation commands to use those strings
235 (@pxref{Comments,,,xemacs,XEmacs User's Manual}).  Another sort of
236 customization is rearrangement of the command set.  For example, you can
237 set up the four basic cursor motion commands (up, down, left and right)
238 on keys in a diamond pattern on the keyboard if you prefer.
239 @xref{Customization,,,xemacs,XEmacs User's Manual}.
240
241   @dfn{Extensible} means you can go beyond simple customization and
242 write entirely new commands, programs in the Lisp language to be run by
243 Emacs's own Lisp interpreter.  Emacs is an ``on-line extensible''
244 system: it is divided into many functions that call each other.  You can
245 redefine any function in the middle of an editing session and replace
246 any part of Emacs without making a separate copy of all of Emacs.  Most
247 of the editing commands of Emacs are written in Lisp; the few
248 exceptions could have been written in Lisp but are written in C for
249 efficiency.  Only a programmer can write an extension to Emacs, but anybody
250 can use it afterward.
251
252 @include enter.texi
253 @include xmenu.texi
254 @include edit.texi
255 @include custom1.texi
256 @include help.texi
257 @include modes.texi
258 @include files.texi
259 @include custom2.texi
260 @include region.texi
261 @include search.texi
262
263 @node Key Index, Command Index, Intro, Top
264 @unnumbered Key (Character) Index
265 @printindex ky
266
267 @node Command Index, Variable Index, Key Index, Top
268 @unnumbered Command and Function Index
269 @printindex fn
270
271 @node Variable Index, Concept Index, Command Index, Top
272 @unnumbered Variable Index
273 @printindex vr
274
275 @node Concept Index, Entering, Variable Index, Top
276 @unnumbered Concept Index
277 @printindex cp
278
279 @summarycontents
280 @contents
281 @bye
282
283 @c Remember to delete these lines before creating the info file.
284 @iftex
285 @lucidbook
286 @bindingoffset = 0.5in
287 @parindent = 0pt
288 @end iftex
289