faq.texi 193 KB
Newer Older
1
\input texinfo   @c -*- coding: latin-1; mode: texinfo; -*-
Dave Love's avatar
Dave Love committed
2
@c %**start of header
3
@setfilename ../info/efaq
Dave Love's avatar
Dave Love committed
4 5 6 7 8
@settitle GNU Emacs FAQ
@c %**end of header

@setchapternewpage odd

9
@c This is used in many places
Romain Francoise's avatar
Romain Francoise committed
10
@set VER 22.1
11

12 13 14 15
@c This file is maintained by Romain Francoise <rfrancoise@gnu.org>.
@c Feel free to install changes without prior permission (but I'd
@c appreciate a notice if you do).

Karl Berry's avatar
Karl Berry committed
16
@copying
17
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
18
Copyright 1994,1995,1996,1997,1998,1999,2000 Reuven M. Lerner@*
Dave Love's avatar
Dave Love committed
19 20
Copyright 1992,1993 Steven Byrnes@*
Copyright 1990,1991,1992 Joseph Brian Wells@*
Dave Love's avatar
Dave Love committed
21

Karl Berry's avatar
Karl Berry committed
22
@quotation
Dave Love's avatar
Dave Love committed
23
This list of frequently asked questions about GNU Emacs with answers
24
(``FAQ'') may be translated into other languages, transformed into other
Dave Love's avatar
Dave Love committed
25 26 27 28 29 30 31 32 33 34 35
formats (e.g. Texinfo, Info, WWW, WAIS), and updated with new information.

The same conditions apply to any derivative of the FAQ as apply to the FAQ
itself.  Every copy of the FAQ must include this notice or an approved
translation, information on who is currently maintaining the FAQ and how to
contact them (including their e-mail address), and information on where the
latest version of the FAQ is archived (including FTP information).

The FAQ may be copied and redistributed under these conditions, except that
the FAQ may not be embedded in a larger literary work unless that work
itself allows free copying and redistribution.
36

Romain Francoise's avatar
Romain Francoise committed
37 38
[This version has been heavily edited since it was included in the Emacs
distribution.]
Karl Berry's avatar
Karl Berry committed
39 40
@end quotation
@end copying
41

Karl Berry's avatar
Karl Berry committed
42 43 44 45
@dircategory Emacs
@direntry
* Emacs FAQ: (efaq).	Frequently Asked Questions about Emacs.
@end direntry
Dave Love's avatar
Dave Love committed
46 47 48 49 50 51 52 53 54

@c The @titlepage stuff only appears in the printed version
@titlepage
@sp 10
@center @titlefont{GNU Emacs FAQ}

@c The following two commands start the copyright page.
@page
@vskip 0pt plus 1filll
Karl Berry's avatar
Karl Berry committed
55
@insertcopying
Dave Love's avatar
Dave Love committed
56 57 58 59 60 61
@end titlepage

@node    Top, FAQ notation, (dir), (dir)

This is the GNU Emacs FAQ, last updated on @today{}.

62 63 64
The FAQ is maintained as a Texinfo document, allowing us to create HTML,
Info, and TeX documents from a single source file, and is slowly but
surely being improved.  Please bear with us as we improve on this
65 66 67
format.  This FAQ is maintained as a part of GNU Emacs.  If you find
any errors, or have any suggestions, please use @kbd{M-x report-emacs-bug}
to report them.
Dave Love's avatar
Dave Love committed
68 69

@menu
Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
70 71 72 73 74 75 76 77 78 79 80 81 82
* FAQ notation::
* General questions::
* Getting help::
* Status of Emacs::
* Common requests::
* Bugs and problems::
* Compiling and installing Emacs::
* Finding Emacs and related packages::
* Major packages and programs::
* Key bindings::
* Alternate character sets::
* Mail and news::
* Concept index::
Dave Love's avatar
Dave Love committed
83 84 85 86 87 88 89
@end menu

@c ------------------------------------------------------------
@node FAQ notation, General questions, Top, Top
@chapter FAQ notation
@cindex FAQ notation

90
This chapter describes notation used in the GNU Emacs FAQ, as well as in
Dave Love's avatar
Dave Love committed
91 92 93 94 95
the Emacs documentation.  Consult this section if this is the first time
you are reading the FAQ, or if you are confused by notation or terms
used in the FAQ.

@menu
Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
96 97 98 99 100
* Basic keys::
* Extended commands::
* On-line manual::
* File-name conventions::
* Common acronyms::
Dave Love's avatar
Dave Love committed
101 102 103
@end menu

@node Basic keys, Extended commands, FAQ notation, FAQ notation
Eli Zaretskii's avatar
Eli Zaretskii committed
104
@section What do these mean: @kbd{C-h}, @kbd{C-M-a}, @key{RET}, @kbd{@key{ESC} a}, etc.?
Dave Love's avatar
Dave Love committed
105 106 107
@cindex Basic keys
@cindex Control key, notation for
@cindex @key{Meta} key, notation for
108
@cindex Control-Meta characters, notation for
Dave Love's avatar
Dave Love committed
109
@cindex @kbd{C-h}, definition of
Eli Zaretskii's avatar
Eli Zaretskii committed
110
@cindex @kbd{C-M-h}, definition of
Dave Love's avatar
Dave Love committed
111 112 113 114 115 116
@cindex @key{DEL}, definition of
@cindex @key{ESC}, definition of
@cindex @key{LFD}, definition of
@cindex @key{RET}, definition of
@cindex @key{SPC}, definition of
@cindex @key{TAB}, definition of
117
@cindex Notation for keys
Dave Love's avatar
Dave Love committed
118 119 120 121 122 123 124 125

@itemize @bullet

@item
@kbd{C-x}: press the @key{x} key while holding down the @key{Control} key

@item
@kbd{M-x}: press the @key{x} key while holding down the @key{Meta} key
126
(if your computer doesn't have a @key{Meta} key, @pxref{No Meta key})
Dave Love's avatar
Dave Love committed
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141

@item
@kbd{M-C-x}: press the @key{x} key while holding down both @key{Control}
and @key{Meta}

@item
@kbd{C-M-x}: a synonym for the above

@item
@key{LFD}: Linefeed or Newline; same as @kbd{C-j}

@item
@key{RET}: @key{Return}, sometimes marked @key{Enter}; same as @kbd{C-m}

@item
142 143 144
@key{DEL}: @key{Delete}, usually @strong{not} the same as
@key{Backspace}; same as @kbd{C-?} (see @ref{Backspace invokes help}, if
deleting invokes Emacs help)
Dave Love's avatar
Dave Love committed
145 146 147 148 149 150 151 152 153 154 155 156 157

@item
@key{ESC}: Escape; same as @kbd{C-[}

@item
@key{TAB}: Tab; same as @kbd{C-i}

@item
@key{SPC}: Space bar

@end itemize

Key sequences longer than one key (and some single-key sequences) are
158 159 160 161 162 163 164 165 166
written inside quotes or on lines by themselves, like this:

@display
  @kbd{M-x frobnicate-while-foo RET}
@end display

@noindent
Any real spaces in such a key sequence should be ignored; only @key{SPC}
really means press the space key.
Dave Love's avatar
Dave Love committed
167

168
The @acronym{ASCII} code sent by @kbd{C-x} (except for @kbd{C-?}) is the value
Dave Love's avatar
Dave Love committed
169
that would be sent by pressing just @key{x} minus 96 (or 64 for
170
upper-case @key{X}) and will be from 0 to 31.  On Unix and GNU/Linux
171 172
terminals, the @acronym{ASCII} code sent by @kbd{M-x} is the sum of 128 and the
@acronym{ASCII} code that would be sent by pressing just @key{x}.  Essentially,
173 174 175 176
@key{Control} turns off bits 5 and 6 and @key{Meta} turns on bit
7@footnote{
DOS and Windows terminals don't set bit 7 when the @key{Meta} key is
pressed.}.
Dave Love's avatar
Dave Love committed
177

178
@kbd{C-?} (aka @key{DEL}) is @acronym{ASCII} code 127.  It is a misnomer to call
179
@kbd{C-?}  a ``control'' key, since 127 has both bits 5 and 6 turned ON.
180
Also, on very few keyboards does @kbd{C-?} generate @acronym{ASCII} code 127.
Dave Love's avatar
Dave Love committed
181

182 183 184
@inforef{Text Characters, Text Characters, emacs}, and @inforef{Keys,
Keys, emacs}, for more information.  (@xref{On-line manual}, for more
information about Info.)
Dave Love's avatar
Dave Love committed
185 186 187 188 189 190 191 192

@node Extended commands, On-line manual, Basic keys, FAQ notation
@section What does @file{M-x @var{command}} mean?
@cindex Extended commands
@cindex Commands, extended
@cindex M-x, meaning of

@kbd{M-x @var{command}} means type @kbd{M-x}, then type the name of the
193
command, then type @key{RET}.  (@xref{Basic keys}, if you're not sure
Dave Love's avatar
Dave Love committed
194 195 196 197 198 199 200
what @kbd{M-x} and @key{RET} mean.)

@kbd{M-x} (by default) invokes the command
@code{execute-extended-command}.  This command allows you to run any
Emacs command if you can remember the command's name.  If you can't
remember the command's name, you can type @key{TAB} and @key{SPC} for
completion, @key{?} for a list of possibilities, and @kbd{M-p} and
201 202 203
@kbd{M-n} (or up-arrow and down-arrow on terminals that have these
editing keys) to see previous commands entered.  An Emacs @dfn{command}
is an @dfn{interactive} Emacs function.
Dave Love's avatar
Dave Love committed
204

205
@cindex @key{Do} key
Dave Love's avatar
Dave Love committed
206 207
Your system administrator may have bound other key sequences to invoke
@code{execute-extended-command}.  A function key labeled @kbd{Do} is a
208
good candidate for this, on keyboards that have such a key.
Dave Love's avatar
Dave Love committed
209

210 211
If you need to run non-interactive Emacs functions, see @ref{Evaluating
Emacs Lisp code}.
Dave Love's avatar
Dave Love committed
212

213
@node On-line manual, File-name conventions, Extended commands, FAQ notation
Dave Love's avatar
Dave Love committed
214 215 216 217 218 219
@section How do I read topic XXX in the on-line manual?
@cindex On-line manual, reading topics in
@cindex Reading topics in the on-line manual
@cindex Finding topics in the on-line manual
@cindex Info, finding topics in

220 221 222
When we refer you to some @var{topic} in the on-line manual, you can
read this manual node inside Emacs (assuming nothing is broken) by
typing @kbd{C-h i m emacs @key{RET} m @var{topic} @key{RET}}.
Dave Love's avatar
Dave Love committed
223 224 225 226

This invokes Info, the GNU hypertext documentation browser.  If you don't
already know how to use Info, type @key{?} from within Info.

227 228
If we refer to @var{topic}:@var{subtopic}, type @kbd{C-h i m emacs
@key{RET} m @var{topic} @key{RET} m @var{subtopic} @key{RET}}.
Dave Love's avatar
Dave Love committed
229

230 231 232
If these commands don't work as expected, your system administrator may
not have installed the Info files, or may have installed them
improperly.  In this case you should complain.
Dave Love's avatar
Dave Love committed
233

234
@xref{Getting a printed manual}, if you would like a paper copy of the
Dave Love's avatar
Dave Love committed
235 236
Emacs manual.

237
@node File-name conventions, Common acronyms, On-line manual, FAQ notation
Dave Love's avatar
Dave Love committed
238
@section What are @file{etc/SERVICE}, @file{src/config.h}, and @file{lisp/default.el}?
239 240
@cindex File-name conventions
@cindex Conventions for file names
Dave Love's avatar
Dave Love committed
241 242 243 244 245 246 247 248 249
@cindex Directories and files that come with Emacs

These are files that come with Emacs.  The Emacs distribution is divided
into subdirectories; the important ones are @file{etc}, @file{lisp}, and
@file{src}.

If you use Emacs, but don't know where it is kept on your system, start
Emacs, then type @kbd{C-h v data-directory @key{RET}}.  The directory
name displayed by this will be the full pathname of the installed
250 251 252
@file{etc} directory.  (This full path is recorded in the Emacs variable
@code{data-directory}, and @kbd{C-h v} displays the value and the
documentation of a variable.)
Dave Love's avatar
Dave Love committed
253 254 255

The location of your Info directory (i.e., where on-line documentation
is stored) is kept in the variable @code{Info-default-directory-list}.  Use
256
@kbd{C-h v Info-default-directory-list @key{RET}} to see the value of
Dave Love's avatar
Dave Love committed
257 258 259 260
this variable, which will be a list of directory names.  The last
directory in that list is probably where most Info files are stored.  By
default, Info documentation is placed in @file{/usr/local/info}.

261 262 263
Some of these files are available individually via FTP or e-mail; see
@ref{Informational files for Emacs}.  They all are available in the
source distribution.  Many of the files in the @file{etc} directory are
264
also available via the Emacs @samp{Help} menu, or by typing @kbd{C-h ?}
265
(@kbd{M-x help-for-help}).
Dave Love's avatar
Dave Love committed
266 267 268 269

Your system administrator may have removed the @file{src} directory and
many files from the @file{etc} directory.

270
@node Common acronyms,  , File-name conventions, FAQ notation
Dave Love's avatar
Dave Love committed
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
@section What are FSF, LPF, OSF, GNU, RMS, FTP, and GPL?
@cindex FSF, definition of
@cindex LPF, definition of
@cindex OSF, definition of
@cindex GNU, definition of
@cindex RMS, definition of
@cindex Stallman, Richard, acronym for
@cindex Richard Stallman, acronym for
@cindex FTP, definition of
@cindex GPL, definition of
@cindex Acronyms, definitions for
@cindex Common acronyms, definitions for

@table @asis

@item FSF
Free Software Foundation

@item LPF
League for Programming Freedom

@item OSF
Open Software Foundation

@item GNU
GNU's Not Unix

@item RMS
Richard Matthew Stallman

@item FTP
File Transfer Protocol

@item GPL
GNU General Public License

@end table

Avoid confusing the FSF, the LPF, and the OSF.  The LPF opposes
look-and-feel copyrights and software patents.  The FSF aims to make
high quality free software available for everyone.  The OSF is a
consortium of computer vendors which develops commercial software for
Unix systems.

315 316
The word ``free'' in the title of the Free Software Foundation refers to
``freedom,'' not ``zero dollars.''  Anyone can charge any price for
Dave Love's avatar
Dave Love committed
317 318
GPL-covered software that they want to.  However, in practice, the
freedom enforced by the GPL leads to low prices, because you can always
319
get the software for less money from someone else, since everyone has
Dave Love's avatar
Dave Love committed
320 321 322 323 324 325 326
the right to resell or give away GPL-covered software.

@c ------------------------------------------------------------
@node    General questions, Getting help, FAQ notation, Top
@chapter General questions
@cindex General questions

327
This chapter contains general questions having to do with Emacs, the
Dave Love's avatar
Dave Love committed
328 329 330
Free Software Foundation, and related organizations.

@menu
Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
331 332 333 334 335 336 337
* The LPF::
* Real meaning of copyleft::
* Guidelines for newsgroup postings::
* Newsgroup archives::
* Reporting bugs::
* Unsubscribing from Emacs lists::
* Contacting the FSF::
Dave Love's avatar
Dave Love committed
338 339 340 341 342 343 344 345 346 347 348 349
@end menu

@node The LPF, Real meaning of copyleft, General questions, General questions
@section What is the LPF?
@cindex LPF, description of
@cindex League for Programming Freedom
@cindex Software patents, opposition to
@cindex Patents for software, opposition to

The LPF opposes the expanding danger of software patents and
look-and-feel copyrights.  To get more information, feel free to contact
the LPF via e-mail or otherwise.  You may also contact
350
@email{jbw@@cs.bu.edu, Joe Wells}; he will be happy to talk to you
Dave Love's avatar
Dave Love committed
351 352 353 354
about the LPF.

You can find more information about the LPF in the file @file{etc/LPF}.
More papers describing the LPF's views are available on the Internet and
355
also from @uref{http://lpf.ai.mit.edu/, the LPF home page}.
Dave Love's avatar
Dave Love committed
356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375

@node Real meaning of copyleft, Guidelines for newsgroup postings, The LPF, General questions
@section What is the real legal meaning of the GNU copyleft?
@cindex Copyleft, real meaning of
@cindex GPL, real meaning of
@cindex General Public License, real meaning of
@cindex Discussion of the GPL

The real legal meaning of the GNU General Public License (copyleft) will
only be known if and when a judge rules on its validity and scope.
There has never been a copyright infringement case involving the GPL to
set any precedents.  Please take any discussion regarding this issue to
the newsgroup @uref{news:gnu.misc.discuss}, which was created to hold the
extensive flame wars on the subject.

RMS writes:

@quotation
The legal meaning of the GNU copyleft is less important than the spirit,
which is that Emacs is a free software project and that work pertaining
376 377 378 379 380
to Emacs should also be free software.  ``Free'' means that all users
have the freedom to study, share, change and improve Emacs.  To make
sure everyone has this freedom, pass along source code when you
distribute any version of Emacs or a related program, and give the
recipients the same freedom that you enjoyed.
Dave Love's avatar
Dave Love committed
381 382 383 384 385 386 387 388
@end quotation

@node Guidelines for newsgroup postings, Newsgroup archives, Real meaning of copyleft, General questions
@section  What are appropriate messages for @uref{news:gnu.emacs.help}, @uref{news:gnu.emacs.bug}, @uref{news:comp.emacs}, etc.?
@cindex Newsgroups, appropriate messages for
@cindex GNU newsgroups, appropriate messages for
@cindex Usenet groups, appropriate messages for
@cindex Mailing lists, appropriate messages for
389
@cindex Posting messages to newsgroups
Dave Love's avatar
Dave Love committed
390

391 392 393
@cindex GNU mailing lists
The file @file{etc/MAILINGLISTS} describes the purpose of each GNU
mailing list.  (@xref{Informational files for Emacs}, if you want a copy
Dave Love's avatar
Dave Love committed
394 395 396
of the file.)  For those lists which are gatewayed with newsgroups, it
lists both the newsgroup name and the mailing list address.

397 398 399 400
The newsgroup @uref{news:comp.emacs} is for discussion of Emacs programs
in general.  This includes Emacs along with various other
implementations, such as XEmacs, JOVE, MicroEmacs, Freemacs, MG,
Unipress, CCA, and Epsilon.
Dave Love's avatar
Dave Love committed
401 402

Many people post Emacs questions to @uref{news:comp.emacs} because they
403 404
don't receive any of the @code{gnu.*} newsgroups.  Arguments have been
made both for and against posting GNU-Emacs-specific material to
Dave Love's avatar
Dave Love committed
405 406
@uref{news:comp.emacs}.  You have to decide for yourself.

407 408
Messages advocating ``non-free'' software are considered unacceptable on
any of the @code{gnu.*} newsgroups except for @uref{news:gnu.misc.discuss},
Dave Love's avatar
Dave Love committed
409
which was created to hold the extensive flame-wars on the subject.
410
``Non-free'' software includes any software for which the end user can't
Dave Love's avatar
Dave Love committed
411
freely modify the source code and exchange enhancements.  Be careful to
412 413
remove the @code{gnu.*} groups from the @samp{Newsgroups:} line when
posting a followup that recommends such software.
Dave Love's avatar
Dave Love committed
414 415

@uref{news:gnu.emacs.bug} is a place where bug reports appear, but avoid
416
posting bug reports to this newsgroup directly (@pxref{Reporting bugs}).
Dave Love's avatar
Dave Love committed
417 418 419

@node Newsgroup archives, Reporting bugs, Guidelines for newsgroup postings, General questions
@section Where can I get old postings to @uref{news:gnu.emacs.help} and other GNU groups?
420
@cindex Archived postings from @code{gnu.emacs.help}
Dave Love's avatar
Dave Love committed
421 422 423 424 425 426 427 428 429 430
@cindex Usenet archives for GNU groups
@cindex Old Usenet postings for GNU groups

The FSF has maintained archives of all of the GNU mailing lists for many
years, although there may be some unintentional gaps in coverage.  The
archive is not particularly well organized or easy to retrieve
individual postings from, but pretty much everything is there.

The archive is at @uref{ftp://ftp-mailing-list-archives.gnu.org}.

431
The archive can be browsed over the web at
432
@uref{http://mail.gnu.org/archive/html/, the GNU mail archive}.
Dave Love's avatar
Dave Love committed
433 434

Web-based Usenet search services, such as
435
@uref{http://groups.google.com, Google}, also archive the
436
@code{gnu.*} groups.
Dave Love's avatar
Dave Love committed
437 438 439 440 441 442 443 444 445 446 447 448 449 450

@node Reporting bugs, Unsubscribing from Emacs lists, Newsgroup archives, General questions
@section Where should I report bugs and other problems with Emacs?
@cindex Bug reporting
@cindex Good bug reports
@cindex How to submit a bug report
@cindex Reporting bugs

The correct way to report Emacs bugs is by e-mail to
@email{bug-gnu-emacs@@gnu.org}.  Anything sent here also appears in the
newsgroup @uref{news:gnu.emacs.bug}, but please use e-mail instead of
news to submit the bug report.  This ensures a reliable return address
so you can be contacted for further details.

451
Be sure to read the ``Bugs'' section of the Emacs manual before reporting
Dave Love's avatar
Dave Love committed
452
a bug to bug-gnu-emacs!  The manual describes in detail how to submit a
453
useful bug report.  (@xref{On-line manual}, if you don't know how to read the
Dave Love's avatar
Dave Love committed
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472
manual.)

RMS says:

@quotation
Sending bug reports to @email{help-gnu-emacs@@gnu.org} (which has the
effect of posting on @uref{news:gnu.emacs.help}) is undesirable because
it takes the time of an unnecessarily large group of people, most of
whom are just users and have no idea how to fix these problem.
@email{bug-gnu-emacs@@gnu.org} reaches a much smaller group of people
who are more likely to know what to do and have expressed a wish to
receive more messages about Emacs than the others.
@end quotation

RMS says it is sometimes fine to post to @uref{news:gnu.emacs.help}:

@quotation
If you have reported a bug and you don't hear about a possible fix,
then after a suitable delay (such as a week) it is okay to post on
473
@code{gnu.emacs.help} asking if anyone can help you.
Dave Love's avatar
Dave Love committed
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490
@end quotation

If you are unsure whether you have found a bug, consider the following
non-exhaustive list, courtesy of RMS:

@quotation
If Emacs crashes, that is a bug.  If Emacs gets compilation errors
while building, that is a bug.  If Emacs crashes while building, that
is a bug.  If Lisp code does not do what the documentation says it
does, that is a bug.
@end quotation

@node Unsubscribing from Emacs lists, Contacting the FSF, Reporting bugs, General questions
@section  How do I unsubscribe from this mailing list?
@cindex Unsubscribing from GNU mailing lists
@cindex Removing yourself from GNU mailing lists

491 492 493
If you are receiving a GNU mailing list named @var{list}, you might be
able to unsubscribe from it by sending a request to the address
@email{@var{list}-request@@gnu.org}.  However, this will not work if you are
Dave Love's avatar
Dave Love committed
494 495 496
not listed on the main mailing list, but instead receive the mail from a
distribution point.  In that case, you will have to track down at which
distribution point you are listed.  Inspecting the @samp{Received} headers
497 498 499 500
on the mail messages may help, along with liberal use of the @samp{EXPN} or
@samp{VRFY} sendmail commands through @samp{telnet @var{site-address}
smtp}.  Ask your postmaster for help, if you cannot figure out these
details.
Dave Love's avatar
Dave Love committed
501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524

@node Contacting the FSF,  , Unsubscribing from Emacs lists, General questions
@section  What is the current address of the FSF?
@cindex Snail mail address of the FSF
@cindex Postal address of the FSF
@cindex Contracting the FSF
@cindex Free Software Foundation, contacting

@table @asis

@item E-mail
gnu@@gnu.org

@item Telephone
+1-617-542-5942

@item Fax
+1-617-542-2652

@item World Wide Web
@uref{http://www.gnu.org/}

@item Postal address
Free Software Foundation@*
Lute Kamstra's avatar
Lute Kamstra committed
525 526
51 Franklin Street, Fifth Floor@*
Boston, MA 02110-1301@*
Dave Love's avatar
Dave Love committed
527 528 529 530
USA@*

@end table

531 532
@cindex Ordering GNU software
For details on how to order items directly from the FSF, see the
533
@uref{http://www.gnu.org/order/order.html, GNU Web site}.
Dave Love's avatar
Dave Love committed
534 535 536 537 538 539

@c ------------------------------------------------------------
@node Getting help, Status of Emacs, General questions, Top
@chapter Getting help
@cindex Getting help

540
This chapter tells you how to get help with Emacs
Dave Love's avatar
Dave Love committed
541 542

@menu
Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
543 544 545 546 547 548 549 550 551 552
* Basic editing::
* Learning how to do something::
* Getting a printed manual::
* Emacs Lisp documentation::
* Installing Texinfo documentation::
* Printing a Texinfo file::
* Viewing Info files outside of Emacs::
* Informational files for Emacs::
* Help installing Emacs::
* Obtaining the FAQ::
Dave Love's avatar
Dave Love committed
553 554 555 556 557 558 559 560 561 562
@end menu

@node Basic editing, Learning how to do something, Getting help, Getting help
@section I'm just starting Emacs; how do I do basic editing?
@cindex Basic editing with Emacs
@cindex Beginning editing
@cindex Tutorial, invoking the
@cindex Self-paced tutorial, invoking the
@cindex Help system, entering the

Romain Francoise's avatar
Romain Francoise committed
563 564 565 566 567
Type @kbd{C-h t} to invoke the self-paced tutorial.  Just typing
@kbd{C-h} enters the help system.  Starting with Emacs 22, the tutorial
is available in many foreign languages such as French, German, Japanese,
Russian, etc.  Use @kbd{M-x help-with-tutorial-spec-language @key{RET}}
to choose your language and start the tutorial.
Dave Love's avatar
Dave Love committed
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590

Your system administrator may have changed @kbd{C-h} to act like
@key{DEL} to deal with local keyboards.  You can use @kbd{M-x
help-for-help} instead to invoke help.  To discover what key (if any)
invokes help on your system, type @kbd{M-x where-is @key{RET}
help-for-help @key{RET}}.  This will print a comma-separated list of key
sequences in the echo area.  Ignore the last character in each key
sequence listed.  Each of the resulting key sequences invokes help.

Emacs help works best if it is invoked by a single key whose value
should be stored in the variable @code{help-char}.

@node Learning how to do something, Getting a printed manual, Basic editing, Getting help
@section How do I find out how to do something in Emacs?
@cindex Help for Emacs
@cindex Learning to do something in Emacs
@cindex Reference card for Emacs
@cindex Overview of help systems

There are several methods for finding out how to do things in Emacs.

@itemize @bullet

591
@cindex Reading the Emacs manual
Dave Love's avatar
Dave Love committed
592 593
@item
The complete text of the Emacs manual is available on-line via the Info
Romain Francoise's avatar
Romain Francoise committed
594 595 596
hypertext reader.  Type @kbd{C-h r} to display the manual in Info mode.
Typing @key{h} immediately after entering Info will provide a short
tutorial on how to use it.
Dave Love's avatar
Dave Love committed
597

598 599
@cindex Lookup a subject in a manual
@cindex Index search in a manual
Dave Love's avatar
Dave Love committed
600
@item
601 602 603 604 605 606 607 608 609 610
To quickly locate the section of the manual which discusses a certain
issue, or describes a command or a variable, type @kbd{C-h i m emacs
@key{RET} i @var{topic} @key{RET}}, where @var{topic} is the name of the
topic, the command, or the variable which you are looking for.  If this
does not land you on the right place in the manual, press @kbd{,}
(comma) repeatedly until you find what you need.  (The @kbd{i} and
@kbd{,} keys invoke the index-searching functions, which look for the
@var{topic} you type in all the indices of the Emacs manual.)

@cindex Apropos
Dave Love's avatar
Dave Love committed
611 612 613 614 615
@item
You can list all of the commands whose names contain a certain word
(actually which match a regular expression) using @kbd{C-h a} (@kbd{M-x
command-apropos}).

616 617
@cindex Command description in the manual
@item
Juri Linkov's avatar
Juri Linkov committed
618
The command @kbd{C-h F} (@code{Info-goto-emacs-command-node}) prompts
619 620 621 622
for the name of a command, and then attempts to find the section in the
Emacs manual where that command is described.

@cindex Finding commands and variables
Dave Love's avatar
Dave Love committed
623 624 625 626
@item
You can list all of the functions and variables whose names contain a
certain word using @kbd{M-x apropos}.

627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647
@item
You can list all of the functions and variables whose documentation
matches a regular expression or a string, using @kbd{M-x
apropos-documentation}.

@item
You can order a hardcopy of the manual from the FSF.  @xref{Getting a
printed manual}.

@cindex Reference cards, in other languages
@item
You can get a printed reference card listing commands and keys to
invoke them.  You can order one from the FSF for $1 (or 10 for $5),
or you can print your own from the @file{etc/refcard.tex} or
@file{etc/refcard.ps} files in the Emacs distribution.  Beginning with
version 21.1, the Emacs distribution comes with translations of the
reference card into several languages; look for files named
@file{etc/@var{lang}-refcard.*}, where @var{lang} is a two-letter code
of the language.  For example, the German version of the reference card
is in the files @file{etc/de-refcard.tex} and @file{etc/de-refcard.ps}.

Dave Love's avatar
Dave Love committed
648 649 650 651 652 653 654 655 656 657
@item
There are many other commands in Emacs for getting help and
information.  To get a list of these commands, type @samp{?} after
@kbd{C-h}.

@end itemize

@node Getting a printed manual, Emacs Lisp documentation, Learning how to do something, Getting help
@section How do I get a printed copy of the Emacs manual?
@cindex Printed Emacs manual, obtaining
658 659
@cindex Manual, obtaining a printed or HTML copy of
@cindex Emacs manual, obtaining a printed or HTML copy of
Dave Love's avatar
Dave Love committed
660 661

You can order a printed copy of the Emacs manual from the FSF.  For
662
details see the @uref{http://www.gnu.org/order/order.html, GNU Web site}.
Dave Love's avatar
Dave Love committed
663

664 665
@c The number 620 below is version-dependent!
The full Texinfo source for the manual also comes in the @file{man}
Dave Love's avatar
Dave Love committed
666
directory of the Emacs distribution, if you're daring enough to try to
667
print out this 620-page manual yourself (@pxref{Printing a Texinfo
Dave Love's avatar
Dave Love committed
668 669 670 671 672
file}).

If you absolutely have to print your own copy, and you don't have @TeX{},
you can get a PostScript version from

Romain Francoise's avatar
Romain Francoise committed
673
@uref{http://www.gnu.org/software/emacs/manual/emacs.ps.gz}
Dave Love's avatar
Dave Love committed
674

675
@cindex HTML version of Emacs manual, obtaining
676
An HTML version of the manual is at
Dave Love's avatar
Dave Love committed
677

Romain Francoise's avatar
Romain Francoise committed
678
@uref{http://www.gnu.org/software/emacs/manual/emacs.html}
Dave Love's avatar
Dave Love committed
679

680
@xref{Learning how to do something}, for how to view the manual on-line.
Dave Love's avatar
Dave Love committed
681 682 683 684 685 686 687 688 689 690 691 692

@node Emacs Lisp documentation, Installing Texinfo documentation, Getting a printed manual, Getting help
@section Where can I get documentation on Emacs Lisp?
@cindex Documentation on Emacs Lisp
@cindex Function documentation
@cindex Variable documentation
@cindex Emacs Lisp Reference Manual
@cindex Reference manual for Emacs Lisp

Within Emacs, you can type @kbd{C-h f} to get the documentation for a
function, @kbd{C-h v} for a variable.

Romain Francoise's avatar
Romain Francoise committed
693 694 695
For more information, the Emacs Lisp Reference Manual is available
on-line, in Info format.  @xref{Top, Emacs Lisp,, elisp, The
Emacs Lisp Reference Manual}.
Dave Love's avatar
Dave Love committed
696

Romain Francoise's avatar
Romain Francoise committed
697 698
You can also order a hardcopy of the manual, details on ordering it from
FSF are on the @uref{http://www.gnu.org/order/order.html, GNU Web site}.
Dave Love's avatar
Dave Love committed
699

700
An HTML version of the Emacs Lisp Reference Manual is available at
Dave Love's avatar
Dave Love committed
701

Romain Francoise's avatar
Romain Francoise committed
702
@uref{http://www.gnu.org/software/emacs/elisp-manual/elisp.html}
Dave Love's avatar
Dave Love committed
703 704 705 706 707 708 709

@node Installing Texinfo documentation, Printing a Texinfo file, Emacs Lisp documentation, Getting help
@section How do I install a piece of Texinfo documentation?
@cindex Texinfo documentation, installing
@cindex Installing Texinfo documentation
@cindex New Texinfo files, installing
@cindex Documentation, installing new Texinfo files
710
@cindex Info files, how to install
Dave Love's avatar
Dave Love committed
711 712 713 714 715

First, you must turn the Texinfo files into Info files.  You may do this
using the stand-alone @file{makeinfo} program, available as part of the latest
Texinfo package at

Romain Francoise's avatar
Romain Francoise committed
716
@uref{ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-4.8.tar.gz}
Dave Love's avatar
Dave Love committed
717

718 719
and all mirrors of @samp{ftp.gnu.org} (for a list, @pxref{Current GNU
distributions}).
Dave Love's avatar
Dave Love committed
720 721

For information about the Texinfo format, read the Texinfo manual which
722 723 724 725 726 727 728
comes with the Texinfo package.  This manual also comes installed in
Info format, so you can read it on-line; type @kbd{C-h i m texinfo
@key{RET}}.

Alternatively, you could use the Emacs command @kbd{M-x
texinfo-format-buffer}, after visiting the Texinfo source file of the
manual you want to convert.
Dave Love's avatar
Dave Love committed
729 730

Neither @code{texinfo-format-buffer} nor @file{makeinfo} installs the
731 732
resulting Info files in Emacs's Info tree.  To install Info files,
perform these steps:
Dave Love's avatar
Dave Love committed
733 734

@enumerate
735 736
@item
Move the files to the @file{info} directory in the installed Emacs
737
distribution.  @xref{File-name conventions}, if you don't know where that
738
is.
Dave Love's avatar
Dave Love committed
739

740 741 742 743 744 745 746
@item
Run the @code{install-info} command, which is part of the Texinfo
distribution, to update the main Info directory menu, like this:

@example
 install-info --info-dir=@var{dir-path} @var{dir-path}/@var{file}
@end example
Dave Love's avatar
Dave Love committed
747

748 749 750 751 752 753 754 755 756
@noindent
where @var{dir-path} is the full path to the directory where you copied
the produced Info file(s), and @var{file} is the name of the Info file
you produced and want to install.

If you don't have the @code{install-info} command installed, you can
edit the file @file{info/dir} in the installed Emacs distribution, and
add a line for the top level node in the Info package that you are
installing.  Follow the examples already in this file.  The format is:
Dave Love's avatar
Dave Love committed
757 758 759 760 761

@example
* Topic: (relative-pathname).  Short description of topic.
@end example

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
762
@end enumerate
Dave Love's avatar
Dave Love committed
763 764 765 766 767 768 769 770 771

If you want to install Info files and you don't have the necessary
privileges, you have several options:

@itemize @bullet
@item
Info files don't actually need to be installed before being used.  You
can feed a file name to the @code{Info-goto-node} command (invoked by
pressing @key{g} in Info mode) by typing the name of the file in
772 773 774
parentheses.  This goes to the node named ``Top'' in that file.  For
example, to view a Info file named @file{@var{info-file}} in your home
directory, you can type this:
Dave Love's avatar
Dave Love committed
775

776 777 778
@example
@kbd{C-h i g (~/@var{info-file}) @key{RET}}
@end example
Dave Love's avatar
Dave Love committed
779 780

@item
781
You can create your own Info directory.  You can tell Emacs where that
Dave Love's avatar
Dave Love committed
782 783
Info directory is by adding its pathname to the value of the variable
@code{Info-default-directory-list}.  For example, to use a private Info
784
directory which is a subdirectory of your home directory named @file{Info},
Dave Love's avatar
Dave Love committed
785 786 787 788 789 790 791 792
you could put this in your @file{.emacs} file:

@lisp
(setq Info-default-directory-list
      (cons "~/Info" Info-default-directory-list))
@end lisp

You will need a top-level Info file named @file{dir} in this directory
793
which has everything the system @file{dir} file has in it, except it should
Dave Love's avatar
Dave Love committed
794 795 796 797 798 799 800 801 802 803 804
list only entries for Info files in that directory.  You might not need
it if all files in this directory were referenced by other @file{dir}
files.  The node lists from all @file{dir} files in
@code{Info-default-directory-list} are merged by the Info system.

@end itemize

@node Printing a Texinfo file, Viewing Info files outside of Emacs, Installing Texinfo documentation, Getting help
@section How do I print a Texinfo file?
@cindex Printing a Texinfo file
@cindex Texinfo file, printing
805
@cindex Printing documentation
Dave Love's avatar
Dave Love committed
806 807 808 809 810 811 812 813

You can't get nicely printed output from Info files; you must still have
the original Texinfo source file for the manual you want to print.

Assuming you have @TeX{} installed on your system, follow these steps:

@enumerate

814 815
@item
Make sure the first line of the Texinfo file looks like this:
Dave Love's avatar
Dave Love committed
816 817 818 819 820

@example
\input texinfo
@end example

821 822 823
You may need to change @samp{texinfo} to the full pathname of the
@file{texinfo.tex} file, which comes with Emacs as
@file{man/texinfo.tex} (or copy or link it into the current directory).
Dave Love's avatar
Dave Love committed
824

825 826 827 828
@item
Type @kbd{texi2dvi @var{texinfo-source}}, where @var{texinfo-source} is
the name of the Texinfo source file for which you want to produce a
printed copy.
Dave Love's avatar
Dave Love committed
829

830 831
The @samp{texi2dvi} script is part of the GNU Texinfo distribution
(@pxref{Installing Texinfo documentation}).
Dave Love's avatar
Dave Love committed
832

833 834 835 836 837
@item
Print the DVI file @file{@var{texinfo-source}.dvi} in the normal way for
printing DVI files at your site.  For example, if you have a PostScript
printer, run the @code{dvips} program to print the DVI file on that
printer.
Dave Love's avatar
Dave Love committed
838 839 840 841

@end enumerate

To get more general instructions, retrieve the latest Texinfo package
842
(@pxref{Installing Texinfo documentation}).
Dave Love's avatar
Dave Love committed
843 844 845 846 847 848 849 850 851 852 853

@node Viewing Info files outside of Emacs, Informational files for Emacs, Printing a Texinfo file, Getting help
@section Can I view Info files without using Emacs?
@cindex Viewing Info files
@cindex Info file viewers
@cindex Alternative Info file viewers

Yes.  Here are some alternative programs:

@itemize @bullet

854 855 856 857
@item
@code{info}, a stand-alone version of the Info program, comes as part of
the Texinfo package.  @xref{Installing Texinfo documentation}, for
details.
Dave Love's avatar
Dave Love committed
858

859 860 861
@item
Xinfo, a stand-alone version of the Info program that runs under X
Window system.  You can get it at
Dave Love's avatar
Dave Love committed
862
@uref{ftp://ftp.gnu.org/pub/gnu/xinfo/xinfo-1.01.01.tar.gz} and all
863 864
mirrors of @samp{ftp.gnu.org} (see @ref{Current GNU distributions}, for a
list of mirrors).
Dave Love's avatar
Dave Love committed
865

866 867 868 869
@item
Tkinfo, an Info viewer that runs under X Window system and uses Tcl/Tk.
You can get Tkinfo at
@uref{http://math-www.uni-paderborn.de/~axel/tkinfo/}.
Dave Love's avatar
Dave Love committed
870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893

@end itemize

@node Informational files for Emacs, Help installing Emacs, Viewing Info files outside of Emacs, Getting help
@section What informational files are available for Emacs?
@cindex Informational files included with Emacs
@cindex Files included with Emacs
@cindex @file{COPYING}, description of file
@cindex @file{DISTRIB}, description of file
@cindex @file{FTP}, description of file
@cindex @file{GNU}, description of file
@cindex @file{INTERVIEW}, description of file
@cindex @file{LPF}, description of file
@cindex @file{MACHINES}, description of file
@cindex @file{MAILINGLISTS}, description of file
@cindex @file{NEWS}, description of file
@cindex @file{SERVICE}, description of file
@cindex @file{SUN-SUPPORT}, description of file

This isn't a frequently asked question, but it should be!  A variety of
informational files about Emacs and relevant aspects of the GNU project
are available for you to read.

The following files are available in the @file{etc} directory of the
894
Emacs distribution (see @ref{File-name conventions}, if you're not sure
895
where that is).
Dave Love's avatar
Dave Love committed
896 897 898 899

@table @file

@item COPYING
Romain Francoise's avatar
Romain Francoise committed
900
GNU General Public License
Dave Love's avatar
Dave Love committed
901 902

@item DISTRIB
903 904
Emacs Availability Information, including the popular Free Software
Foundation Order Form
Dave Love's avatar
Dave Love committed
905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925

@item FTP
How to get GNU Software by Internet FTP or by UUCP

@item GNU
The GNU Manifesto

@item INTERVIEW
Richard Stallman discusses his public-domain UNIX-compatible software
system with BYTE editors

@item LPF
Why you should join the League for Programming Freedom

@item MACHINES
Status of Emacs on Various Machines and Systems

@item MAILINGLISTS
GNU Project Electronic Mailing Lists

@item NEWS
926
Emacs news, a history of recent user-visible changes
Dave Love's avatar
Dave Love committed
927 928 929 930 931

@item SERVICE
GNU Service Directory

@item SUN-SUPPORT
932
including ``Using Emacstool with GNU Emacs''
Dave Love's avatar
Dave Love committed
933 934 935

@end table

936 937
More GNU information, including back issues of the @cite{GNU's
Bulletin}, are at
Dave Love's avatar
Dave Love committed
938 939 940 941 942 943 944 945 946 947

@uref{http://www.gnu.org/bulletins/bulletins.html} and

@uref{http://www.cs.pdx.edu/~trent/gnu/gnu.html}

@node Help installing Emacs, Obtaining the FAQ, Informational files for Emacs, Getting help
@section Where can I get help in installing Emacs?
@cindex Installation help
@cindex Help installing Emacs

948 949 950
@xref{Installing Emacs}, for some basic installation hints, and see
@ref{Problems building Emacs}, or @ref{Linking with -lX11 fails}, if you
have problems with the installation.
Dave Love's avatar
Dave Love committed
951

952
The file @file{etc/SERVICE} (see @ref{File-name conventions}, if you're
953 954 955 956
not sure where that is) lists companies and individuals willing to sell
you help in installing or using Emacs.  An up-to-date version this file
is available on @samp{ftp.gnu.org} (@pxref{Informational files for
Emacs}).
Dave Love's avatar
Dave Love committed
957 958 959 960 961 962 963 964 965 966 967 968 969 970

@node Obtaining the FAQ,  , Help installing Emacs, Getting help
@section Where can I get the latest version of this FAQ?
@cindex FAQ, obtaining the
@cindex Latest FAQ version, obtaining the
@cindex Retrieving the latest FAQ version
@cindex E-mail, retrieving the FAQ via
@cindex Web, reading the FAQ on the

The Emacs FAQ is available in several ways:

@itemize @bullet

@item
971 972
Inside of Emacs itself.  You can get it from selecting the @samp{Emacs
FAQ} option from the @samp{Help} menu of the Emacs menu bar at the top
Juri Linkov's avatar
Juri Linkov committed
973
of any Emacs frame, or by typing @kbd{C-h C-f} (@kbd{M-x view-emacs-FAQ}).
Dave Love's avatar
Dave Love committed
974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991

@item
Via USENET.  If you can read news, the FAQ should be available in your
news spool, in both the @uref{news:gnu.emacs.help} and
@uref{news:comp.emacs} newsgroups.  Every news reader should allow you
to read any news article that is still in the news spool, even if you
have read the article before.  You may need to read the instructions for
your news reader to discover how to do this.  In @file{rn}, this command
will do this for you at the article selection level:

@example
?GNU Emacs Frequently Asked Questions?rc:m
@end example

In Gnus, you should type @kbd{C-u C-x C-s} from the @file{*Summary*}
buffer or @kbd{C-u @key{SPC}} from the @file{*Newsgroup*} buffer to view
all articles in a newsgroup.

992 993
If the FAQ articles have expired and have been deleted from your news
spool, it might (or might not) do some good to complain to your news
Dave Love's avatar
Dave Love committed
994 995 996 997 998
administrator, because the most recent FAQ should not expire for a
while.

@item
In the Emacs distribution.  Since Emacs 18.56, the FAQ at the time
999 1000
of release has been part of the Emacs distribution as either
@file{etc/FAQ} or @file{man/faq.texi} (@pxref{File-name conventions}).
Dave Love's avatar
Dave Love committed
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025

@item
Via anonymous ftp and e-mail from @file{rtfm.mit.edu} (and its mirror in
Europe), the main repository for FAQs and other items posted to
news.answers.  The Emacs FAQs are available at

@uref{ftp://rtfm.mit.edu/pub/usenet/comp.emacs/} and

@uref{ftp://ftp.uni-paderborn.de/pub/doc/FAQ/comp/emacs/}

If you do not have access to anonymous FTP, you can access the archives
using the @file{rtfm.mit.edu} mail server.  The Emacs FAQ can be
retrieved by sending mail to @email{mail-server@@rtfm.mit.edu} with a
blank subject and containing

@example
send usenet/news.answers/GNU-Emacs-FAQ/diffs
send usenet/news.answers/GNU-Emacs-FAQ/part1
send usenet/news.answers/GNU-Emacs-FAQ/part2
send usenet/news.answers/GNU-Emacs-FAQ/part3
send usenet/news.answers/GNU-Emacs-FAQ/part4
send usenet/news.answers/GNU-Emacs-FAQ/part5
@end example

For more information, send email to @email{mail-server@@rtfm.mit.edu}
1026
with @samp{help} and @samp{index} in the body on separate lines.
Dave Love's avatar
Dave Love committed
1027 1028 1029 1030 1031 1032 1033
@end itemize

@c ------------------------------------------------------------
@node    Status of Emacs, Common requests, Getting help, Top
@chapter Status of Emacs
@cindex Status of Emacs

1034
This chapter gives you basic information about Emacs, including its
Dave Love's avatar
Dave Love committed
1035 1036 1037
latest version status.

@menu
Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
1038 1039 1040 1041
* Origin of the term Emacs::
* Latest version of Emacs::
* New in Emacs 20::
* New in Emacs 21::
Romain Francoise's avatar
Romain Francoise committed
1042
* New in Emacs 22::
Dave Love's avatar
Dave Love committed
1043 1044 1045
@end menu

@node Origin of the term Emacs, Latest version of Emacs, Status of Emacs, Status of Emacs
1046 1047
@section Where does the name ``Emacs'' come from?
@cindex Origin of the term ``Emacs''
Dave Love's avatar
Dave Love committed
1048 1049 1050 1051
@cindex Emacs name origin
@cindex TECO
@cindex Original version of Emacs

1052
Emacs originally was an acronym for Editor MACroS.  RMS says he ``picked
Dave Love's avatar
Dave Love committed
1053
the name Emacs because @key{E} was not in use as an abbreviation on ITS at
1054
the time.''  The first Emacs was a set of macros written in 1976 at MIT
Dave Love's avatar
Dave Love committed
1055 1056
by RMS for the editor TECO (Text Editor and COrrector, originally Tape
Editor and COrrector) under ITS on a PDP-10.  RMS had already extended
1057
TECO with a ``real-time'' full-screen mode with reprogrammable keys.
Dave Love's avatar
Dave Love committed
1058 1059 1060 1061 1062 1063
Emacs was started by @email{gls@@east.sun.com, Guy Steele} as a project
to unify the many divergent TECO command sets and key bindings at MIT,
and completed by RMS.

Many people have said that TECO code looks a lot like line noise; you
can read more at @uref{news:alt.lang.teco}.  Someone has written a TECO
1064 1065 1066
implementation in Emacs Lisp (to find it, see @ref{Packages that do not
come with Emacs}); it would be an interesting project to run the
original TECO Emacs inside of Emacs.
Dave Love's avatar
Dave Love committed
1067

1068
@cindex Why Emacs?
Dave Love's avatar
Dave Love committed
1069
For some not-so-serious alternative reasons for Emacs to have that
1070
name, check out the file @file{etc/JOKES} (@pxref{File-name
1071
conventions}).
Dave Love's avatar
Dave Love committed
1072 1073 1074 1075

@node Latest version of Emacs, New in Emacs 20, Origin of the term Emacs, Status of Emacs
@section What is the latest version of Emacs?
@cindex Version, latest
1076
@cindex Latest version of Emacs
Dave Love's avatar
Dave Love committed
1077

1078
Emacs @value{VER} is the current version as of this writing.
Dave Love's avatar
Dave Love committed
1079

1080
@node New in Emacs 20,  New in Emacs 21, Latest version of Emacs, Status of Emacs
Dave Love's avatar
Dave Love committed
1081 1082 1083 1084
@section What is different about Emacs 20?
@cindex Differences between Emacs 19 and Emacs 20
@cindex Emacs 20, new features in

Juri Linkov's avatar
Juri Linkov committed
1085
To find out what has changed in recent versions, type @kbd{C-h C-n}
Dave Love's avatar
Dave Love committed
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095
(@kbd{M-x view-emacs-news}).  The oldest changes are at the bottom of
the file, so you might want to read it starting there, rather than at
the top.

The differences between Emacs versions 18 and 19 was rather dramatic;
the introduction of frames, faces, and colors on windowing systems was
obvious to even the most casual user.

There are differences between Emacs versions 19 and 20 as well, but many
are more subtle or harder to find.  Among the changes are the inclusion
1096 1097 1098 1099
of MULE code for languages that use non-Latin characters and for mixing
several languages in the same document; the ``Customize'' facility for
modifying variables without having to use Lisp; and automatic conversion
of files from Macintosh, Microsoft, and Unix platforms.
Dave Love's avatar
Dave Love committed
1100 1101 1102 1103 1104 1105

A number of older Lisp packages, such as Gnus, Supercite and the
calendar/diary, have been updated and enhanced to work with Emacs 20,
and are now included with the standard distribution.


Romain Francoise's avatar
Romain Francoise committed
1106
@node New in Emacs 21, New in Emacs 22, New in Emacs 20, Status of Emacs
1107 1108 1109 1110 1111 1112 1113 1114 1115
@section What is different about Emacs 21?
@cindex Differences between Emacs 20 and Emacs 21
@cindex Emacs 21, new features in
@cindex Recently introduced features

@cindex Variable-size fonts
@cindex Toolbar support
Emacs 21 features a thorough rewrite of the display engine.  The new
display engine supports variable-size fonts, images, and can play sounds
1116
on platforms which support that.  As a result, the visual appearance of
1117 1118 1119 1120 1121
Emacs, when it runs on a windowed display, is much more reminiscent of
modern GUI programs, and includes 3D widgets (used for the mode line and
the scroll bars), a configurable and extensible toolbar, tooltips
(a.k.a.@: balloon help), and other niceties.

1122
@cindex Colors on text-only terminals
1123
@cindex TTY colors
1124
In addition, Emacs 21 supports faces on text-only terminals.  This means
1125 1126 1127
that you can now have colors when you run Emacs on a GNU/Linux console
and on @code{xterm} with @kbd{emacs -nw}.

Romain Francoise's avatar
Romain Francoise committed
1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152
@node New in Emacs 22, , New in Emacs 21, Status of Emacs
@section What is different about Emacs 22?
@cindex Differences between Emacs 21 and Emacs 22
@cindex Emacs 22, new features in
@cindex Recently introduced features

@c FIXME: Improve this node before the 22.1 release.
@cindex Default features
Font-lock mode, auto-compression mode, and file name shadow mode are now
enabled by default.  It is now possible to follow links with
@kbd{mouse-1}.

@cindex Supported systems
Emacs 22 features support for GNU/Linux systems on S390 and X86-64
machines, as well as support for the Mac OS X and Cygwin operating
systems.

@cindex GTK+ Toolkit
@cindex Drag-and-drop
@cindex Mouse wheel
Emacs can now be built with GTK+ widgets, and supports drag-and-drop
operation on X.  Mouse wheel support is now enabled by default.

@cindex New modes
Many new modes and packages have been included in Emacs, such as Leim,
1153
Calc, Tramp and URL, as well as IDO, CUA, rcirc, ERC, conf-mode,
Romain Francoise's avatar
Romain Francoise committed
1154 1155 1156 1157 1158 1159 1160
python-mode, table, tumme, SES, ruler, Flymake, Org, etc.

@cindex Documentation
@cindex Emacs Lisp Manual
In addition, Emacs 22 now includes the Emacs Lisp Reference Manual
(@pxref{Emacs Lisp documentation}) and the Emacs Lisp Intro.

Dave Love's avatar
Dave Love committed
1161 1162 1163 1164 1165 1166
@c ------------------------------------------------------------
@node    Common requests, Bugs and problems, Status of Emacs, Top
@chapter Common requests
@cindex Common requests

@menu
Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
1167
* Setting up a customization file::
1168
* Using Customize::
Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
1169 1170 1171 1172