Вы находитесь на странице: 1из 490

GNU Emacs

GNU Emacs
, Emacs 20.7

Permission is granted to make and distribute verbatim copies of this manual provided the
copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided also that the sections entitled The GNU Manifesto,
Distribution and GNU General Public License are included exactly as in the original, and
provided that the entire resulting derived work is distributed under the terms of a permission
notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language,
under the above conditions for modified versions, except that the sections entitled The GNU
Manifesto, Distribution and GNU General Public License may be included in a translation
approved by the Free Software Foundation instead of in the original English.


Emacs 20.7, 1999
c Free Software Foundation, Inc., 1985-1987, 1993-1999

c . . . , 1993

c . . . , . . , 1999

ISBN 5-85593-133-1

" GNU Emacs"
""
N 066121 22.09.1998.
25.11.1999.
70100 1/16
1000 . ..
" "
, .,13

Emacs.
;
. , ,
.
, , , . , Emacs,
. , Emacs C-h
t. Emacs, , , , ,
.
, Emacs. , ,
. .
. ,
, .
, . 20 ,
, ; ,
.
, Emacs , . ,
(. 32.2 [], . 372),
Emacs (. 32.3 [ Emacs], . 375).
, .
( ) . .
Info-. Info- Info;
GNU. Info-, Info GNU Emacs. Info-
,
GNU Emacs.
GNU Emacs Emacs-, , . , Emacs, , , AI
memo 519a "Emacs, the Extensible, customizable Self-Documenting Display Editor", Publication Department, Artificial Intelligence Lab, 545 Tech Square, Cambridge, MA 02139, USA.
$2.25 . LCS
TM-165, "A Cookbook for an Emacs", Craig Finseth, Publication Department,
Laboratory for Computer Seince, 543 Tech Square, Cambridge, MA 02139, USA.
$3.
GNU Emacs, GNU Unix. GNU Emacs VMS,
MS-DOS ( MS-DOG), Windows NT Windows 95. ; , VMS MS-DOS
GNU Emacs.
Emacs VMS. Emacs MS-DOS
C [MS-DOS], . 403.

GNU Emacs

GNU Emacs ; , . GNU Emacs


; , , ,
, . ,
GNU Emacs,
. GNU, Emacs
.
GNU Emacs -, Emacs
. - , .
Internet,
GNU Emacs FTP; etc/FTP
Emacs.
GNU Emacs, .
, .
, , , GNU Emacs
. ,
, , .
GNU Emacs . ;
. (
.) etc/ORDERS Emacs,
Web- http://www.gnu.org/order/order.html.
Free Software Foundation
59 Temple Place, Suite 330
Boston, MA 02111-1307 USA
USA
: ,
GNU Emacs.
GNU Emacs , , .
. GNU Emacs
, , . ,

- .
GNU Emacs , . ,
, -, , . , . , ,
, , , . , ,
, , , . . , . , , , , , , , ,
, , , , , , , , , , ,
, . , , , ,

GNU Emacs

, , , , , , , , , , ,
, , , , , ,
, , , , , .
, , , , ,
, . , , , , , , , , , ,
, , , . , ,
, , , , , ,
, , , , ,
, , , . , ,
, , , . , . ,
, . , , . , , , , , , ,
, , , , , . ,
, , , , ,
. , . , , , , , . , , ,
, , , , , , , . , , , ,
, , , , , . ,
, , , , ,
, , , , . ,
, , , , , ,
, , , ,
.

GNU GENERAL PUBLIC LICENSE

GNU GENERAL PUBLIC LICENSE


Version 2, June 1991
c 1989, 1991 Free Software Foundation, Inc.
Copyright
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Preamble
The licenses for most software are designed to take away your freedom to share and change
it. By contrast, the GNU General Public License is intended to guarantee your freedom to share
and change free softwareto make sure the software is free for all its users. This General Public
License applies to most of the Free Software Foundations software and to any other program
whose authors commit to using it. (Some other Free Software Foundation software is covered
by the GNU Library General Public License instead.) You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our General Public
Licenses are designed to make sure that you have the freedom to distribute copies of free
software (and charge for this service if you wish), that you receive source code or can get it if
you want it, that you can change the software or use pieces of it in new free programs; and that
you know you can do these things.
To protect your rights, we need to make restrictions that forbid anyone to deny you these
rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must
give the recipients all the rights that you have. You must make sure that they, too, receive or
can get the source code. And you must show them these terms so they know their rights.
We protect your rights with two steps: (1) copyright the software, and (2) offer you this
license which gives you legal permission to copy, distribute and/or modify the software.
Also, for each authors protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone
else and passed on, we want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original authors reputations.
Finally, any free program is threatened constantly by software patents. We wish to avoid the
danger that redistributors of a free program will individually obtain patent licenses, in effect
making the program proprietary. To prevent this, we have made it clear that any patent must
be licensed for everyones free use or not licensed at all.
The precise terms and conditions for copying, distribution and modification follow.

TERMS AND CONDITIONS FOR COPYING,


DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains a notice placed by
the copyright holder saying it may be distributed under the terms of this General Public
License. The Program, below, refers to any such program or work, and a work based
on the Program means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it, either verbatim or with
modifications and/or translated into another language. (Hereinafter, translation is included
without limitation in the term modification.) Each licensee is addressed as you.

GNU Emacs

Activities other than copying, distribution and modification are not covered by this License;
they are outside its scope. The act of running the Program is not restricted, and the output
from the Program is covered only if its contents constitute a work based on the Program
(independent of having been made by running the Program). Whether that is true depends
on what the Program does.
1. You may copy and distribute verbatim copies of the Programs source code as you receive
it, in any medium, provided that you conspicuously and appropriately publish on each copy
an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that
refer to this License and to the absence of any warranty; and give any other recipients of
the Program a copy of this License along with the Program.
You may charge a fee for the physical act of transferring a copy, and you may at your
option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion of it, thus forming a
work based on the Program, and copy and distribute such modifications or work under the
terms of Section 1 above, provided that you also meet all of these conditions:
a. You must cause the modified files to carry prominent notices stating that you changed
the files and the date of any change.
b. You must cause any work that you distribute or publish, that in whole or in part
contains or is derived from the Program or any part thereof, to be licensed as a whole
at no charge to all third parties under the terms of this License.
c. If the modified program normally reads commands interactively when run, you must
cause it, when started running for such interactive use in the most ordinary way, to
print or display an announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide a warranty) and that
users may redistribute the program under these conditions, and telling the user how
to view a copy of this License. (Exception: if the Program itself is interactive but does
not normally print such an announcement, your work based on the Program is not
required to print an announcement.)
These requirements apply to the modified work as a whole. If identifiable sections of that
work are not derived from the Program, and can be reasonably considered independent
and separate works in themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you distribute the same
sections as part of a whole which is a work based on the Program, the distribution of the
whole must be on the terms of this License, whose permissions for other licensees extend
to the entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest your rights to work
written entirely by you; rather, the intent is to exercise the right to control the distribution
of derivative or collective works based on the Program.
In addition, mere aggregation of another work not based on the Program with the Program
(or with a work based on the Program) on a volume of a storage or distribution medium
does not bring the other work under the scope of this License.
3. You may copy and distribute the Program (or a work based on it, under Section 2) in
object code or executable form under the terms of Sections 1 and 2 above provided that
you also do one of the following:
a. Accompany it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
b. Accompany it with a written offer, valid for at least three years, to give any third
party, for a charge no more than your cost of physically performing source distribution,
a complete machine-readable copy of the corresponding source code, to be distributed

GNU GENERAL PUBLIC LICENSE

under the terms of Sections 1 and 2 above on a medium customarily used for software
interchange; or,
c. Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution
and only if you received the program in object code or executable form with such an
offer, in accord with Subsection b above.)

4.

5.

6.

7.

The source code for a work means the preferred form of the work for making modifications
to it. For an executable work, complete source code means all the source code for all
modules it contains, plus any associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a special exception, the
source code distributed need not include anything that is normally distributed (in either
source or binary form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component itself accompanies
the executable.
If distribution of executable or object code is made by offering access to copy from a
designated place, then offering equivalent access to copy the source code from the same
place counts as distribution of the source code, even though third parties are not compelled
to copy the source along with the object code.
You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute
the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have
their licenses terminated so long as such parties remain in full compliance.
You are not required to accept this License, since you have not signed it. However, nothing
else grants you permission to modify or distribute the Program or its derivative works.
These actions are prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the Program), you indicate
your acceptance of this License to do so, and all its terms and conditions for copying,
distributing or modifying the Program or works based on it.
Each time you redistribute the Program (or any work based on the Program), the recipient
automatically receives a license from the original licensor to copy, distribute or modify
the Program subject to these terms and conditions. You may not impose any further
restrictions on the recipients exercise of the rights granted herein. You are not responsible
for enforcing compliance by third parties to this License.
If, as a consequence of a court judgment or allegation of patent infringement or for any
other reason (not limited to patent issues), conditions are imposed on you (whether by
court order, agreement or otherwise) that contradict the conditions of this License, they do
not excuse you from the conditions of this License. If you cannot distribute so as to satisfy
simultaneously your obligations under this License and any other pertinent obligations,
then as a consequence you may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by all those who receive
copies directly or indirectly through you, then the only way you could satisfy both it and
this License would be to refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended
to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any patents or other property
right claims or to contest validity of any such claims; this section has the sole purpose of
protecting the integrity of the free software distribution system, which is implemented by
public license practices. Many people have made generous contributions to the wide range
of software distributed through that system in reliance on consistent application of that

10

GNU Emacs

system; it is up to the author/donor to decide if he or she is willing to distribute software


through any other system and a licensee cannot impose that choice.
This section is intended to make thoroughly clear what is believed to be a consequence of
the rest of this License.
8. If the distribution and/or use of the Program is restricted in certain countries either by
patents or by copyrighted interfaces, the original copyright holder who places the Program
under this License may add an explicit geographical distribution limitation excluding those
countries, so that distribution is permitted only in or among countries not thus excluded.
In such case, this License incorporates the limitation as if written in the body of this
License.
9. The Free Software Foundation may publish revised and/or new versions of the General
Public License from time to time. Such new versions will be similar in spirit to the present
version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies a version
number of this License which applies to it and any later version, you have the option of
following the terms and conditions either of that version or of any later version published
by the Free Software Foundation. If the Program does not specify a version number of this
License, you may choose any version ever published by the Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free programs whose distribution
conditions are different, write to the author to ask for permission. For software which
is copyrighted by the Free Software Foundation, write to the Free Software Foundation;
we sometimes make exceptions for this. Our decision will be guided by the two goals of
preserving the free status of all derivatives of our free software and of promoting the sharing
and reuse of software generally.

NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
SERVICING, REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS
OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED
BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE
WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

GNU GENERAL PUBLIC LICENSE

11

How to Apply These Terms to Your New Programs


If you develop a new program, and you want it to be of the greatest possible use to the
public, the best way to achieve this is to make it free software which everyone can redistribute
and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start
of each source file to most effectively convey the exclusion of warranty; and each file should
have at least the copyright line and a pointer to where the full notice is found.
one line to give the programs name and an idea of what it does.
Copyright (C) 19yy name of author
This program is
modify it under
as published by
of the License,

free software; you can redistribute it and/or


the terms of the GNU General Public License
the Free Software Foundation; either version 2
or (at your option) any later version.

This program is distributed in the hope that it will be useful,


but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this when it starts in an
interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
type show w. This is free software, and you are welcome
to redistribute it under certain conditions; type show c
for details.
The hypothetical commands show w and show c should show the appropriate parts of the
General Public License. Of course, the commands you use may be called something other than
show w and show c; they could even be mouse-clicks or menu itemswhatever suits your
program.
You should also get your employer (if you work as a programmer) or your school, if any, to
sign a copyright disclaimer for the program, if necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright
interest in the program Gnomovision
(which makes passes at compilers) written
by James Hacker.
signature of Ty Coon, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into proprietary
programs. If your program is a subroutine library, you may consider it more useful to permit
linking proprietary applications with the library. If this is what you want to do, use the GNU
Library General Public License instead of this License.

12

GNU Emacs

GNU

13


GNU
2, 1991
c 1989, 1991 Free Software Foundation, Inc.
Copyright
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
c . .. , .. , 1993

c . .. , 1998

,
, .

() ,
. ,
GNU , , ..
.
,
. ( GNU
.) .
, , .
, ,
( ); ,
;
; .
, ,
. ,
.
, , ,
. ,
. , ,
.
: (1) (2) , ,
/ .
, , , ,
, .
- , , , , ,
, , ,
.
, .
,
, . , ,
,
.

14

GNU Emacs

, .

,

0. , , ,
, . , ,
, ,
, , / . (
.) .
, , , ; . , ,
, ( ,
). ,
, .
1.
,
;
, - ;

.

.
2. ,
, , 1,
, , :
a. , , , .
b. , , , -
, , .
c. , ,

,
, (, , ,
), , ,
. (: , , ,
, .)

GNU

15

. ,
, . , ,
, ,
, , , .
,
, , ; ,
, .
, , , ( , )
.
3. ( ,
) 2)
1 2, , ,
:
a. , 1 2,
, , ; ,
b. ,
, , , ,
1 2, ;
c. , . (
,

b) .)
,
. , , , ,
. , ,
( , ) (, ) ,
, , .

, ,
.
4. , , ,
, . , -

16

GNU Emacs

, . ,
,
, .
5. , . , , ,
. ,
. , ( , ),
,
.
6. , ( , ), ,
,
. - , .
.
7. ,
( ),
, ( ,
), .
, , ,
. , ,
, ,
.
-
, , , .
,
;
, . , , ;
,
- ,
.
, , .
8. /
, ,
, ,
, ,
, .
,
.
9. /
.

GNU

17

, ,
.
. ,

, , , .
,
, - .
10. , . ,
,
; . :
.


11. , , . , , / " " , ,
, , . . , , .
12. , , ,
,
/ , , , , , , (, , , , , - , ),

.

18

GNU Emacs


,
, ,
.
, .
, ;
, ,
.
,
, .
(C) () 19
; /

GNU, ; 2,
( ) .
, ,
- ;
.

GNU.

GNU ; , : Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
, .
, ,
:
, 69, (C) 19
- ;
show w.
,
; show c.
show w show c . ,
- , show w show c;
.
, ( ) , , . ; :

(
), ..
, 1 1989
, .

GNU

19

, .
, , , , . ,
,
GNU .

20

GNU Emacs

21

GNU Emacs, GNU- , , , Emacs. (G GNU


.)
, Emacs , , . . 1
[], . 23.
, , . , , . .
4 [ ], . 35.
Emacs , ,
, : ,
, , , , , ,
, .
, , Control-h, , . , , , ,
- . . 7 [], . 55.
, Emacs.
, , <** **>, Emacs (. 22.7 [], . 219).
. ,
, (, , ,
) , ,
. . 31 [], . 341.
,
, ,
- Emacs. Emacs
, , , ; .
Emacs Emacs.
Emacs ;
, . , .
Emacs Lisp, Introduction to
Emacs Lisp, . , .
Emacs X Windows,
. Emacs
. , ,
.

22

GNU Emacs

1:

23

1
Emacs . X Windows Emacs
X-. X-, Emacs.
Emacs . Emacs
, . . 17
[], . 147.
Emacs, , ,
. .
, - ,
, .
.
, (. 16
[], . 141).
Emacs.
, , ; . Emacs (
, , , ). ,
. X
Windows, .
, . ,
, , Emacs
-:- *scratch*. , ,
,
, .

1.1
Emacs ,
. . Emacs , .
, .
, ,
; , . ,
frob, b,
o b. !, fro!b,
! b. , b, .
, ,
.
, ,
, . , .
, Emacs ,
.
Emacs , ,
. ,
, , , , .

24

GNU Emacs

,
. .
, .
, .
, .
; ,
, ,
.
., TECO (,
Emacs) , .

1.2 -
( ) -. .
. Emacs, . Emacs .
Emacs , , , , , . ,
. .
, . ,
,
. , (. 11.7 [ ], . 84).
, -
. .
, , .
- .
, ,
. , , ,
. , . , - = , ,
. ,
, , ...,
, , done.
- ,
*Messages*.
( , ;
15 [], . 135.) ,
, *Messages*
. (
.)
*Messages* ,
message-log-max. ,
. . 31.2 [], . 343, ,
, message-log-max.
- : , , , . , - ,

1:

25

; , ,
. , C-g. .
5 [], . 45.

1.3
, . ,
-; . , ,
.
:
-:
( )----- , : ,
, ,
.
**, ( ),
-, . , ,
%*, , %% .
. ,
. . 15 [], . 135.
, ( , ), Emacs , .
, ,
.
L, , .
, Line Number ( ).
, Column Number (
, ). . 11.5
[ ], . 83.
, .
, All.
Top, , Bot, , nn%, nn
, .
, .
. Fundamental ( ), Text, Lisp, , Texinfo . . 19
[ ], . 175, , ,
.
. , Rmail .
Compilation Shell .
,
. , Fill ,
Auto fill. Abbrev , Word Abbrev. Ovwrt ,
Overwrite. . 31.1 [ ], . 341,
. Narrow ,
. ,
. . 30.8 [], . 335. Def ,
. . 31.3 [ ], . 353.

26

GNU Emacs

, Emacs , , ,
([...]). Emacs
, , .
Emacs,
,
. . 30.12 [ ], . 338.
Emacs (. 17 [], . 147).
, . F1.
, . , : ,
, . =
. , 1 ISO Latin-1. . 18.7 [ ], . 165, .
, >; .
( > + @.) . 18.4 [
], . 163.
( ),
, , ,
,
.
, . . 18.2 [ ], . 161.
. Emacs
.
: ( MSDOS) ( Macintosh).
, (\)
(DOS), .
, (/) (Mac).
Emacs (Unix), ,
.

, eol-mnemonic-unix, eol-mnemonic-dos, eolmnemonic-mac eol-mnemonic-undecided , . . 31.2 [], . 343, ,
.
. 11.5 [ ], . 83,
,
, .

1.4
Emacs , . ,
.
,
. ,
; ... ,
.

1:

27

,
C-h k . (. 7.1 [ ], . 56).
, , ,
M- hF10i ( tmm-menubar). ,
. -.
. ,
hRETi, .
;
- .
=>. .
;
.

28

GNU Emacs

2: ,

29

2 ,
, Emacs
, ,
, Emacs .

2.1
GNU Emacs ASCII;
,
.
ASCII 128 .
, =; ,
Cntrol-a ( - ). C-a - ,
, hCTRLi .
ASCII ,
, , : hRETi, hTABi, hDELi hESCi. hSPCi,
, , .
linefeed; C-j.
Emacs ASCII (. 18 [MULE], . 161), , .
ASCII- 32 . control @[]\^_. , shift
: C-a C-A , Emacs .
Emacs control
C-a C-A. X Windows .
, C- ( Control-) C-5 Emacs X.
Emacs . -, Meta.
Meta-; Meta- ( -), -
( , -,
Emacs), M-hRETi M-C-a. --, --;
, hCTRLi hMETAi .
hMETAi Meta-,
. , Meta-
hMETAi . hMETAi hSHIFTi.
hMETAi,
- .
hMETAi, Meta-, , hESCi. , M-,
hESCi a. --, hESCi C-a. hESCi hMETAi, ,
.
X Windows -,
. hSUPERi, hHYPERi
hALTi. s-, H- A-, , . , s-H-C-x Super-Hyper-Control-x.
X-
, hALTi,

30

GNU Emacs

hMETAi. Emacs -
. ,
Emacs.
, : . .
- hCTRLi, hMETAi,
hSUPERi, hHYPERi hALTi , .
. . Input
Events The Emacs Lisp Reference Manual, .
,
, 31 [], . 341.
ASCII- , ASCII.
. Emacs,

, Emacs
.

2.2
, ( , )
, , .
Emacs ; ,
C-f . Emacs
, .
, . C-a, X, hRETi, hNEXTi ( ), hDOWNi (), C-x C-f C-x 4 C-f.
, , .
C-x C-x 4 . , .
Emacs. .
,
. , C-x
, C-x . ,
C-x C-f C-x b. , C-x 4 C-x r, , . ,
.
, . , C-f C-k , C-f
. C-f C-k . C-f
C-k , .
, Emacs C-c, C-h,
C-x, C-x hRETi, C-x @, C-x a, C-x n, C-x r, C-x v, C-x 4, C-x 5, C-x 6, hESCi, M-g M-j.
; Emacs.
Emacs . .
31.4 [ ], . 356.
,
. , C-f

2: ,

31

, C-f C-k (,
). , C-x 4, -
4 f ( - 4 -) .
(C-h hF1i) ,
, . ,
C-h
C-h, . hF1i .

2.3
, , . Emacs . Emacs

.
, . , ; , next-line
forward-word. , ; , . ,
Emacs Lisp ; ,
, . What Is a Function The Emacs Lisp
Reference Manual. (, ,
.)
,
. . 31.4.1 [ ], . 356.
, C-n , , ,
, Emacs. next-line, . C-n ,
. -n forward-word,
. .
,
. ,
, ,
, . , : -n
(next-line) , , next-line ,
, -n , .
, , . :
, mumble-foo. ,
.
: Emacs
- . , .
, , , . . 31.2 [],
. 343.

2.4
Emacs .
ASCII. ASCII ( -

32

GNU Emacs

000 037, 0177), ASCII- ( 040


0176); , ASCII . -, , Meta,
.
ASCII . , ( 012)
, ( 011) ( 8 ). .
11.6 [ ], . 84.
, ASCII, .
, -ASCII-,
Emacs . , 256,
0400, . .
18 [MULE], . 161.
,
-ASCII-, .
0200 0377. . 18.12 [ ],
. 172.

3: Emacs

33

3 Emacs
Emacs emacs . Emacs . , Emacs
; Emacs .
, Emacs ,
.
Emacs X Windows,
emacs&. Emacs ,
, Emacs X-.
, Emacs.
Emacs , , *scratch*. ,
. *scratch* Lisp
Interaction; - ,
. ( ,
initial-major-mode. . 31.7 [ ], . 366.)
, , - , . . A [ ], . 385. .
.
, ,
. .
, , .
, , .
Emacs , . , .
, Emacs
.
: , , .
GNU Emacs

Emacs. , ,
Emacs, ,
, . Emacs ,
. . 14 [], . 105,
.

3.1 Emacs
Emacs, : Emacs Emacs.
Emacs ( ), Emacs, , ,
. .
Emacs Emacs.
Emacs , Emacs.
.

34

GNU Emacs

C-z

Emacs (suspend-emacs)
(iconify-or-deiconify-frame).

C-x C-c

Emacs (save-buffers-kill-emacs).

Emacs, C-z (suspend-emacs).


, Emacs. Emacs
%macs .
, , C-z
, , Emacs ,
. ( , C-d exit,
.)
, Emacs ( , ),
Emacs.
, Emacs , , .
cannot-suspend nil ,
C-z . (
Emacs ,
.)
Emacs X- X, C-z . ,
X-, . , C-z iconify-ordeiconify-frame, Emacs (. 17
[], . 147).
.
Emacs, C-x C-c (save-buffer-kill-emacs). , .
.
, yes Emacs, . ,
- , - - , Emacs .
Emacs, . ,
Emacs , ,
, Emacs ; , Emacs, . . 30.11 [ Emacs], . 337.
, . , Emacs.
C-z - Emacs C-z -
,
.
(. 31.4.1 [ ],
. 356).

4:

35

4
, ,
. , , Emacs. , Emacs
Control-h t (help-with-tutorial).
, C-l (recenter).

4.1
, . ,
( ; . 1.1 [], . 23). ,
. FOOBAR,
B, XX, FOOXXBAR c ,
B.
, , hDELi. hDELi ( ; ).
, , . ,
hDELi, .
, hRETi.
. , hRETi
. hDELi, ,
,
.
Emacs , , , Auto
Fill. . 21.5 [], . 185, Auto
Fill.
, () , , Overwrite. . 31.1 [ ], . 341.
hSPCi, .
, 200,
, Control-q (quoted-insert). ( C-q .)
C-q:
C-q, ( C-g), .
C-q, , . ;
, , . hRETi, ;
. ( Overwrite,
.)
, 0200 0377
; , C-q ,
- ISO Latin-n,
Emacs. . 18.2 [

36

GNU Emacs

], . 161. ISO Latin ,


(. 18.3 [ ], . 162).
,
read-quoted-char-radix 10 16. , , a, , ,
.
C-q ,
(. 4.10 [], . 42).
: hDELi deletebackward-char; hRETi newline,
self-insert, ,
. hDELi .

4.2
- , , , (. 1.1 [], . 23).
,
.
Control- Meta- . ( ,
, ).
.
C-a

(beginning-of-line).

C-e

(end-of-line).

C-f

(forward-char).

C-b

(backward-char).

M-f

(forward-word).

M-b

(backward-word).

C-n

(next-line). ,
, . , , C-n
.

C-p

(previous-line).

M-r

(move-to-windowline). .
, . ( ). (1 ).

M-<

(beginning-of-buffer). , n,
n/10 . . 4.10 [], . 42,
.

M->

(end-of-buffer).

M-x goto-char
n n . 1
.

4:

37

M-x goto-line
n n. 1
.
C-x C-n

, ,
C-n C-p (set-goal-column). ,
, . , .

C-u C-x C-n


. C-n C-p , , .
track-eol nil,
, C-n C-p . track-eol
nil. . 31.2 [], . 343, ,
track-eol.
C-n, , .
next-line-add-newlines nil, C-n
( C-p ).

4.3
hDELi

(delete-backward-char).

C-d

(delete-char).

C-k

(kill-line).

M-d

(kill-word).

M-hDELi


(backward-kill-word).

hDELi, (
). , Control-d (C-d ), (
, ). .
C-d , .
, C-k,
. C-k ,
. C-k ,
.
. 9.1 [], . 69, .

4.4

. , .
, , query-replace, , , ,
, .
C-x u

(undo).

38

C-_

GNU Emacs

C-u C-x u .
C-x u C-_.
, . ,
, .
C-_ C-x u ,
.
, .
, ,
.
, . , , C-f ,
, .
, .
, .
, , undo
( ): C-u C-x u C-u C-_. . ,
undo ( ). Transient Mark, undo, , ;
.
, ,
C-_ , ,
. .
, , ,
, ,
.
, , C-_ .
, , ,
. , .
, , .
. ,
, . Emacs ,
.
;
. , , ,
, ,
(. 8.5 [ ], . 66).
- , Emacs
( ) .
, , : undo-limit undo-strong-limit. .
undo-limit : Emacs , , ,
, .
20000. undo-strong-limit
: , , .
30000.

4:

39

,
, , ,
, .
, undo , C-x u C-_,
, , , C-_. C-x u ,
.

4.5
Emacs;
Emacs .
, .
, ,
. ,
Emacs, .
/usr/rms/foo.c.
Emacs,
C-x C-f /usr/rms/foo.c hRETi
C-x C-f (find-file).
, , hRETi (. 5 [], . 45).
Emacs , : , .
, , C-x
C-s (save-buffer).
/usr/rms/foo.c.
Emacs, foo.c .
, C-x C-f,
. Emacs , ,
. ,
C-x C-s.
, . . 14 [], . 105.

4.6
, - ,
C-h ( hF1i, C-h). C-h k, ,
; , C-h k C-n , C-n. C-h
; C-h k ( , describekey). C-h . C-h ,
. . 7 [], . 55.

4.7

.
C-o

(open-line).

40

C-x C-o

GNU Emacs

, (delete-blanklines).

,
, hRETi. ,
, , ,
. , C-o (open-line),
, .
- . - F O O , F O O
hRETi, .
, - ,
, , . .
4.10 [], . 42, , .
, C-o, ,
. . 21.5.3 [ ], . 187.
C-x
C-o (delete-blank-lines). C-x C-o
, . C-x C-o .
, C-x C-o
.

4.8
,
( ) ;
, , \.
\ , ,
, .
.
hRETi,

, Emacs ,
; Auto Fill (. 21.5 [], . 185).
Emacs . , , , .
, . $,
\, .
, , , , , (. 16
[], . 141). ,
truncate-lines nil. (. 31.2 [], . 343.) truncate-lines ;
. nil.
. 31.2.4 [ ], . 350.
. 11.7 [ ], . 84, ,
.

4.9

.

4:

41

M-x what-page
, ,
.
M-x what-line
, .
M-x line-number-mode
.
M-=

(count-lines-region). .
8 [], . 63, , .

C-x =

,
(what-cursor-position).

. M-x what-line
-. , M-x goto-line; .
.
; . 1.3 [ ], . 25. ,
(. 30.8 [], . 335).
, what-page
, . . 21.4
[], . 184.
-= (count-lines-region),
(. 8 [], . 63). . 21.4 [], . 184,
C-x l, .
- = (what-cursor-position) , , .
- , :
Char: c (0143, 99, 0x63) point=24781 of 31832(78%) column 52
( , , , column
.)
Char: , ; , , .
-ASCII- ext
, (. 18.7 [ ], . 165). , Emacs ext ....
point= , .
1, 2 . ,
. ,
.
column , .
,
, - = ,
. , :
Char: C (0103, 67, 0x43) point=252 of 889(28%) <231 - 599> column 0
. . . 30.8
[], . 335.

42

GNU Emacs

( ), - =
, . :
point=26957 of 26956(100%) column 0
C-u C-x = : ; ASCII-
ASCII. , ext
, . A Latin-1, iso-2022-7bit1 :
Char: `
A (04300, 2240, 0x8c0, ext ESC, A @) (latin-iso8859-1 64)

4.10
, . Emacs
( ). . , C-f ,
, , .
, . ,
.
hMETAi, / , META. ,
M-5 C-n
. Meta-1, Meta-2, , Meta , , (digit-argument negativeargument), .
- Control Control Meta .
C-u (universal-argument),
. C-u , -; C-u .
, C-u .
1.
C-u, , , , , .
. C-u . , C-u
C-u C-f .
, 1/5 , . C-u C-n, C-u C-u C-n
( ), C-u C-u C-o ( ) C-u
C-k ( ).
,
. , M-q (fill-paragraph) ,
. (. 21.5 [], . 185, M-q). C-u
.
, . ,
C-k (kill-line) n n ,
1

, Latin-1, Char:
A .

4:

43

. C-k -:
, , ,
. , C-k
, , C-k , . (. 9.1 [], . 69,
C-k.)
C-u , . 1.
, ;
.
. , ; , C-u 6 4 a
64 a. ; C-u 6 4 1 641,
-. , C-u;
, C-u 6 4 C-u 1 64 1.
, , , , , .

4.11
C-x z (repeat) Emacs
. Emacs,
. , ;
.
, z: z
. , ,
z, .
, C-u 2 0 C-d, 20 .
( ) ,
80 , C-x z z z. C-x z
, z .

44

GNU Emacs

5:

45

5
Emacs ,
, . , ,
, Emacs .
Emacs.
, -,
. , ,
, .
, . .
; .
, (, hRETi). , , , ,
; , ,
hRETi.
hRETi, . ,
, , C-g.
, -,
- Emacs. Emacs
:
- , ,
. , - ,
.
, -.
,
-, C-x =, ,
. ,
- .
, .

5.1
. , , ,
, . ,
, , . , :
Find File: /u2/emacs/src/
Find File: .
buffer.c,
/u2/emacs/buffer.c.
, ..; , ../lisp/simple.el,
/u2/emacs/lisp/simple.el.
M-hDELi (. 21.1 [], . 181).
,
C-a C-k. ; .
,
. , /etc/termcap,
, :

46

GNU Emacs

Find File: /u2/emacs/src//etc/termcap


GNU Emacs (
):
. , /u2/emacs/src/ ,
/etc/termcap.
insert-default-directory nil,
. , . , , -
.

5.2
Emacs ( ), Emacs
.
hRETi ,
. ,
C-o C-q C-j. (,
control-J.)
, ,
, , .
, ;
C-x o,
. ,
, . .
16 [], . 141.
.
.
, .
C-x ^. Resize-Minibuffer,
, ,
. M-x resize-minibuffer-mode,
(. 31.1 [
], . 341).
. , , ,
. minibufferscroll-overlap , ; 20.
, ,
C-M-v . , . .
16.3 [ ], . 142.
Emacs , , . ,
.
, enable-recursive-minibuffers
nil.

5:

47

5.3
.
, , Emacs
, .
, hTABi, hRETi hSPCi ,
, , , . ?
, .
, M-x , Emacs.
, - , ,
, . M-x ins hSPCi b
hRETi M-x insert-buffer hRETi ().
, , ( , , ).
, fo Foo. ,
, .

5.3.1
. M-x au hTABi, hTABi
( ), au. ,
auto-fill-mode auto-save-mode, auto-,
au auto-.
hTABi,
cfilrs,
, .
f hTABi, hTABi auto-f.
, , auto-fill-mode,
. auto-fill-mode
au hTABi f hTABi. , hTABi ,
, minibuffer-complete.

5.3.2
, ,
.
hTABi


(minibuffer-complete).

hSPCi

,
(minibuffer-complete-word).

hRETi

,
, (minibuffer-complete-and-exit).


(minibuffer-list-completions).

hSPCi hTABi, . auto-f, hSPCi, ,

48

GNU Emacs

auto-fill-mode, fill-.
auto-fill-. hSPCi auto-fill-mode. hSPCi
, , minibuffer-completeword.
, ,
:
Mouse-2

(mouse-choose-completion).
, ; , .

hPRIORi

M-v

hRETi

hRIGHTi
hLEFTi

hPRIORi ( hPAGE-UPi) M-v, , , (switch-tocompletions). , . ( ,


.)
hRETi , (choose-completion). , ,
.
hRIGHTi
(next-completion).
hLEFTi , (previouscompletion).

5.3.3
hRETi , , .
, - , . , C-x k
, , . hRETi ,
.
, hRETi
, ,
. , hRETi , . , hRETi
.
,
.
, , . , C-x C-f
, , , . hRETi
, .
,
. , ? . ,
C-M-v (. 16.3 [ ], . 142).

5:

49

5.3.4
.
completion-ignored-extension ; , , .
, ".", ".elc", ".dvi" "~". : , foo foo.c, foo.o .
, ,
.
.
, , , .
completion-auto-help nil, , , ?.
complete , . ,
p-b print-buffer,
, p b. , (load "complete") ~/.emacs (. 31.7 [ ],
. 366).
Icomplete ,
, .
M-x icomplete-mode.

5.4
, .
. ,
.
hUPi

M-p

, (previous-history-element).

hDOWNi

M-n

, (next-history-element).

M-r regexp hRETi


,
regexp (previous-matching-history-element).
M-s regexp hRETi
,
regexp (next-matching-history-element).

. , M-p (previous-history-element) , M-n (next-history-element)
.
, , . ,

50

GNU Emacs

, hRETi. ; , ,
.
. .
, M-n .
,
.
;
,
. M-r (previous-matching-history-element)
, M-s (next-matching-history-element)
. , ,
. ,
(. 12.6 [ ], . 95).
, . , ,
, . ( :
, ,
.)
,
, M-x, , query-replace , compile.
, , .
history-length ;
, . history-length t, ,
.

5.5
, , ,
. , M-x,
M-x .
C-x hESCi hESCi
(repeat-complexcommand).
M-x list-command-history
, C-x hESCi
hESCi, .
C-x hESCi hESCi , . , .
, ;
, .
C-x hESCi hESCi
, .
hRETi, .

5:

51

. ,
, .
, ,
.
, ,
. , ,
, .
C-x hESCi hESCi,
(M-p, M-n, M-r, M-s; . 5.4 [ ], . 49)
. ,
,
, hRETi.
, ,
command-history. ,
.
eval command-history.

52

GNU Emacs

6:

53

6
Emacs, , . Emacs, , ;
, .
, ; , auto-fill-mode manual-entry.
,
, .
, M-x,
hRETi. M-x . hRETi . M-x
, ,
, . . 5 [], . 45,
.
. ,
forward-char
M-x forward-char hRETi

M-x forw hTABi c hRETi


, forward-char ,
C-f. Emacs M-x
, .
C-g,
M-x , .
, M-x,
M-x. M-x , .
, .
, Emacs
- (
). , M-x forward-word, ,
, , M-f.
, suggest-key-bindings nil.
, , hRETi, . M-x
auto-fill-mode, M-x auto-fill-mode hRETi. hRETi, , ,
.
M-x execute-extended-command,
.

54

GNU Emacs

7:

55

7
Emacs , , C-h. C-h ,
. , C-h, . C-h; c
C-h. hF1i
C-h.
C-h C-h (help-for-help) .
hSPCi hDELi.
C-h hF1i . ,
query-replace . ,
. (
C-h, ;
hF1i.)
,
Help, hSPCi hDELi.
.
C-h a regexp hRETi
,
regexp (apropos-command).
C-h b

,
: ,
(describe-bindings).

C-h c
,
(describe-key-briefly). c character ().
, C-h k.
C-h f hRETi
(describefunction). ,
.
C-h h

hello, .

C-h i

Info, (info). Emacs Info.

C-h k
, (describe-key).
C-h l

100 (view-lossage).

C-h m

(describe-mode).

C-h n

Emacs, (view-emacsnews).

C-h p

(finder-by-keyword).

C-h s

,
(describe-syntax). . 31.6 [], . 366.

56

C-h t

GNU Emacs

Emacs (help-with-tutorial).

C-h v hRETi
(describe-variable).
C-h w hRETi
,
(where-is).
C-h C hRETi
(describecoding-system).
C-h C hRETi
.
C-h I hRETi
(describe-input-method).
C-h L - hRETi
, ,
- (describe-language-environment).
C-h C-c

GNU Emacs.

C-h C-d

GNU Emacs.

C-h C-f hRETi


Info , Emacs
(Info-goto-emacs-command-node).
C-h C-k
Info ,
(Info-goto-emacs-key-command-node).
C-h C-p

GNU.

C-h hTABi - hRETi


Info - , (info-lookup-symbol).

7.1
C-h C-h c (describe-key-briefly) C-h k
(describe-key). C-h c - ,
. , C-h c C-f forward-char. , ,
, .
C-h k , .
, . -,
.
C-h c C-h k ,
.

7:

57

7.2
C-h f (describe-function) , ,
.
, ,
. ,
C-h f auto-fill-mode hRETi
auto-fil-mode. , - ( ,
M-x).
C-h f ,
. , (make-vector
len) , make-vector,
C-h f make-vector hRETi. C-h f ,
, , ,
M-x, C-h f.
,
.
C-h f , ,
hRETi, . ,
, ,
, . ,
(make-vector (car x), , , ,
(make-vector; ,
make-vector.
C-h f
. C-h f ,
. , ,
C-g, C-h f .
C-h w hRETi , .
-. ,
, M-x. C-h w
where-is.
C-h v (describe-variable) C-h f, ,
.
, . . 31.2 [], . 343.

7.3

? , C-h a file hRETi, , file, copy-file, find-file
. , , . , ,
find-file, C-x C-f. C-h Apropos, C-h a
command-apropos. ( ); ,
.
C-h a , ,
.

58

GNU Emacs

, C-h a kill-backward hRETi , . kill, backward back. .


, Adventure. ,
(. 12.5
[ ], . 91).
C-h a, ,
Emacs. ,
apropos.
char, line, word, sentence, paragraph, region, page, sexp, list, defun, rect, buffer,
frame, window, face, file, dir, register, mode, beginning, end, forward, backward,
next, previous, up, down, search, goto, kill, delete, mark, insert, yank, fill, indent,
case, change, set, what, list, find, view, describe, default.
, , M-x apropos-variable. ;
, .
, , , ,
M-x apropos, C-h a. ; , .
apropos-documentation apropos,
, .
apropos-value apropos, , .
; ,
.
apropos-do-all nil,
, - .
,
, Apropos,
Mouse-2 hRETi.

7.4
C-h p Emacs
Lisp . ,
:
abbrev , , .
bib bib.
c ++.
calendar .
comm , , .
data .
docs Emacs.
emulations .
extensions Emacs Lisp.
faces ( ).
frames .
games , .

7:

59

hardware .
help .
hypermedia .
i18n .
internal Emacs, , .
languages .
lisp ( Emacs Lisp).
local , .
maint Emacs.
mail .
matching .
news .
non-text .
oop - .
outlines .
processes , , .
terminals .
tex TEX.
tools .
unix Unix.
vms VMS.
wp .

7.5

C-h L (describe-language-environment). . 18.3 [ ], . 162.
, ,
, , .
.
C-h h (view-hello-file) etc/HELLO, ,
.
C-h I (describe-input-method) , ,
, , . . 18.4 [ ],
. 163.
C-h C (describe-coding-system) , , , , . . 18.7 [
], . 165.

7.6 Help
View (. 14.10 [
], . 132) .
hSPCi

hDELi

hRETi

hTABi

S-hTABi

Mouse-2

, .

60

GNU Emacs

(. 6 [ ],
. 53) (. 31.2 [], . 343), . Mouse-2
hRETi,
. C-c C-b .
. hTABi (help-next-ref) .
, S-hTABi (help-previousref).

7.7
C-h i (info) Info, . Info Emacs. GNU.
Info, h Info.
, C-h i .
, Info
. , ,
.

Emacs Info. C-h C-f hRETi Info
Emacs . C-h C-k Info
. Info-goto-emacs-command-node Infogoto-emacs-key-command-node.
, Info- , C-h C-i
( , ).
.
- , , , C-h l (view-lossage). C-h l 100
. , , C-h
c, , .
Emacs ,
. C-h m
(describe-mode) ,
, .
C-h b (describe-bindings) C-h s (describe-syntax) Emacs. C-h b , ;
, , , (. 31.4 [ ], . 356). C-h s
(. 31.6 [], . 366).
,
C-h. ( ,
C-h. hESCi, hESCi C-h
C-M-h, .)
C-h . C-h
C-w GNU Emacs. -h n (view-emacsnews) emacs/etc/NEWS, Emacs,

7:

61

. C-h F (view-emacs-FAQ)
Emacs. C-h t (help-with-tutorial) Emacs. C-h C-c (describe-copying) emacs/etc/COPYING,
,
Emacs. C-h C-d (describe-distribution) emacs/etc/DISTRIB, , Emacs. C-h C-p
(describe-project) GNU.

62

GNU Emacs

8:

63

8
Emacs,
. , ,
,
. , , .
Transient Mark, Emacs (. 8.2
[Transient Mark], . 64).
, .
, , . , ,
. ,
, , ,
, .
, , C-y (yank) M-x insert-buffer,
, ,
, , .
, , , , . ,
Emacs 16 .

8.1
:
C-hSPCi

(set-mark-command).

C-@

C-x C-x

(exchange-point-and-mark).

Drag-Mouse-1
, .
Mouse-3

, . (mouse-save-then-kill).

, ,
, C-x C-u (upcase-region),
. ,
, C-hSPCi, ,
C-x C-u.
, C-x C-u.
C-hSPCi
(set-mark-command). .
, .
.
; ,
, .
, ( C-hSPCi)
( Mouse-1).
; ,
,
. . 17.1 [ ], . 147.

64

GNU Emacs

, Emacs
. . , , , .
C-x C-x (exchange-point-andmark), , , , .
, . Transient Mark .
C-x C-x , , ( ); C-x C-x ,
, . C-x C-x
, , ,
.
ASCII C-hSPCi; hSPCi, hCTRLi
, C-@.
, set-mark-command.
, , C-hSPCi, C-@, C-hSPCi. X, C-hSPCi
, set-mark-command.

8.2 Transient Mark


Emacs , X Windows.
. ?
Emacs ,
, ( ).
.
, Transient
Mark. , , , .
Transient Mark ; ,
, , .
Transient Mark, M-x transient-mark-mode.
, .
Transient Mark:
, C-hSPCi (set-mark-command).
; , .
.
, , M-@, C-M-@, M-h, C-M-h,
C-x C-p C-x h.
, , ,
, .
, , . , , ,
. , C-x
C-x.
M-> C-s, - , . ,
C-x C-x (exchange-point-and-mark).
C-s , .

8:

65

C-g .
region;
, . . 31.2.2.3 [ ],
. 347.
, ,
(
.) (. 16
[], . 141). , highlight-nonselected-windows nil,
( Transient Mark,
).
Transient Mark , , ,
, .
Transient Mark mark-even-if-inactive nil,
, .
, Transient Mark,
, .
Transient Mark Zmacs, Zmacs
MIT Lisp Machine .

8.3
, ,
:
C-w (. 9.1 [], . 69).
C-x r s (. 10 [], . 77).
(. 9.3 [ ], . 73).
C-x C-l C-x C-u (. 21.6 [ ], . 189).
C-x hTABi C-M-\ (. 20 [], . 177).
M-x fill-region (. 21.5 [],
. 185).
M-x print-region (. 30.4 [], . 331).
- M-x eval-region (. 23.8 [ ], . 254).
, ,
region.

8.4
, , , .
M-@

(mark-word). .

C-M-@

- (mark-sexp).

M-h

(mark-paragraph).

C-M-h

(markdefun).

66

GNU Emacs

C-x h

(mark-whole-buffer).

C-x C-p

(mark-page).

M-@ (mark-word) , C-M-@ (mark-sexp)


.
, M-f C-M-f.
, ,
. , M-h (mark-paragraph) ,
, (.
21.3 [], . 183). ,
, .
C-M-h (mark-defun) ,
(. 22.4 [ ], . 208). C-x C-p
(mark-page) ,
(. 21.4 [], . 184). (
), (
). ( )
( ) .
, C-x h (mark-whole-buffer) ,
, .
Transient Mark .

8.5
, ,
. , Emacs 16 . ,
, . , C-u C-hSPCi ( C-u C-@), set-mark-command,
. , , . ,
, . , , ,
.
.
. , C-u C-hSPCi
.
, , , , M-<
(beginning-of-buffer),
. , .
, .
, - , ,
- Mark Set.
,
.
(. 10.1 [ ],
. 77).
mark-ring-max .
, , . C-u C-hSPCi
, .

8:

67

mark-ring ,
.
.

8.6
, , Emacs
. ,
, .
.
,
.
, , ,
.
C-x C-hSPCi (pop-global-mark) . , C-x C-hSPCi .

68

GNU Emacs

9:

69

9
,
. ,
, .
Emacs
, . ,
. ,

.
.
Emacs , .

9.1
, , , .
. , ,
; . ( ).
, C-x u (undo)
(. 4.4 [], . 37).
C-d (delete-char) hDELi (delete-backward-char), , ,
. , , .
kill delete,
.

9.1.1
C-d

(delete-char).

hDELi

(delete-backward-char).

M-\

(delete-horizontal-space).

M-hSPCi

, (just-onespace).

C-x C-o

(delete-blank-lines).

M-^

,
, (delete-indentation).

C-d (delete-char) hDELi (delete-backwardchar). C-d , . . hDELi .


, . . C-d hDELi
; , ,
.
, : ,
. M-\ (delete-horizontal-space)

70

GNU Emacs

. M-hSPCi (just-one-space)
, , ,
( ).
C-x C-o (delete-blank-lines) .
, ,
( , ).
M-^ (delete-indentation) ,
, . . 20 [], . 177.

9.1.2
C-k

, (kill-line).

C-k. ,
, . ,
, .
, C-k .
, C-k ,
. ,
, .
, ,
, , ,
, C-k .
C-k ,
(,
). n n , ( ). ,
C-u - 2 C-k .
C-k , , .
kill-whole-line nil, C-k
, . nil.

9.1.3
C-w

( ) (kill-region).

M-d

(kill-word). . 21.1 [], . 181.

M-hDELi

(backward-kill-word).

C-x hDELi

(backward-kill-sentence).
21.2 [], . 182.

M-k

(kill-sentence).

C-M-k

s- (kill-sexp). . 22.2 [], . 206.

M-z

(zap-to-char).

C-w (kill-region) , .
,
.
: M-z
(zap-to-char)

9:

71

( ) . .

.
: , M-hDELi M-d
(. 21.1 [], . 181); s-, C-M-k (. 22.2 [],
. 206); , C-x hDELi M-k (. 21.2 [], . 182).
, . ,
, , ,
, . ,
, , ,
.

9.2
, .
, .
, .
C-y

(yank).

M-y

(yank-pop).

M-w

(kill-ring-save).

C-M-w


(append-next-kill).

9.2.1
,
, . , ,
.
. (. 9.3 [ ], . 73,
).
C-y (yank) , .
, . . 8
[], . 63.
C-u C-y . , C-u. ,
C-u , (. 9.2.3
[ ], . 72).
, M-w (kill-ringsave), .
C-w, C-x u, , M-w
.

72

GNU Emacs

9.2.2
.
, ,
C-y , .
, ,
;
, ,
.
, , . , ,
. ,
. . , , :
? .
, ?. M-d M-hDELi M-d M-hDELi, ,
. . ( , M-hSPCi M-q.)
M-b M-b C-u M-d.
. M-f M-f C-u M-hDELi
, ; . , ,
.
(
), .
,
C-M-w (append-next-kill). C-M-w , ,
, . C-M-w

.
, M-w, , M-w .

9.2.3
,
, M-y (yank-pop).
, . , ,
, C-y, , M-y, . M-y
C-y M-y.
M-y ,
. , ,
. C-y , . M-y ,
. M-y
, ,

9:

73

. ,
M-y .
M-y , , ,
.
M-y , ,
.
;
.
,
M-y, . ,
. ,
,
, , C-y
.
, M-y ,
, , C-y
. C-y , . , C-u 2 C-y
. C-y M-y. C-y c
, .
kill-ring-max;
, .
kill-ring;
C-h v
kill-ring.

9.3
,
,
. , (. 10 [], . 77).

.
M-x append-to-buffer
.
M-x prepend-to-buffer
.
M-x copy-to-buffer
, .
M-x insert-buffer
.
M-x append-to-file
.
M-x append-to-buffer.
, .
, append-to-buffer .

74

GNU Emacs

, . ,
, .
, , append-to-buffer
, . , append-to-buffer
, ,
. , append-to-buffer
, ,
.
M-x prepend-to-buffer append-to-buffer ,
, ,
. M-x copy-to-buffer , ,
, .
, M-x
insert-buffer; .
.
, , . . 15 [], . 135,
.
Emacs M-x append-to-file,
. .
.
append-to-file , Emacs. ,
Emacs, Emacs,
.

9.4
:
. ,
, , , .
.
, ,
, . , , -,
, . , ,
, .
, , , . ,
. ,
( ) , .
C-x r k

-, (kill-rectangle).

C-x r d

- (delete-rectangle).

9:

75

C-x r y

,
(yank-rectangle).

C-x r o

, -
(open-rectangle).
-
.

M-x clear-rectangle
-, .
M-x delete-whitespace-rectangle
, .
C-x r t hRETi

rectangle).

(string-

, , :
.
:
() . C-x r d (delete-rectangle) C-x r k (kill-rectangle).
, , , ( ) .
, ; , ,
.
- , , , ,
.
, C-x r y (yankrectangle). .
. , , ,
. .
,
;
. . 30.9
[Two-Column], . 336, .

C-x r r r C-x r i r. . 10.3 [ ], . 78.
: M-x clear-rectangle,
, C-x r o (open-rectangle),
.
.
M-x delete-whitespace-rectangle , . ,
.
.
C-x r t (M-x string-rectangle)
( ).
. ,
; , .

76

GNU Emacs

10:

77

10
Emacs , . , ,
; , ,
.
, .
, , , , . ,
- , , -
. , r, M-x view-register.
M-x view-register hRETi r
, r.

10.1
, .
.
C-x r hSPCi r
r (point-to-register).
C-x r j r

, r (jump-to-register).

, r C-x r
r. r ,
- .

hSPCi

C-x j r , r.
, .
, , .
C-x r j , ,
, , C-x r j ,
. , , .

10.2
, ,
. .
C-x r s r

r (copy-to-register).

C-x r i r

r (insert-register).

C-x r s r r. , C-x r s r .
C-x r i r r.
, , (C-u), ,
, .

78

GNU Emacs

10.3
.
. . 9.4 [], . 74, , .
C-x r r r

- r (copy-region-to-rectangle).
.

C-x r i r

, r (
) (insert-register).

C-x r i r , ,
, .
sort-columns,
. . 30.7 [], . 333.

10.4
.
C-x r w r


configuration-to-register).

C-x r f r

, , r (frameconfiguration-to-register).

(window-

C-x r j r .
, . , , ,
. ,
C-u C-x r j r.

10.5
,
. (. 31.3 [ ], . 353).
C-u C-x r n
(number-to-register).
C-u C-x r +
(increment-register).
C-x r g
.
C-x r g ,
.

10:

79

10.6
, . ,
:
(set-register ?r (file . ))
,
(set-register ?z (file . "/gd/gnu/emacs/19.0/src/ChangeLog"))
z.
, r, C-x r j r. (
,
.)

10.7
, ,
. ,
Emacs .
.
C-x r m hRETi
.
C-x r m hRETi
(bookmark-set).
C-x r b hRETi
(bookmark-jump).
C-x r l

(list-bookmarks).

M-x bookmark-save
,
.

. , C-x r m, , ,
. ,
,
C-x r b .
, C-x r l
(list-bookmarks). ,
. C-h m
.
Emacs, , ~/.emacs.bmk, -
. M-x
bookmark-save. , ,
.
Emacs .
bookmark-save-flag 1, ,
, ; , Emacs . ( ,
, , .)

80

GNU Emacs

,
bookmark-jump , .
bookmark-search-size ,
.
:
M-x bookmark-load hRETi - hRETi
-, .
, bookmark-write,
.
M-x bookmark-write hRETi - hRETi
-.
M-x bookmark-delete hRETi hRETi
.
M-x bookmark-insert-location hRETi hRETi
, .
M-x bookmark-insert hRETi hRETi
, .

11:

81

11
, Emacs
, .
, , .

11.1
, ,
, Emacs .
.
,
. , ,
. ,
.
, .
.
C-l

,
(recenter).

C-v
hNEXTi

( ) (scrollup).

M-v
hPRIORi

(scroll-down).

C-l

, (recenter).

C-M-l

,
(reposition-window).

C-l (recenter) .
. , , .
C-v M-v
. C-v (scroll-up)
, , , C-l.
C-v ,
. M-v (scroll-down) C-v, . hNEXTi hPRIORi C-v M-v.
, .
, scroll-up, .
, C-v .
, , ,
, . , , . M-v
. C-v M-v next-screen-context-line,
.
,
. ,

82

GNU Emacs

scroll-preserve-screen-position nil.
; , ,
. , , , .
C-l . C-l ,
. n ,
n . , ,
. ; , . C-l
. , C-u - 1 C-l
, C-u - 5 C-l .
C-u C-u C-l .
C-M-l (reposition-window) , ,
. ,
,
.
,
.
. , scroll-conservatively n, ,
n , Emacs , .
scroll-conservatively .
scroll-margin , . ;
, Emacs .
scroll-margin 0.

11.2
,
.
C-x <

(scroll-left).

C-x >

(scroll-right).

, ,
. (. 4.8 [ ], . 40); $
, , , ,
, .
C-x < (scroll-left) n
n . . , ( ,
).
C-x > (scroll-right) , .
, (
). . ,
C-x >;
.
,
Hscroll. , Emacs
,

11:

83

.
M-x hscroll-mode.

11.3 Follow
Follow , , , , .
Follow, ,
C-x 3 M-x follow-mode.
;
.
Follow, M-x follow-mode .

11.4
Emacs , ( ).
.
, C-x $ (set-selective-display) n. , n ,
. (...),
, .
C-n C-p , .
- , , . ,
.
, .
, C-x $ .
selective-display-ellipses nil, , . .
.

11.5
Line Number, , . M-x
line-number-mode; . ,
, L , . . 31.1 [ ], . 341,
, .
(, line-number-displaylimit), . Emacs ,
, . (. 30.8
[], . 335),
.
, Column Number.
C.
M-x column-number-mode.

84

GNU Emacs

Emacs . , M-x display-time. ,


, .
:
:pm .
, am pm. .
, . (
, .)
, display-time24hr-format t.
, ,
Mail.

11.6
ASCII ( 040 0176) Emacs .
, ASCII ( 0400).
ASCII . ( 012) . ( 011) (
8 ).
ASCII (^),
; , control-A ^A.
-ASCII- 0200 0377
; , 0243 () \243.
, ,
-ASCII-
( , ). .
18.12 [ ], . 172.

11.7
.
.
mode-line-inverse-video ,
( , ); nil ,
. . 1.3 [ ], . 25.
modeline, mode-line-inverse-video nil,
. . 17.13 [],
. 155.
inverse-video nil, Emacs .
visible-bell nil, Emacs ,
. ,
.
Emacs , Emacs
. , , termcap, ti te (
, Emacs , ) , Emacs, . ,

11:

85

no-redraw-on-reenter nil; Emacs ,


, Emacs .
echo-keystrokes .
, ;
, , . . 1.2 [-], . 24.
ctl-arrow nil,
, ,
. ctl-arrow
, .
t. . Display Tables The Emacs Lisp Reference Manual.
,
; , .
tab-width, , , ctl-arrow.
, hTABi, . tab-width 1
1000, .
truncate-lines nil,
; , . truncate-lines nil,
, , , .
. 4.8 [ ], . 40. truncate-lines
; .
nil.
truncate-partial-width-windows nil, ,
truncate-lines. , 16.2 [ ], . 142.
Display The Emacs Lisp Reference Manual.
baud-rate , Emacs.
,
, , . ,
. ( , , ,
.)

. . Display Tables The Emacs Lisp Reference Manual.

86

GNU Emacs

12:

87

12
, Emacs . , ;
, .
,
.
replace-string,
, Emacs ,
query-replace, , .

12.1
, .
, , Emacs , (
, ) .
, , . , , ,
hRETi.
C-s

(isearch-forward).

C-r

(isearch-backward).

C-s . C-s
, . C-s
F, F. , ,
FO. FOO,
, . , , , ;
-.
, hDELi. hDELi .
, Emacs ; ,
, , .
, , C-g , .
, hRETi,
, , . , ,
. , C-a . hRETi ,
, , , hDELi, hRETi
, (C-q, C-w, C-r,
C-s, C-y, M-y, M-r M-s).
FOO , , .
FOO, , , .
C-s , .
. ,
C-s hDELi.
,
C-s C-s: C-s , , C-s
.

88

GNU Emacs

,
. M-p M-n ,
. , .
C-s C-r.
, - Failing I-Search. , Emacs , .
, FOOT, ,
FOO FOOL. .
, - .
, hRETi Emacs,
, , C-g,
, ( FOOT), ,
(FOO FOOT). C-g ,
, , .
, . , . .
12.6 [ ], . 95.
, C-s ,
.
C-r . . , Wrapped.
, , Overwrapped,
, .
C-g . ,
. , , , C-g
. , .
C-g , Emacs ,
.
, , ,
C-g .
, C-j.
, control-S , , C-q. C-q
(. 4.1 [ ], . 35): , .
: C-q
.
C-r. , , , ,
. C-r
, C-s . C-r
hDELi.
, , , C-r C-s, C-r ,
(isearch-backward) . , ,
, , .
C-y C-w
. ,
. C-w ,
. C-s

12:

89

, . C-y C-w,
. C-y, C-w
, ;
.
M-y .
, C-y. . 9.2 [], . 71.
, ,
. . Transient
Mark , ,
.
, , isearch-mode-map.
isearch-mode C-h f isearch-mode hRETi.

12.1.1

, , . , , ,
, .
, ,
.
, . Emacs
, ,
.
,
search-slow-speed, 1200.
, ,
search-slow-window-lines. .

12.2
Emacs ,
.
C-s hRETi hRETi
.
C-r hRETi hRETi
.
, C-s hRETi.
; hRETi,
. , .
C-s hRETi : C-s , , ,
. ( ). C-r hRETi .
, C-s hRETi search-forward. ,
C-w, .

90

GNU Emacs

searchforward search-backward.
.
, , ,
.

12.3

, . , ,
, , , ,
.
, . , , , ,
. , .
C-s hRETi C-w hRETi
, .
C-r hRETi C-w hRETi
, .
,
C-s hRETi C-w. , hRETi. , ,
. ;
12.4 [ ], . 90.
C-r hRETi C-w.
word-search-forward wordsearch-backward. .
,
.

12.4
(regexp, ) ,
, , . GNU Emacs
, .
C-M-s (isearchforward-regexp). , , C-s,
, .
, ,
, . C-s
( )
. ,
C-M-r (isearch-backward-regexp) C-r .
,
, . C-s C-r
,

12:

91

; ,
. ,
M-p M-n.
hSPCi, , .
, C-q hSPCi.
,
. , foo
\|bar, , bar
foo.

re-search-forward re-search-backward. M-x,

C-M-s hRETi C-M-r hRETi.
, , isearch-forward
isearch-backward. . 12.1 [ ], . 87.

12.5
, , .
, . $, ^, ., *, +, ?, [, ] \.
, , ,
\.
, f , , f
, f . (
ff). , , . ( ,
F O,
, .)
a b .
, , a
, b .
f o,
fo, fo.
. - ,
. .
. () , , . (),
, a.b, , a b.
*

; , ,
, . , o*
o ( ).
* .
, fo* , fo.
f, fo, foo .

92

GNU Emacs

* , .
. , .
* ,
. , ca*ar caaar, a* , ar,
r, .
*
.
.
+

, *, ,
,
. , ca+r car
caaar, cr, ca*r .

, *, , . , ca?r
car cr .

[ ... ]

, [ ].
.
, [ad] a, d, [ad]*
, d (
), , c[ad]*r cr, car, cdr,
caddaar .
, ,
-; , [a-z]
ASCII. ,
[a-z$%.], ASCII, $,
% .
, . : ], - ^.
], . , []] ] . -, -
. , []-] ] -.
^, , .
,
, ,
. , ,
Emacs.

[^ ... ]

[^ ,
, . , [^a-z0-9A-Z] , .
^ , . ,
^, , ( ,
- ] ).
, .
, grep.

12:

93

, , . , .
, ^foo foo, .

^, . ,
xx*$ x .

: ( \)
.
\ , \$ , $, \[
, [, .

: , ,
. , *foo * , , *.
; ,
.
\, , . , : ,
\, .
, .
\.
\|

. a b \|
, :
a, b. : a,
, b.
, foo\|bar foo, bar,
.
\| . \( ... \) \|.

\|.

\( ... \)

, :
1. \| . , \(foo\|mar\)x foox, marx.
2. *, + ?. , ba\(na\)* bananana
( ) na.
3. .
;
, \( ... \).
.

\n

, n- \( ...
\).
\( ... \)
, . , , \, n, :
, n- \( ... \).

94

GNU Emacs

, \( ... \), , 1 9
, .
\1 \9 \( ... \) .
, \(.*\)\1 , , . \(.*\) , , \1, ,
.
- \( ... \) ( , *),
.
\

, , .

, , .

\=

, .

\b

,
. , \bfoo\b foo
. bballs?\b ball balls .
\b , ,
.

\B

,
.

\<

, . \<
, ,
.

\>

, . \>
, , .

\w

, .
, . . 31.6 [], . 366.

\W

, .

\sc

, c. c
, , ,
w , - , ( ,
. (
) -, .

\Sc

, c.

, ,
(. 31.6 [], . 366).
, Emacs , .
,
. , . \" , \\

12:

95

, \t , \n
.
"[.?!][]\")]*\\($\\|\t\\| \\)[ \t\n]*"
: , ,
? !; , ,
, ; ,
, ,
; , ,
.
, hTABi,
, C-j, . ,
.

12.6
Emacs ,
, . , foo, Foo, foo . ,
, : [aB]
a, A, b B.
. , Foo foo FOO.
. , .
case-fold-search nil, , . ; , ,
. . 31.2.4 [ ], . 350. , ,
(. 12.7 [], . 95)
(. 5.4 [ ], . 49).

12.7
Emacs , 1 , . M-x replace-string, , M-x query-replace,
, .
; ,
Transient Mark , .
( ) .
, expand-region-abbrevs (.
24.3 [ ], . 258).

12.7.1
M-x replace-string hRETi hRETi - hRETi
-.
1

96

GNU Emacs

M-x replace-regexp hRETi regexp hRETi - hRETi


regexp -.
foo bar,
M-x replace-string foo bar.
, , ,
. ;
,
(. 30.8 [], . 335). Transient Mark, ,
(. 8.2 [Transient Mark], . 64).
replace-string, .
, replace-string,
. C-u C-hSPCi .
, . .

12.7.2
M-x replace-string . replace-regexp .
replace-regexp, - :
, regexp. \&
- . \n, n ,
, n- regexp. \, \\.
,
M-x replace-regexp hRETi c[ad]+r hRETi \&-safe hRETi
() cadr cadr-safe cddr cddr-safe.
M-x replace-regexp hRETi \(c[ad]+r\)-safe hRETi \1 hRETi
.

12.7.3
,
, case-fold-search
nil. case-fold-search nil,
.
, - ,
. ,
M-x replace-string hRETi foo hRETi bar hRETi
foo bar , FOO
BAR, Foo Bar. ( : , ,
replace-string.)
,
.
, ,
, . , case-replace case-foldsearch nil, .

12:

97

12.7.4
M-% hRETi - hRETi
M-x query-replace hRETi hRETi - hRETi
-.
C-M-% regexp hRETi - hRETi
M-x query-replace-regexp hRETi regexp hRETi - hRETi
regexp -.
foo bar, ,
replace-string. M-%
(query-replace). foo ,
, . query-replace, ,
- . , replacestring, , case-replace nil, .
, query-replace ,
replace-string, query-replace-regexp replace-regexp. C-M-%.

regexp, :
hSPCi

-.

hDELi

, .

, ()
.
, , .
, hDELi hSPCi ;
.
C-r ( ), . C-x u,
; query-replace, , C-x hESCi hESCi hRETi,
(. 5.5 [], . 50).
hRETi

. () .
!

( ,
), . . ^ ,
query-replace
.

C-r

, , ,
-. ,
, C-M-c, . .
30.12 [ ], . 338.

98

GNU Emacs

C-w

, C-r.
. , C-M-c,
.

C-l

.
, , .

C-h

, . , , .

: y, n q hSPCi, hDELi hRETi.


, query-replace
. , C-k,
query-replace .
query-replace, , C-x hESCi
hESCi, query-replace,
. . 4.11 [], . 43.
28.9 [ ], . 297,
Dired ,
.

12.8
, . ,
, , case-fold-search
nil.
M-x occur hRETi regexp hRETi
, ,
regexp. ,
; .
, (. 30.8 [], . 335).
*Occur*, ,
. Mouse-2 , *Occur*, hRETi;
, ,
.
M-x list-matching-lines
M-x occur.
M-x count-matches hRETi regexp hRETi
regexp .
M-x flush-lines hRETi regexp hRETi
,
regexp.
M-x keep-lines hRETi regexp hRETi
,
regexp.

12:

99

, Emacs grep
,
. . 23.2 [ grep], . 248.

100

GNU Emacs

13:

101

13
, ,
, ,
.

, C-x u C-_. ( ), ( query-replace)
. C-_ C-x u
. . 4.4 [], . 37,
.

13.1
hDELi

(delete-backward-char).

M-hDELi

(backward-kill-word).

C-x hDELi

(backward-kill-sentence).

hDELi (delete-backward-char) .
. , . , hDELi !
, , M-hDELi C-x hDELi. M-hDELi
, C-x hDELi . C-x hDELi
, , . M-hDELi C-x hDELi
C-y M-y. . 9.2 [], . 71.
M-hDELi , ,
, , .
hDELi, , , .
.

13.2
C-t

(transpose-chars).

M-t

(transpose-words).

C-M-t

(transpose-sexps).

C-x C-t

(transpose-lines).

,
, C-t (transpose-chars). C-t , . ,
, ,
, C-t . ,
, C-t.
,
.
,

102

GNU Emacs

. , (C-r) . . 12
[], . 87.
M-t (transpose-words) . , ,
. . , FOO, BAR
BAR, FOO, BAR FOO,.
C-M-t (transpose-sexps)
(. 22.2 [], . 206), C-x C-t (transpose-lines) .
, M-t, .
: (, , )
(, , ). ,
C-u 3 C-t .
C-t. C-u - 4 M-t
. C-u - C-M-t C-M-t.
, , ( ):
(, , ), ,
(, , ), .

13.3
M- M-l

. , Meta-
Meta-.

M- M-u

M- M-c

.
M-l, M-u M-c , : .
, ,
. . 21.6 [], . 189.

13.4
. Ispell,
Emacs.
M-x flyspell-mode
Flyspell, .
M-$

(ispell-word).

M-hTABi

,
(ispell-complete-word).

M-x ispell-buffer
.
M-x ispell-region
.

13:

103

M-x ispell-message
,
.
M-x ispell-change-dictionary hRETi hRETi
Ispell, .
M-x ispell-kill-ispell
Ispell.
Flyspell Emacs. ,
. ,
. , , . ,
M-x flyspell-mode.
Flyspell ,
Mouse-2, .
, ,
.
Emacs ,
. ,
, Emacs
.
, ,
, M-$ (ispell-word). ,
.
, M-x
ispell-buffer. M-x ispell-region .
, ,
M-x ispell-message; , ,
, .
, , . , .
. :
hSPCi

,
.

r hRETi
( ) .
R hRETi
query-replace,
, .

( ) .
; ,
.

,
.

,
.

104

GNU Emacs

, Ispell
.

i, .

l hRETi
, .
; ,
. * .
C-g

.
C-u M-$.

, C-g.

,
, .

Ispell.

C-l

C-z

( Emacs ).

ispell-complete-word, M-hTABi Text


, ,
. , M-hTABi;
. , Mouse-2 hRETi. . 21.7
[ Text], . 190.
, Ispell ( ), .
Ispell, M-x ispell-kill-ispell.
, ,
.
Ispell : . ispelldictionary . nil ,
. M-x ispell-change-dictionary
Ispell, .

14:

105

14
. , Emacs,
.
, Emacs , . .
,
Emacs. ,
.
Emacs , , .

14.1
Emacs, ,
. ( ; ,
.)
(. 5 [], . 45).
. . 5.3 [], . 47.
, , hRETi, .
, ,
Emacs.
, ,
, . ,
, .
, , ,
.
default-directory, .
, /u/rms/gnu/gnu.tasks,
u/rms/gnu/. foo, , /u/rms/gnu/foo. ../.login
/u/rms/.login. new/foo /u/rms/gnu/new/foo.
M-x pwd , M-x
cd ( ).
, cd.
, , ,
. C-x b,
, .
, . : ,
,
, ,
.
, insert-default-directory nil.
, , , . , .
, /usr/tmp/, /x1/rms/foo,

106

GNU Emacs

/usr/tmp//x1/rms/foo; Emacs , ; /x1/rms/foo. . 5.1


[ ], . 45.
$ . ,
export FOO=rms/hacks
FOO, /u/$FOO/test.c /u/${FOO}/test.c
/u/rms/hacks/test.c.
$; $.
, , ,
Emacs, Emacs.
, $, $$.
$, $
.
/: (. 14.13 [ ], . 134).
, , substitute-infile-name. ,
.
, ASCII, file-name-coding-system nil . . 18.9 [
], . 168.

14.2
C-x C-f

(find-file).

C-x C-r

, (find-fileread-only).

C-x C-v

,
alternate-file).

C-x 4 f

(find-file-other-window). .

C-x 5 f

(find-file-other-frame).
, .

(find-

M-x find-file-literally
.
Emacs, . Emcs ,
. , ,
. Emacs ,
. , /usr/rms/emacs.tex
emacs.tex. ,
<2>, <3> ; ,
.
, ,
, .
, ,
Emacs. , , , . , Emacs
, . .
14.3 [], . 108.

14:

107

, , ,
( ). , , , . ,
.
, C-x C-f (find-file). , , hRETi.
(. 5 [], . 45)
(. 14.1 [ ], . 105). ,
C-x C-f, C-g.
, C-x C-f , .
, .
-.
, Emacs, C-x C-f
. , . , , ,
. , . . 14.3.2 [ ],
. 112.
? . Emacs - (New File), , ,
.
, .
Emacs , ( GNU/Linux Unix),
( Microsoft) ( Macintosh)
Emacs, . (. 18.7 [ ], . 165),
,
. , Emacs
,
, .
, C-x C-f Dired,
Emacs, (.
28 [Dired], . 291). Dired ,
. , find-file-run-dired nil,
.
, Emacs
, . . 14.13 [ ], . 134, ,
.
, , Emacs ,
, . C-x C-q (vc-toggle-read-only). . 15.3
[ ], . 136.
, ; ,
C-x C-r (find-file-read-only).

108

GNU Emacs

(
), C-x C-v (find-alternate-file),
, . C-x C-v C-x C-f,
( , ,
). , ; ,
, .
, , , C-x
C-f .
C-x 4 f (find-file-other-window) C-x C-f, , , . , C-x 4
f, , .
, , ,
, , . . 16 [], . 141.
C-x 5 f (find-file-other-frame) ,
, .
, . . 17 [], . 147.
, M-x find-file-literally.
, C-x C-f, (. 21.11
[ ], . 198), (. 18.7 [ ], . 165) (. 14.11 [
], . 133). ( ), , .
- . find-file-notfound-hooks; ,
, nil .
, , , find-file-hooks , . . find-file-not-found-hooks.
,
-hooks, -hook. . 31.2.3 [], . 349.

(. 19.1 [ ], . 175) ,
(. 31.2.5 [ ], . 351).

14.3
Emacs , .
C-x C-s

, (savebuffer).

C-x s

(savesome-buffers).

M-~

, (not-modified).

C-x C-w

(write-file).

M-x set-visited-file-name
, .

14:

109

, C-x
C-s (save-buffer). , , C-x C-s :
Wrote /u/rms/gnu/gnu.tasks
( ,
), ,
. , C-x C-s -:
(No changes need to be saved)
C-x s (save-some-buffers) - . , .
query-replace:
y

, .

hRETi

save-some-buffers .

save-some-buffers, .

C-r

, . View, save-some-buffers, .

C-h

C-x C-c, Emacs, save-somebuffers , , .


, ,
, . , C-x s C-x C-c, . ,
M-~ (not-modified), .
, , .
(~ ,
, M-~ -). set-visited-file-name ( ), ,
, - . , , , ,
, .
. . 14.4 [], . 113.
, C-x u ;
.
M-x set-visited-file-name , . , . ( ). set-visited-file-name
, Emacs
. ,
C-x C-s .

, C-x C-w (write-file). setvisited-file-name, C-x C-s. C-x C-s , , , C-x C-w; ,
,

110

GNU Emacs

. , ,
.
, C-x C-w . set-visited-file-name . .
19.1 [ ], . 175.
Emacs ,
, , , , , , , . . 14.3.2
[ ], . 112.
require-final-newline nil, Emacs
, , ,
. nil.

14.3.1

, . ,
Emacs , Emacs ,
.

make-backup-files.
t, Emacs .
, (. 14.7
[ ], . 116), vc-make-backup-files.
nil, , . . 14.7.9.2 [
VC], . 130.
backup-enable-predicate /tmp.
Emacs ,
, .
Emacs ,
. , ,
, . ,
, ;
, , ,
.
,
. C-u C-x
C-s, , .
C-u C-u C-x C-s ,
. C-u C-u C-u C-x C-s , :
,
.

14.3.1.1
( ), ~ ,
, eval.c eval.c~.

14:

111

, .~, ~ . ,
eval.c eval.c.~1~, eval.c.~2~ ,
, eval.c.~259~ .
,
%backup%~ .
, , .

version-control. :
t

nil

,
. .

never

, .

version-control ,
. , Rmail version-control never, , Rmail- . . 31.2.4 [ ], . 350.
VERSION_CONTROL,
GNU, , Emacs , version-control.
t numbered, version-control
t; nil existing, version-control
nil; never simple, version-control never.

14.3.1.2
, Emacs . Emacs
,
. ,
.
, , kept-old-versions
kept-new-versions. , ,
( ), , ( ), ,
. , ,
; kept-new-version.
2.
delete-old-versions nil,
. nil, , ,
.
Dired . () .
. 28.3 [ Dired], . 291.

14.3.1.3 vs.

. ,

112

GNU Emacs

. , . ,
, , , , .
. , .
, , (
).
, ,
. , ,
. , ;

backup-by-copying-when-mismatch (. 31.2.5 [ ], . 351).
. . backup-by-coping nil, . , backup-by-copying-when-linked
nil, , ,
,
. backup-by-copying-when-mismatch nil, , , .
backup-by-copying-when-mismatch t, Emacs
.
(. 14.7
[ ], . 116), Emacs .
. ,
, , , ,
, . Emacs
.

14.3.2
, , .
, , , , , .
Emacs , , . Emacs
, , , . ,
.
Emacs, ,
Emacs , . ( ,
.) ,
. , , ,
, .
, , , , , Emacs , ,
ask-user-about-lock. .

:

14:

113

. , ,
, .

. , ,
- .

. (file-locked), , , .

, ; ,
Emacs , ,
. , , Emacs
, , .
, Emacs .
Emacs , -
, -
.
Emacs , , .
. , , p, Emacs .
, Emacs , , , ,
, .
, , -
, , Emacs
. , Emacs . , , ,
; yes . , C-g
.
, , , C-u C-x C-d (. 14.8 [],
. 131). .
, . ,
Emacs diff,
.

14.4
, ,
, . , M-x revert-buffer, .
,
yes.
revert-buffer ( )
. ,
, . ,
.
,
.

114

GNU Emacs

, ,
Dired, . . ,
C-x b, ; revert-buffer ,
.
, ,
,
Emacs ,
C-x C-f.
, revert-without-query . , find-file revert-buffer ,
, . ( , .)

14.5 :
Emacs ( )
. .
, .
Emacs , ,
, ,
, . -
Auto-saving..., - . , , ,
.

14.5.1
, ,
, , .
, , ,
(, C-x C-s).
# , . , ,
foo.c, #foo.c#. ,
, , ;
,
#% # . , *mail*, , #%*mail*#.
, Emacs, - ( make-auto-save-file-name
auto-save-file-name-p). ,
, , .
,
. , , ,
. ,
C-x C-s C-u 1 M-x auto-save.

14:

115

, , , , auto-save-visited-file-name nil .
.
, ,
. , deleteauto-save-files nil. C-x C-w
set-visited-file-name , .

14.5.2
, , , auto-save-default nil ( ;
. 3 [ Emacs], . 33). t,
, .
M-x auto-save-mode.
, M-x auto-save-mode
, ;
.
Emacs , , , .
auto-save-interval , . 300.
, .
auto-save-timeout , Emacs ,
( , , ). (
, ; , ,
,
.) : -,
, ,
; -, ,
.
Emacs , .
Emacs , kill %emacs,
.
M-x do-auto-save.

14.5.3
, M-x recover-file hRETi hRETi. ( )
##.
C-x C-s, . , foo.c #foo.c#, :
M-x recover-file hRETi foo.c hRETi
yes hRETi
C-x C-s
, M-x recover-file , ,

116

GNU Emacs

. , M-x recover-file
.
Emacs , , , M-x
recover-session. . C-c C-c.
recover-session ,
, . y, recoverfile. :
, .
recover-session , , ,
Emacs. .
.
~/.saves-pid-. ~/.saves autosave-list-file-prefix. ,
, .emacs, recover-session, .
.emacs auto-save-list-file-prefix nil, .

14.6

. , ; , . , :
foo bar, ,
bar, foo .
, .
, Emacs
, .

, find-file-existing-other-name
nil . find-file ,
, , .
find-file-visit-truename nil, (
), , . find-file-visit-truename find-file-existing-other-name.

14.7
,
,
. ,
, .
Emacs VC.
RCS, CVS SCCS. GNU
RCS CVS, ,
.

14:

117

14.7.1
VC Emacs, . VC ,
, .

, VC. ,
, .

14.7.1.1
VC
: RCS, CVS SCCS.
RCS , . , , VC RCS. ,
RCS, VC.
CVS RCS RCS,
. VC CVS,
CVS . ,
CVS , ,
.
SCCS , .
, VC. VC SCCS (, ), ,
VC, , SCCS. SCCS, -
RCS.

14.7.1.2
, ,
. -,
.
- , , .
, , , -. , . ( SCCS RCS
, .) , , , -
.
CVS , -
.
RCS, .

, .
( , Emacs

118

GNU Emacs

, ).
.
,
, .
, ;
. , ,
. . SCCS ,
RCS .
RCS . , ;
- .
CVS ,
. , CVS ,
. (. 14.7.9.1 [ ], . 130).

14.7.2
,
, Emacs . , RCS-1.3 ,
RCS, 1.3.

. - , (
) ( ). :
, . -
(, jim), RCS:jim:1.3.

14.7.3
VC , ,
.
C-x C-q
C-x v v

, vc-next-action, C-x v v.
, C-x C-q , ,
; ,
, ,
. C-x C-q ,
, C-x v v.
,
. SCCS RCS
; CVS .

14.7.3.1
( SCCS RCS
), C-x C-q , :
, C-x C-q ,
.

14:

119

, C-x C-q . . . 14.7.3.3 [ ], . 119.


, , , C-x C-q
.
- , C-x C-q ,
. , , , , ,
.
, CVS ,
, , .

14.7.3.2
CVS
; , .
-, ; :,
.
C-x C-q CVS:
- -,
Emacs , (.
14.7.6.3 [], . 124). ,
.
- , , C-x
C-q .
. . 14.7.3.3 [ ], . 119.
, C-x C-q .
, RCS ,
, ,
- . , , ,
,
, ,
( -,
). ,
.
RCS Emacs.
, RCS , ;
C-x C-q , , RCS () .

14.7.3.3
, C-x C-q .
*VC-Log*, .
, C-c C-c *VC-Log*. .
, C-c C-c .
. , , , *VC-Log*,
.

120

GNU Emacs

,
. , .
M-n, M-p, M-s M-r , (
, ).
, , VC Log, : text-mode-hook vc-log-mode-hook. .
31.2.3 [], . 349.

14.7.4

.
C-x v ~ hRETi
, ,
.
C-x v =

C-u C-x v = hRETi - hRETi - hRETi


.
C-x v g

CVS annotate .

in toto, C-x v ~
hRETi (vc-version-other-window).
-.~~ .
( RCS, . .
14.7.6 [], . 123.)
C-x v = (vcdiff). C-x v = ( ,
) . C-u C-x v =
,
.
, .
;
( ).
(. 14.7.7 [], . 126).
diff, diff-switches. .
M-x diff, C-x v =
. ,
; -. .
14.9 [ ], . 132, M-x diff.
, CVS, CVS annotate .
M-x vc-annotate. , , . n
; ,
n .

14:

121

14.7.5 VC
VC; ,
.

14.7.5.1
,
C-x v i (vc-register).
C-x v i

, Emacs , . , vcdefault-back-end RCS, CVS SCCS. ,


RCS, SCCS CVS, Emacs . - , RCS,
RCS, SCCS.
, C-x v i . C-x C-q, .
CVS , C-x
C-q.
1.1,
. , vc-default-init-version, C-x v i ;
.
vc-initial-comment nil, C-x v i ,
. , (. 14.7.3.3 [ ], . 119).

14.7.5.2 VC
C-x v l

, C-x v l (vc-print-log). ,
. .

14.7.5.3
C-x v u

C-x v c

- ,
. .


, C-x v u (vc-revert-buffer). ;
, , ,
. C-x v u , ,
.
C-x v u , ,
.

122

GNU Emacs

, C-x v c (vc-cancelversion). . C-x


v c ( ,
).
no, VC . , ,
; , .
C-x v c ,
(. 14.7.8.3 [ ], . 128). ,
. ,
.
, RCS $Log$ . , ,
.
C-x v c, .
,
yes. , CVS,
.

14.7.5.4 Dired VC
, ,
,
- . C-x v d (vc-directory),
, ,
.
C-x v d , VC Dired.
Dired (. 28 [Dired], . 291); ,
( ).
. vc-dired-terse-display nil, VC
Dired , , ( ). v t
VC Dired (. 14.7.5.5 [
VC Dired], . 123).
VC Dired . , vc-dired-recurse nil; VC Dired
.

, , . ,
-, . .
RCS SCCS , ; CVS cvs status. RCS:
/home/jim/project:
-rw-r-r- (jim)
Apr 2 23:39 file1
-r-r-rApr 5 20:21 file2
file1 file2 RCS, file1
jim, file2 .
CVS:

14:

123

/home/joe/develop:
-rw-r-r- (modified) Aug 2 1997 file1.c
-rw-r-rApr 4 20:09 file2.c
-rw-r-r- (merge)
Sep 13 1996 file3.c
file1.c , file2.c . file3.c
,
.
VC Dired ( ),
,
. , , RCS CVS; , vcdirectory-exclusion-list.
VC Dired, C-u C-x v d Dired, ls.

14.7.5.5 VC Dired
Dired VC Dired,
v, . VC, vc-diff vc-print-log, v = v l .
.
v v (vc-next-action) ,
.
, ;
, , . ,
; ,
.
- , v v
.
.
( ) , v t vc-dired-toggle-tersemode. * l (vc-dired-mark-locked), (, CVS, ). ,
* l t k , ,
.

14.7.6
. , , .
. VC ,
.
, ,
RCS.
.
1.1, 1.2, 1.3, etc.
. , 1.2 1.2.1.1,
1.2.1.2, 1.2.1.3, 1.2.1.4 . ,
1.2, 1.2.2.1, 1.2.2.2, 1.2.2.3, etc.

124

GNU Emacs

, .
. 1.2.1 1.2.2.

14.7.6.1
, C-u C-x C-q ,
.
( ) , .
, .
,
; .
hRETi, Emacs .
( ),
VC, - .

14.7.6.2
( ), , , C-x C-q
. , , C-u C-x C-q.
.
, . , 2.5, 2.5.1, 2.5.2
.
(,
), (. 14.7.6.1 [ ], . 124),
C-x C-q. , , ,
, .
C-x C-q,
. . ,
, .
, . ,
. ,
C-u C-x C-q.
, , .

14.7.6.3
,
(). ,
, ,
. VC ( )
vc-merge.
C-x v m (vc-merge)
.
C-x v m (vc-merge)
. .
.

14:

125

,
1.3.1. 1.5. , , C-u C-x C-q RET.
1.5 . , C-x
C-q 1.5, . C-x v m
1.3.1 RET. 1.3.1 ( 1.3,
, ) . ,
1.6, .
. ,
. .
, , . ,
.
, VC ,
- , . ,
VC Ediff (. Ediff The Ediff Manual).
, ,
. , ;
-, -,
1.11.
<<<<<<< -

=======

>>>>>>> 1.11
, .
M-x vc-resolve-conflicts .
Ediff, .

14.7.6.4
. CVS ; RCS ,
. RCS, - RCS.
,
RCS.
, ,
RCS (. 14.7.8.3 [ ], . 128).
Emacs ,
.
, Emacs,
. , ,
C-u C-x C-q . ,
Emacs , .

126

GNU Emacs

14.7.7
( ), .
, () ,
.

14.7.7.1
;
, .
C-x v s hRETi

(vc-createsnapshot).
C-x v r hRETi

, (vc-retrievesnapshot).
, , ;
.
,
.
, .
C-x v = C-x v ~ (.
14.7.4 [ ], . 120). ,
,
.

14.7.7.2
VC RCS. RCS, ,
VC RCS, , VC.
SCCS, VC .
//-. VC.
. , .
.
VC,
, .
,
- ( vc-rename-file ).
SCCS, ,
(vc-rename-file ). ,
-, , ;
VC . RCS SCCS
.

14:

127

vc-rename-file ,
. ,
. ,
Make-. ,
, , Make-.
, .

14.7.8 VC
VC, .

14.7.8.1 VC
RCS CVS (. 22.12 [Change Log], . 224),
:
C-x v a

, (vc-updatechange-log).
RCS CVS, SCCS.

C-u C-x v a
, .
M-1 C-x v a
, , , .
RCS
, .
, ChangeLog 1999-04-10,
,
rcs2log 1999-05-22 Ignore log messages that start with #..
C-x v a ChangeLog :
1999-05-22

Nathaniel Bowditch

<nat@apn.org>

* rcs2log: Ignore log messages that start with #.


.
, ChangeLog ,
, ChangeLog.
.
foo * foo: . : foo ,
(-): . , vc.el : (vc-do-command): Check
call-process status., ChangeLog :
1999-05-06

Nathaniel Bowditch

<nat@apn.org>

* vc.el (vc-do-command): Check call-process status.


C-x v a , ,

128

GNU Emacs

. , . , ,
:
vc.texinfo: Fix expansion typos.
vc.el: Dont call expand-file-name.
vc-hooks.el: Dont call expand-file-name.
ChangeLog :
1999-04-01

Nathaniel Bowditch

<nat@apn.org>

* vc.texinfo: Fix expansion typos.


* vc.el, vc-hooks.el: Dont call expand-file-name.
C-x v a , , ( ),
{-} . ChangeLog. , ,
:
vc.texinfo: {expand} Fix expansion typos.
vc.el: {expand} Dont call expand-file-name.
vc-hooks.el: {expand} Dont call expand-file-name.
ChangeLog :
1999-04-01

Nathaniel Bowditch

<nat@apn.org>

* vc.texinfo: Fix expansion typos.


* vc.el, vc-hooks.el: Dont call expand-file-name.
, #, ChangeLog. , ,
, #, ChangeLog
.

14.7.8.2 VC
, -, .
vc-rename-file, , ,
-. (. 14.7.7 [], . 126), , ;
, (. 14.7.7.2 [
], . 126).
vc-rename-file , -
.

14.7.8.3
.
, ,
.
RCS, ,
Emacs

14:

129

. , -, ,
. ,
VC (. 14.7.6.4 [ ], . 125).
vc-consult-headers . nil, Emacs , ,
. nil .
C-x v h
(vc-insert-headers).
C-x v h

.
$Id$ RCS %W% SCCS.
, vc-header-alist.
( . ),
RCS SCCS, .
;
.
, . ,
, Emacs Lisp
.
,
. ,
,
; vc-comment-alist.
( ).
vc-static-header-alist , . (regexp . ). regexp ,
. ,
, , vc-header-alist. vc-header-alist ,
vc-static-header-alist. vc-static-header-alist :
(("\\.c$" .
"\n#ifndef lint\nstatic char vcid[] = \"\%s\";\n\
#endif /* lint */\n"))
:
#ifndef lint
static char vcid[] = "";
#endif /* lint */
, .
,
. revert-buffer , .

14.7.9 VC
VC. , , , .

130

GNU Emacs

14.7.9.1 VC
RCS CVS,
(. 14.7.1.2 [ VC], . 117, ). VC , , .
RCS , , ,
. rcs -U
, Man rcs.
CVS ; . , ,
, .
, CVSREAD
. , CVS
. Emacs C-x C-q,
,
. , ,
. CVSREAD , , .
-
CVS. , CVS , Emacs C-x
C-q, . , VC
cvs edit, CVS ,
. CVS.
VC , CVS, vc-handle-cvs nil. , Emacs , VC .
CVS .

14.7.9.2 VC
Emacs ,
.
, vc-make-backup-files nil
.
, .
vc-keep-workfiles nil, C-x
C-q ; Emacs
. ( CVS .)

. ,
, . ,
.
, VC , ,
, .
vc-follow-symlinks , ,
. nil, VC
. t, VC , -.
ask ( ), VC , .

14:

131

14.7.9.3 VC
, VC
RCS (. 14.7.8.3 [ ], . 128). ,
SCCS, VC ,
; . , .
-, . ,
- , -, ,
.
VC , vc-consult-headers nil. VC
( ) -.
, ,
vc-mistrust-permissions. t (
-), nil (
) , .
RCS, CVS SCCS. nil
, . ,
, vc-mistrust-permissions t.
VC - .

14.7.9.4 VC
vc-suppress-confirm nil, C-x C-q C-x v i , C-x v u . (
C-x v c; ,
.)
VC , RCS, CVS
SCCS. vc-command-messages nil, VC , , , ,
.
, vc-path.
. .

14.8
.
. Emacs
( ) ( , ). ,
Dired; 28 [Dired], . 291.
C-x C-d -- hRETi
(list-directory).
C-u C-x C-d -- hRETi
.
M-x make-directory hRETi - hRETi
-.
M-x delete-directory hRETi - hRETi
-. ,
.

132

GNU Emacs

C-x C-d (list-directory). , , , ,


, , . ,
C-x C-d /u2/emacs/etc hRETi
/u2/emacs/etc.
:
C-x C-d /u2/emacs/src/*.c hRETi
C-x C-d , . ( ) ( ls -l).
ls, .
Emacs , ls: list-directory-briefswitches , ("-CF"
), list-directory-verbose-switches
("-l" ).

14.9
M-x diff , Emacs
*Diff*. diff, ,
diff-switches, .
*Diff* Compilation,
C-x ,
.
hRETi C-c C-c, Mouse-2, .
Compilation: hSPCi hDELi M-p M-n . .
23.1 [], . 247.
M-x diff-backup
. , diff-backup
.
M-x compare-windows
. , .
, . . Emacs 16
[], . 141.
, compare-windows .
compare-ignore-case nil,
.
22.14 [Emerge], . 231,
.

14.10
Emacs .
; .
M-x view-file .
, . Emacs, viewfile . hSPCi,

14:

133

, hDELi .
, ; ?,
. Emacs
. , q.
, View.
, M-x view-buffer, , Emacs. . 15.3 [ ], . 136.
M-x insert-file
, .
M-x write-region M-x insert-file;
. M-x append-to-file .
. 9.3 [ ], . 73.
M-x delete-file , rm.
, Dired
(. 28 [Dired], . 291).
M-x rename-file , , , ,
. ,
yes, ;
,
. ,
.
M-x add-name-to-file
.
, .
M-x copy-file
. , ,
.
M-x make-symbolic-link , -, -, .
, - , , ,
. ,
.
- , . ,
.

14.11
Emacs , , , , . , M-x
auto-compression-mode.
( ), Emacs . ,
.gz, , gzip.
.
,
Emacs . , ,
, -.

134

GNU Emacs

14.12
, :
/:-
/@:-
, Emacs
FTP. FTP,
. ;
.
, , ,
.
ange-ftp-default-user - ,
. ( Emacs, FTP, ange-ftp.)
FTP-,
file-name-handler-alist nil.

14.13
, . , /: .
, , , .
, /foo: bar,
Emacs /:/foo:/bar.
/: ~ , . , /:/tmp/~hack
~hack /tmp.
, /: ,
$. , /: ,
$.
/: . , /:/tmp/foo*bar /tmp/foo*bar. ,
. , /tmp, foo bar
foo*bar, /tmp/foo*bar /tmp/foo*bar.

15:

135

15
, Emacs, , .
, , .
, Dired, , .
C-x m, *mail*. ,
*Help*.
.
. , ,
; ,
( ).
Emacs , ,
,
. ,
(. 16 [], . 141).
, , . ,
. , . Emacs
*scratch*, Emacs.
.
, , ,
(. 19 [
], . 175). Emacs
; ,
. . 31.2.4 [ ], . 350.

15.1
C-x b hRETi
(switch-to-buffer).
C-x 4 b hRETi
, (switch-to-buffer-otherwindow).
C-x 5 b hRETi
, (switch-to-buffer-otherframe).
-, C-x b - hRETi.
switch-to-buffer -.
(. 5.3 [], . 47).
C-x b ,
.
Emacs,
, ,
C-x b - hRETi. , ,
, .
. ,
. defaultmajor-mode (. 19 [ ], . 175).

136

GNU Emacs

, C-x C-f
, .
. 14.2 [], . 106.
Emacs , , .
,
.
.

15.2
C-x C-b

(list-buffers).

, C-x C-b. , , . , ; ,
, .
* , .
, C-x s (.
14.3 [], . 108). % ,
. . . :
MR Buffer
Size Mode
File
- ------ ----.* emacs.tex
383402 Texinfo
/u2/emacs/man/emacs.tex
*Help*
1287 Fundamental
files.el
23076 Emacs-Lisp
/u2/emacs/lisp/files.el
% RMAIL
64042 RMAIL
/u/rms/RMAIL
*% man
747
Dired
/u2/emacs/man/
net.emacs
343885 Fundamental
/u/rms/net.emacs
fileio.c
27691 C
/u2/emacs/src/fileio.c
NEWS
67340 Text
/u2/emacs/etc/NEWS
*scratch*
0 Lisp Interaction
, *Help* ,
- . man Dired /u2/emacs/man/.

15.3
C-x C-q

(vc-toggle-read-only).

M-x rename-buffer hRETi hRETi


.
M-x rename-uniquely
<> .
M-x view-buffer hRETi hRETi
.
, , . ,
, %% %* . Dired Rmail,
; ,
, .

15:

137

, , C-x C-q (vc-toggle-read-only). ,


, , , . ,
buffer-read-only, , nil.
, C-x C-q , . . 14.7 [ ],
. 116.
M-x rename-buffer .
. . ,
- , , .
M-x rename-uniquely
.
. : *Shell* M-x shell,
*Shell*;
. , Emacs,
.
M-x view-buffer M-x view-file (. 14.10 [ ],
. 132), , Emacs.
View , .
View q,
( ), .
View e, .
M-x append-to-buffer and M-x insert-buffer . . 9.3 [ ], . 73.

15.4
Emacs , . ,
. , .
:
C-x k - hRETi
- (kill-buffer).
M-x kill-some-buffers
.
C-x k (kill-buffer) , . , hRETi, .
, ,
, .
, ( ), yes , .
M-x kill-some-buffers , .
y . ,
, ,
kill-buffer.

138

GNU Emacs

(. 15.5 [ ], . 138) .
- , ,
kill-buffer-hook (. 31.2.3 [],
. 349).
Emacs , ,
, .
M-x clean-buffer-list ; , . ,
; , , , ,
, .
,
, Midnight. Midnight ;
clean-buffer-list ,
midnight-hook (. 31.2.3 [], . 349).
Midnight, Customization midnight-mode t. . 31.2.2 [ ], . 344.

15.5
Dired . Emacs ,
. , (
Dired) .
M-x buffer-menu
, Emacs.
buffer-menu Emacs *Buffer
List* Buffer Menu.
,
. *Buffer List* Emacs
. ,
:
d

() , .
D .
, x.

C-d

d, , .

. S . , x.
, .

, ,
.

hDELi

,
.

d, C-d, s u (
) . .
, :

15:

139

. ~
, .

. %
.

. . 22.13.3 [
], . 228.
:

,
.

hRETi

*Buffer List*.

,
C-x 4 b, *Buffer List* .

C-o

,
.

, , ( *Buffer List*).

, .

,
q. > . (
, .)

,
, m.
, 1.

, buffer-menu ,
Buffer Menu.
, Buffer Menu.
, *Buffer List*
Emacs . *Buffer
List* , ,
.
buffer-menu list-buffers ,
buffer-menu *Buffer List* , list-buffers
. list-buffers ( C-x C-b)
,
.
*Buffer List* , ; . ,
, *Buffer List*, ,
, g (revert-buffer) buffer-menu.

15.6
- ,
. ,
.

140

GNU Emacs

M-x make-indirect-buffer - hRETi - hRETi


-,
-.
; ,
, .
. ,
, , ,
.
, . ,
. , .

. . 21.8.4 [ Outline], . 193.

16:

141

16
Emacs .
. , .
.

16.1 Emacs
Emacs .
; ,
, . , , ,
.
; ,
, .
. ,
, , . X Windows, ,
. ;
.

Emacs. - Emacs, . , C-x b
, . ,
, C-x 4 b, . , , ,
() C-h f (discribe-function) C-x C-b (list-bufers),
, .
,
, . ,
,
.
, ,
,
. . 1.3 [ ], . 25,
.

142

GNU Emacs

16.2
C-x 2

, (splitwindow-vertically).

C-x 3

,
(split-window-horizontally).

C-Mouse-2
, .
C-x 2 (split-window-vertically) ,
. c
. ,
; ,
.
C-x 3 (split-window-horizontally)
. , . . , ,
, . , Emacs , .
, C-Mouse-2
. , :
, ;
, .
, , .
. truncate-partial-width-windows
nil, , ,
truncate-lines . . 4.8 [ ], . 40.
, . . 11 [], . 81.
split-window-keep-point nil, , , C-x 2, . ,
. nil, C-x 2
, . , , .
.

16.3
C-x o

(other-window). o, .

C-M-v

(scroll-other-window).

M-x compare-windows
,
.
Mouse-1

Mouse-1 - , (mouse-select-window).

, Mouse-1 . , C-x o (other-window). ,

16:

143

other (), . , , .
, .
. . ,
;

. . 5.2 [ ], . 46.
(. 11 [], . 81)
, . C-M-v
(scroll-other-window) , C-x o.
, C-v. ( , C-M-v
, , ,
.)
M-x compare-windows ,
, . . 14.9 [
], . 132, .

16.4
C-x 4 , (
, ) .
C-x 4 .
C-x 4 b - hRETi
- . switch-tobuffer-other-window.
C-x 4 C-o - hRETi
- , .
display-buffer.
C-x 4 f - hRETi
- .
find-file-other-window. . 14.2 [], . 106.
C-x 4 d hRETi
Dired . diredother-window. . 28 [Dired], . 291.
C-x 4 m

.
mail-other-window; , C-x m
(. 26 [ ], . 267).

C-x 4 .

. findtag-other-window, M-. (. 22.13 [], . 224).

C-x 4 r - hRETi
-
. find-file-read-onlyother-window. . 14.2 [], . 106.

16.5
Emacs .
, M-x shell , *Shell*. ,

144

GNU Emacs

, .
, .
same-window-buffer-names,
, . ,
"*grep*", grep
.
same-window-buffer-names nil:
*info*, *mail* *shell* ( , Emacs). M-x shell *shell*
. same-window-buffer-names,
M-x shell .
samewindow-regexps. ;
, ,
. ( , , .)
Telnet rlogin.
, . . 17.9 [ ],
. 152.

16.6
C-x 0

(delete-window). .

C-x 1

, (delete-otherwindows).

C-x 4 0

,
(kill-buffer-and-window).
.

C-x ^

(enlarge-window).

C-x }

(enlarge-window-horizontally).

C-x {

(shrink-window-horizontally).

C-x -

, (shrinkwindow-if-larger-than-buffer).

C-x +

(balance-windows).

Drag-Mouse-1
mouse-1 .
Mouse-2

Mouse-2
(mouse-delete-other-windows).

Mouse-3

Mouse-3 - (mouse-deletewindow).

, C-x 0 (delete-window). ( ). ,
, ( ,
). , ;
.

16:

145

, ; ,
C-x b.
C-x 4 0 (kill-buffer-and-window) , C-x 0; .
C-x 1 (delete-other-windows) ;
( ). , , -.
, Mouse-2,
, , Mouse-3.
.
Mouse-1 , ,
.
, C-x ^ (enlarge-window).
, .
, . C-x } (enlarge-window-horizontally)
, C-x { (shrink-window-horizontally)
.
, . - , .
window-min-height window-min-width.
C-x - (shrink-window-if-larger-than-buffer) , ,
. .
C-x + (balance-windows),
.
. 5.2 [ ], . 46,
Resize-Minibuffer, ,
.

146

GNU Emacs

17: X Windows

147

17 X Windows
X Window System Emacs
. Emacs X- , Emacs.
Emacs , . -
, -
.
. ,
,
. Emacs C-x C-c , .
, C-x 5 0.
, , Emacs, .
Emacs, MS-DOS, , . .
C.1 [MS-DOS ], . 403, .

17.1
xterm.
Emacs X-.

hDELETEi, . hBACKSPACEi ASCII- hDELi ;
hDELETEi - , hDELETEi
.
Mouse-1

, (mouse-set-point).
.

Drag-Mouse-1
, ,
(mouse-set-region). .

, , .
, .
,
;
mouse-scroll-min-lines.
Mouse-2

,
(mouse-yank-at-click). .

Mouse-3

, mouse-save-then-kill, , , .
Mouse-1 ,
Mouse-3 .
. ,
.

148

GNU Emacs

Mouse-1, Mouse-3, Emacs , ( Mouse-1),


. , ,
.
, , Mouse-3
. ,
, , ,
.
, 1, Mouse-3 , . ,
.
,
Mouse-1, ,
Mouse-3
.
Mouse-3 ,
.
Double-Mouse-1
, .
symbol (,
C), ,
.

, (s), .
(
),
( , ,
).
Double-Drag-Mouse-1
, , .
Triple-Mouse-1
, .
Triple-Drag-Mouse-1
, , .
Mouse-1 , Mouse-3 . . 9.1 [],
. 69. , , Mouse-3 Mouse-1.
.
, Mouse-2. . 9.2 [], . 71. ,
mouse-yank-at-point nil, Mouse-2 . , , .
nil.
.
X-,
. X . -

17: X Windows

149

, , ,
.
X-, ,
, , .
Emacs C-y Mouse-2.
MS-Windows.
Emacs , X-.
X- . Emacs
, (xcut-buffer-max );
.
, ; , . ,
, .

17.2
X Windows. ,
.
M-Drag-Mouse-1
, , , (mouse-set-secondary).
, .

, , .
, .
M-Mouse-1
(mouse-startsecondary).
M-Mouse-3
, ,
M-Mouse-1 (mouse-secondary-save-then-kill).

.
M-Mouse-2
(mouse-yank-secondary).
.
M-Mouse-1 ,
Mouse-1.
mouse-yank-at-point nil, M-Mouse-2 .
, ; , . . 17.1 [
], . 147.

150

GNU Emacs

17.3
Emacs . ,
, , .
, Mouse-2
, ,
.
, Mouse-2 Dired, . Mouse-2
*Compilation*, .
Mouse-2 *Completions*, .
, Mouse-2 , ,
, .

17.4
, hCTRLi hSHIFTi, .
C-Mouse-1
.
C-Mouse-2

. . 21.11 [ ], . 198.
C-Mouse-3
.
,
.
.1
S-mouse-1
.

17.5

.
Mouse-1

Mouse-1 .
Mouse-1, ,
.

Mouse-2

Mouse-2 .

Mouse-3

Mouse-3 .

C-Mouse-2
C-Mouse-2 ,
.
C-Mouse-2 . .
16.2 [ ], . 142.
1

Mouse-3.
, Mouse-3
. C-Mouse-3.

17: X Windows

151

17.6
C-x 5 C-x 4, . , C-x 5 ,
(. 16.4 [ ], . 143).
,
.
C-x 5 , :
C-x 5 2

(make-frame-command).

C-x 5 b - hRETi
- .
buffer-other-frame.

switch-to-

C-x 5 f - hRETi
- .
find-file-other-frame. . 14.2 [], . 106.
C-x 5 d hRETi
Dired .
dired-other-frame. . 28 [Dired], . 291.
C-x 5 m

(mailother-frame). C-x m, . . 26
[ ], . 267.

C-x 5 .

.
find-tag-other-frame, M-., .
. 22.13 [], . 224.

C-x 5 r - hRETi
-
. find-file-read-only-other-frame.
. 14.2 [], . 106.
,
default-frame-alist. , , initial-frame-alist. .
Initial Parameters The Emacs Lisp Reference Manual, .
Emacs X-
(. A.7 [ X], . 392), , defaultframe-alist , font, :
(add-to-list default-frame-alist (font . "10x20"))

17.7 Speedbar
Emacs speedbar, ,
, ,
. speedbar, M-x speedbar; speedbar
. speedbar ,
Emacs, ,
.
speedbar
. , [+] <+>,

152

GNU Emacs

Mouse-2, .
, speedbar
. , speedbar
. , [+] [-];
, ( ).
, Rmail, Info GUD, speedbar . , Rmail
speedbar Rmail-
Rmail-, <M>.
Speedbar Emacs .
, speedbar
; speedbar , M-x
speedbar.

17.8
Emacs X Windows.
Emacs , DISPLAY
-display (. A.2 [ ], . 386). , make-frame-on-display:
M-x make-frame-on-display hRETi hRETi
.
X- . , , Emacs ,
, ,
.
X-, Emacs .
, Emacs .
. , X-,
.
, , Emacs ,
, . ,
C-x C-c, Emacs !

17.9
, , Emacs , , .
, special-display-buffer-names ; , , , - Emacs
.
, :
(setq special-display-buffer-names
("*Completions*" "*grep*" "*tex-shell*"))
, grep TEX .
. ,

17: X Windows

153

, . .
special-display-regexps
; ,
. ( , ,
.)
special-display-frame-alist .
, .
, , special-display-buffer-names
special-display-regexps . , , .
, ; , special-display-frame-alist.
:
( ...)
. ; , .
,
. . 16.5 [ ], . 143.
; ,
special-display-buffer-names,
, ,
.

17.10

.
M-x set-foreground-color hRETi hRETi
.
M-x set-background-color hRETi hRETi
.
modeline, .
M-x set-cursor-color hRETi hRETi
.
M-x set-mouse-color hRETi hRETi
, .
M-x set-border-color hRETi hRETi
.
M-x list-colors-display
, .
.
M-x auto-raise-mode
.
, , ,
.

154

GNU Emacs

, Emacs. . Emacs X-, , Emacs,


, auto-raise-mode .
M-x auto-lower-mode
.
, ,
, X-.
auto-lower-mode , X-. , .
M-x set-frame-font hRETi hRETi
.
, ,
- (. 17.13 [], . 155) . . A.7 [ X], . 392,
.
. , S-Mouse-1.
Emacs, X toolkit, ,
. , X- (. A.13
[ X], . 396). . A.8 [ X], . 393, , A.7 [ X], . 392, .

Frame Parameters The Emacs Lisp Reference Manual.

17.11
X, Emacs . , ,
.
.
Mouse-2 ( ),
.
, .
, .
. Mouse-1
( ) , ,
. Mouse-3 ( )
, . ,
.
,
C-Mouse-2, . ,
.
Scroll Bar M-x scroll-bar-mode.
, . ,
, . , , .

17: X Windows

155

Scroll Bar X-
verticalScrollBars. . A.13 [ X], . 396.
,
M-x toggle-scroll-bar.

17.12
M-x
menu-bar-mode. , Menu Bar; . , Menu Bar,
, , .
Menu Bar X- menuBarLines. . A.13 [ X], . 396.
, , .
. 1.4 [ ], . 26, ,
.

17.13
Emacs X, . : , ,
. Emacs MS-DOS, (. C
[MS-DOS], . 403).
. , , ;
. ,
, .
. , , .
Enriched, ,
. . 21.11.4 [ ], . 200, ,
. . 21.11.5 [ ], . 201,
.
. . 31.2.2.3 [ ], . 347. X- (. A.13 [ X], . 396).
, , ,
M-x list-faces-display. - ; , .
:
default

,
.

modeline

. default. . 11.7 [
], . 84.

156

GNU Emacs

highlight
.
region

(
Transient Mark ).

secondary-selection
(. 17.2 [ ], . 149).
bold

,
.

italic

,
.

bold-italic
, .
underline
.
Transient Mark, , . region;
, (. 31.2.2.3 [ ],
. 347). . 8.2 [Transient Mark], . 64,
Transient Mark .
Font Lock.
, , .
; . . 17.14
[Font Lock], . 156, Font Lock .
, ,
ps-print-buffer-with-faces. . 30.5 [Postscript], . 332.

17.14 Font Lock


Font Lock , , ,
.
;
,
.
M-x font-lock-mode Font Lock
, . turn-on-font-lock Font Lock. - . ,
Font Lock , ,
:
(add-hook c-mode-hook turn-on-font-lock)
Font Lock , , global-font-lock-mode, :

17: X Windows

157

(global-font-lock-mode 1)
Font Lock, . , . ,
M-g M-g (font-lock-fontify-block).
M-g M-g .
( , font-lock-markblock-function.) M-g M-g 16-
.
n, M-g M-g n ,
.
Font Lock,
, , ; ,
.
font-lock-maximum-decoration , . 1 ; . . ,
, ; , 1 C/C++
, :
(setq font-lock-maximum-decoration
((c-mode . 1) (c++-mode . 1)))
,
. font-lock-maximum-size ,
.
( )
. , C Lisp : ,
, . (. 22.4
[ ], . 208.) , Font Lock
, .
font-lock-beginning-of-syntax-function ( )
, Font Lock , . ,
,
beginning-of-defun, Font Lock .
nil, Font Lock . , ,
.
Font Lock ,
- .
, font-lock-addkeywords. , FIXME:,
:
(font-lock-add-keywords
c-mode
(("\\<\\(FIXME\\):" 1 font-lock-warning-face t)))

158

GNU Emacs

17.15 Font Lock


Font Lock .
: Fast Lock Lazy Lock.
Font Lock.

17.15.1 Fast Lock


Font Lock , , Fast Lock. Fast Lock ; ,
,
, .
M-x fast-lock-mode Fast Lock
( , ). ,
Fast Lock , Font Lock,
:
(setq font-lock-support-mode fast-lock-mode)
. , fast-lock-minimum-size, ,
.
fast-lock-cache-directories , . , ; "."
, . ("." "~/.emacs-flc"),
, ,
~/.emacs-flc.
fast-lock-save-others , Fast Lock
, . nil
, ( ).

17.15.2 Lazy Lock


Font Lock ,
Lazy Lock, , . Lazy
Lock ;
, . ;
, Emacs
.
M-x lazy-lock-mode Lazy Lock
( , ). ,
Lazy Lock , Font Lock,
:
(setq font-lock-support-mode lazy-lock-mode)
. ,
, lazy-lockminimum-size. , Font Lock.
, Lazy Lock . lazy-lock-defer-time , Emacs , .
0, , Font Lock.

17: X Windows

159

Lazy Lock
, . , lazy-lock-deferon-scrolling nil, ,
Emacs lazy-lock-defer-time .
, C Emacs Lisp, , , ,
. M-g M-g,
. , lazylock-defer-contextually nil, Lazy Lock
lazy-lock-defer-time .
Emacs , Lazy Lock , , ,
. .
lazy-lock-stealth-time , Emacs , . nil . lazy-lock-stealth-lines lazy-lock-stealthverbose .

17.15.3 Fast Lock Lazy Lock?


, Font
Lock.
Fast Lock
( ); ,
, Font Lock.
Fast Lock , Lazy Lock
; , Fast Lock ,
Lazy Lock.
Lazy Lock , , ; , , Font
Lock.
Lazy Lock (
); , ,
Font Lock.
Fast Lock , ; , ,
.
Fast Lock , ; Lazy
Lock .
Fast Lock ; Lazy Lock .
font-lock-support-mode , ; , , C/C++
Fast Lock, Lazy Lock, :
(setq font-lock-support-mode
((c-mode . fast-lock-mode) (c++-mode . fast-lock-mode)
(t . lazy-lock-mode)))

160

GNU Emacs

17.16 Highlight Changes


M-x highlight-changes-mode, ,
( ), .

17.17 X Windows
, :
C-z

(iconify-or-deiconify-frame).
C-z, Emacs, , .
Emacs, .

C-x 5 0

(delete-frame). ,
.

C-x 5 o

, ,
. , .

17.18
, Emacs,
Emacs . ,
Emacs .

.
, C-x 5 2; C-x 5 o;
, C-x 5 0.
.
, n
Fn.
Fn . ,
, .
, M-x set-frame-name hRETi hRETi,
M-x select-frame-by-name hRETi hRETi. , .

18:

161

18
Emacs , , , ( ),
, , IPA, , , , , , .
Emacs, MULE ( MULti-lingual Enhancement to GNU Emacs.1 )

18.1
. Emacs ,
. , ASCII,
0200 0377. Emacs
, ( ) C-q (.
18.6 [ ], . 164).
C-h h (view-hello-file) etc/HELLO, ,
. .
, ,
. Emacs , ,
, .
C-x hRETi ,
, .

18.2

Emacs, . ,
, 0200 0377.
, ISO Latin-1 ISO Latin-2, ,
Emacs 19, , ISO 8859.
, ISO Latin, ; Emacs , Emacs
ISO .
,
find-file-literally. . 14.2 [], . 106. ,
, find-file-literally.
C-x hRETi c (universal-coding-system-argument) raw-text
. . 18.9 [
], . 168. raw-text , , find-fileliterally.
1

GNU Emacs. (. )

162

GNU Emacs

, Emacs
-unibyte (. A.2 [ ], . 386) EMACS_UNIBYTE. enable-multibytecharacters , , default-enablemultibyte-characters , ,
-unibyte.

, /etc/passwd, etc., ASCII . ,
-unibyte.
-ASCII-,
-*-unibyte: t;-*-.
, Gnus, .
,
. ,
( ). ,
.

18.3
Emacs, ; ,
Emacs. , , .
( ), .
,
(. 18.8 [ ], . 166). ,
, ,
Emacs. ,
.
.
M-x set-language-environment. , , Emacs.
:
Chinese-BIG5, Chinese-CNS, Chinese-GB, Cyrillic-Alternativnyj, Cyrillic-ISO,
Cyrillic-KOI8, Devanagari, English, Ethiopic, Greek, Hebrew, Japanese, Korean,
Lao, Latin-1, Latin-2, Latin-3, Latin-4, Latin-5, Thai, Tibetan Vietnamese.
, . Emacs :
8859-n, Emacs
.
-, C-h L - hRETi (describe-language-environment). ,
,
, .
, .
.

set-language-environment-hook. set-language-environment -

18:

163

.
current-language-environment.
, set-language-environment exit-language-environment-hook. , set-language-environment-hook. , set-language-environment-hook
, , exit-language-environmenthook .

18.4
,
. Emacs, , ;
, ,
. , .
ASCII-
. .
:
.
-ASCII- , ,
( ). , a
. ; ,
, .

.
. ;
, ,
.
. (
chinese-py, ) ( chinese4corner, chinese-sw ). ,
Emacs. , C-f, C-b, C-n, C-p,
, . hTABi
, .
, ; , , Emacs
, .
- , ;
C-n C-p.
,
. , latin-1-postfix e e .
?
;
. , e e.
e , , . ,
e e hDELi , e .
, , , C-\ C-\, . C-\
(toggle-input-method), .

164

GNU Emacs

C-\ C-\ , , .
input-method-highlight-flag input-method-verbose-flag
, . input-method-highlight-flag
nil, . input-methodverbose-flag nil, -
( , ).

18.5
C-\

C-x hRETi C-\ hRETi


.
C-h I hRETi
C-h C-\ hRETi
(describe-input-method). ,
( ).
, .
M-x list-input-methods
.
, C-x hRETi C-\ (setinput-method). ;
, .
current-input-method , .
, ASCII, ASCII-. .
, C-\ (toggle-input-method). , C-\ .
C-\, , .
, C-x hRETi C-\ .
, .
, C-\. default-input-method
, (nil , ).

,
.
,
. ,
M-x quail-set-keyboard-layout.
, M-x
list-input-methods. , , .

18.6 -ASCII-
, 0240 () 0377
() . ,
ASCII, , 0400.
0240 0377,
Emacs , Latin-n,

18:

165

Emacs, Latin-n. ,
ISO , (
). , Latin-1.
, C-q
.

18.7

. Emacs ; ,
, .
, .
Emacs . ,
. ;
iso. noconversion, raw-text emacs-mule,
.
-ASCII-, -. Emacs
, : , .
C-h C hRETi
.
C-h C hRETi
, .
M-x list-coding-systems
.
C-h C (describe-coding-system) . ; ,
, ,
, , (. 18.8 [
], . 166).
, M-x
list-coding-systems. ,
, (. 1.3 [ ], . 25).
no-conversion,
, , -
, . , ,
- ,
- DOS.
, , -:

166

GNU Emacs

...-unix

-; ,
. ( Unix GNU.)

...-dos

,
- , . (
Microsoft.2 )

...-mac

, , . (
Macintosh.)

list-codingsystems, . , isolatin-1 iso-latin-1-unix, iso-latin-1-dos iso-latin-1-mac.


raw-text ,
ASCII-, 127, -ASCII-. raw-text, Emacs
, , enable-multibyte-characters nil. raw-text
- , ,
-.
, no-conversion
,
ASCII, -. ,
tar- , .
enable-multibyte-characters nil.
M-x find-file-literally. no-conversion,
Emacs, ,
. . 14.2 [], . 106.
emacs-mule , -ASCII- Emacs. -,
, -.

18.8
Emacs , , .
,
. , ,
, . ,
Latin-1 Latin-2; .
Emacs . , , Emacs
, , ,
. , ,
.
2

MIME text/* .
SGML -/-, Emacs
.

18:

167

(.
18.3 [ ], . 162). , , ,
, , Emacs Latin-1, Latin-2; Latin-2.
.
, M-x
prefer-coding-system.
, ,
. ,
.
, -, iso-8859-1-dos, , Emacs
iso-8859-1 - DOS, iso-8859-1 .
, . file-coding-system-alist. , modify-coding-system-alist.
, .txt-
china-iso-8bit, :
(modify-coding-system-alist file "\\.txt\\" china-iso-8bit)
file, , ,
, ,
.
Emacs , - , : - , .
-, inhibit-eol-conversion nil.
, -*-...-*-
(. 31.2.5 [ ], . 351). ,
coding. Emacs coding;
.
, -*-mode: C; coding: latin-1;-*-
Latin-1 C. ,
file-coding-system-alist.
auto-coding-alist ;
-*-coding:-*- . Emacs tar- ,
-*-coding:-*-
.
Emacs , buffer-filecoding-system , . save-buffer writeregion. ,
,
set-buffer-file-coding-system (. 18.9 [ ], . 168).
Mail (. 26 [ ], . 267), Emacs
. buffer-file-coding-system, , nil. , sendmail-coding-system,

168

GNU Emacs

nil. ,
, ,
nil. nil, Emacs ,
Latin-1.
Rmail, ,
.
. MIME , Rmail
, rmail-decode-mime-charset nil.
Rmail- Emacs , rmail-file-coding-system.
nil, , Rmail- (
Emacs).

18.9
, Emacs , :
C-x hRETi f hRETi
, .
C-x hRETi c hRETi
.
C-x hRETi k hRETi
.
C-x hRETi t hRETi
.
C-x hRETi p - hRETi - hRETi
- -
.
C-x hRETi x hRETi
.
C-x hRETi X hRETi

.
C-x hRETi f (set-buffer-file-coding-system)
, , .
.
, , .
. C-x hRETi c (universal-coding-system-argument);
.
.
, , , C-x C-f,
, (

18:

169

). , C-x
C-w, , .
, , C-x C-i C-x
C-v, C-x C-f .
C-x hRETi c , , M-x shell
(. 30.2 [], . 323).
, ,
C-x hRETi c .
M-x
find-file-literally. . 14.2 [], . 106.
default-buffer-file-coding-system . ,
.
.
C-x hRETi t (set-terminal-coding-system)
. , .
,
- , ,
ISO Latin.
, Emacs ,
.
, Emacs
.
C-x hRETi k (set-keyboard-coding-system)
. , -ASCII-, ,
, ISO Latin-1 .
.
:
, . , ,
ASCII-. .
C-x hRETi x (set-selection-coding-system)
, . ,
, . C-x hRETi X (set-nextselection-coding-system) , Emacs Emacs.
C-x hRETi p (set-buffer-process-coding-system)
. ; , , ,
, .
.
file-name-coding-system ,
.
( ), Emacs
, .

170

GNU Emacs

-ASCII-, -ASCII-,
.
file-name-coding-system nil, Emacs
, . , , , ASCII, ;
Emacs.
: file-name-coding-system ( ) Emacs, ,
,
( ) .
, , .
, C-x C-w,
.

18.10
X Windows . , Emacs, . Emacs
. ,
.
, . X-; Emacs.
, Emacs,
, . ,
Emacs , X-;
, ,
.
Emacs :
.
, ASCII; , Emacs . ( Emacs ,
.) ,
, -fn X- Font (. A.7 [
X], . 392). ,
emacs -fn fontset-standard
.
, ,
, .
.
ASCII- ( ,
ASCII-).
, , ,
. highlight-wrong-size-font nil,
.

18.11
Emacs standardfontset-spec.

18:

171

-*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard
fontset-standard .
,
. bold medium, i r
, .
ASCII- Font
-fn, Emacs .
, fontset-startup. Emacs ,
foundry, family, add style average width *, charset registry fontset,
charset encoding startup
.
, Emacs :
emacs -fn "*courier-medium-r-normal-14-140-*-iso8859-1"
Emacs :
-*-*-medium-r-normal-*-14-140-*-*-*-*-fontset-startup
X- Emacs.Font , ,
. , Emacs*Font,
, , .
, X- Fontset-n, n , .
:
-, [-:-]. . .
-, ,
X-. fontset-.
, , .
-. fontset-.
.
: , (
) .
, .
.
Emacs , . fontset- , .
ASCII, fontset- ISO8859-1.
, ,
Emacs . . ,
, ,
, ,
Emacs .
, - :
-*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24
ASCII- :
-*-fixed-medium-r-normal-*-24-*-ISO8859-1
GB2312 :
-*-fixed-medium-r-normal-*-24-*-gb2312*-*
,
. X Windows

172

GNU Emacs

song ti fangsong ti family. Fontset-n :


Emacs.Fontset-0: -*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24,\
chinese-gb2312:-*-*-medium-r-normal-*-24-*-gb2312*-*
, GB2312, fixed
family, GB2312 family *.
, , ,
, create-fontset-from-fontset-spec.
, .
. A.7 [ X], . 392,
X.

18.12
ISO 8859 Latin-n 160 255
, . , Emacs
. , , M-x set-language-environment
, Latin-n.
18.2
[ ], . 161. , ,
, -ASCII.
Emacs , ,
. . , , Emacs ,
. , unibyte-display-via-languageenvironment nil .
Latin-1, Emacs
ASCII-,
, . , iso-ascii.
Latin-n,
.
ISO-8859 ( 128 159 )
. ISO-8859, standarddisplay-8bit disp-table.
-ASCII-:
128 , , ASCII, , Emacs
:
(set-input-mode (car (current-input-mode))
(nth 1 (current-input-mode))
0)
. . 18.4
[ ], . 163. ,
.

18:

173

Latin-1 C-x 8 . C-x 8 ( , ),


, .
C-x 8 iso-transl. , - hALTi, , ,
C-x 8; hALTi , . ,
Latin-1, ,
iso-transl .

174

GNU Emacs

19:

175

19
Emacs , Emacs .
,
.
(. 1.3 [ ], . 25).
Fundamental.
,
Emacs . , ,
Emacs , Lisp Text.
,
. hTABi, hDELi C-j. C-c ,
. , , .
,
. . 31.6 [], . 366.
. Lisp (
), C Fortran . Text, Nroff, TEX Outline
. ; , Emacs
, , Dired , Dired
(. 28 [Dired], . 291), Mail , C-x m (.
26 [ ], . 267), Shell ,
(. 30.2.2 [ ], . 324).
,
. ,
. (. 21.3 [], . 183.) Auto Fill
hTABi .
, .
(. 20 [], . 177.)

19.1
, Emacs
, ,
.
M-x.
,
-mode. , Lisp, M-x lisp-mode.
, Emacs ,
. , , .,
. auto-mode-alist. ,
:
(- . -)
:

176

GNU Emacs

(- - )
, , , ("\\.c\\" . cmode), ,
.. (, \\ ,
\, .
.) (- -
), nil, - , , , .
,
, . ,
-*-. . ,
;-*-Lisp-* Emacs Lisp.
, . ,
, .
:
-*- mode: -;-* , :
-*- mode: -; : ; ... -*. 31.2.5 [ ], . 351,
.
#!,
, ,
. .
Emacs,
, Emacs .
-, perl
tcl, Emacs , . interpreter-mode-alist .
#!, ( )
-*-, .
Emacs -*- , .
, , , C-x b,
, default-major-mode. fundamental-mode, Fudamental. defaultmajor-mode nil, .
,
, Emacs : M-x
normal-mode. , find-file
. , .
C-x C-w set-visited-file-name ,
(. 14.3 [], . 108).
, , ;
.
, change-major-mode-with-file-name
nil.

20:

177

20
Emacs, ,
.
hTABi

, .

C-j

hRETi, hTABi (newline-and-indent).

M-^

(delete-indentation). C-j.

C-M-o

;
, (split-line).

M-m

( ) (back-to-indetation).

C-M-\

(indent-region).

C-x hTABi

(indent-rigidly).

M-i


(tab-to-tab-stop).

M-x indent-relative
.
.
- .
, .
hTABi.
, . Lisp hTABi
. , , hTABi, . , hTABi
,
.
Text, hTABi tab-to-tab-stop,
.
M-x edit-tab-stops.

20.1
, M-m (back-to-indentation).
, ,
.
, C-a C-o hTABi. , C-e C-j.
, C-q
hTABi.
C-M-o (split-line) ,
. C-M-o
. , ,
. ;
C-M-o C-o.

178

GNU Emacs

, M-^ (delete-indentation).
, ,
. ( )
,
, .
, M-\ (deletehorizontal-space), .
, M-^ ,
. . 21.5.3 [ ], . 187.
. C-M-\
(indent-region) , ;
, hTABi
. ,
, .
C-x hTABi (indent-rigidly) c
( ).
, .
M-x indent-relative ,
(, ). ,
, .
.
, ,
, .
, indent-relative tab-to-tabstop ( ).
indent-relative hTABi Indented Text. . 21 [],
. 181.
. 21.11.6 [ ], . 201,
.

20.2
hTABi Text, tab-totab-stop. , ,
. Text,
M-i.
M-i . tab-stop-list .
M-x
edit-tab-stops, , .
C-c C-c, . edit-tab-stops , ,
, ;
,
, tab-stop-list , edit-tabstops .
, .
:
:
:
:
:
:

20:

179

0
1
2
3
4
0123456789012345678901234567890123456789012345678
To install changes, type C-c C-c
.
, , ,
, .
, , tab-to-tab-stop, . . 11.7 [
], . 84, .

20.3
Emacs , .
, .
, indent-tab-mode nil. ; , ,
. . 31.2.4 [ ], . 350.
,
. M-x tabify ,
, . M-x
untabify .

180

GNU Emacs

21:

181

21
. , .
, Emacs, .
: , ( ), .
, :
, , , .
Emacs . , ,
. ,
, ,
.
Emacs
. , Text,
Emacs . Outline . . 21.8
[ Outline], . 190.
, ,
Emacs , . ,
TEX TEX (. 21.9 [ TeX], . 194).
nroff Nroff.
, WYSIWYG (what you see is what you get)1
Enriched. Emacs .
. 21.11 [ ], . 198.

21.1
Emacs .
, Meta-.
M-f

(forward-word).

M-b

(backward-word).

M-d

(kill-word).

M-hDELi

(backward-kill-word).

M-@

(mark-word).

M-t


(transpose-words).

, , ,
: C-f, C-b, C-d, hDELi C-t. M-@ C-@,
C-hSPCi.
M-f (forward-word) and M-b (backward-word)
. , Meta- C-f C-b,
1

, . (. )

182

GNU Emacs

. , . M-f ,
M-b .
,
.
M-d (kill-word) . ,
, M-f. ,
, M-d .
- ,
. ( ,
, M-f, ,
M-hDELi.) M-d
, M-f.
M-hDELi (backward-kill-word) .
, M-b.
FOO, BAR, FOO, . ( FOO,
M-b M-d M-hDELi.)
M-t (transpose-words) ,
, . . , FOO, BAR BAR, FOO, BAR FOO,.
13.2
[], . 101.
n ,
,
, M-@ (mark-word),
, , M-f. M-@ , , .
Transient Mark .
, , . , , .
. 31.6 [], . 366.

21.2
Emacs
Meta-, .
M-a

(backward-sentence).

M-e

(forward-sentence).

M-k

(kill-sentence).

C-x hDELi

(backwardkill-sentence).

M-a M-e (backward-sentence forward-sentence)


, . , C-a C-e, . ,
M-a M-e
.

; , .
.

21:

183

, C-a C-e C-k,


M-a M-e M-k (kill-sentence),
. , ,
.
. C-x hDELi (backward-killsentence) . ,
.
, ; , ., ? !,
; ), ] ".
, .
sentence-end . ,
, . :
"[.?!][]\")]*\\($\\|\t\\| \\)[ \t\n]*"
. . 12.5 [ ], . 91.
,
sentence-end :
"[.?!][]\")]*\\($\\|\t\\| \\)[ \t\n]*"
sentence-end-double-space nil,
. , , ,
.

21.3
Emacs Meta-.
M-{

(backward-paragraph).

M-}

(forward-paragraph).

M-h

(markparagraph).

M-{ , M-} .
,
- . Fundamental, Text, . ( ,
.)
,
. - ,
.
, ,
. . 21.5 [], . 185.
, M-h (markparagraph), . , , M-h C-w
. M-h ,
, . Transient Mark
. ( ),

184

GNU Emacs

, .
, .
: paragraph-separate
paragraph-start. paragraph-start ,
, , .
paragraph-separate , , ,
- (, ). ,
, paragraph-start, paragraphseparate. , Fundamental, paragraph-start "[ \t\n\f]",
paragraph-separate "[ \t\f]*$".
, . .

21.4
( ) (ASCII Control-L, 014). , ; ,
. Emacs - , :
C-q C-l hDELi. , , . , - ,
,
.
C-x [

(backward-page).

C-x ]

(forward-page).

C-x C-p

( ) (mark-page).

C-x l

(count-lines-page).

C-x [ (backward-page) . ,
. . C-x ] (forward-page)
, .
C-x C-p (mark-page) ,
. ( ). ( ). C-x C-p C-w
.
C-x [ C-x ], , . C-x C-p
.
C-x C-p , , . .
, 1 .
C-x l (count-lines-page) , . -
, , , ,
:

21:

185

Page has 96 (72+25) lines2


, ; ,
.
page-delimiter , . , , . "^\f",
.

21.5
. Emacs
. Auto Fill, .
, ,
. ,
(. 21.11 [ ], . 198).

21.5.1 Auto Fill


Auto Fill , , . ,
hSPCi hRETi.
M-x auto-fill-mode
Auto Fill.
hSPCi
hRETi

Auto Fill , .

M-x auto-fill-mode Auto Fill, , ,


. Auto
Fill, . , Auto Fill
, Fill .
Auto Fill ,
. . 31.1 [ ], . 341.
Auto Fill , . ,
hSPCi hRETi.
, C-q hSPCi C-q C-j (,
control-J). C-o
.
Auto Fill ,
hTABi. , , , . , , , ;
comment-multi-line (. 22.7 [],
. 219).
( ) Auto Fill
, .
.
2

96 (72+25) . (. )

186

GNU Emacs

Auto Fill ; ,
. ,
, .
.
Auto Fill
. , ,
. . 31.7 [ ], . 366.

21.5.2
M-q

(fill-paragraph).

C-x f

(set-fill-column).

M-x fill-region
(fill-region).
M-x fill-region-as-paragraph
, .
M-s

, M-q (fill-paragraph).
, , ,
.
, .
, M-x fill-region, .
M-q fill-region
, M-h (. 21.3 [], . 183). ,
M-x fill-region-as-paragraph,
. ,
.
M-q , ,
. , ,
.
, M-q . ( fill-region.)

justification; 21.11.7 [ ], . 202.
M-s (center-line)
. n,
.
fill-column.
fill-column ; . 70. . 31.2.4
[ ], . 350. fill-column C-x f (set-fill-column). ,
. C-u ,
fill-column .
Emacs ,
, ; , ,
. ,
, .

21:

187

sentence-end-double-space nil, .
t,
, . . 21.2 [], . 182.
colon-double-space nil,
.

21.5.3
, ( , ), . , ,
Emacs, , . ; , Emacs
(. 21.5.4 [ ], . 188).
C-x .

(set-fill-prefix).

M-q

(fill-paragraph).

M-x fill-individual-paragraphs
,
.
M-x fill-nonuniform-paragraphs
, -
.
, , , C-x . (set-fillprefix). C-x . ,
: C-x ., .
,
.
Auto Fill . C-o ,
(. 4.7 [ ], . 39). ,
M-^ ( ) (.
20 [], . 177).
, fill-column 40 ;;
, M-q :
;;
;;
;; .
:
;;
;; .
, ,
M-q, ;
( , , ). ,
, ;
, , ,
, .

188

GNU Emacs

M-x fill-individual-paragraphs,
. ,
,
. , .
.
M-x fill-nonuniform-paragraphs ,
. - (
paragraph-separate) .
, ,
.
,
, .
fill-prefix.
, nil, .
; ,
, . . 31.2.4 [
], . 350.
indentation . . 21.11.6 [ ], . 201.

21.5.4

:
.
, ,
.
,
. ,
:
.
, , , .
.
.
, ,
. , .
, ,
adaptive-fill-first-line-regexp, ,
( ),
, ,
.
, ,
, ,
.
Text ,
, , ,
, .

21:

189

adaptive-fill-regexp , : , . adaptive-fill-mode
nil, .
, adaptive-fill-function .
, , . nil, ,
.

21.6
Emacs
.
M-l

(downcase-word).

M-u

(upcase-word).

M-c

,
(capitalize-word).

C-x C-l

(downcase-region).

C-x C-u

(upcase-region).

. M-l (downcase-word)
, . , M-l
. M-u (upcase-word) ,
M-c (capitalize-word) ,
. ,
. ,
, ,
, M-l, M-u M-c, ,
M-f, .
, , . ,
:
.
,
, . , M-d
(kill-word). ,
.
C-x C-u (upcase-region) C-x C-l
(downcase-region), .
.
, upcase-region downcase-region, . , ,
. ,
. . 31.4.11 [ ], . 364.

190

GNU Emacs

21.7 Text
,
Text, Fundamental. Text,
M-x text-mode.
Text . , , . . 21.5.4
[ ], . 188.
Text hTABi indent-relative (. 20 [],
. 177), . , indent-relative tab-to-tab-stop,
(. 20.2 [ ], . 178).
Text , , ,
. ,
, ,
.
,
Paragraph-Indent Text Text.
, ; , , , . , M-x paragraph-indent-text-mode.
Text , , M-hTABi ispellcomplete-word, ,
. . 13.4
[], . 102.
Text text-mode-hook. ,
Text, ;
Paragraph-Indent Text, Nroff, TEX, Outline
Mail. text-mode-hook major-mode,
, . . 31.2.3 [],
. 349.

21.8 Outline
Outline , Text, .
,
. M-x outline-mode, Outline .
Outline , .
, , , (
, , ).
, , C-n C-p,
.
, ,
.
Outline , Outline, . Outline , M-x
outline-minor-mode.
mode: outline-minor (. 31.2.5 [ ], . 351).

21:

191

, Outline,
C-c. Outline C-c @ ; ,
. ( outline-minor-modeprefix.)
Outline text-mode-hook
outline-mode-hook (. 31.2.3 [], . 349).

21.8.1
Outline , : . .
;
. , ;

. ,
, .
. :
*
,
- .
**
.
**


.
***
*
.
.
.
, outline-regexp. , , . , ( ), . : . , @chapter,
@section @subsection ,
, outline-regexp "@chap\\|@\\(sub\\)*section". : chapter
section ,
chap, , , ,
; , Outline , .
, @chap.
,
outline-level. outline-level , -

192

GNU Emacs

.
, C, Nroff Emacs Lisp, ,
Outline.

21.8.2
Outline , .
C-c C-n

(outline-nextvisible-heading).

C-c C-p

(outlineprevious-visible-heading).

C-c C-f

,
, (outline-forward-same-level).

C-c C-b


(outline-backward-same-level).

C-c C-u


(outline-up-heading).

C-c C-n (outline-next-visible-heading) . C-c C-p (outline-previous-visible-heading) , .


. , ,
. , ,
.
. C-c C-f
(outline-forward-same-level) C-c C-b (outline-backward-same-level)
. C-c C-u (outline-up-heading) ,
.

21.8.3
,
Outline. hide, show.
. ;
.
.
C-c C-t

(hide-body).

C-c C-a

(show-all).

C-c C-d

, (hidesubtree).

C-c C-s

, ,
(show-subtree).

C-c C-l

(hideleaves).

C-c C-k

(showbranches).

21:

193

C-c C-i

( )
(show-children).

C-c C-c

(hide-entry).

C-c C-e

(show-entry).

C-c C-q

, n (hide-sublevels).

C-c C-o

, , , , (hide-other).

, , C-c C-c (hide-entry) C-c


C-e (show-entry). , ,
. .
C-c C-d (hide-subtree) C-c C-s (showsubtree). , ,
: , ,
, , . ,
, , ( )
.
, .
, , . C-c C-l (hide-leaves) C-c C-k (show-branches).
C-c C-i (show-children) show-branches. , .
, .
, . C-c C-t (hide-body) , . C-c C-a (showall) . , C-c C-a .
C-c C-q (hide-sublevels) ,
. n, , n
.
C-c C-o (hide-other) , , , (,
).
selective-display-ellipses nil. .
, Outline,
. ,
.

21.8.4
.
, , M-x make-indirect-buffer.
Outline, , . .
15.6 [ ], . 139.
, , ,
C-x 4 b Emacs. Outline

194

GNU Emacs

;
. ,
.

21.9 TEX
TEX , .
, GNU Emacs. LaTEX
TEX, TEX. TEX. SliTEX LaTEX.
Emacs TEX TEX-.

TEX .
TEX : Plain TEX, LaTEX SliTEX (
).
. M-x tex-mode , , LaTEX
SliTEX; , . LaTEX, SliTEX, TEX.
, ,
tex-default-mode.
M-x tex-mode , M-x plain-tex-mode, M-x latex-mode M-x slitex-mode TEX.

21.9.1 TEX
, TEX .
"

, ", (tex-insert-quote).

C-j

( )
(tex-terminateparagraph).

M-x tex-validate-region

.
C-c {

{} (tex-insert-braces).

C-c }

(uplist).

" TEX; , ,
, . , TEX " ,
(tex-insert-quote). , , "
.
" ,
C-q. , " c ".
", (.
31.4 [ ], . 356).

21:

195

$ TEX , , TEX
. $, ,
$, .
, , . , , $
; $,
, $,
, .
TEX , .
, . C-c { (tex-insert-braces),
. , . C-c }
(up-list), .
. C-j (texterminate-paragraph)
. - , -. M-x tex-validate-region ,
. *Occur*, C-c
C-c Mouse-2, .
, Emacs TEX ,
. TEX .
, , ,
, , .

21.9.2 LaTEX
LaTEX , SliTEX,
, plain TEX.
C-c C-o

\begin \end LaTEX (tex-latex-block).

C-c C-e

LaTEX (tex-close-latexblock).

LaTEX \begin \end. \begin \end ( \begin), C-c


C-o (tex-latex-block). ,
. ;
, latex-block-names.
, theorem, corollary proof :
(setq latex-block-names ("theorem" "corollary" "proof"))
LaTEX \begin \end
. C-c C-e (tex-close-latex-block),
\end, \begin, .
\end \begin.
, \end ,

21.9.3 TEX
TEX Emacs
, , . TEX

196

GNU Emacs

, ,
.
C-c C-r
C-c C-b
C-c hTABi
C-c C-f

TEX (tex-region).
TEX (tex-buffer).
BibTEX (tex-bibtex-file).
TEX (tex-file).

C-c C-l

, TEX, (tex-recenter-output-buffer).

C-c C-k

TEX (tex-kill-job).
C-c C-r, C-c C-b C-c C-f (texprint).

C-c C-p
C-c C-v

C-c C-r, C-c


C-b C-c C-f (tex-view).

C-c C-q

(tex-show-print-queue).

TEX C-c C-b


(tex-buffer). ; , C-c C-p (tex-print). C-c C-q (texshow-printer-queue), , .
TEX, C-c C-v (tex-view).
TEX, tex-directory.
".". TEXINPUTS , \input , tex-directory ".",
. , - ,
, "/tmp".
,
TEX, tex-run-command,
latex-run-command, slitex-run-command, tex-dvi-print-command, tex-dvi-view-command
tex-show-queue-command. tex-dvi-view-command
; .
, ( )
.
, , : , latex -.
; , ,
, .
, , * . ,
(setq tex-dvi-print-command "dvips -f * | lpr")
TEX, , *tex-shell*. TEX ,
- ( Shell, . 30.2.2
[ ], . 324). ,
C-c C-l , .
C-c C-k (tex-kill-job), TEX, ,
. C-c C-b C-c C-r
TEX.

21:

197

TEX,
C-c C-r (tex-region). , ,
TEX , -
, . ,
, C-c C-r ; TEX.
.
Plain TEX,
. %**start of header %*end of header
. ,
. , , . %**start of header 100 , C-c C-r
, .
LaTEX \documentstyle
\begin{document}. LaTEX ,
, .
(tex-buffer) (tex-region) ,
, TEX ;
,
.
, C-c
C-f (tex-file), TEX .
TEX . ,
(tex-file) ,
.
tex-start-options-string TEX. TEX .
TEX , "".
TEX
. TEX ;
. tex-file ,
tex-main-file .
tex-file TEX .
tex-main-file . . 31.2.5 [ ], . 351.
LaTEX- BibTEX, . BibTEX
. C-c TAB (tex-bibtex-file) (tex-bibtex-command),
.bbl- . ,
C-c C-f (tex-file), .aux-, C-c TAB (texbibtex-file) C-c C-f (tex-file) ,
.
TEX text-mode-hook
tex-mode-hook. plain-tex-mode-hook latex-mode-hook, . SliTEX- slitex-mode-hook.
TEX tex-shell-hook. . 31.2.3 [], . 349.

21.10 Nroff
Nroff , Text, nroff, . M-x nroff-mode,

198

GNU Emacs

. Text .
nroff , nroff. .bp.
. , Text:
M-n

, nroff
(forward-text-line). .

M-p

M-n, (backward-text-line).

M-?

- (,
nroff) (count-text-lines).

Nroff , Electric Nroff.


,
M-x electric-nroff-mode (. 31.1 [ ], . 341).
, , hRETi ,
nroff, , nroff. ,
. ( b hRETi, ,
, .)b.
Nroff Outline (. 21.8
[ Outline], . 190), .H ( ).
Nroff text-mode-hook, nroff-modehook (. 31.2.3 [], . 349).

21.11
Enriched ,
WYSIWYG, .
Enriched , , , .
.
Enriched (. 31.1 [ ], . 341). Text (. 21.7
[ Text], . 190). ,
, Outline Paragraph-Indent Text.
Emacs
. : text/enriched,
MIME. . Format Conversion the Emacs Lisp Reference
Manual, , Emacs
.
Emacs , . etc/enriched.doc. , , .
.

21.11.1
, text/enriched, Emacs

Emacs ( ) Enriched.

21:

199

, , M-x enriched-mode.
Enriched. ,
, .
, enriched-mode Enriched, , , . ,
Enriched, ,
.
Enriched, Emacs text/enriched .
, Emacs ,
Enriched.
text/enriched, Emacs , .
, , enriched-fill-aftervisiting nil ask.
, , Enriched, , Emacs .
enriched-translations, , Emacs . ,
text/enriched ,
x-, x-read-only. ,
, .

21.11.2
Emacs :
.
, ,
, .
hRETi (newline) C-o (open-line) .
, .
, Auto Fill, ,
.
, . hRETi, ,
,
. Auto Fill, Emacs . . 21.5.1
[Auto Fill], . 185.
, , , , hRETi.
unfilled. . 21.11.7
[ ], . 202.

21.11.3

: .

Text Properties. : Edit

200

GNU Emacs

C-mouse-2 ( hCTRLi
).
Text Properties . . :
Remove Properties
, Text Properties (facemenu-remove-props).
Remove All
(facemenu-remove-all).
List Properties
(list-textproperties-at).
Display Faces
.
Display Colors
.

21.11.4
Faces Emacs, bold, italic
underline. . . 17.13
[], . 155. :
M-g d

,
default (facemenu-set-default).

M-g b

,
bold (facemenu-set-bold).

M-g i

,
italic (facemenu-set-italic).

M-g l

,
bold-italic (facemenu-set-bold-italic).

M-g u

,
underline (facemenu-set-underline).

M-g o hRETi
,
(facemenu-set-face).
, Transient
Mark, . . 8.2 [Transient Mark], . 64.
, .
Enriched : fixed excerpt.
, text/enriched.
excerpt . italic,
(. 31.2.2.3 [ ], . 347).
fixed
. Emacs ; , fixed . , Emacs

21:

201

, ,
text/enriched, . , -
, fixed.
fixed , , . ,
, .
, , , .
. , , .

21.11.5
.
. ,
Enriched Emacs.
, Transient Mark,
. .
8.2 [Transient Mark], . 64. .
: Other.
, ;
. , Display Colors Text Properties (. 21.11.3 [
], . 199).
, ,
Emacs.
,
M-x facemenu-set-foreground M-x facemenu-set-background.
.

21.11.6

. Emacs (. 21.5 [],
. 185) .
Indentation .
:
Indent More
4 (increase-left-margin). Enriched C-x hTABi;
, ,
( ).
Indent Less
4 .
Indent Right More
, 4 .

202

GNU Emacs

Indent Right Less


4 .

.
.
.
; ( )
( ).
, ,
. ,
,
.
. ,
, ,
.
. , M-q (fillparagraph), .
, ,
standard-indent. .
, Enriched, fillcolumn, .
, , :
C-x . ,
. .
21.5.3 [ ], . 187.

21.11.7

.
Emacs .
Justification . :
Flush Left
(
). ,
.
Flush Right
. ,
, .
Full

.
,
, .
, Emacs
, .

Center

21:

None

203

. , ;
. .
(. 21.11.2 [ ], . 199) .

Enriched , M-j:
M-j c
M-S

(set-justification-center).

M-j u

(set-justification-none).

M-j l

(set-justification-left).

M-j r

(set-justification-right).

M-j f

(set-justification-full).

. , , , ,
, .
default-justification.
left, right, full, center none.

21.11.8
Other Properties
: read-only, invisible intangible. intangible
, invisible ,
read-only .
.
, Remove Special, .
invisible intangible
text/enriched. read-only ,
text/enriched, .

21.11.9 Enriched
Emacs , ,
, , .
, , , Enriched:
, - ,
Emacs text/enriched.
, , ,
. M-x format-decode-buffer, .
, . Emacs , Enriched.
, M-x enriched-mode.
format-decode-buffer Emacs. , ;
, hRETi, Emacs .

204

GNU Emacs

text/enriched- , , , M-x
find-file-literally. , find-file, . (. 18.7
[ ], . 165) (. 14.11 [
], . 133). ,
/ , , format-find-file
.

22:

205

22
Emacs , , . :
s- (.
22.2 [], . 206).

, (. 22.4 [ ], . 208).
, (. 22.6 [], . 218).
, (. 22.7 [], . 219).
, (. 22.5
[ ], . 208).
, ,
. (. 21.1 [], . 181); (. 21.2 [],
. 182). ,
, , (.
21.3 [], . 183). , ,
.
(.
11.4 [ ], . 83). ,
, .

22.1
Emacs , Scheme
( ), Awk, , ++, , Icon, Java, Objective-C, , Perl, Pike,
CORBA IDL, Tcl. Make-,
Makefile. Perl CPerl.
, , Emacs;
.
, - .
Lisp, . . 23.8 [ ], . 254.
hTABi
, ,
. , ,
hTABi c-indent-line. C-j , hRETi, hTABi; ,
.
.
, hDELi ,
(
backward-delete-char-untabify). ,
, .
, C-b C-d.

206

GNU Emacs

, , . Auto Fill,
,
.
, , .
, , , -hook. ,
c-mode-hook, Lisp lisp-mode-hook. .
31.2.3 [], . 349.

22.2 s-
, Emacs
Control-Meta-. Control Meta-. ,
, ,
- ( ).
. ( ). , ,
(, , ) , ,
.
s-. s-
s-expression, . Emacs
s- . ,
. , ,
s-.
s- , ,
, , .
, , ,
s-. , foo + bar
s-, , ; foo
s- bar , + .
: foo + bar, foo
s-, ,
f. , (foo + bar) s- .
, , Emacs .

22.3 s-
C-M-f

s- (forward-sexp).

C-M-b

s- (backward-sexp).

C-M-k

s- (kill-sexp).

C-M-hDELi

s- (backward-kill-sexp).

C-M-u

(backward-up-list).

C-M-d

(down-list).

22:

C-M-n

(forward-list).

C-M-p

(backward-list).

C-M-t

(transpose-sexps).

C-M-@

(mark-sexp).

207

s-, C-M-f (forward-sexp).


(( ;
(, [ { ), C-M-f .
, , C-M-f .
C-M-b (backward-sexp) s-.
C-M-f, .
s- - ( ,
), C-M-b . s-
, .
C-M-f C-M-b ; , .
s- C-M-k (kill-sexp)
C-M-hDELi (backward-kill-sexp). C-M-k ,
C-M-f, C-M-hDELi , C-M-b.
, s-,
s- (,
). C-M-n (forward-list) C-M-p (backward-list).
, (
).
C-M-n C-M-p , . ( n) , C-M-u (backward-up-list). C-M-u
. ;
, , .
, C-M-d (down-list).
Lisp, ( , , (. , ,
.
C-M-t (transpose-sexp), s-
, , .
,
( C-M-t ). , , ,
s-, .
s- ,
C-M-@ (mark-sexp), , C-M-f. C-M-@ , C-M-f. ,
s-.
s-
. , ,
. . 31.6 [], . 366.

208

GNU Emacs

22.4
Emacs, . ,
- defun,
, , Emacs , .
, .
C-M-a


(beginning-of-defun).

C-M-e

(endof-defun).

C-M-h


(mark-defun).

C-M-a
(beginning-of-defun) C-M-e (end-of-defun).
- ,
C-M-h (mark-defun),
. , . , C-M-h
c-mark-function, mark-defun;
, ,
, . . 8.4
[ ], . 65.
Emacs , , , .
-, .
, . , . ,
(\ Emacs Lisp, /
) . .
Emacs ,
, ,
. ,
. , Emacs ,
, ( ( ,
)
.
; , .

22.5

Emacs . Emacs
,
, .
Emacs ,
pp. ,
, .

22:

209

22.5.1
hTABi

C-j

hRETi, hTABi (newline-and-indent).

hTABi, , . , hTABi,
; Lisp lisp-indent-line, cindent-line . ,
. hTABi ,
, .
, hTABi ; hTABi
.
, C-q hTABi.
C-j (newline-and-indent),
hRETi, hTABi. C-j , .
hTABi , , , ; ,
, . , hTABi,
- .
,
Emacs ( ) . ,
, , .
;
. 22.4 [ ], . 208.

22.5.2
,
,
.
C-M-q

(indent-sexp).

C-u hTABi

,
.

C-M-\

(indent-region).

,
C-M-q ( indent-sexp Lisp, c-indent-exp ; ).
, s-, ; , .
, hTABi C-M-q.
,
, C-u hTABi. hTABi
, , , . ,

210

GNU Emacs

. , , , ,
.
, , . C-M-\ (indent-region) hTABi
, .

22.5.3
,
.
.
:
, , ;
.
, .
lisp-indent-offset nil, ,
lisp-indent-offset , .
. , def, lisp-bodyindention , .

lisp-indent-function. :
nil

, ;
.

defun

, , def,
.

, n

n ,
.
, . ,
lisp-body-indent , , . ,
,
.
, .

,
;
. :
, parse-partial-sexp (
),
.

, , .

, , , .

22:

211


, , , ; ,
. , C-M-q; , C-M-q
.

22.5.4
C :
C-c C-q

(c-indent-defun).

C-M-q

, (c-indent-exp).
.

hTABi

/
(c-indent-command).
c-tab-always-indent t, . .
nil,
, ; ( ,
indent-tabs-mode nil).
( nil t) ,
, , , .

C-u hTABi

; ,
,
. . 22.5.2 [ ], . 209.

, C-x h C-M-\.
, .
, C-M-u C-M-q. .

22.5.5
C , . :
; , .

22.5.5.1 1
,
,
. ,
, , .
, statement substatement; , class-open
knr-argdecl.

212

GNU Emacs

, -
.
.
. , C++
( ):
1: void swap (int& a, int& b)
2: {
3:
int tmp = a;
4:
a = b;
5:
b = tmp;
6: }
C-c C-s ( c-show-syntactic-information)
4, :
((statement . 32))
, ,
32 , i int 3.
3 C-c C-s, :
((defun-block-intro . 28))
, int ,
28, .
:
1: int add (int val, int incr, int doit)
2: {
3:
if (doit)
4:
{
5:
return (val + incr);
6:
}
7:
return (val);
8: }
4 C-c C-s, :
((substatement-open . 43))
, . ,
if, else, while, do, switch, for, try, catch,
finally synchronized.
, , c-syntactic-context.
: , () .
;
.

22.5.5.2 2
,
, c-syntactic-context, . ,
.
. , c-offsets-alist,

22:

213

, . . -,
, .
.
:
1: void swap (int& a, int& b)
2: {
3:
int tmp = a;
4:
a = b;
5:
b = tmp;
6: }
, 3, hTABi,
. (. 22.5.5.1 [ ],
. 211), :
((defun-block-intro . 28))
defun-block-intro
c-offsets-alist. , 2;
( ),
2 .
28 .
28 , 0.
,
.
1: int add (int val, int incr, int doit)
2: {
3:
if (doit)
4:
{
5:
return(val + incr);
6:
}
7:
return(val);
8: }
hTABi 4, , .
:
((substatement-open . 43))
, , substatement-open
c-offsets-alist. , 2.
2 (0 + 2 = 2).
43 , i if 3.
. 4 .
,
c-offsets-alist, ; ,
c-strict-syntax-p nil.

22.5.5.3
, C. , ,
.
. . 22.5.5.4 [ ], . 214, .

214

GNU Emacs

M-x c-set-style hRETi hRETi


. , ?; , ,
.
C-c C-o hRETi hRETi
(c-set-offset).
, , .
coffsets-alist. ,
(- . ). , .
, c-set-offset ( ).
c-offsets-alist , , +, -, ++, --, * /,
c-basic-offset. ,
,
c-basic-offset 3.

. ,
, .
, .
,
, nil .
.
.
C-c C-o (c-set-offset) ,
, ~/.emacs. ,
. . 22.5.5.4 [ ], . 214,
.

22.5.5.4
C . c-offsets-alist.
string

, .

defun-open
, .
defun-close
, .
defun-block-intro
.
class-open
, .
class-close
, .

22:

215

inline-open
, inline.
inline-close
, inline.
extern-lang-open
, .
extern-lang-close
, .
func-decl-cont
( K&R). ,
; ++ Java
throws .
knr-argdecl-intro
K&R .
knr-argdecl
K&R .
topmost-intro
.
topmost-intro-cont
.
member-init-intro
.
member-init-cont
.
inher-intro
.
inher-cont
.
block-open
.
block-close
.
brace-list-open
enum static.
brace-list-close
enum static.
brace-list-intro
enum static.
brace-list-entry
enum static.

216

GNU Emacs

brace-entry-open
enum static,
.
statement
.
statement-cont
.
statement-block-intro
.
statement-case-intro
case.
statement-case-open
case, .
inexpr-statement
.
GNU Pike,
.
inexpr-class
.
Java.
substatement
if, while, for, do else.
substatement-open
, .
case-label
case default.
access-label
++ private, protected public.
label

do-while-closure
while, do-while.
else-clause
else if-else.
catch-clause
catch finally try. . . catch ++ Java.
comment-intro
, .
arglist-intro
.
arglist-cont
, .
arglist-cont-nonempty
, .

22:

217

arglist-close
.
stream-op
.
inclass

, . .

inextern-lang
, .
inexpr-statement
. GCC , ({ ... }).
Pike,
.
inexpr-class
.
Java.
cpp-macro
.
friend

++ friend.

objc-method-intro
Objective-C.
objc-method-args-cont
Objective-C.
objc-method-call-cont
Objective-C.
inlambda

inclass, - (.. ). Pike.

lambda-intro-cont
, -,
lambda . Pike.

22.5.5.5 ,
,
C .
c-offsets-alist
. , c-set-offset. . 22.5.5.3
[ ], . 213, .
c-style-alist
; .
c-basic-offset
, + - c-offsets-alist.
c-special-indent-hook
, .
,
C .

218

GNU Emacs

c-style-alist . ( -...), .
- ( . );
, C,
, .
c-offsets-alist, :
c-offsets-alist, . ,
,
.
, , c-comment-only-line-offset (. 22.15.5 [ ], . 239).

22.5.5.6
. Emacs
C , gnu, k&r,
bsd, stroustrup, linux, python, java, whitesmith, ellemtel cc-mode.
gnu.
, M-x c-set-style.
( ). , , .
c-default-style,
. ,
, . ,
(setq c-default-style
((java-mode . "java") (other . "gnu")))
Java gnu
C- .
, c-add-style:
(c-add-style -)
(), ,
( . ).
(. 22.5.5.5 [
], . 217).
- nil, c-add-style
.

22.6
Emacs , , . ,
, ,
, , . , -
, .
, .
.
. Emacs ,
, ,
. . 31.6 [], . 366.

22:

219

,
[x), - .
.
. blink-matching-paren
; nil , ,
t, . blink-matching-delay , ;
1, . blinkmatching-paren-distance , , .
, . ,
, . 12000.
X Windows
, Show Paren.

. ,
; , , . (
, .)
M-x show-paren-mode.

22.7
, Emacs
.

22.7.1
, :
M-;

(indent-forcomment).

C-x ;

(set-comment-column).

C-u - C-x ;
(kill-comment).
C-M-j

hRETi,
(indent-new-comment-line).

M-x comment-region
.
, , M-; (indent-for-comment).
, ,
, . ,
, Emacs, ( comment-start,
). . , (
). , , ,
.
M-; .
, M-;

220

GNU Emacs

. : ,
0, .
. , , , , ,
, . ,
, . Emacs , , hTABi
.
;;
;;; 2, 3 .
(defun foo (x)
;;;
;; .
(1+ x))
; .
, , , .
, M-; -
.
C-u - C-x ; (kill-comment) ,
. .
, .
, , C-y M-;,
. , C-u - C-x ; ; C-x ; (set-commentcolumn) . ,
, kill-comment. ,
kill-comment ,
, .

22.7.2
,
, C-M-j (indent-new-comment-line).
, , .
Auto Fill, , .
C-M-j ,
.
,
M-x comment-region. , , . ,
.
, comment-region , . , Lisp, C-u 2
M-x comment-region ;; . .
, , , .
comment-padding , commentregion
. 1.

22:

221

22.7.3
comment-column. . C-x ; (set-commentcolumn), , . C-u C-x ; ,
, M-;, . , C-u - C-x ;
kill-comment, .
comment-column :
, ,
setq-default. . 31.2.4 [ ], . 350.
.
, , comment-start-skip. ,
. - , , ,
; ,
"/\\*+ *", /*.
( , \\ , \, ,
. . 12.5 [ ], . 91.)
,
comment-start. comment-end ,
, .
comment-start "/* ", comment-end " */".
comment-multi-line , C-M-j (indent-newcomment-line) . comment-multi-line
nil, , ,
. comment-multi-line nil, ,
. :
, . , ,
.
comment-indent-function ,
. , , .
, . , Lisp - ,
,
.

22.8
M-(

s- ( s-) (insertparentheses).

M-)


(move-past-close-and-reindent).

222

GNU Emacs

M-( (insert-parentheses) M-) (move-past-close-and-reindent)


, . M-( , , (), ,
, s-,
. . M-)
,
C-j.
, ( F O O ), M-( F O O,
, , .
M-( . parens-require-spaces nil,
.

22.9
.
: .
M-hTABi (lisp-complete-symbol) , , ,
. , ,
.
,
,
.
, M-hTABi complete-symbol, .
, (. 22.13 [], . 224);
( ), , ,
Info- . , , M-hTABi
; ,
C-u M-hTABi. , Info , Info-
,
.
Emacs-Lisp , Emacs , , . ,
,
. , , lispcomplete-symbol.
Text , M-hTABi ,
. . 13.4 [], . 102.

22.10 Which Function


Which Function ,
, .
( ) Which Function, M-x
which-function-mode. ; ,
, , . ,
, which-func-modes. (

22:

223

t, Which Function ,
, , Imenu.)

22.11
, Emacs, C-h f (describe-function) C-h v (describe-variable)
, .
.
, . C-h f
, , . C-h v ,
.
Emacs Lisp Eldoc. - ,
. ( , ,
, .) Eldoc
Emacs Lisp Lisp Interaction.
M-x eldoc-mode.
, C-h C-i (info-lookup-symbol),
Info - . ; , . Info-
. M-x info-lookup-file
.
man , M-x manual-entry. man ,
, , , . (MS-DOS MS-Windows 3 ,
, Emacs , man
.) *Man *. , Man,
man. C-h m
man.

. Emacs man , .
man, Man-fontify-manpage-flag nil.
man Emacs - ,
M-x Man-fontify-manpage, , M-x manual-entry.
GNU - man , Info. . 7.7 [ ], . 60. ,
man .

224

GNU Emacs

22.12
Emacs C-x 4 a , (add-change-log-entry-other-window).
,
, ,
. ChangeLog
, , , . ChangeLog
.
,
, ( user-mail-address)
. ,
. ,
, .
, 1993 :
1993-05-25

Richard Stallman

<rms@gnu.org>

* man.el: Rename symbols man-* to Man-*.


(manual-entry): Make prompt string clearer.
* simple.el (blink-matching-paren-distance):
Change default to 12,000.
1993-05-24

Richard Stallman

<rms@gnu.org>

* vc.el (minor-mode-map-alist): Dont use it if its void.


(vc-cancel-version): Doc fix.
( Emacs .)
; . .
( ),
, . ,
.
C-x 4 a ,
. .
.
Change Log. ,
. . C-j , ;
.

. . 14.7.3.3 [ ], . 119.

22.13
, . - (

22:

225

) . . M-., ,
, .
, .
TAGS.
, ,
(), .
,
. , , -
. .

22.13.1
:
, typedef ,
struct, union enum. (#define) (enum)
,
-no-defines. , ,
-no-globals. -no-globals -no-defines
.
++, - ,
, -, -members. :: ::.
Java, , ++ extends implements. . ..
LaTEX, \chapter,
\section, \subsection, \subsubsection, \eqno, \label, \ref, \cite, \bibitem, \part,
\appendix, \entry \index.
, TEXTAGS etags.
.
TEXTAGS="def:newcommand:newenvironment"
export TEXTAGS
( Bourne shell), \def, \newcommand
\newenvironment .
, defun, , defvar defconst, ,
(def , .
Scheme def ,
def. , set! .
:
, , ,
.
Bison Yacc
. , , .

226

GNU Emacs

Cobol ; ,
8, .
Erlang , .
- , .
.
Perl , sub.
Postscript .
.
, (. 22.13.2 [ ], . 226),
.

22.13.2
etags.
, . etags :
etags -...
etags
TAGS . etags ,
, .
-language=, .
-
, ,
. .
,
Emacs . , ,
, (- ,
),
. , Emacs -
, .
, , ,
,
, .
.
.
-include= . , ,
, , .
etags ,
, ,
. ,
, ,
.
etags ,
.
, , ,
. /,
:/ MS-DOS MS-Windows.

22:

227

,
, .
etags ,
, :
find . -name "*.[chCH]" -print | etags -language= . ; ,
. -language=auto, etags
. -language=none,
; etags
. etags -help , etags,
.
-regex , .
. -regex
. :
-regex=/regexp-[/regexp-]/
regexp- . ,
, ^. ,
,
[ \t]*. \ ,
\t . , etags
.
etags , Emacs,
, grep ed.
: \{m,n\}, ,
m n .
regexp- ,
. , regexp-
, , ,
regexp-, . .
-R , -regex.
,
:
etags -regex=/reg1/ voo.doo -regex=/reg2/ \
bar.ber -R -lang=lisp los.er
etags voo.doo bar.ber . etags reg1 voo.doo
reg1 reg2 bar.ber.
los.er etags
.
. ,
-.
DEFVAR Emacs:
-regex=/[ \t]*DEFVAR_[A-Z_ \t(]+"\([^"]+\)"/
VHDL- ( ,
):
-language=none
-regex=/[ \t]*\(ARCHITECTURE\|CONFIGURATION\) +[^ ]* +OF/

228

GNU Emacs

-regex=/[ \t]*\(ATTRIBUTE\|ENTITY\|FUNCTION\|PACKAGE\
\( BODY\)?\|PROCEDURE\|PROCESS\|TYPE\)[ \t]+\([^ \t(]+\)/\3/
Tcl (
regexp-):
-lang=none -regex=/proc[ \t]+\([^ \t]+\)/\1/
etags, etags --help.

22.13.3
Emacs ,
.
, M-x visit-tags-table,
. TAGS .
, , tags-file-name.
Emacs , . ,
visit-tags-table. nil; , ,
.
visit-tags-table, , :

. .
, .
,
. ,
; ,
( ),
, .
, tags-table-list
, :
(setq tags-table-list
("~/emacs" "/usr/local/lib/emacs/src"))
, , TAGS
~/emacs /usr/local/lib/emacs/src. ,
, .
tags-file-name tags-table-list .

22.13.4
, , .
M-. hRETi
(find-tag).
C-u M-.

C-u - M-. .
C-M-. hRETi
, (find-tag-regexp).
C-u C-M-. , .

22:

229

C-x 4 . hRETi
, (find-tagother-window).
C-x 5 . hRETi

(find-tag-other-frame).
M-*

, M-. .

M-. (find-tag) .
,
, , . find-tag ,

.
( hRETi), ,
, s-, .
s- 22.2 [], . 206,
M-. ; . , M-. , . ,
. , , find-tag ,
C-u M-.; , , .
hMETAi, M-0 M-. C-u M-..
, , find-tag
, , ,
. C-x 4 ., find-tag-otherwindow. , C-x 5 ., find-tag-other-frame.
, , C-u - M-.;
, M-. . . C-x 4 .
.
, , ,
, . M-*,
pop-tag-mark.
- M-. , , M-*.
C-u - M-., M-* ,
find-tag-marker-ring-length.
C-M-. (find-tag-regexp) ,
. M-.,
, .

22.13.5
,
, .
, .
M-x tags-search hRETi regexp hRETi
regexp .

230

GNU Emacs

M-x tags-query-replace hRETi regexp hRETi hRETi


query-replace-regexp .
M-,


(tags-loop-continue).

M-x tags-search , ,
.
, , ,
. , tags-search
.
, , , .
, M-, (tags-loop-continue), tags-search.

.
M-x tags-query-replace . , , , , M-x
query-replace-regexp. M-x tags-search, ,
. . 12.7 [], . 95,
.
M-x
tags-query-replace. ,
, . , M-,;
.
,
find-tag. find-tag ,
. tags-search tags-query-replace
, .
, ,
( , - Emacs). ,
, ; .
, , , tags-search grep.
grep Emacs, Emacs
. ;
, grep ,
. . 23.1 [], . 247.

22.13.6
M-x list-tags hRETi hRETi
, .
M-x tags-apropos hRETi regexp hRETi
, regexp.
M-x list-tags , , , .
,
; , .
, ,

22:

231

. ,
, , .
M-x tags-apropos apropos (. 7.3 [ ],
. 57). , , ,
.
,
. . 22.9 [ ], . 222.

22.14 Emerge
. ,
. Emerge . 14.9 [ ], . 132, ,
Emerge The Ediff Manual.

22.14.1 Emerge
Emerge, :
M-x emerge-files
.
M-x emerge-files-with-ancestor
, .
M-x emerge-buffers
.
M-x emerge-buffers-with-ancestor
.
Emerge : ( A B)
( ), .
, . , ,
, .
Emerge, ,
, (. 30.8 [], . 335).
, ,
Emerge , , . , Emerge
, ,
. ,
with-ancestor.
A, B .
, , . ,
. , .
.
, Emerge, .
Emacs.

232

GNU Emacs

Emerge , . :
vvvvvvvvvvvvvvvvvvvv

^^^^^^^^^^^^^^^^^^^^
Emerge ,
.
A .
A ,
B.
, Emerge . C-x C-w. emerge-files
emerge-files-with-ancestor ,
. ( , .)
Emerge .
Emerge , .
Emerge C-], Emerge ,
, .

22.14.2 Emerge
: Fast
Edit. Fast ,
Emacs . ,
. Edit C-c C-c,
Emacs. , Emerge.
e, Edit, C-c C-c f,
Fast. Edit Fast E F.
Emerge ,
: Auto Advance Skip Prefers.
Auto Advance, a b . ,
. Auto Advance A.
Skip Prefers, n p
prefer-A prefer-B (. 22.14.3 [ ], . 232). , , .
Skip Prefers S.
s a (emerge-auto-advance-mode),
Auto Advance. s s (emerge-skip-prefers-mode),
Skip Prefers. , , ,
.

22.14.3
v ^.
:
A

A. a ;
A.

22:

B
default-A
default-B

prefer-A
prefer-B

combined

233

B. b ;
B.
A B , . default-A (
, A), ,
( ).
, default-A
default-B A B. ,
default-A default-B,
.
d a default-A, d b
default-B. ,
. , ,
, , . ,
, A
, B
, d a d
b.
A B, .
, , ,
, . ,
A , B,
.
A* B*.
A B, x c
x C.
, a b ,
.
comb.

22.14.4
Fast; Edit C-c
C-c:
p

A .

B .

C-u n j

n.

, .
A B.

C-]

Fast. ( Edit C-c C-c f.)

234

GNU Emacs

Edit.

( C-l) .

da

A
.

db

B
.

ca

A .

cb

B .

ia

A .

ib

B .

( M-v).

( C-v).

<

( C-x <).

>

( C-x >).

x1

. ( C-u l, .)

xc

(. 22.14.6 [
Emerge], . 235).

xf

/, Emerge, . ( C-u l, .)

xj

. (C-u x j .)

xs

. , , , .

xt

. , A B ,
.

22.14.5 Emerge
q (emerge-quit) ,
, . A
B , Emerge, .
Emerge,
.
C-] . .
,
.
Emerge , t, ,
nil.

22:

235

22.14.6
. ,
x c, :
#ifdef NEW
A
#else /* not NEW */
B
#endif /* not NEW */
,
, , emerge-combine-versions-template . %a ,
A, %b , B.
, , , :
"#ifdef NEW\n%a#else /* not NEW */\n%b#endif /* not NEW */\n"

22.14.7 , Emerge
A B .
Emerge , .
,
, , .
Emerge , . Emacs , diff . , - Emerge ,
, Emacs
, Emerge .
Emerge emerge-startup-hook (.
31.2.3 [], . 349).

22.15 C
, C, C++, Objective-C,
Java, CORBA IDL Pike. C ,
.

22.15.1 C
C
.
C-c C-u

,
.
. ,
. , #elif
#else, #if. #elif
.

C-c C-p

,
.
. , .

236

GNU Emacs

C-c C-n

,
.
. , .

M-a

(c-beginningof-statement). ,
. n, n
1 .

( ), ,
.
,
: , ( ) , ,
.

M-e

; M-a, (c-end-of-statement).

M-x c-backward-into-nomenclature
++. n, n . n ,
. ++ ; .
GNU ++ , .
M-x c-forward-into-nomenclature
++. n, n .

22.15.2 -
,
. c-auto-newline.
- {, }, :, #, ;, ,, <, >, /, *, ( ).
- , auto-newline
( /a ). c-auto-newline. C-c
C-a:
C-c C-a

(c-toggle-auto-state).
, ,
, , .

-, .
, ++.
++ , C-c :.
C-c :

, ,
(c-scope-operator).

- # , . , c-electric-pound-behavior

22:

237

(alignleft). , c-electric-poundbehavior nil.


c-hanging-braces-alist
. :
(- . -). , c-offsets-alist, .
- before after, ,
nil. , c-hanging-braces-alist
; , -
, : ,
, . ,
.
c-hanging-colons-alist . ,
(- . -). - before after, , nil.
, c
, , - ,
: , , .
, .
- ,
.
, ,
; c-cleanup-list,
. ,
.
:
brace-catch-brace
} catch () {,
. , {,
, catch .
brace-else-brace
} else {, . , { else, else , .
brace-elseif-brace
} else if (...) {, . , {, } { ,
, if.
empty-defun-braces
, . ,
.
defun-close-semi
struct , , .
, .
list-close-comma
,
. , .

238

GNU Emacs

scope-operator
, ++, . ,
, .

22.15.3
(
/h /ah ), hDELi
, . , C-c C-d:
C-c C-d

(c-toggle-hungrystate). , ,
, , .

C-c C-t


(c-toggle-auto-hungry-state).

c-hungry-delete-key , .

22.15.4 C
C-M-h

, (c-markfunction).

M-q

, ++ (c-fill-paragraph).
-
, ,
.

C-c C-e

, (c-macro-expand).
, , ,
, .
, , .
, .

C-c C-\

\ (c-backslashregion). .
\,
. \. ,
; \,
, .

M-x cpp-highlight-buffer
. *CPP Edit*,
.
[A]pply these settings (
a),
C.

22:

C-c C-s

239

(c-showsyntactic-information). ,
.

22.15.5 C
C
.
c-comment-only-line-offset
, . , (--
. -), -- , , ,
- , , .
( . 0).
c-comment-start-regexp
,
.
c-hanging-comment-ender-p
nil, c-fill-paragraph
.
t, */
.
c-hanging-comment-starter-p
nil, c-fill-paragraph
. t, /*
.

22.16 Fortran
Fortran ,
, . Fortran Auto Fill,
.
,
. ,
, .
M-x fortran-mode, . fortran-mode-hook (. 31.2.3 [], . 349).

22.16.1
Fortran
( ) .
, .
C-M-a

subprogram).

(beginning-of-fortran-

240

GNU Emacs

C-M-e

(end-of-fortran-subprogram).

C-M-h

, (mark-fortransubprogram).

C-c C-n

(fortran-nextstatement).

C-c C-p

(fortran-previousstatement).

22.16.2

, , (
, ) ,
.

22.16.2.1
hTABi

(fortran-indent-line).

C-j

(fortranindent-new-line).

C-M-j

M-^

C-M-q

,
(fortran-indent-subprogram).

Fortran hTABi ,
(fortran-indent-line). , ,
.
C-j fortran-indent-new-line,
, .
do
.
C-M-q fortran-indent-subprogram,
( ), c .
C-M-j fortran-split-line, . , ,
.
.
M-^ fortran-join-line, fortran-split-line. .

22.16.2.2

. 5,

22:

241

. ; ( GNU Emacs .) fortrancontinuation-string , 5. , , , 0,


. .
Fortran , , . indenttabs-mode: nil , nil .

Tab.
$
5, Fortran .
hTABi,
.
C-M-j, .

Fortran. ,
. , , .
, ,
8 .
Fortran ,
, . , . fortran-analyze-depth , (
); ,
fortran-tab-mode-default. nil, ,
nil .

22.16.2.3
, Fortran , , 0 4. ( GNU Emacs
.)
.
fortran-line-number-indent, , .
, , . 1.
, . , .
, fortran-electric-line-number
nil. .

22.16.2.4
Fortran , ,
,
:
do continue.
, if, else, then, do ,
.

242

GNU Emacs

, Fortran , . else if end do ,


, , .
, . ,
, .

22.16.2.5
, :
fortran-do-indent
do ( 3).
fortran-if-indent
if ( 3).
90 where.
fortran-structure-indent
structure,
union map ( 3).
fortran-continuation-indent
( 5).
fortran-check-all-num-for-matching-do
nil, , do
continue. ,
continue, ,
do. nil,
,
do. nil.
fortran-blink-matching-if
t, endif
if, , .
nil.
fortran-minimum-statement-indent-fixed
. . 6.
fortran-minimum-statement-indent-tab
.
. 8.

22.16.3
Emacs ,
.
. Fortran
Emacs .

22:

243

Fortran ,
! .
, Fortran
, . ,
comment-start "!" (. 31.2 [], . 343).
M-;

(fortran-commentindent).

C-x ;

!.

C-c ;

( )
(fortran-comment-region).

M-; Fortran fortran-comment-indent.


M-;,
; , . Fortran ,
.
, , ,
.
!, , .
.
! , ,
.
. , .
, fortrancomment-indent-style :
fixed

,
fortran-commenrt-line-column . .
fortran-minimum-statement-indentfixed fortran-minimumstatement-indent-tab .

relative

, , fortran-comment-line-column .

nil

, , , fortran-comment-indentchar , , .
Fortran , comment-line-start comment-linestart-skip, , commentstart comment-start-skip , .
Fortran, .
Emacs C-x ; .
!, .
Fortran.
C-c ; (fortran-comment-region) , C$$$ . ,
, C$$$ .
, ,

244

GNU Emacs

fortran-comment-region. ,
. ,
Emacs , .

22.16.4 Fortran Auto Fill


Fortran Auto Fill , , ,
. fortran-continuation-string (. 22.16.2.2 [
], . 240). , hSPCi, hRETi hTABi,
.
M-x fortran-auto-fill-mode Fortran Auto Fill, ,
, . , M-x
auto-fill-mode Auto Fill (. 21.5 [], . 185).
Fortran Auto Fill, .
, Fortran Auto Fill, Fill
. Fortran Auto Fill ,
. . 31.1 [
], . 341.
Fortran Auto Fill ,
( fill-column). , Fortran Auto Fill , ,, , +, -, /, *,
= ). , fortran-break-beforedelimiters nil. ( ) .
Fortran Auto Fill . ,
, fortran-mode-hook -, (fortran-auto-fill-mode 1). . 31.2.3 [], . 349.

22.16.5
C-c C-r

(fortrancolumn-ruler).

C-c C-w

,
72 . 72 ,
(fortran-window-create-momentarily).

C-c C-r (fortran-column-ruler)


. , , -.
,
. .
, , GNU Emacs.
, , ;
.
, ,
indent-tabs-mode. indent-tabs-mode nil,
fortran-column-ruler-fixed. fortran-column-ruler-tab. ,
.

22:

245

C-c C-w (fortran-window-create), , 72 .


,
, .

22.16.6
Fortran . ,
. , Abbrev. . 24 [], . 257.
: .
, Fortran
, .
, ; continue. ; ,
, ; continue, ,
Abbrev.
;? ;C-h,
, .

22.16.7 Fortran
C-x n d

Fortran C-x n d fortran-narrow-tosubprogram, .


, .

22.17 Asm
Asm .
:
hTABi

tab-to-tab-stop.

C-j

, tab-to-tab-stop.

,
. tab-to-tab-stop.

asm-comment-char , .

246

GNU Emacs

23:

247

23
Emacs,
. ,
.

23.1 Emacs
Emacs , , , Emacs.
,
.
M-x compile
Emacs,
*compilation*.
M-x grep

grep Emacs,
*grep*.

M-x grep-find
grep find ,
*grep*.
M-x kill-compilation
M-x kill-grep
grep.
make , M-x compile.
, , ,
*compilation*. , ,
.
, ,
; ,
M-x compile. hRETi,
. M-x compile make -k.
compile-command;
- , make -k,
compile-command (. 31.2.5
[ ], . 351).
*compilation* ,
. , ,
run exit . ,
. ,
Compiling. ,
.
,
*compilation* .
, , .
, ,
.

248

GNU Emacs

compilation-scroll-output ,
nil, ,
.
, M-x kill-compilation.
, *compilation* , signal run. ,
. M-x compile
.

23.2 Grep Emacs


, Emacs , ,
, grep ,
. grep .
, M-x grep , ,
grep. , grep
: grep ( , ),
, . grep
*compilation*. C-x hRETi,
.
M-x grep ,
(. 22.13 [], . 224) grep .
M-x grep-find M-x grep,
, find grep,
. find-grep-dired, 28.15
[ Dired], . 300.

23.3 Compilation
*compilation* , Compilation,

, .
C-x

, grep.

hRETi

, .
.

Mouse-2

, .

, *compilation* hRETi (compilegoto-error). Mouse-2; *compilation*.



, C-x (next-error). , C-x , .
, *compilation*;
, , .

23:

249

C-x ,
. C-x . -
hRETi Mouse-2, C-x . C-x
,
Emacs .
C-u C-x *compilation* .
.
Compilation hSPCi hDELi
, M-n M-p
. M-{ M-}
.
Compilation , Compilation Minor.
, . M-x compilation-minor-mode.
hRETi Mouse-2 Compilation.
Compilation ,
. Rlogin (. 30.2.6 [
], . 329), Compilation
FTP (. 14.1 [ ], . 105).

23.4
Emacs , , . , , . , *compilation*
, , ,
, , . ( .bashrc, .profile, .cshrc, .shrc -
.) , . ,
csh:
if ($?prompt) set prompt = ...
bash:
if [ "${PS1+set}" = set ]
then PS1=...
fi
, .
.
MS-DOS ;
- , M-x compile MS-DOS
. , ,
- Emacs. . C [MS-DOS], . 403.

23.5 Emacs
GUD (Grand Unified Debugger1 ) Emacs. GDB, 1

. (. )

250

GNU Emacs

, DBX, SDB XDB, .


GUD Perl, Python
PDB JDB, Java.

23.5.1 GUD
, -.
M-x gdb hRETi hRETi
GDB Emacs.
GDB . GDB ,
.
M-x dbx hRETi hRETi
, DBX GDB.
M-x xdb hRETi hRETi
, XDB, GDB. gud-xdbdirectories .
M-x sdb hRETi hRETi
, SDB, GDB.
SDB . ,
(. 22.13 [], . 224), GUD .
, , The sdb
support requires a valid tags table to work.2 ,
.
M-x perldb hRETi hRETi
Perl , Perl.
M-x jdb hRETi hRETi
Java.
M-x pdb hRETi hRETi
Python.
: . , ,
. , . . GUD ,
, -, .
Emacs .

23.5.2
GUD, Emacs . GUD.
, Emacs. (=>)
.
.
2

sdb . (. )

23:

251

, . ;
. , ,
; GUD ,
. , ,
.
,
, Shell.
, Shell .
. 30.2.3 [ Shell], . 325.

23.5.3 GUD
GUD Shell,
(. 30.2.3 [ Shell], . 325). GUD
,
. GUD,
, .
, ,
. :
C-x hSPCi , .
, GUD. , C-c,
GUD. , C-x C-a,
GUD, .
C-c C-l
C-x C-a C-l
,
GUD ( ,
). gud-refresh.
C-c C-s
C-x C-a C-s
(gud-step). ,
.
C-c C-n
C-x C-a C-n
,
(gud-next).
C-c C-i
C-x C-a C-i
(gud-stepi).
C-c C-r
C-x C-a C-r
. , ,
, (gud-cont).
C-c C-d
C-x C-a C-d
( )
, (gud-remove).

252

GNU Emacs

GUD, ,
.
C-c C-t
C-x C-a C-t
,
.
GUD, ,
.
.
GDB DBX ( ),
:
C-c <
C-x C-a < (gud-up). up.
C-c >
C-x C-a > (gud-down).
down.
GDB, :
hTABi

(gud-gdb-complete-command).
GUD GDB 4.13 .

C-c C-f
C-x C-a C-f
,
( ).
,
.
hTABi , , GDB.
, , C-q hTABi.

23.5.4 GUD
GUD : gdb-mode-hook, GDB; dbx-mode-hook, DBX; sdb-mode-hook,
SDB; xdb-mode-hook, XDB; perldb-mode-hook
Perl; jdb-mode-hook PDB; jdb-mode-hook JDB.
. . 31.2.3 [], . 349.
, :
(gud-def - -)
,
-, -. . nil, gud-def
C-c GUD C-x C-a .
%-, , :

23:

253

%f

. GUD, , .

%l

. GUD, , .

%e

lvalue ,
.

%a

,
.

%p

.
, %p .
%p ,
.

23.6
Emacs Scheme. ,
. .
Emacs-Lisp
, Emacs
Lisp. C-M-x
. . 23.7 [ ], . 253.
Lisp Interaction
Emacs Lisp. C-j
s- . . 23.9
[ ], . 255.
Lisp
,
, Emacs Lisp. C-M-x ,
-. .
23.10 [ ], . 256.
Inferior Lisp
. Lisp Shell (. 30.2.3 [ Shell], . 325).
Scheme
Lisp, Scheme.
Inferior Scheme
Scheme.

. . 22 [], . 205.

23.7 - Emacs
- , .el. Emacs,
Emacs-Lisp (. 23.6 [ ], . 253).

254

GNU Emacs

Emacs Lisp, M-x load-file. , ,


-. ,
, ,
Emacs.
- Emacs Lisp, , M-x load-library.
, load-library, load, ,
, .
M-x load-library M-x load-file , . ,
lib; lib.elc, lib.el lib.
lib.elc, , ;
, .
load-library , lib.el , lib.elc, , , - .el-
.
load-library
, . ,
, , .
, M-x load-library, load-path, , . , - Emacs.
,
load-path. nil , ,
nil . ,
nil , ,
M-x load-file.
, - , ,
.
load . .
Emacs Lisp -, , . . Byte
Compilation the Emacs Lisp Reference Manual. ,
, c. , foo.el
foo.elc. load-library .elc-.

23.8 Emacs-Lisp
, Emacs,
Emacs-Lisp. ,
.el. , Lisp -, -.
Emacs-Lisp, M-x emacs-lisp-mode.
, Emacs,
- , Emacs.
, , .

23:

255

(, ).
M-:

, - (eval-expression).

C-x C-e

, ,
- (eval-last-sexp).

C-M-x

,
, - (eval-defun).

M-x eval-region
.
M-x eval-current-buffer
.
M-: (eval-expression)
. , ,
, ,
. , ,
, M-:.
Emacs-Lisp C-M-x eval-defun,
, ,
. -.
, .
C-M-x defvar . defvar
, . C-M-x
, defvar.
.
C-x C-e (eval-last-sexp) ,
, -.
, Emacs-Lisp. defvar .
C-M-x, C-x C-e M-: , , -.
.
- evalregion. M-x eval-region
, . M-x eval-current-buffer , . - ,
. C-M-x , .
.

23.9
*scratch*, Emacs, - Emacs.
*scratch* , C-j. -
, .
.
*scratch* Lisp Interaction; Emacs-Lisp, C-j.

256

GNU Emacs

, Emacs
, ,
, . , ,
, . M-x
lisp-interaction-mode Lisp Interaction.
Emacs Lisp Inferior Emacs-Lisp, ,
Shell (. 30.2.3 [ Shell], . 325). M-x ielm,
*ielm*, .

23.10
Emacs -. - Emacs ,
. -
Emacs, .
-, M-x run-lisp.
lisp, , , lisp
, , Emacs *lisp*.
, , ,
. ( ,
inferior-lisp-program.)
, , hRETi. *lisp* Inferior Lisp, ,
Lisp
Shell (. 30.2.3 [ Shell], . 325). hRETi ,
, Shell.
Lisp.
M-x lisp-mode;
, .l, .lsp .lisp,
-.
,
, C-M-x. Lisp lisp-senddefun,
-. (Emacs
, .)
C-M-x Lisp ( ,
-) Emacs-Lisp ( ,
Emacs):
, , , , . . 23.6 [
], . 253.

24:

257

24
, - . . ,
foo , find outer otter.
, find outer otter, f o o hSPCi.
. ,
,
. . 24.6 [ ], . 260.

24.1
, . , , , . , foo
, find outer otter,
find outer otter., f o o ..
, Abbrev ( ). Abbrev ,
, Abbrev . M-x
abbrev-mode Abbrev.
, , . . 31.1 [ ], . 341. abbrev-mode ; Abbrev , nil.
abbrev-mode ,
.
, . ,
.

.
.
.
.
.

24.2
C-x a g

,
(add-global-abbrev).

C-x a l

, ,
(add-mode-abbrev).

C-x a i g

(inverse-add-global-abbrev).

C-x a i l

(inverseadd-mode-abbrev).

M-x kill-all-abbrevs
, .

258

GNU Emacs

, , C-x a g (add-global-abbrev).
,
.
, . ,
foo , find outer otter
C-u 3 C-x a g f o o hRETi.
C-x a g ,
.
C-x a l (add-mode-abbrev) , ,
.
. C-x a l ,
. , C-x a g.
, , C-x a i g (inverse-add-global-abbrev) C-x a g C-x a i l
(inverse-add-mode-abbrev) C-x a l. ,
( ,
).
, . , .
,
: C-u - C-x a g C-u - C-x a l.
, .
M-x kill-all-abbrevs , , .

24.3
, , (hSPCi, ). , ,
, , , ,
.
.
; , foo find outer otter; Foo Find outer otter, FOO FIND OUTER OTTER
Find Outer Otter abbrev-all-caps (,
nil, ).
:
M-

, (abbrev-prefix-mark).

C-x a e

(expand-abbrev). ,
Abbrev.

M-x expand-region-abbrevs
.
; , cnst construction,
reconstruction. recnst ,
. M- (abbrevprefix-mark) re cnst. re.

24:

259

M-; , ,
. cnst. re-cnst. , , cnst
construction. , M-,
. reconstruction.
, , , C-q.
, foo C-q , foo,.
,
, C-_ (. 4.4 [], . 37).
, , . , ,
, ,
C-q. M-x unexpand-abbrev
.
M-x expand-region-abbrevs
. ,
, , Abbrev.

. ,
Abbrev.
pre-abbrev-expand-hook (.
31.2.3 [], . 349).

24.4
M-x list-abbrevs
.
M-x edit-abbrevs
; , .
M-x list-abbrevs :
(lisp-mode-abbrev-table)
"dk"
0
"define-key"
(global-abbrev-table)
"dfn"
0
"definition"
( , , .)
, , ; global-abbrev-table ,
, , , .
.
. , , ,
. Emacs , ,
, , , . .
M-x edit-abbrevs , Emacs.
, . *Abbrevs*

260

GNU Emacs

Edit-Abbrevs. C-c C-c, , ,


.
edit-abbrevs , list-abbrevs, , *Abbrevs*, list-abbrevs
.

24.5
.
M-x write-abbrev-file hRETi hRETi
, .
M-x read-abbrev-file hRETi hRETi
, .
M-x quietly-read-abbrev-file hRETi hRETi
, .
M-x define-abbrevs
.
M-x insert-abbrevs
.
M-x write-abbrev-file , ,
. , .
, , .
M-x read-abbrev-file , ,
, .
M-x
quietly-read-abbrev-file , , - ;
.emacs. ,
abbrev-file-name,
"~/.abbrev_defs".
Emacs , -
, , ( C-x s C-x C-c).
save-abbevs nil.
M-x insert-abbrevs M-x define-abbrevs ,
Emacs. M-x insert-abbrevs
, ; M-x define-abbrevs
.

24.6

, . ,
, ,
.

24:

261

M-/


, (dabbrevexpand).

C-M-/

(dabbrevcompletion).

, does this follow f o M-/, follow, ,


fo. M-/ , ,
, . M-/ .
, ,
. dabbrev-limit, nil, ,
.
M-/ ,
dabbrev-check-all-buffers nil.
M-/, C-u - M-/, , , . M-/
, .
, .
, ,
, . hSPCi M-/ , .
.
C-M-/ (dabbrev-completion) . , ,
, , .
, C-M-/ ,
. . 5.3 [], . 47.
Abbrev; M-/ ,
.

24.7
. ,
.
dabbrev-case-fold-search. t,
; nil,
. dabbrev-case-fold-search case-fold-search,
, case-fold-search.
, , .
dabbrev-case-replace ,
. t,
; nil, . dabbrevcase-replace case-replace, , casereplace , .

262

GNU Emacs

, , , ,
, . ,
, M-/, , .
dabbrev-abbrev-char-regexp, nil, ,
. , .
, . nil : ,
, , .
Make-
$, . , ,
dabbrev-abbrev-skip-leading-regexp.
, ,
.

25:

263

25
, ( ), M-x
edit-picture Picture.
Picture ,
,
. ; ,
, .
, Emacs , . Picture
, . , .
Emacs Picture , , .
, Picture , C-c,
.
, C-c C-c, .
, - .
M-x edit-picture ,
C-c C-c (picture-mode-exit), .
C-c C-c , .
, Picture, (
picture), Picture. ,
Picture ,
.
Picture picture-mode-hook (. 31.2.3
[], . 349).

25.1 Picture
Picture , ,
. , C-f pictureforward-column, , ,
, , . C-b picture-backward-column,
, , . C-n
C-p picture-move-down picture-move-up, , , ,
, . C-e pictureend-of-line, .
C-a, .
Overwrite (. 31.1 [ ], . 341). , ,
. hRETi picture-newline,
, .
Picture . hDELi
(picture-backward-clear-column) , ;

264

GNU Emacs

. C-d (picture-clear-column)
, . (
, hSPCi.) C-k (picture-clear-line)
, .
, . C-o (picture-open-line) ; . C-M-o (split-line) Picture, .
C-j (picture-duplicate-line)
.
Picture , C-w C-c
C-d ( delete-char, C-d ),
(. 25.4 [
], . 265).

25.2
Picture
, , .
,
.
.
C-c <

(picture-movement-left).

C-c >

(picture-movement-right).

C-c ^

(picture-movement-up).

C-c .

C (picture-movement-down).

C-c

( -) (picturemovement-nw).

C-c

( -) (picturemovement-ne).

C-c /

( -)
(picture-movement-sw).

C-c \

( -)
(picture-movement-se).

, .
C-c C-f (picture-motion) ,
, C-c C-b (picture-motionreverse) .

25.3 Picture
Picture , . , , M-hTABi (picture-tab-search).
, .
, , . , C-u M-hTABi,
. M-hTABi , . picture-tab-chars,

25:

265

. , [...]
, [ ]. "!-~".
hTABi picture-tab, ,
; tab-to-tab-stop Picture.
, ,
.
, ,
C-c hTABi, picture-set-tab-stops.
, M-hTABi .
hTABi , . M-hTABi
, .
. , C-x hTABi . ,
indent-tabs-mode nil. . 20.3 [ ], . 179.

25.4 Picture
Picture , .
(. 9.4 [], . 74).
C-c C-k

- (picture-clear-rectangle). .

C-c C-w r

, r
(picture-clear-rectangle-to-register).

C-c C-y

, (picture-yank-rectangle).
.

C-c C-x r

, r (picture-yankrectangle-from-register).

, C-c C-k (picture-clearrectangle) C-c C-w (picture-clear-rectangle-to-register), ,


; , Picture C-d.
, Picture,
, . C-c C-k
C-c C-y.
Picture , , .
Picture . C-c C-y (picture-yankrectangle) ( ) ,
, C-c C-x (picture-yank-rectangle-from-register) , .

266

GNU Emacs

26:

267

26
C-x m

(compose-mail).

C-x 4 m

, (compose-mail-otherwindow).

C-x 5 m

, (compose-mail-other-frame).

C-c C-s

Mail, (mail-send).

C-c C-c

(mail-send-and-exit).

C-x m (compose-mail) *mail*


. C-x 4 m (compose-mail-other-window)
*mail* , . C-x 5 m (composemail-other-frame) *mail* .
Emacs,
(
). C-x m ,
, , ,
. n, *mail*
, .
C-u C-x m .
*mail* ,
C-x m.
*mail* , *mail* M-x rename-uniquely
(. 15.3 [ ], . 136). C-x m
, , *mail*. ,
.

26.1
, , , ,
, , , . , Date ()
Sender (), , . , , ,
.
Mail ,
, . ,
.
,
-text follows this line , . , , ,
. . - mail-header-separator.
, .

268

GNU Emacs

To: gnu@gnu.org
CC: lungfish@spam.org, byob@spam.org
Subject: The Emacs Manual
-Text follows this linePlease ignore this message.

26.2
,
.
( ).
.
, ,
.
.
To

, .
, ,
.

Subject

Subject , , . Subject ,
,
, .

CC

, To, , ,
.

BCC

,
,
. .
, mail-self-blind t.

FCC

, Emacs
. Rmail, Emacs
Rmail;
.
, , FCC , mail-archive-file-name .
FCC , .

From

From, , ,
. From
,
. From , Emacs
user-mail-address .

Reply-to
, , . ( Rmail) Reply-to;
From. Reply-to,
, From.

26:

269

- Reply-to , mail-default-reply-to (
). mail
Reply-to. , . Emacs , mail-defaultreply-to REPLYTO, .
In-reply-to
, ,
.
.
Rmail, ,
(. 27 [Rmail], . 275).
References
ID , .
Rmail , .
To, CC, BCC FCC , , . To,
CC BCC : , , ,
. To :
To: foo@here.net, this@there.net,
me@gnu.cambridge.mass.usa.earth.spiral3281
, From , Emacs
. mail-from-style:
nil

, king@grassland.com.

parens

, , king@grassland.com (Elvis Parsley).

angles

, Elvis Parsley <king@grassland.com>.

system-default
From.

26.3
~/.mailrc. , .
, Emacs , To, From, CC, BCC Reply-to Resent-.
~/.mailrc, :
alias - -
- ,
-. ; ,
.
, , maingnu
gnu@gnu.org, :
alias maingnu gnu@gnu.org local-gnu
Emacs .mailrc . :

270

GNU Emacs

source -
~/.mailrc ;
. Emacs ,
.
, Emacs define-mail-alias. .
.emacs,
:
(define-mail-alias "maingnu" "gnu@gnu.org")
define-mail-alias , ,
mail-aliases. ,
mail-aliases . mail-aliases t,
, Emacs .mailrc.
~/.mailrc ,
mail-personal-alias-file.
Emacs , . , ,
, . , M-x
expand-mail-aliases; , .
, ,
, (. 24 [], . 257).
, :
(add-hook mail-setup-hook mail-abbrevs-setup)
.emacs. . 31.2.3 [], . 349. , define-mail-abbrev, define-mailalias; . , mail-abbrevs mail-aliases,
.
C-c C-a (mailinteractive-insert-alias), ( )
.
Subject, Emacs .
, ,
. , C-n M-> ,
. :
(add-hook mail-setup-hook
(lambda ()
(substitute-key-definition
next-line mail-abbrev-next-line
mail-mode-map global-map)
(substitute-key-definition
end-of-buffer mail-abbrev-end-of-buffer
mail-mode-map global-map)))

26.4 Mail
, Mail,
Text , C-c.

26:

271

. , Mail % ; ,
, .
Mail ,
mail . ,
Mail , . ,
.

26.4.1
Mail , :
C-c C-s

(mail-send).

C-c C-c

- (mail-send-andexit).

C-c C-s (mail-send)


, ,
( ) .
C-c C-c (mail-send-and-exit) , .
, .
.
, , , .
, .
, , ASCII,
- (. 18.7 [
], . 165). (. 18.3
[ ], . 162).
, sendmail-coding-system.

- , Emacs ,
.

26.4.2
Mail
.
C-c C-f C-t
To, , (mail-to).
C-c C-f C-s
Subject, , (mailsubject).
C-c C-f C-c
CC, , (mail-cc).
C-c C-f C-b
BCC, , (mail-bcc).
C-c C-f C-f
FCC, , (mail-fcc).

272

M-hTABi

GNU Emacs

(mail-complete).

,
C-c C-f (C-f field.1 . , .
,
.
, ,
To:, CC: BCC:, , M-hTABi (mail-complete).
, , . mail-complete-style ,
; mail-from-style (. 26.2
[ ], . 268).
.
; , .
M-hTABi , ispell-complete-word,
Text.

26.4.3
Mail
, . ,
Rmail.
C-c C-y

Rmail (mail-yank-original).

C-c C-r

Rmail (mail-yank-region).

C-c C-q

, (mail-fillyanked-message).

Rmail
Rmail, C-c C-y
, . .
. C-u ,
- . C-c C-y
Rmail, ,
Rmail, *mail* , Rmail,
.
, C-c C-y
: mail-yank-prefix . ( nil ,
; .) , C-u C-c C-y
, mail-yank-prefix.
, Rmail ; *mail* C-c C-r (mailyank-region).
mail-yank-prefix.
C-c C-y C-c C-r C-c C-q,
. C-c C-q , .
1

. . (. )

26:

273

, M-q. ,
. . 21.5 [], . 185.

26.4.4 Mail
C-c C-t

(mail-text).

C-c C-w

~/.signature (mail-signature).

C-c C-i hRETi


(mail-attachfile).
M-x ispell-message
,
.
C-c C-t (mail-text) - , .
C-c C-w (mail-signature) ,
. ~/.signature
. , mail-signature t; ~/.signature .
, .
mail-signature ; ,
. - ,
, ( )
.
M-x ispell-message.
, , , . (
mail-yank-prefix, .) .
13.4 [], . 102.
, C-x i, .
, C-c C-i (mail-attach-file). , , ,
.
Mail ( C-x m )
text-mode-hook mail-mode-hook. mail-setup-hook; ,

. . 31.2.3 [], . 349.
,
. M-x mail, mail-mode-hook,
*mail*. mail-setup
. mail-setup-hook.

274

GNU Emacs

26.5 NSA
M-x spook
. , ,
- .
, NSA2 , , . (NSA ,
, .) ,
, NSA
, .
, :
(add-hook mail-setup-hook spook)
NSA , .

26.6
Emacs
Mail. Emacs , MH-E Message,
. . C-x m, C-x 4 m C-x 5 m ,
. Emacs, .
, mail-useragent. sendmail-user-agent, mh-euser-agent message-user-agent.
, *mail*
Mail ; .

National Security Agency, 2. (. )

27: Rmail

275

27 Rmail
Rmail Emacs .
Rmail , Rmail-. Rmail- , Rmail, .
rmail-mode Rmail, rmail-modehook, ; ,
, Rmail-.

27.1 Rmail
Rmail, Rmail- ~/RMAIL,
. Rmail-.
M-x rmail Rmail-,
,
. rmail-file-name Rmail-.
Rmail , Rmail- , .
. Rmail
, ,
, .
Rmail- Rmail .
Rmail- ; .
. Rmail, .
, j (. 27.3
[ Rmail], . 276).
Emacs, Rmail-
.
s (rmail-save), (.
27.4 [ ], . 277).
C-x C-s. Rmail Rmail-
(. 27.5 [ ], . 278).
Rmail q (rmail-quit), Rmail-
, . . Rmail
, . ( Rmail b
.) , Rmail- (
).
C-x s (. 14.3 [], . 108).

27.2
Rmail , , , .
C-v, M-v M-<, Rmail ,
.
hSPCi

(scroll-up).

hDELi

(scroll-down).

(rmail-beginning-of-message).

276

GNU Emacs


, Rmail hSPCi hDELi C-v (scroll-up) M-v (scrolldown).
. (rmail-begining-of-message) . , M-<: -, , -,
, .

27.3
, . Rmail
, . , .
Rmail ,
( , unseen; . 27.9 [ ], . 281). , ,
.
n

, (rmail-next-undeleted-message).


undeleted-message).

M-n

, (rmail-next-message).

M-p

, (rmail-previousmessage).

. n
n (rmail-show-message).

>

(rmail-last-message).

<

(rmail-first-message).

(rmail-previous-

M-s regexp hRETi


, regexp (rmail-search).
- M-s regexp hRETi
, regexp.
n and p Rmail. , , . rmail-next-undeleted-message
rmail-previous-undeleted-message. , , , ,
M-n M-p (rmail-next-message rmail-previous-message). .
Rmail , .
C-u.
M-s (rmail-search) Rmail. C-s Rmail,
. M-s . (. 12.5 [ ], . 91)
, . , . regexp , M-s
, .

27: Rmail

277

, M-s
. Rmail - M-s.
. . 27.8 [ ], . 281.
, , j (rmail-show-message) . ,
j . < (rmail-first-message)
. > (rmail-last-message) .

27.4
- , .
Rmail
, Rmail .
Rmail- ( )
. .
, (. 27.15 [
], . 287), .
d

(rmaildelete-forward).

C-d

(rmaildelete-backward).

(rmail-undelete-previous-message).

Rmail- (rmail-expunge).

Rmail .
. d (rmail-delete-forward) , , C-d (rmail-delete-backward)
. , , ,
.
.
, Rmail , ,
rmail-delete-message-hook. ,
, Rmail.
Rmail-,
x (rmail-expunge). , . , u (rmail-undelete-previous-message),
d .
, .
, ,
.
d u, u
, d. ,
d ,
; u
, . .
, u, ,
.
M-p u.

278

GNU Emacs

deleted,
deleted. , .
. 27.9 [ ], . 281.

27.5 Rmail-
,
. Rmail,
movemail,
Rmail-, , Rmail. ,
Rmail. . Rmail g.
rmail-primary-inbox-list ,
Rmail-. , MAIL, ,
, nil, ; /var/mail/-,
/usr/mail/- /usr/spool/mail/-
.
, C-h v
( )
rmail-primary-inbox hRETi.
Rmail- set-rmail-inbox-list; 27.6
[Rmail-], . 278.
Rmail- .
1. . Rmail
, Rmail.
2.
,
. ,
.
Rmail-
Rmail, Rmail Rmail-.
Rmail Babyl .
, Unix GNU
, Rmail,
. , Rmail- ,
, .

27.6
Rmail Rmail-, ~/RMAIL,
.
Rmail- Rmail.
,
Rmail (. 27.7
[ Rmail], . 279).

27: Rmail

279

i hRETi
Emacs Rmail (rmail-input).
M-x set-rmail-inbox-list hRETi hRETi
, Rmail-.
g

Rmail-
(rmail-get-new-mail).

C-u g hRETi
.
Rmail , ,
Rmail i (rmail-input).
Rmail. M-x rmail-input,
Rmail.
, i, ,
Rmail-. , Rmail
. ,
Rmail-. , i
Rmail-.
Rmail- . Classify, Classify Input Rmail File; .
rmail-secondary-file-directory rmail-secondary-file-regexp , : ,
; , (, ).
(. 27.7 [ Rmail], . 279).
Rmail- ;
M-x set-rmail-inbox-list hRETi files hRETi.
, .
, ,
. , Rmail-
, .
, Rmail- , .
g (rmail-get-new-mail) Rmail-
. Rmail- , g . M-x
rmail Rmail-.
, ,
g , C-u g.
. g ,
.
.

27.7
Rmail- .
o hRETi
,
Rmail- (rmail-output-to-rmail-file).

280

GNU Emacs

C-o hRETi
,
(rmail-output).
w hRETi
,
Subject.
o C-o .
Rmail- ;
.
Unix,
, . ,
t, , ( ).
o C-o :
, . o Rmail, C-o
. o ,
o, C-o C-o.
Rmail- - , .
.
, . ( ) w
(rmail-output-body-to-file).
Subject, w .
, ,
.
Rmail-, .
Classify, Classify Output Rmail File;
. ,
o. rmail-secondary-file-directory rmail-secondary-fileregexp , :
; , (,
).
filed,
, filed.
,
rmail-delete-after-output t; o C-o
. ( ,
.)

, Rmail. ,
t ,
. . 27.13 [ ], . 286.
rmail-output-file-alist , .
, :
(regexp . )
regexp,
. ,
.

27: Rmail

281

, , , ,
, . rmail-output-file-alist o, C-o.

27.8
,
. ; .
, .
Rmail
; .
.
a hRETi
(rmail-add-label).
k hRETi
(rmail-kill-label).
C-M-n hRETi
, (rmailnext-labeled-message).
C-M-p hRETi
, (rmailprevious-labeled-message).
C-M-l hRETi
C , - (rmailsummary-by-labels).
a (rmail-add-label) k (rmail-kill-label)
. , ,
.
, ,
, : .
C-M-n hRETi (rmail-next-labeled-message)
, .
, . C-M-p (rmail-previous-labeled-message)
, .
.
C-M-l hRETi (rmail-summary-by-labels) , , . , . . 27.11
[ ], . 284, .
C-M-n, C-M-p C-M-l , , - .

27.9 Rmail
, , deleted filed, ;
. Rmail.

282

GNU Emacs

unseen

, . , , ,
. Rmail, .

deleted

, .
(. 27.4 [ ], . 277).

filed

, - . (. 27.6 [Rmail-], . 278).

answered
, . r
(rmail-reply). . 27.10 [ ], . 282.
forwarded
, .
f (rmail-forward). . 27.10 [ ], . 282.
edited

, Rmail. . 27.14 [ ], . 287.

resent

, . M-x
rmail-resend. . 27.10 [ ], . 282.

27.10
Rmail , Mail . . 26 [ ], . 267,
Mail, , Rmail.
Rmail Mail. , , C-x m C-x 4 m,
Rmail , .
m

(rmail-mail).

(rmail-continue).

Rmail (rmail-reply).

(rmail-forward).

C-u f

(rmail-resend).

M-m

(rmail-retry-failure).

Rmail
, . ,
r (rmail-reply). *mail* ,
C-x 4 m, Subject, To, CC
In-reply-To, , . To
, CC
.
CC, rmail-dont-reply-to-names.

27: Rmail

283

( ): , ,
CC.
, info-. ( ,
.)
CC - , : C-u r 1 r.
, *mail* ,
(. 26 [ ], . 267).
, .
Mail (. 26.4 [ Mail], . 270),
C-c C-y, , .
Rmail, ,
.
. , . Rmail M-m (rmailretry-failure) :
*mail* , .
C-c C-c, , .
, . rmail-retry-ignored-headers, , rmail-ignored-headers (.
27.13 [ ], . 286), , ;
nil.
Rmail . f (rmailforward) , *mail* Subject, .
. , , .
.
, , , -
. , - ,
. , M-x unforward-rmail-message.
, - , Rmail-
.
, ; , , ,
, Resent-from Resent-to, ,
. Rmail, C-u f. (f
rmail-forward, , rmail-resend,
.)
m (rmail-mail) , . .
C-x 4 m , Rmail
C-c C-y, , r. , m ; ,
r f.

284

GNU Emacs

c (rmail-continue) *mail*,
, , ,
.
rmail-mail-new-frame , nil,
Rmail . , ,
Dont Send Mail.
Rmail , (. 26.6 [ ], . 274).

27.11
, Rmail-. ,
, . Rmail
; , .
, .
Rmail-;
Rmail-, .
-summary Rmail. ,
.

27.11.1
Rmail-.
Rmail- , ( ) .
h
C-M-h

(rmail-summary).

l hRETi
C-M-l hRETi
, (rmail-summary-by-labels).
C-M-r hRETi
, (rmail-summary-by-recipients).
C-M-t hRETi
, Subject (rmail-summary-by-topic).
h C-M-h (rmail-summary) Rmail .
.
C-M-l hRETi (rmail-summary-by-labels) ,
, .
, .
C-M-r hRETi (rmail-summary-by-recipients) , , . , .
C-M-t hRETi (rmail-summary-by-topic) ,
, Subject .

27: Rmail

285

, Rmail- ;
.
rmail-summary-window-size ,
. rmail-summary-line-count-flag ,
, .

27.11.2
Rmail ,
Rmail. , ,
Rmail.
Rmail
. ,
Emacs ;
, Rmail.
Rmail , Rmail.
, d , u , x . o C-o ; r .
, , hSPCi hDELi.
Rmail ,
: , .
, Rmail (
, Rmail,
, ). :
n

, , .

, , .

M-n

M-p

>

<

M-s hRETi
; .
, ,
, Rmail. rmail-redisplay-summary nil,
.
, Q (rmail-summary-wipe),
. Rmail, :
q (rmail-summary-quit) , Rmail, Rmail .

27.12 Rmail-
M-x rmail-sort-by-date
Rmail- .
M-x rmail-sort-by-subject
Rmail- .

286

GNU Emacs

M-x rmail-sort-by-author
Rmail- .
M-x rmail-sort-by-recipient
Rmail- .
M-x rmail-sort-by-correspondent
Rmail- .
M-x rmail-sort-by-lines
Rmail- ( ).
M-x rmail-sort-by-keywords hRETi hRETi
Rmail- . , . ; ,
, . ,
, .
Rmail :
, .
. , rmail-sortby-date rmail-sort-by-author,
.
, . , ,
.

27.13
Rmail . , .
,
t (rmail-toggle-headers).
t

(rmail-toggle-header).

,
. rmail-ignored-headers ,
, .
Rmail ; , t (rmail-toggle-headers). .
t .
.
, ( e; . 27.14 [ ], . 287),
t . , e t, ( )
, .
t ,
, .
, , Rmail
,

27: Rmail

287

From Subject. rmail-highlighted-headers , , ;


, .
, ,
, .
highlight. , highlight
. . 17.13 [], . 155, ,
.
Rmail, rmail-highlightedheaders nil.

27.14
Emacs Rmail, ,
C-M-n C-M-h, Rmail .
Rmail , Rmail. ,
Rmail e.
e

e (rmail-edit-current-message) Rmail
Rmail Edit, , Text. .
Rmail Edit , Rmail .
Rmail, C-c C-c, Rmail. ,
Rmail, , C-c C-].
Rmail Edit text-mode-hook, rmailedit-mode-hook (. 31.2.3 [], . 349). edited. ,
, , .

27.15 -
- , . ;
, - , , , .
, , ,
.
-
: .
.
, -
M-x undigestify-rmail-message. Rmail . -
.

288

GNU Emacs

27.16 Rmail-
M-x unrmail Rmail
( ), .
, Rmail- . M-x unrmail
Rmail-.

27.17 Rot13
, , , rot13
13 . , ; , , ,
.
, rot13, M-x
rot13-other-window. ,
.

27.18 movemail POP


Rmail Rmail; Rmail-; . ,
Rmail-,
. rmail-preserve-inbox nil, Rmail
Rmail-, .
, , ,
POP ,
, .
Rmail .
movemail,
, ~/.newmail--. Rmail
, Rmail- .
, ,
Rmail
.
Rmail -
~/.newmail-- Babyl, ~/RMAILOSE.n
(n , , ), Rmail
. ,
, Rmail (, control-,
037), . 1 g,
.

, POP, . movemail POP, MAIL_USE_POP.
( , -with-pop, configure
Emacs.) movemail POP3,
POP.
, movemail,
POP, po: Rmail-. movemail

27: Rmail

289

POP-. MAILHOST
, .
POP . rmailpop-password nil, POP. ,
rmail-pop-password-required nil, Rmail .
movemail , rmail-movemail-flags .
-p,
; rmail-preserve-inbox.
movemail Kerberos. ,
, POP rmailpop-password rmail-pop-password-required.
POP- . , , , movemail , rmailmovemail-flags -r.

290

GNU Emacs

28: Dired,

291

28 Dired,
Dired Emacs, , ,
. Emacs,
, Dired,
.

28.1 Dired
Dired, C-x d M-x dired.
, ,
. dired list-directory ,
Dired, Dired.
dired-listing-switches ls ; -l.
dired , ls ,
.
Dired , , C-x d
C-x 4 d (dired-other-window). C-x 5 d (dired-other-frame)
Dired .

28.2 , Dired
Dired ,
, , d x,
Dired. Dired (
) ; .
Emacs Dired.
. C-n -p ,
,
.
, hSPCi n Dired C-n. p C-p. ( Dired , ,
.) hDELi ( ) .

28.3 Dired
Dired ,
, , .
d

hDELi

, .

, , ,
d (dired-flag-file-deletion). D
. , ,

292

GNU Emacs

d .
.
, , . , Dired
, , u hDELi. u (diredunmark , d, , . hDELi (diredunmark-backward) , ; u 1.
, x (dired-expunge).
, ,
yes. ,
Dired. Dired
.
no C-g,
Dired; ,
.

28.4
#

,
(, #) (. 14.5 [], . 114).

(,
~) (. 14.3.1 [ ], . 110).

&

, , .

. () . ;
.
% d - hRETi
,
-.
#, ~, & . ,
. , ;
, .
& (dired-flag-garbage-files) ,
, dired-garbage-filesregexp. , TEX,
.orig .rej, patch.
# (dired-flag-auto-save-files) ,
(. 14.5 [],
. 114) , #. ~ (diredflag-backup-files) , ,
(. 14.3.1 [ ], . 110)
, ~.
. (, dired-clean-directory)
: ,
. dired-kept-versions ( kept-new-versions;
) , keptold-versions .

28: Dired,

293

, C-u 3 ., , dired-kept-versions.
kept-old-versions, , ,
.
% d ,
(dired-flag-files-regexp).
, .
^ $.
, (. 28.13 [ ], . 299).

28.5 Dired
Dired , Dired,
. ;
, Dired (
Dired).
f

, ; C-x C-f
(dired-find-file). . 14.2 [],
. 106.

hRETi

f.

f,
(dired-find-file-other-window). Dired
. C-x 4 C-f .
. 16 [], . 141.

C-o

, ,
, (dired-display-file).

Mouse-2

, (dired-mouse-findfile-other-window). ,
o.

, , ,
M-x view-file (dired-view-file).
,

. . 14.10 [ ], . 132.

28.6 Dired vs.


D
- ( *). Dired
, (x), ,
*.
*, - . (. 28.3 [ Dired], . 291,
.)
m
*m

* (dired-mark).
n, n . ( n ,
n .)

294

GNU Emacs

**

* (dired-mark-executables).
, .

*@

(dired-mark-symlinks). , .

*/

, , . .. (dired-mark-directories). ,
.

*s

, . .. (dired-marksubdir-files).

u
*u
hDELi
* hDELi

*!

(dired-unmark).

(dired-unmark-backward).
Dired (dired-unmark-allfiles-no-query).

* ? -
, - (dired-unmark-all-files).

hRETi.
,
. y , n !
.
* C-n

(dired-next-markedfile). , .

* C-p

(dired-prev-markedfile)

*t

(dired-do-toggle): , *
, *. , , .

* c
,
(dired-change-marks). , * D.
hRETi .

.
( ), ;
, ,
.
, D , ,
, D:
* c D t * c SPC D * c t SPC
, t.

28: Dired,

295

% m regexp hRETi
* % regexp hRETi
( *) , regexp (dired-mark-files-regexp). % d,
*, D. . 28.4
[ ], . 292.
,
.
^ $. ,
(. 28.13 [ ], . 299).
% g regexp hRETi
( *) , regexp (dired-mark-files-containing-regexp).
% m, ,
.
C-_

Dired,
(dired-undo).

28.7
Dired
. ; , , . ,
:
n, n ,
. ( n , n ,
.)
, - *,
.
.
, . ( Dired, ! %,
.)
C hRETi
(dired-do-copy). , , ( )
.
dired-copy-preserve-time nil,
,
.
D

(dired-do-delete).
, n
. , x (dired-expunge)
.

R hRETi
(dired-do-rename).
, , (
) .

296

GNU Emacs

Dired , ,
, .
H hRETi
(dired-do-hardlink).
, , (
) .
S hRETi
(dired-do-symlink). , , (
) .
M hRETi
( )
(dired-do-chmod). chmod,
, chmod .
G - hRETi
- (dired-dochgrp).
O - hRETi
- (dired-do-chown).
( .)
dired-chown-program ,
( chown ).
P hRETi
(dired-do-print).
, , lpr-command lpr-switches (
lpr-buffer ; . 30.4 [], . 331).
Z

(dired-do-compress). ,
- , .

Emacs Lisp (dired-do-load). . 23.7


[ ], . 253.

- Emacs Lisp (dired-do-byte-compile).


. Byte Compilation The Emacs Lisp Reference Manual.

A regexp hRETi
regexp
(dired-do-search).
tags-search.
;
, M-,. . 22.13.5 [ ], . 229.
Q hRETi hRETi
query-replace-regexp ,
( ) (dired-doquery-replace).
tags-query-replace. , M-,
. . 22.13.5 [ ],
. 229.

28: Dired,

297

+ (dired-create-directory).
, .

28.8 Dired
Dired ! (dired-do-shell-command) .
, Dired (. 28.7
[ ], . 295). :
*, ,
* . ,
Dired.
, ! tar cf foo.tar * hRETi tar ,
tar- foo.tar.
*,
.
, ! uudecode hRETi uudecode.
,
, ?
? . ,
uuencode ,
.uu-:
for file in *; do uuencode $file $file >$file.uu; done
Dired.
! Dired,
, ,
. Dired g (. 28.14
[ Dired], . 300).

28.9 Dired
, :
%u

,
(dired-upcase). Foo bar,
FOO BAR.

%l

,
(dired-downcase). Foo bar,
foo bar.

%
%
%
%

R
C
H
S

hRETi
hRETi
hRETi
hRETi
, , ,
, .

hRETi
hRETi
hRETi
hRETi

Dired.
: .

298

GNU Emacs

.
\& \,
, replace-regexp (. 12.7.2 [
], . 96). , .
, % R ^.*$ hRETi x-\& hRETi , x- . , x-
, : % R ^x-\(.*\)$ hRETi \1 hRETi;
% R ^x- hRETi hRETi. ( ^ $ .)
, ;
. ,
, , .

regexp, .
, % m regexp hRETi,
. ,
, %, ,
%.

28.10 Dired
Dired ,
diff.
=

( ) (
), diff (dired-diff).
diff, .

M-=

(dired-backupdiff). ,
;
.
diff .

28.11 Dired
Dired ;
.
Dired
ls -lR. ( Dired ,
.)
, .
;
. i:
i

i (dired-maybe-insert-subdir) , ,
.

28: Dired,

299

Dired .
Dired, ls -lR.
, i .
i Emacs, C-u C-hSPCi
( , ).
l (dired-do-redisplay) . k. . 28.14
[ Dired], . 300.

28.12
Dired , C-x [ C-x ] .
,
Dired. ;
, , .
C-M-n

, (dired-next-subdir).

C-M-p

,
(dired-prev-subdir).

C-M-u

(dired-tree-up).

C-M-d

,
(dired-tree-down).

<

- (dired-prevdirline). ,
.

>

- (dired-prev-dirline).

28.13
,
, (. 11.4 [ ],
. 83).
$

, , (dired-hide-subdir).
.

M-$

Dired,
(dired-hide-all). , - ,
. ,
.

Dired . , , ,
, . , ,
, .
; , ,
, , .

300

GNU Emacs

28.14 Dired
Dired, ( Dired) ,
Dired.
g

Dired (revert-buffer).

(dired-do-redisplay).

,
(dired-do-kill-lines).

/
(dired-sort-toggle-or-edit).

C-u s hRETi
Dired, dired-listingswitches.
g (revert-buffer), Dired ,
.
, , . ,
.
, l (dired-do-redisplay). n , , ,
.
.
l ,
.
, k (dired-do-kill-lines). n,
n ; .
, ,
.
Dired C-u k .
g , ,
i, .
Dired .
Dired . Dired s (dired-sort-toggleor-edit) . Dired , :
.
C-u s hRETi dired-listingswitches.

28.15 Dired find


Dired ,
find.
, , M-x
find-name-dired.
, .
Dired,
Dired.

28: Dired,

301

, , M-x
find-grep-dired. , regexp; , regexp. find grep.
M-x grep-find, 23.1 [], . 247. ,
grep, Emacs.
M-x find-dired,
, find.
, -find; find , -find, , find.
, find.
, , findls-option; ls -ld.
, .

302

GNU Emacs

29:

303

29
Emacs
. , M-x calendar; , ,
. , C-u M-x calendar, , .
c Calendar.
Mouse-2 ; C-Mouse-3
, .
, q. . Calendar The Emacs Lisp Reference Manual,
.

29.1
Calendar , , , .
, , , , .

;
.

29.1.1

. , , .
C-f

(calendar-forward-day).

C-b

(calendar-backward-day).

C-n

(calendar-forward-week).

C-p

(calendar-backward-week).

M-}

(calendar-forward-month).

M-{

(calendar-backward-month).

C-x ]

(calendar-forward-year).

C-x [

(calendar-backward-year).


Emacs . , C-n , Calendar
. C-p .
c C-f, C-b, C-n C-p, .
,
, . M-} M-{
. C-x ] C-x [
.
, . .

304

GNU Emacs

Emacs , ,
.
.
, Calendar Meta. , 100 C-f 100
.

29.1.2 ,
( , ) ; ,
(, ) . Calendar
, :
C-a

(calendar-beginning-of-week).

C-e

(calendar-end-of-week).

M-a

(calendar-beginning-of-month).

M-e

(calendar-end-of-month).

M-<

(calendar-beginning-of-year).

M->

(calendar-end-of-year).

,
, ,
.
. , , calendar-week-start-day
1.

29.1.3
Calendar , .
gd

(calendar-goto-date).

(calendar-other-month).

(calendar-goto-today).

g d (calendar-goto-date) , ,
. ,
; 1990, 90.
o (calendar-other-month) ,
.
. (calendar-gototoday).

29:

305

29.2
, . . ,
. ,
.
C-x <

(scroll-calendar-left).

C-x >

(scroll-calendar-right).

C-v
hNEXTi

(scroll-calendar-left-threemonths).

M-v
hPRIORi

(scroll-calendar-right-threemonths).

.
,
. C-x < ;
. C-x > ,
.
C-v M-v
. C-v ,
M-v .
; , C-u , C-u
C-v , C-u M-v .
hNEXTi hPRIORi C-v M-v,
.

29.3
M-=

(calendar-count-days-region).

, M-= (calendar-count-days-region).
; , ,
.

29.4
pd

(calendar-print-day-of-year).

C-c C-l

(redraw-calendar).

SPC

(scroll-other-window).

(exit-calendar).

,
, p d (calendar-print-day-of-year).
-. .
.
, C-c C-l (redraw-calendar)
. ( , Calendar.)

306

GNU Emacs

Calendar SPC (scroll-other-window)


. ,
.
, q (exit-calendar).
, , . (
, .)

29.5 LaTeX
LaTEX LaTEX-,
.
, , , .
tm

(cal-tex-cursor-month).

tM

(cal-tex-cursor-monthlandscape).

td

(cal-tex-cursor-day).

tw1

(cal-tex-cursorweek).

tw2

(cal-tex-cursorweek2).

tw3

ISO (cal-tex-cursor-week-iso).

tw4

, (caltex-cursor-week-monday).

tfw

Filofax (caltex-cursor-filofax-2week).

tfW

Filofax (cal-texcursor-filofax-week).

ty

(cal-tex-cursor-year).

tY

(cal-tex-cursor-yearlandscape).

tfy

Filofax (cal-tex-cursor-filofaxyear).

( ), .
Filofax (3.75 6.75 ).
, , , (
).
cal-tex-holidays nil ( ), calendar-holidays. caltex-diary nil ( nil),
( ). nil cal-texrules ( nil), , ,
.

29:

307

29.6
Emacs
.
h

, (calendar-cursorholidays).

Mouse-2 Holidays
, .
x

(mark-calendar-holidays).

(calendar-unmark).

(listcalendar-holidays).

M-x holidays

.
M-x list-holidays
.
, ,
h. Mouse-2
Holidays.
, -, ,
.
,
x. ( *, ). , , , . ,
u, (. 29.10 [], . 313).
, a, ,
. hSPCi .
M-x holidays , ; , .
, , C-u
M-x holidays, .
Emacs ,
; .
M-x list-holidays .
. ,
.
Emacs , ,
. ,
, ,
. , Emacs ,
.

308

GNU Emacs

29.7
-
.
S

(calendarsunrise-sunset).

Mouse-2 Sunrise/Sunset
, .
M-x sunrise-sunset
.
C-u M-x sunrise-sunset
.
- ,
, S.
Mouse-2 Sunrise/Sunset. M-x
sunrise-sunset, ,
. ,
C-u M-x sunrise-sunset, , .

C-u C-u M-x sunrise-sunset. , ,
,
.
, Emacs ,
. :
(setq calendar-latitude 40.1)
(setq calendar-longitude -88.2)
(setq calendar-location-name "Urbana, IL")
calendar-latitude calendar-longitude .
. Emacs , ,
( ),
. :
(setq calendar-time-zone -360)
(setq calendar-standard-time-zone-name "CST")
(setq calendar-daylight-time-zone-name "CDT")
calendar-time-zone () , . calendar-standard-time-zone-name calendar-daylight-time-zone-name
, . Emacs . . 29.12 [
], . 319, , .
,
.emacs.
Emacs , default.el,

. . 31.7 [ ], . 366.

29:

309

29.8
(,
, , ). , .
M


(calendar-phases-of-moon).

M-x phases-of-moon

.
, M.
.
, , M-x phases-of-moon. -
, C-u M-x phases-of-moon, .
( ,
); calendar-time-zone ,
( ). . 29.12
[ ], . 319.

29.9
Emacs , , . ,
;
. Emacs
, ,
, .
Emacs ,
.

29.9.1
ISO .
, ,
.
, , , 4713- .
.
.
Emacs . .
. Emacs .
; Emacs ,

, . , Emacs.
.

310

GNU Emacs

1789-

, ,
.
1805- .
, , , . Emacs . ;
Emacs --.
, .
,
. ,
. ,
.
, .
, 31 ,
30 , 29 30 .
.
,
. ,
12 , 13; 29, 30 . ,

, ,
.

29.9.2
(, )
:
Mouse-2 Other Calendars
, ,
.

ISO

pc


(calendar-print-iso-date).

pj

(calendar-print-julian-date).

pa

()
(calendar-print-astro-day-number).

ph

(calendar-print-hebrewdate).

pi

(calendar-print-islamicdate).

pf

(calendarprint-french-date).

pC

(calendar-print-chinesedate).

pk

(calendar-print-copticdate).

29:

311

pe

(calendar-print-ethiopicdate).

pp

(calendar-printpersian-date).

pm

(calendar-printmayan-date).

X,
Mouse-2 Other Calendars.
,
Emacs. (
.)

. p print, Emacs
-.

29.9.3
, .
, ; , , .
gc

, ISO (calendar-goto-isodate).

gj

, (calendar-goto-juliandate).

ga

, ()
(calendar-goto-astro-day-number).

gh

, (calendar-goto-hebrewdate).

gi

, (calendar-goto-islamicdate).

gf

,
(calendar-goto-french-date).

gC

, (calendar-goto-chinesedate).

gp

, (calendar-goto-persiandate).

gk

, (calendar-goto-coptic-date).

ge

, (calendar-goto-ethiopicdate).

,

-. Emacs (.
5.3 [], . 47), , .
, ,
, yahrzeit. Emacs

312

GNU Emacs

. , M-x list-yahrzeit-dates yahrzeit


. ,
, yahrzeit.

29.9.4
, :
gml

, (calendar-goto-mayanlong-count-date).

gmnt


(calendar-next-tzolkin-date).

gmpt


(calendar-previous-tzolkin-date).

gmnh


(calendar-next-haab-date).

gmph


(calendar-previous-haab-date).

gmnc


(calendar-next-calendar-round-date).

gmpc


(calendar-previous-calendar-round-date).

, .
:
1 = 1 1 = 20 1 = 18
1 = 20 1 = 20
, 12.16.11.16.6 12 , 16 , 11 ,
16 6 . Emacs 7.17.18.13.1, . g m l,
, , , , .
260 , 13 20 . , Emacs
. g m p t, ; Emacs
. ,
g m n t, .
365 , 18 20
, . ,
, . g m p h,
; Emacs
. , g m n h,
.
.
52 , . g m p c, Emacs

. g m n c
. ,
/ .

29:

313

Emacs (. 5.3.3
[ ], . 48), .

29.10
Emacs .
, , . Emacs
, .
Emacs ~/diary.
, calendar. ~/diary:
12/22/1988 Twentieth wedding anniversary!!
&1/1.
Happy New Year!
10/22
Ruths birthday.
* 21, *:
Payday
Tuesday-weekly meeting with grad students at 10am
Supowit, Shen, Bitner, and Kapoor to attend.
1/13/89
Friday the thirteenth!!
&thu 4pm
squash game with Lloyd.
mar 16
Dads birthday
April 15, 1989 Income tax due.
&* 15
time cards due.
. .
, Emacs
, .

29.10.1
~/diary, .
Calendar.
d

(view-diary-entries).

Mouse-2 Diary
, .
s

(show-all-diary-entries).

, (mark-diaryentries).

(calendar-unmark).

M-x print-diary-entries
,
.
M-x diary .
M-x diary-mail-entries
.

314

GNU Emacs

d
.
. d
, . , 2 d
.
-
Mouse-2, Diary.
, m. , , ( +,
). ,
, . , u,
(. 29.6 [], . 307).
, , s.
,
.
, ,
, .
, , ; M-x print-diary-entries.
. , lpr-region
(. 30.4 [], . 331).
M-x diary , ,
, , , ;
number-of-diary-entries . . Calendar The
Emacs Lisp Reference Manual.
.emacs (diary), Emacs
.
.
.
, M-x
diary-mail-entries.
, (
) ;
diary-mail-days.

29.10.2
, , . diary-file;
~/diary. calendar , Emacs,
, ,
.

. . , .
, , ,
. , , .
;
, &.

29:

315

; . ,
.
,
, ;
. , :
02/11/1989
Bill B. visits Princeton today
2pm Cognitive Studies Committee meeting
2:30-5:30 Liz at Lawrenceville
4:00pm Dentist appt
7:30pm Dinner at Georges
8:00-10:00pm concert
.
, , ,
.
, ,
, ,
. , C-f (forward-char)
, ,
- .
!
/ ,
, .
, . s (show-alldiary-entries).

29.10.3
, . , (, , ), Calendar (,
, ) .
4/20/93 Switch-over to new tabulation system
apr. 25 Start tabulating annual results
4/30 Results for April are due
*/25 Monthly cycle finishes
Friday Dont leave without backing up files
, 20 1993 . , (), 25- .
.
, / //. -. ,
. ,
; 11/12/1989,
11/12/89.
- -
, , (
). .

316

GNU Emacs

, . , . ,
. ,
*; , . ,
3/*/* ; march *.

M-x european-calendar
european-calendar-style t . ,
. (, - .)
( ) , M-x american-calendar.
,
, .
( ) ;
.

29.10.4
,
:
id

(insert-diary-entry).

iw

(insert-weeklydiary-entry).

im

(insert-monthlydiary-entry).

iy

(insert-yearly-diaryentry).

,
i d.
; .
, - ,
( ) i w.
; .
. ,
i m .
i y.
. , . , C-u
i w .
, ,
Emacs.

29.10.5
, , sexp- , . (s-), Emacs . sexp- %%,

29:

317

, . ,
.
Calendar
sexp-:
ia

(insertanniversary-diary-entry).

ib

(insert-blockdiary-entry).

ic

,
(insert-cyclic-diary-entry).

, -
, i a.
;
. :
%%(diary-anniversary 10 31 1948) Arthurs birthday
31 1948; 10 31 1948 .
( , .)
, , ,
.
.
, 24 1990 10 1990
.
%%(diary-block 6 24 1990 7 10 1990) Vacation
6 24 1990 , 7 10 1990 . ( ,
, .)
, ,
, i b.
;
.
. , i c. , ,
:
%%(diary-cyclic 50 3 1 1990) Renew medication
1 1990 50- ; 3 1
1990 . ( ,
.)
. , . , C-u i a
.
sexp- , .
sexp- ( &), .
, sexp-, , , , .
crontab, cron.
, :

318

GNU Emacs

&%%(diary-float 11 4 -1) American Thanksgiving


11 ( ), 4 (
, ), 1 (1
, 2 , 2 ).
. , 11
(1 2 3) , ,
. t, .
, sexp-
. . Sexp Diary Entries The Emacs Lisp
Reference Manual.

29.11
,
, Emacs
. Emacs ,
.
, Emacs , M-x display-time (. 1.3 [ ], . 25).
diary-hook appt-make-list
:
(add-hook diary-hook appt-make-list)
.emacs :
(display-time)
(add-hook diary-hook appt-make-list)
(diary 0)
, (
d M-x diary), ,
, ,
.
, :
Monday
9:30am Coffee break
12:00pm Lunch
, ,
9:20 11:50 .
am/pm ( 12:00am ,
12:00pm ) / . ; .
Emacs .
,
appt-display-diary nil.
. M-x appt-add ,
. M-x appt-delete.
,
appt-issue-message nil.

29:

319

29.12
Emacs , , , , .
. , Emacs
, .
, , ; Emacs
. , Emacs
, , . , , Emacs
, : calendar-daylight-savingsstarts calendar-daylight-savings-ends.
,
year
( ). nil,
.
Emacs
,
.
:
(calendar-nth-named-day 1 0 4 year)
(calendar-nth-named-day -1 0 10 year)
() ()
, year, ()
. 1 ,
calendar-daylight-savings-starts :
(list 10 1 year)
, , calendar-daylight-savings-starts calendardaylight-savings-ends nil.
calendar-daylight-time-offset , . 60.
calendar-daylight-savings-starts-time calendar-daylight-savingsends-time ,
.
120.

320

GNU Emacs

30:

321

30
, : , , Emacs ,
, , ,
, , Emacs
, .

30.1 Gnus
Gnus Emacs, Usenet.
, , .
Gnus .
Gnus M-x info
Gnus.
Gnus, M-x gnus hRETi.

30.1.1 Gnus
Emacs, Gnus .
: , .
. , Gnus
. , ,
.
.
.
, ,
, , Gnus. ,
, , .
.
. Gnus , ,
. Gnus , .

30.1.2 Gnus
Gnus .newsrc
, .
, .
Gnus ,
, L A k, .
u, .
Gnus ,
. ;
A k. ,
, ; A z, .
, , u.

322

GNU Emacs

Gnus q,
.newsrc .newsrc.eld .
, , .

30.1.3 Gnus
:
1. .
2. .
.
Gnus ; ,
Gnus , .
:
q

, .newsrc Gnus.
, . , q, Gnus.

,
( , ). !

, , ,
.

, ( ) , , . Gnus,
q, Gnus .newsrc ,
. Gnus ,
Gnus , .

C-k

, .newsrc. Gnus,
.
Gnus q, Gnus
.newsrc, , , .

hSPCi

,
.
,
, .
( ).
, .
, ,
hSPCi.

hDELi

, , .
, .

30:

C-n
C-p
s

323

, . .
,
, ,
C-s.

M-s regexp hRETi


, , regexp.

30.2 Emacs
Emacs .
Emacs *shell*.
M-! hRETi
(shellcommand).
M-| hRETi
; (shellcommand-on-region).
M-x shell Emacs.
.

30.2.1
M-! (shell-command) , .
. -
, Emacs *Shell Command Output*, , . , M-1 M-!,
. ,
.
&, .
shell-command (0 ), -.
M-| (shell-command-on-region) M-!, , .
, , , . ,
.
M-! M-| , shell-file-name.
Emacs SHELL. , exec-path; Emacs
PATH. .emacs ,
.
M-! M-| . ,
C-g; SIGINT
, C-c. Emacs ,

324

GNU Emacs

. (
SIGINT), C-g ; SIGKILL,
.
M-! M-|, C-x hRETi c
. . 18.9 [ ], . 168.
.
shell-command-default-error-buffer ,
, .

30.2.2
Emacs M-x shell. ( ) *shell*
, , ,
. , ,
, . ,
hRETi.
Emacs , - .
, , .
, Emacs ;
, Emacs ,
.

explicit-shell-file-name, nil. , ESHELL , SHELL.
, exec-path;
PATH Emacs. .emacs
.
,
C-x hRETi c M-x shell. C-x hRETi p . . 18.9
[ ], . 168.
, ~/.emacs_, , - , . , bash,
~/.emacs_bash.
cd, pushd popd, ,
Emacs , *shell* .
. , Emacs,
. , shell-pushdregexp ,
pushd. pushd ,
. , shell-popd-regexp shell-cd-regexp
, popd cd.
.
Emacs , cd, pushd popd, shell-set-directory-error-hook (.
31.2.3 [], . 349).
Emacs , M-x dirs, , .

30:

325

,
; .
M-x dirtrack-mode, ( )
.
Emacs EMACS t.
, , Emacs.

30.2.3 Shell
Shell,
, C-c. , , Emacs,
, C-c.
Shell.
hRETi

, ; (send-shell-input).
,
shell-prompt-pattern, ;
, ,
.

hTABi

(comintdynamic-complete). hTABi (. 30.2.4.3 [ ], . 328) .


shell-completion-fignore , Shell.
, ~, #
%. Comint comintcompletion-fignore.

M-?


(comint-dynamic-list-filename-completions).

C-d

, eof (comint-delchar-or-maybe-eof).
, C-d eof. , C-d , .

C-c C-a

, , (comint-bol).
,
, , . (
C-c hSPCi .)

C-c hSPCi

, .
,
. , ,
, , , (
), hRETi.

C-c C-u

, (comintkill-input).

C-c C-w

(backward-kill-word).

C-c C-c

, (comintinterrupt-subjob).
, .

326

GNU Emacs

C-c C-z

,
(comint-stop-subjob). ,
.

C-c C-\

, (comint-quit-subjob). , .

C-c C-o

(comint-killoutput). , ,
.

C-c C-r
C-M-l

, ; (comint-show-output).

C-c C-e

,
(comint-show-maximum-output).

C-c C-f

,
(shell-forward-command). shell-command-regexp ,
.

C-c C-b

,
(shell-backward-command).

C-c C-l

(comintdynamic-list-input-ring).

M-x dirs

, Emacs
.

M-x send-invisible hRETi hRETi


. ,
, .
Emacs, :
(add-hook comint-output-filter-functions
comint-watch-for-password-prompt)
M-x comint-continue-subjob
. ,
.1
M-x comint-strip-ctrl-m
control-M .
, . , :
(add-hook comint-output-filter-functions
comint-strip-ctrl-m)
M-x comint-truncate-buffer

, comint-buffer-maximum-size.
:
1

.
, , ;
.

30:

327

(add-hook comint-output-filter-functions
comint-truncate-buffer)
Shell ,
. ,
.
Shell Comint,
. Shell Comint, .
Shell
, .
Emacs, Comint, GUD (.
23.5 [], . 249) M-x run-lisp (. 23.10 [ ],
. 256).
M-x comint-run
Comint Shell.

30.2.4
.
, ;
, , ,
.
.
! .

30.2.4.1
M-p

M-n

M-r regexp hRETi


M-s regexp hRETi
, regexp, .
C-c C-x ( Shell)
.
. , , M-p, M-n, M-r M-s. , ,
, ,
.
M-p .
M-p ,
, . M-n ,
.
, M-r M-s,
. ,
, , M-p M-r.
, ,
.

328

GNU Emacs

, ,
, .
,
. ,
. C-c C-x;
, . hRETi,
. ,
C-c C-x hRETi .

, .
,
.
, x. Emacs
, . ~/.bash_history bash, ~/.sh_history ksh
~/.history .
hRETi,

30.2.4.2
(comint-previous-prompt).
(comint-next-prompt).
, ,
(comint-copy-old-input). ,
. , ,
, hRETi. ,
.
C-c
hRETi M-p , .
, C-c hRETi , , , ,
.
C-c C-p
C-c C-n
C-c hRETi

30.2.4.3
, csh bash, ,
! ^. Shell
. hTABi,
, , ,
. ,
, mv, ! m v hTABi.
, , , hRETi.
. shellprompt-pattern , . , Comint comint-prompt-regexp; Shell
shell-prompt-pattern, comint-prompt-regexp.
Shell ,
. , comint-input-autoexpand
input.
, hSPCi , hSPCi
comint-magic-space.

30:

329

30.2.5 Shell
comint-scroll-to-bottom-on-input nil,
.
comint-scroll-show-maximum-output nil, - ,
. (
.) nil.
comint-scroll-to-bottom-on-output ,
,
. this, .
all, ,
Comint. other, ,
. nil, ,
.
comint-input-ignoredups , . nil ,
. nil; ,
, .
. comintcompletion-addsuffix , ,
(-nil ). comint-completion-recexact, nil, hTABi
, Emacs
. comint-completion-autolist, nil,
, .
comint-dynamic-complete-variable ,
Emacs. ,
, .
.
.
shell-command-execonly nil,
.
pushd. , ,
pushd, cd, (shell-pushd-tohome), , , (shell-pushddextract), ,
(shell-pushd-dunique). , ,
.

30.2.6
Emacs
Emacs.
M-x telnet hRETi - hRETi
- Telnet.
M-x rlogin hRETi - hRETi
- Rlogin.
M-x telnet, Telnet . (Telnet Internet .)

330

GNU Emacs

.
, :
Emacs , hRETi. .
M-x rlogin Rlogin. Rlogin , Telnet,
. Rlogin
, , ,
. ( Emacs, rloginexplicit-args ("-8") Rlogin.)
M-x rlogin Emacs, FTP (. 14.1 [ ], . 105),
, , ,
Shell.
Rlogin
/:/, ( ,
).
rlogin-directory-tracking-mode,
. ,
,
.

30.3 Emacs
, mail,
, , . , EDITOR, , . EDITOR emacs,
Emacs , Emacs.
, Emacs
.
, mail Emacs, Emacs.
.
-, . Emacs, server-start. (
.emacs , (serverstart).) , Emacs, EDITOR emacsclient.
(, ; ,
TEX emacsclient, TEXEDIT
emacsclient +%d %s.)
, EDITOR, Emacs ,
. ( emacsclient .) Emacs
, .
, C-x # (server-edit).
emacsclient , . , EDITOR, , ( , emacsclient)
. C-x #
.

30:

331

, ;
C-x #. C-x # , .
server-window , C-x #
.
mail emacsclient, emacsclient
. , mail, . Emacs, Emacs . :
, mail Emacs .
mail emacsclient, , , ,
Emacs, .
, mail, Shell Emacs;
emacsclient Emacs,
Emacs .
. , ,
. Emacs ,
, - . , ,
. server-temp-file-regexp, ,
;
, .
emacsclient -no-wait, , , Emacs.

30.4
Emacs
. Dired
(. 14.10 [ ], . 132) (. 29.10.1
[ ], . 313).
M-x print-buffer
,
.
M-x lpr-buffer
.
M-x print-region
print-buffer, .
M-x lpr-region
lpr-buffer, .
( Postscript) lpr , lpr-switches.
, , -.
, , Emacs, lpr-switches :
(setq lpr-switches ("-w80"))
, ,
printer-name.

332

GNU Emacs

lpr-command ;
.
"lpr". lpr-headers-switches . lpr-add-switches ,
-T -J ( lpr): nil ,
. lpr-add-switches nil,
lpr.

30.5 Postscript
Postscript ,
Emacs.
M-x ps-print-buffer
Postscript.
M-x ps-print-region
Postscript.
M-x ps-print-buffer-with-faces
Postscript, Postscript.
M-x ps-print-region-with-faces
Postscript, Postscript.
M-x ps-spool-buffer
Postscript .
M-x ps-spool-region
Postscript .
M-x ps-spool-buffer-with-faces
Postscript , .
M-x ps-spool-region-with-faces
Postscript , .
Postscript, ps-print-buffer ps-print-region, Postscript. ,
. -with-faces, ps-print-buffer-withfaces ps-print-region-with-faces, Postscript ( ) .
, ,
, , Font-Lock
ps-print-buffer-with-faces.
, spool print, Postscript
Emacs, .

30.6 , Postscript
Postscript ps-lpr-command pslpr-switches, , . ps-lpr-command , ps-lpr-switches , ps-printer-name

30:

333

. ,
lpr-command lpr-switches. ps-printer-name nil,
printer-name.
ps-print-header ,
, nil, .
, ps-print-color-p nil.
ps-paper-type , ; a4, a3, a4small, b4, b5, executive, ledger, legal,
letter, letter-small, statement, tabloid. letter.
, ps-page-dimensionsdatabase.
ps-landscape-mode . nil, . nil
.
ps-number-of-columns ; , . 1.
ps-font-family , . Courier, Helvetica,
NewCenturySchlbk, Palatino Times. ps-font-size
. 8.5 .

ps-print.el.

30.7
Emacs . ( ).
,
, . ,
, , . A Z ,
ASCII.
, ,
.
,
.
, .
M-x sort-lines
. .
M-x sort-paragraphs
, ( ).
.
M-x sort-pages
,
( ). , .

334

GNU Emacs

M-x sort-fields
,
. , 1,
2, .
, ,
: 1 1, .
, ;
1 .
,
, .
M-x sort-numeric-fields
M-x sort-fields, ,
, .
10 2, , 2,
.
M-x sort-columns
M-x sort-fields, ,
. .
M-x reverse-region
.
,
.
, :
On systems where clash detection (locking of files being edited) is
implemented, Emacs also checks the first time you modify a buffer
whether the file has changed on disk since it was last visited or
saved. If it has, you are asked to confirm that you want to change
the buffer.
M-x sort-lines :
On systems where clash detection (locking of files being edited) is
implemented, Emacs also checks the first time you modify a buffer
saved. If it has, you are asked to confirm that you want to change
the buffer.
whether the file has changed on disk since it was last visited or
O .
C-u 2 M-x sort-fields, :
implemented, Emacs also checks the first time you modify a buffer
saved. If it has, you are asked to confirm that you want to change
the buffer.
On systems where clash detection (locking of files being edited) is
whether the file has changed on disk since it was last visited or
Emacs, If, buffer, systems the.
M-x sort-columns . , , . ,
, , :
, ,
, .

30:

335

, , 10
15, 10, 15
sort-columns.
15 , 10 .
, , ,
. . 9.4 [],
. 74.
,
sort-fold-case nil.

30.8
,
. , ,
. ,
, .
- .
,
.
.
C-x n n

(narrow-to-region).

C-x n w

, (widen).

C-x n p

(narrow-to-page).

C-x n d

(narrow-to-defun).

, , .
, (
) . ,
, .
Narrow.
C-x n n (narrow-to-region).
,
, .
.
C-x n p (narrow-to-page) . . 21.4 [], . 184, . C-x n d (narrow-todefun) , (. 22.4 [
], . 208).
C-x n w (widen).
.
, , C-x =. . 4.9 [ ], . 40.
, ,
narrow-to-region .
;
, . . 31.4.11 [ ], . 364.

336

GNU Emacs

30.9
Two-column . , .
:
hF2i

2 C-x 6 2
two-column, , , (2C-two-columns).
, ; .
,
, .

hF2i

s or C-x 6 s
(2C-split).
, .
.
.
, ,
.

b hRETi
C-x 6 b hRETi
two-column,
(2C-associate-buffer).
hF2i

hF2i s C-x 6 s , , .
hF2i s; , , . 1,
.
, hF2i s . , ,
; ,
. ( , :
.)
C-x 6 hRETi hF2i hRETi (2C-newline) .
, .
, ,
hF2i 1 C-x 6 1 (2C-merge).
. , hF2i s.
hF2i d C-x 6 d, ,
(2C-dissociate). , , hF2i d,
, hF2i d .

30.10
:
Hexl.
, M-x
hexl-find-file C-x C-f.

30:

337

.
, .
M-x hexl-mode . ,
, .
Hexl .
.
. Hexl:
C-M-d

C-M-o

C-M-x

C-x [

1k- .

C-x ]

1k- .

M-g

, .

M-j

, .

C-c C-c

Hexl, ,
, hexl-mode.

30.11 Emacs
Desktop Emacs . , Emacs
, , ,
Emacs.
Desktop, Customization (.
31.2.2 [ ], . 344) desktop-enable nil
.emacs:
(desktop-load-default)
(desktop-read)
, Emacs, , M-x desktop-save. ,
Emacs Emacs,
.
Emacs, M-x desktop-save.
Emacs ,
, . ,
desktop-read , ,
. ,
; , Emacs, ,
.
desktop-files-not-to-save , . ,
. ( FTP) ; .
, desktop-filesnot-to-save "^$". . 14.12 [ ], . 134.

338

GNU Emacs

30.12
, Emacs
,
Emacs. , C-r query-replace
, . , query-replace.
, . C-M-c (exitrecursive-edit).
. ,
. C-] (abort-recursive-edit).
. 32.1 [], . 371.
, ,
,
.
, Emacs
, - .
. , C-r query-replace , . C-r.

.
(,
c ) .
C-M-c, , . .
: .
, .
, M-x top-level ,
.
, ,
, . , . ,
, , , . ,
( , , ). ,
, .
(, ).
,
.
GNU Emacs. , . ,
, , .
, .

30:

339

,
.

30.13
GNU Emacs (
) . :
EDT ( DEC VMS)
EDT M-x edt-emulation-on. M-x edt-emulation-off Emacs .
EDT , Emacs . EDT , , EDT
.
vi ( )
Viper vi. :
1 vi, 5 ,
Emacs. Viper,
M-x viper-mode;
. . Info viper, node Top.
vi ( )
M-x vi-mode , . vi, vi ,
. , Emacs vi.
vi ,
. Emacs.
vi, , ,
vi-mode.
vi ( )
M-x vip-mode vi, ,
vi , M-x vi-mode.
Emacs,
vi hESCi. vi
Emacs C-z.
,
.
vip-mode , vimode, .
. Info vip, node Top, .

30.14
M-x dissociated-press
. ,
. Emacs.
*Dissociation*, , , ()
.

340

GNU Emacs

, .
n.
C-g. *Dissosiation*,
.

. , ,

. ,
,
, .2 .
M-x dissociated-press . .
, , . , . ,
*Dissociation*. , , .
, ,
, . , , . ,
.
.
,
. .
,
. . .

30.15
, M-x hanoi. ,
. - ,
9. .
, M-x gomoku,
--.
M-x blackbox M-x mpuz . blackbox
. mpuz
, , , .
, , , , ,
.
M-x dunnet ; .
, Eliza. M-x
doctor. hRETi.
, M-x yow.

,
.

31:

341

31
, Emacs. , , The Emacs
Lisp Reference Manual.
Emacs, .
Emacs
Emacs, .
Emacs -
. , ,
.emacs ,
. . 31.7 [ ], . 366.

31.1
, . , Auto Fill ,
hSPCi , . .
, , ; , Fill , Auto Fill.
, , -mode. ,
Auto Fill M-x auto-fill-mode. M-x,
. , , , . .
,
.

; . , . ,
, Abbrev, Auto Fill, Auto Save,
Font-Lock, Hscroll, ISO Accents, Outline, Overwrite Binary Overwrite.
Abbrev , . , amd abbrev mode. . 24 [], . 257, .
Auto Fill .
Emacs , , . . 21.5 [], . 185.
Auto Save Emacs ,
. . 14.5
[], . 114.
Enriched . .
21.11 [ ], . 198.
Flyspell . . 13.4 [], . 102.
Font-Lock , , , . , .
. 17.13 [], . 155.

342

GNU Emacs

Hscroll ,
. . 11.2 [ ], . 82.
ISO Accents , , ", ^, / ~
ISO Latin-1. . 18.12 [
], . 172.
Outline , ,
Outline; ,
. . 21.8 [ Outline], . 190.
Overwrite . , B FOOBAR, Overwrite G FOOGAR, FOOGBAR,
. Overwrite, C-q , ,
, .
Binary Overwrite Overwrite ; ,
,
.
. , - ,
. . 31.2.4 [ ],
. 350.
Icomplete , . . 5.3.4 [ ], . 49.
Line Number . .
1.3 [ ], . 25.
Resize-Minibuffer , , . . 5.2 [ ], . 46.
Scroll Bar (. 17.11
[ ], . 154). Menu Bar
(. 17.12 [ ], . 155).
X Window System.
Transient Mark, ,
, , . ,
, , . Transient Mark ,
Emacs (
X). . 8.1 [ ], . 63.
,
, . ,
-nil, . , outline-minor-mode ,
outline-minor-mode ; Outline. ,
, C-h v, .
;
. , , ,

31:

343

, ,
, .

31.2
, .
.
, , , . , ,
, .
,
Emacs . . ,
, nil, , nil, ,
. , t.
, Emacs
. ,
, , . Emacs ()
, ,
Emacs.
.
(. [ ], . 459).
, , fillcolumn; ( ),
(. 21.5 [], . 185).

31.2.1
C-h v hRETi
(describevariable).
M-x set-variable hRETi hRETi hRETi
.
, C-h v
(describe-variable),
. , .
,
C-h v fill-column hRETi
:
fill-columns value is 75
Documentation:
*Column beyond which automatic line-wrapping should happen.
Automatically becomes buffer-local when set in any fashion.
,
. C-h v , .

344

GNU Emacs

M-x
set-variable. (
), ,
. ,
M-x set-variable hRETi fill-column hRETi 75 hRETi
fill-column 75.
M-x set-variable ,
,
setq. fill-column
setq:
(setq fill-column 75)
, , *scratch*, C-j. . 23.9 [ ], . 255.
Emacs, , Emacs, , .

31.2.2
M-x
customize. ,
Emacs, ,
.
. ( Emacs, .)

31.2.2.1
,
. , ,
Emacs.
M-x customize ,
Emacs , . ,
:
/- Emacs group: ----------------------------------\
[State]: visible group members are all at standard settings.
Customization of the One True Editor.
See also [Manual].
Editing group: [Go to Group]
Basic text editing facilities.
External group: [Go to Group]
Interfacing to external utilities.

\- Emacs group end --------------------------------/
, Emacs. , . ,

31:

345

, .
; Emacs [State].
,
, .
; , -, . Mouse-1,
hRETi.
, [Go to Group], ,
. [Go to Group] , . -
.
Emacs ,
. , . ,
.
,
M-x customize-browse. , ( ) .
,
[+]. , [-];
.
, ,
[Group], [Option] [Face]. ,
, .
.

31.2.2.2
, :
Kill Ring Max: [Hide] 30
[State]: this option is unchanged from its standard setting.
Maximum length of kill ring before oldest elements are thrown away.
, [Hide], 30 . [Hide] [Show], ,
; , .
[Show], .
, ,
: , ,
. [State] ;
, Mouse-1 hRETi.
.
[State] .
, [More];
, .
Kill Ring Max, . , M-d
.
, , [State] ,
, :

346

GNU Emacs

[State]: you have edited the value as text, but not set the option.
.
. ,
[State] Set for Current Session.
, :
[State]: you have set this option, but not saved it for future sessions.
, ;
, .
, , , - , , M-hTABi
(widget-complete), .
.
.
[Value Menu]; . /
[Toggle], . [Value Menu] [Toggle] ;
, Set for Current Session.
. ,
load-path . ,
:
Load Path:
[INS] [DEL] [Current dir?]: /usr/local/share/emacs/20.3/site-lisp
[INS] [DEL] [Current dir?]: /usr/local/share/emacs/site-lisp
[INS] [DEL] [Current dir?]: /usr/local/share/emacs/20.3/leim
[INS] [DEL] [Current dir?]: /usr/local/share/emacs/20.3/lisp
[INS] [DEL] [Current dir?]: /build/emacs/e20/lisp
[INS] [DEL] [Current dir?]: /build/emacs/e20/lisp/gnus
[INS]
[State]: this item has been changed outside the customization buffer.
List of directories to search for files to load....
,
.
.
, [DEL] .
, [INS] , .
[Current dir?], nil. (nil
).
, hTABi S-hTABi, . hTABi (widget-forward) ; S-hTABi (widget-backward) .
hRETi , ,
hTABi. ,
hRETi . , C-o C-q C-j.
Emacs; .
~/.emacs, ,

31:

347

Emacs. , [State]
Save for Future Sessions.
,
[State] Reset to Standard Settings. :
Reset

, ,
.

Reset to Saved

.
Reset to Standard Settings
.
, Emacs
.
, - , . Set for Current Session, Save for
Future Sessions Reset ;
.
,
:
[Set for Current Session] [Save for Future Sessions]
[Reset] [Reset to Saved] [Reset to Standard]
[Bury Buffer]
[Bury Buffer] .
,
, , .

31.2.2.3
,
. ,
, .
:
Custom Changed Face: (sample)
[State]: this face is unchanged from its standard setting.
Face used when the customize item has been changed.
Attributes: [ ] Bold: [toggle] off
[X] Italic: [toggle] on
[ ] Underline: [toggle] off
[ ] Inverse-Video: [toggle] on
[ ] Foreground: black (sample)
[ ] Background: white (sample)
[ ] Stipple:
. [x] , ; X , .
, . ,
.

348

GNU Emacs

-
: black, white, gray, gray1 gray3. Emacs ,
.
, , (. 31.2.2.2 [ ], . 345).
. , ,
. , Show Display Types ,
[State].
, M-x modify-face. ,
. , , hRETi,
. none , .

31.2.2.4
, ,
, , , .
M-x customize-option hRETi hRETi
.
M-x customize-face hRETi hRETi
.
M-x customize-group hRETi hRETi
.
M-x customize-apropos hRETi regexp hRETi
, ,
regexp.
M-x customize-changed-options hRETi hRETi
, ,
Emacs.
M-x customize-saved
, ,
.
M-x customize-customized
, ,
, .

, , M-x customize-option
.
, . ,
, , .
,
. M-x customize-face.
,
M-x customize-group.

31:

349

, -, . .
, [Show].
, ,
M-x customize-apropos. ; ,
, . , ,
( ).
Emacs,
, , .
, M-x customize-changed-options
Emacs. ,
( ),
.
, , ,
. customize-saved, , . M-x customize-customized
, , ,
.

31.2.3
Emacs.
, ,
. ( .) . ,
Emacs ,
.

.
, .
. , suspend-hook
, Emacs .
3.1 [ Emacs], . 33).
Emacs . ,
. ,
. Emacs, -hook, .
.
-hooks -functions, -hook.
, - , , - . ,
find-file-not-found-hooks (. 14.2 [], . 106) ,
nil , .
, .
( , )
add-hook. , ,

350

GNU Emacs

( ). ,
.
, Auto Fill
Text , Text:
(add-hook text-mode-hook turn-on-auto-fill)
,
. (
). .
(setq my-c-style
((c-comment-only-line-offset . 4)
(c-cleanup-list . (scope-operator
empty-defun-braces
defun-close-semi))
(c-offsets-alist . ((arglist-close . c-lineup-arglist)
(substatement-open . 0)))))
(add-hook c-mode-common-hook
(function (lambda ()
(c-add-style "my-style" my-c-style t))))
, .
. , : , , .

31.2.4
M-x make-local-variable hRETi hRETi
.
M-x kill-local-variable hRETi hRETi
, .
M-x make-variable-buffer-local hRETi hRETi
,
.

Emacs. ,
. .
Emacs , ,
.
M-x make-local-variable
. ,
.
M-x make-variable-buffer-local
, .
, , make-local-variable.
.
(. 19 [ ], . 175)
.

31:

351

.
, nil, (. 31.1
[ ], . 341). .
Emacs , . abbrev-mode, auto-fill-function, case-fold-search,
comment-column, ctl-arrow, fill-column, fill-prefix, indent-tabs-mode, left-margin,
mode-line-format, overwrite-mode, selective-display-ellipses, selective-display,
tab-width truncate-lines. , .
,
(. 17.8 [ ], . 152).
- ,
.
M-x kill-local-variable .
. ,
.
, ,
, setq-default.
setq, ,
( ).
, ,
. :
(setq-default fill-column 75)
setq-default ,
make-variable-buffer-local.
default-value.
. ;
. ,
fill-column:
(default-value fill-column)

31.2.5
, Emacs.
,
, , .
:
. , :
-*- mode: -; : ; ... -* /,
, . mode: -;
; . ,
. , Lisp
:

352

GNU Emacs

;; -*-mode: Lisp; fill-column: 75; comment-column: 50; -* :


coding.
, Emacs . . 18.7 [
], . 165.
, . (
.) , Local Variables:, , End:. , ,
: . , .
, -*-, Emacs
-*-, .
:
;;; Local Variables: ***
;;; mode:lisp ***
;;; comment-column:0 ***
;;; comment-start: ";;; " ***
;;; comment-end:"***" ***
;;; End: ***
, ;;;
***. Emacs , ,
Local Variables:;
.
/
, ,
. , ;;;
***; comment-start comment-end
Emacs .
, .
: mode ,
eval , .
mode eval ;
mode eval . mode
, .
mode
, ; ,
, , , .
,
.
, Auto Fill
. . Auto Fill
, . Auto Fill, .emacs,
( ) (. 31.7 [ ],
. 366).
.
, 3000 , , .
Emacs . , Local Variable:,

31:

353

, Emacs, ,
, .
normal-mode ,
, . . 19.1 [ ], . 175.
enable-local-variables , , .
t, . nil, Emacs
. , ,
, .
eval ;
, Emacs. enable-local-eval , Emacs eval, ,
-hook, -hooks, -function -functions, . : t, nil
- , , enable-local-variables. maybe, t nil, Emacs
.

31.3
, . , ,
C-n C-d , ,
C-n C-d 40.
C-x (

(start-kbd-macro).

C-x )

(end-kbd-macro).

C-x e

(call-last-kbd-macro).

C-u C-x ( .
C-x q

, (kbd-macro-query).

M-x name-last-kbd-macro
( )
.
M-x insert-kbd-macro
.
C-x C-k

(edit-kbdmacro).

M-x apply-macro-to-region-lines
.
Emacs ,
Emacs, . . ,

354

GNU Emacs

Emacs ,
- . .
, . , . , ,
, . ,
, .
, .

31.3.1
C-x ( (start-kbdmacro). - ,
.
Def, , . , C-x )
(end-kbd-macro) ( !). ,
C-x ( M-f foo C-x )
foo.
C-x
e (call-last-kbd-macro),
. C-x )
, ,
( , ).
, C-x ) 4 3
. 0 C-x e C-x )
( , C-g , MS-DOS, C-hBREAKi).
,
,
. , ,
,
.
.
, -
, C-u C-x ). C-x (, . ,
, .
,
, . ,
: , , ,
. , . (
.)
, ,
C-M-c (exit-recursive-edit).
, , , . , ,
,
.
, C-x
C-k (edit-kbd-macro). ,

31:

355

C-x e M-x - .

. C-h m,
. , C-c C-c.
M-x apply-macro-to-region-lines .
, .

31.3.2
, ,
, M-x name-last-kbd-macro.
, , .
, M-x
global-set-key (. 31.4.1 [ ], . 356).
, , , , .
, .
.
, . :
M-x insert-kbd-macro hRETi - hRETi
-, , ,
, . ( ,
-, insert-kbd-macro .)
. load-file (.
23.7 [ ], . 253). , ,
~/.emacs (. 31.7 [ ], . 366),
, Emacs.
insert-kbd-macro , - ( ),
; , ,
.

31.3.3
C-x q (kbd-macro-query), , query-replace, , . C-x q ,
. ,
, C-x q
.
C-x q hSPCi ( y), hDELi ( n), hRETi
( q), C-l C-r. , query-replace,
query-replace .
hSPCi , hDELi . hRETi
. C-l
.
C-r , , .

356

GNU Emacs

C-M-c, ,
. hSPCi, .
C-u C-x q, C-x q ,
. , , , .
, , , .
-
. . 30.12 [ ], . 338.

, . . 10.5 [], . 78.

31.4
, ,
, . ,
.
, , . , ,
.

31.4.1
-
, . Emacs ,
.
, ( , ) , .
, , .
, , .
.
, . Fundamental;
. ,
.
, , g, , self-insert-command.
Emacs, C-a, . ,
M-x global-set-key, . . 31.4.5 [],
. 359.
Meta- ; Emacs Meta- ,
hESCi. M-a, Emacs hESCi a. Meta ,
. , -
.

31:

357

. , ,
, .
; , , ,
. ( hESCi [.) Emacs ,
, ,
( ). ,
, Emacs ,
.
. , ,
. ; ,
. (, ,
).
.
, ,
. ;
, , .

. , C-x hSELECTi . hSELECTi , hSELECTi C-n .
, ,
.
; ,
, C-c,
. ,
Emacs. hF5i hF9i .
- , ,
.

31.4.2
, C-x hESCi, , , .
,
. , ; ,
, , . ,
C-x Ctl-X-Prefix,
C-x. C-c, C-x, C-h hESCi
, .
,
; Menu Bar The Emacs Lisp Reference Manual, .
, ,

358

GNU Emacs

; Menu Keymaps The Emacs Lisp Reference Manual, .


:
ctl-x-map , ,
C-x.
help-map , C-h.
esc-map , hESCi. , Meta- .
ctl-x-4-map , C-x 4.
mode-specific-map , C-c.

31.4.3
.
Emacs,
. , C hTABi
.
.
. , , .
Lisp
, .
lisp-mode-map .
. . ,
.
. ,
.
,
.
, ( )
: ,
. , C-c
, C-z ,
C-c C-z. ,
C-c; ,
.
, Emacs
, ,
.
,
. ,
, .

. , .
- ~/.emacs
, ,
.

31:

359

, texinfo-mode Texinfo
texinfo-mode-hook. , ( , ) C-c n
C-c p Texinfo:
(add-hook texinfo-mode-hook
(lambda ()
(define-key texinfo-mode-map
"\C-cp"
backward-paragraph)
(define-key texinfo-mode-map
"\C-cn"
forward-paragraph)
))
. 31.2.3 [], . 349.

31.4.4
;
.
minibuffer-local-map ( ).
minibuffer-local-ns-map , hSPCi , , hRETi.
Mocklisp.
minibuffer-local-completion-map .
minibuffer-local-must-match-map .

31.4.5
Emacs, .
, ( , , ).
, , .
M-x global-set-key hRETi hRETi
.
M-x local-set-key hRETi hRETi
( )
.
M-x global-unset-key hRETi
.
M-x local-unset-key hRETi
( ).
,
Emacs, Emacs .
C-z suspend-emacs ( X Windows), C-z Emacs,
shell, :
M-x global-set-key hRETi C-z shell hRETi

360

GNU Emacs

global-set-key . , , ,
, :
Set key C-z to command:
; , , .
, , . Emacs ,
( ). , C-f
, ; . C-x, ; 4,
, . ,
M-x global-set-key hRETi C-x 4 $ spell-other-window hRETi
C-x 4 $ () spell-other-window.
, C-c ,
. , ,

.
global-unsetkey. ; , Emacs . local-unset-key
, ( ) .
( ) -
,
, . , Fundamental C-h c.
.
,
, . ,
. . 31.4.11 [ ], . 364.

31.4.6
, ,
.emacs, .
ASCII Meta-. .
, C-z shell:
(global-set-key "\C-z" shell)
, , C-z.
, shell, ,
. , Emacs shell
. ; , .
, :
(global-set-key "\C-xl" make-symbolic-link)
, ASCII , C-= H-a,

31:

361

, .
Emacs Lisp,
. .
,
. ,
: ?, , .
C-= ( ,
ASCII), H-a (Hyper-; ASCII Hyper); hF7i (
) C-Mouse-1 ( ):
(global-set-key
(global-set-key
(global-set-key
(global-set-key

[?\C-=] make-symbolic-link)
[?\H-a] make-symbolic-link)
[f7] make-symbolic-link)
[C-mouse-1] make-symbolic-link)

. , , :
(global-set-key [?\C-z] shell)
(global-set-key [?\C-x ?l] make-symbolic-link)

31.4.7
, . , ( )
, . ,
. :
left, up, right, down
.
begin, end, home, next, prior
.
select, print, execute, backtab
insert, undo, redo, clearline
insertline, deleteline, insertchar, deletechar,
.
f1, f2, . . . f35
( ).
kp-add, kp-subtract, kp-multiply, kp-divide
kp-backtab, kp-space, kp-tab, kp-enter
kp-separator, kp-decimal, kp-equal
( ), .
kp-0, kp-1, . . . kp-9
.
kp-f1, kp-f2, kp-f3, kp-f4
.

362

GNU Emacs

, ( X Windows) . ,
,
C-h c .
, (
- ASCII-), , .
.
, f1 rmail,
:
(global-set-key [f1] rmail)
forward-char, :
(global-set-key [right] forward-char)
, right. (
Emacs).
. 31.4.6 [ ], . 360,
.
.
C-x hNEXTi forward-page.
(global-set-key [?\C-x next] forward-page)
?\C-x C-x. next
, .
- hCTRLi, hMETAi, hHYPERi, hSUPERi, hALTi

.
C-, M-, H-, s-, A- S- . ,
Hyper-Meta-hRIGHTi , :
hSHIFTi

(global-set-key [H-M-right] forward-word)

31.4.8 ASCII-
hTABi, hRETi, hBSi, hLFDi, hESCi

hDELi ASCII, ,
. , Emacs
, hCTRLi.
Emacs , X Window System. tab, return, backspace,
linefeed, escape delete.
ASCII-, .
, ,
.
() hTABi C-i,
ASCII- hTABi ( 011).
, ASCII-,
tab.
ASCII- hTABi C-i (
), .

31:

363

31.4.9 -ASCII-
, ,
ASCII, , .
. ,
set-keyboard-coding-system (. 18.9 [ ], . 168).
,
(global-set-key [?] --)
,
, .
, .
Emacs C-x b temp
hRETi, , M-x toggle-enable-multibyte-characters hRETi,
, .
, C-x =.
, ,
, . , ,
:
(global-set-key [-] --)

31.4.10
Emacs .
Emacs -; , . , , . -
, .
- mouse-1 ,
mouse-2 .
:
(global-set-key [mouse-2] split-window-vertically)
- , drag-
mouse. ,
drag-mouse-1.
,
. down-
drag-. , . -, -
.
, , .
.
-. , , - .
double-: , double-mouse-3.
,
, ,
, .
, ,
. - ,

364

GNU Emacs

. -
.
,
. ,
, .
Emacs - ,
triple-. Emacs ;
- .

,
, .
, ,
, ,
, .
Emacs .
, , , , Emacs double-drag-.
, Emacs double-down- ( ,
, ).
double-click-time ,
, . . nil, .
t, .
-, C-, M-, H-, s-, A- S-. double-
triple-, drag- down-.
, , . , , -. ,
, mode-line
, .
scroll-up:
(global-set-key [mode-line mouse-1] scroll-up)
- :
mode-line
.
vertical-line
, . ( , ).
vertical-scroll-bar
. ( , Emacs).

, .

31.4.11
,
. ,
, .

31:

365

Emacs , , ,
; Emacs , ,
, , . , ,
.
.emacs.
nil
disabled . ,
:
(put delete-region disabled t)
disabled , , :
(put delete-region disabled
"Its better to use kill-region instead.\n")

.emacs, M-x disable-command,
.emacs . M-x enable-command .emacs
. . 31.7 [ ], . 366.
, ;
, M-x.
.

31.5
,
Emacs. hDELi.
,
C-h. , , , Emacs C-h
, , .
Emacs,
C-h hDELi hDELi C-h, :
;; C-h hDELi.
(keyboard-translate ?\C-h ?\C-?)
;; hDELi C-h.
(keyboard-translate ?\C-? ?\C-h)
,
(. 31.4.1 [ ], . 356). Emacs
, , , , Emacs .
; , , , .
X, hDELETEi ,
ASCII- hDELi. . 31.4.8 [ ASCII-],
. 362. ASCII-,
; , , X, hDELETEi.
X, Emacs
hBACKSPACEi C-h; hBACKSPACEi hDELi.

366

GNU Emacs


Translating Input The Emacs Lisp Reference Manual.

31.6
Emacs, ,
. , , , .
(
), ,
. ,
; , .
, ,
.
, C-h s (describe-syntax). ,
modify-syntax-entry , , .
Syntax
Tables The Emacs Lisp Reference Manual.

31.7 , ~/.emacs
Emacs , - .emacs
. , , Emacs .
-q, , -u
( -user), (. 3 [
Emacs], . 33).
,
default.el, .
Emacs ;
. , Emacs (
-q). , , ; inhibit-default-init nil ,
default .
;
site-start.el, .
Emacs
. ,
-no-site-file.
.emacs ,
, ~/-.el, ,
.emacs (load "~/-"). . Byte Compilation
the Emacs Lisp Reference Manual,
Emacs Lisp.
Emacs Lisp,
, Emacs Lisp Reference Manual.

31.7.1
.emacs .
, , -

31:

367

. , (setq fill-column 60) setq


fill-column (. 21.5 [], . 185) 60.
setq .
, . .emacs . :
:

,
.

, , .
.
. : \n , \b
, \r , \t , \f (control-L), \e escape, \\ , \"
\ooo ooo. ,
.
\C- , \C-s
ASCII control-S, \M- Meta-,
\M-a Meta-A \M-\C-a Control-Meta-A.

?,
, , \. : ?x, ?\n, ?\",
?\). , ;
, .

t .

nil .

:
() .

31.7.2
:
, hTABi C , .
(setq c-tab-always-indent nil)
, t, , nil, .
, ( ,
).
(setq-default case-fold-search nil)
, ,
. case-fold-search
setq , ,
, , .
, Emacs
.

368

GNU Emacs

(setq user-mail-address "coon@yoyodyne.com")


Emacs, ,
user-mail-address.
Text .
(setq default-major-mode text-mode)
, text-mode,
Text. ; text-mode
.
Latin-1, .
(set-language-environment "Latin-1")
Auto Fill Text .
(add-hook text-mode-hook
(lambda () (auto-fill-mode 1)))
, - - (. 31.2.3 [], . 349). , ,
lambda, ,
, .
, , (auto-fill-mode 1),
Text.
.
Emacs turn-on-auto-fill,
(lambda () (auto-fill-mode 1)). , :
(add-hook text-mode-hook turn-on-auto-fill)
foo (
foo.elc foo.el Emacs).
(load "foo")
load , /
~, load load-path (. 23.7 [ ],
. 253).
- foo.elc .
(load "~/foo.elc")
, .
C-x l make-symbolic-link.
(global-set-key "\C-xl" make-symbolic-link)

(define-key global-map "\C-xl" make-symbolic-link)


,
make-symbolic-link, .
, Lisp.
(define-key lisp-mode-map "\C-xl" make-symbolic-link)
, next-line Fundamental, forward-line.
(substitute-key-definition next-line forward-line
global-map)

31:

369

C-x C-v .
(global-unset-key "\C-x\C-v")
,
. C-x C-v - C-x C-v , C-x C-v .
$ Text. $.
(modify-syntax-entry ?\$ "." text-mode-syntax-table)
narrow-to-region .
(put narrow-to-region disabled nil)

31.7.3
, Emacs,
. -
term/-, , ,
load-path, .elc .el.
term , Emacs.
escape, ,
function-key-map. , , term/lk201.el.
Termcap;
,
Termcap.
, . , aaa-48
aaa-30-rv term/aaa.
(getenv "TERM") .
term-file-prefix
. .emacs
, term-file-prefix nil.
, .emacs,
, Emacs term-setup-hook.
, , . .
31.2.3 [], . 349.

31.7.4 Emacs
.emacs Emacs HOME; ~
. su, Emacs
.emacs, , .
, ,
.
, Emacs , . LOGNAME USER;
, ID . ID, Emacs HOME; ,
.

370

GNU Emacs

32:

371

32
Emacs, ,
. ,
, .
Emacs .

32.1
C-g
C-hBREAKi (MS-DOS)
. .
C-]


, (abort-recursive-edit).

hESCi hESCi hESCi

, ,
(keyboard-escape-quit).
M-x top-level
.
C-x u

(undo).

, :
-g C-] M-x top-level. , .
,
. (. 30.12 [ ], . 338.)
C-g , , .
, , , . ,
; , ( , ).
, ; ,
, C-g (. 12.1
[ ], . 87).
MS-DOS , C-g, C-hBREAKi. , MS-DOS C-g
. , C-hBREAKi . . C.1 [ MS-DOS], . 403.
C-g quit-flag t,
C-g ; Emacs Lisp ,
nil. -g , ,
Emacs .
-g , C-g ,
. . 32.2.8 [ ], . 374.
, . Emacs , - , ,
Emacs,

372

GNU Emacs

. , , , , , .
,
NFS, Emacs , , NFS
NFS, NFS- .
C-] (abort-recursive-edit) , , . C-g ,
. . ,
C-u 8, ,
C-g .
hESCi hESCi hESCi (keyboard-escape-quit) , . , PC
hESCi. ,
, C-g. , C-].
, C-x 1. ,
. , , Emacs ,
.
M-x top-level C-],
, . C-]
, M-x top-level
. C-], M-x top-level
C-g , , Emacs . C-]
. .
30.12 [ ], . 338.
C-x u (undo), , , , . . 4.4 [],
. 37.

32.2 Emacs
, Emacs
, , .

32.2.1

hDELi

, hDELi , Control-h, ,
, hDELi.
, (. 31.5 [
], . 365).

32.2.2
Emacs,
, , Emacs.
[...],
, ,
. ,
, .

32:

373

, M-x top-level. . .
30.12 [ ], . 338.

32.2.3
, , , , . C-l,
. ,
. ( , 32.2.4 [ ],
. 373.)
- termcap . etc/TERMS Emacs
. INSTALL . ,
. ,
, Emacs , . ,
, , , - termcap,
Emacs,
- .

32.2.4
C-l , , ,
C-x u , ,
. , C-h l, ,
.
, ,
Narrow . ,
, .
, C-x n w. . 30.8 [], . 335.

32.2.5
Emacs I-search: , ,
C-s C-q -
xon/xoff.
,
, ,
, C-s. (
baud-rate .
, , .)
,
Emacs . , enable-flowcontrol.
, ,
. enable-flow-control-on,
. , ,
VT-100 H19, .emacs :

374

GNU Emacs

(enable-flow-control-on "vt100" "h19")


, C-\,
C-s, C-^, C-q. ( ; 31.5 [ ], . 365.)

32.2.6
Virtual memory exceeded1 , C-x s.
. Emacs , , ; , C-x s
.
, Emacs
M-x kill-some-buffers,
Emacs. ,
, . Emacs , ,
, , .
M-x buffer-menu, ,
, ,
.

32.2.7
Emacs ,
, , . , Emacs M-x recover-session.
, , . , .
. C-c C-c.
recover-session ,
; , . y - ,
, . yes. , Emacs
, .
recover-session ,
Emacs. .
.

32.2.8
, Emacs
quit-flag, , Emacs , C-g, . ,
GNU Emacs. Emacs quit-flag (
!) , . ( MS-DOS
C-hBREAKi.)
Emacs , C-g,
, , :
1

. (. )

32:

375

Auto-save? (y or n)
Abort (and dump core)? (y or n)
y n hRETi.
y Auto-save? , .
y Abort (and dump core)?
. , ,
Emacs . . n, . , GNU Emacs
quit-flag . ,
-g, .
Emacs , ,
C-g, .
Emacs n , . ,
.
C-g , Emacs X Windows,
Emacs
.
MS-DOS ,
C-hBREAKi , - (MS-DOS
BIOS), Emacs ( ,
).

32.2.9
Emacs ( - )
, , , Emacs .
-, Emacs , C-g C-g,
.
-, M-x doctor hRETi.
, . , -
, hRETi hRETi.
, .

32.3 Emacs
Emacs. ,
, , ,
, .
, , .
, .
, .

32.3.1
Emacs , ( - ), Emacs.
Emacs , ,
, . ,

376

GNU Emacs

, , C-l, .
,
, Emacs. . C-g (C-hBREAKi MS-DOS) C-h l,
, Emacs , . ,
, , . , , ,
, .
, , ,
, , , .
, . , , .
, , , .
, , .
, . , .
, - . , ,
, ,
, , , . , ,
, .
,
, , .
Emacs, .
, .
, ; .

32.3.2
, , , . ,
, ,
Emacs .
.
. ,
. ,
Emacs, . , ,
.
, C-x C-f /glorp/baz.ugh hRETi,
, ( ) , Emacs
. , , .
, - , :
, Emacs .
, . ,
- , z. ,
, ,

32:

377

, z .
, z .
, - ,
25 . ,
, , .
, C-x C-a?
,
Emacs.
C-x C-f, ,
, . ,
hRETi A B C hRETi C-p,
, .
, , , .
, , ,
, .

32.3.3

Emacs bug-gnu-emacs@gnu.org. (
, .)
,
gnu.emacs.bug; ,
, . Emacs. ,
. , ;
.
, ;
, , ,
.
,
:
GNU Emacs Bugs
Free Software Foundation
59 Temple Place, Suite 330
Boston, MA 02111-1307 USA
; , ,
, .
Emacs M-x
report-emacs-bug. (. 26 [ ], . 267) . ,
; ,
.
, :
Emacs. ,
GNU Emacs.
, M-x emacs-version hRETi.
, , , GNU Emacs, - ,
.

378

GNU Emacs

.
M-x emacs-version hRETi . *Messages*, .
, configure Emacs.
, Emacs. (
,
Emacs. ,
--- ---.
. .

.
GNU
Emacs.
, .
,
, . .
, , ,
. , ,
(
, ,
).
, , .
, Emacs, .
(open-dribble-file "~/dribble")
M-: *scratch* Emacs.
Emacs , Emacs
.
, (
TERM), termcap /etc/termcap (
) , Emacs
.
,
(open-termscript "~/termscript")
M-: *scratch* Emacs.
Emacs
, Emacs . Emacs, .emacs,
, , Emacs
.
: , , , ,
.
, . , Emacs , ,
, .2
2

, , . , ,
. (. )

32:

379

, , Emacs ,
. ,
, . ?
, ,
. , - , ,

. ( !) ,
. , , ,
Emacs , , .
, , ,
.
Emacs ,
, , -
Emacs .
,
*Messages* . , .
, (setq debugon-error t) , (
, , ).
, . .
, ,
. , .
, ,
.emacs, - ,
Emacs. ,
Emacs .emacs ( Emacs -q,
). , ,
, .
, , Emacs, , , ,
. , , Emacs ,
, .
- GNU Emacs,
. .
.
, ,
, .
, GDB,
, , .
GDB, ,
, GDB . GDB
,
Emacs. Emacs GDB, src, Emacs, gdb emacs. ,
src , GDB .gdbinit.
, , ,
, .

380

GNU Emacs

, , .
, GNU Emacs,

. ; , ,
( ).
,
. ,
, .
, , ,
.
,
, GDB pr,
. ( , debug_print
.) pr .gdbinit ,
( ).
Emacs GDB, Fsignal.
, GDB xbacktrace.
,
, Ffuncall,
GDB:
p *args
pr
, ,
:
p args[1]
pr
. nargs
Ffuncall , Ffuncall;
.
.gdbinit , . x.
, pr, , , pr
, , Emacs
.
, Emacs , ,
. , , GDB Emacs,
. ( Emacs X Windows, , GDB C-z.)
step. Emacs , step . Emacs , step
.
, Emacs ,
. ,
, .
Emacs , , , .
GDB finish. Emacs ,

32:

381

. finish, ,
, .
Emacs finish,
. next, .
, . ,
, ,
, . .
, :

.
, , ,
,
.
,
, ,
. ,
.
, , . ,
, .
, ; ,
, ,
.
Emacs.
,
. , ,
, , . ,
, , .
,
. Emacs
, , ,
pr (
).
.
, .
, , , .
.
, ,
, .
, , .
. , .

32.3.4 GNU Emacs


GNU Emacs,
. , , , . ,

382

GNU Emacs

, . GNU Emacs ,
, ,
.
, ,
. , .
( , ,
, , ,
.)
, , , .
, , .
, ,
.
,
, .
, . .
, . , .
,
, ,
. ,
.
, , , ,
, .
, . ,
, . , , .
, .
, .
diff -c.
. , ; ,
, . ,
, -c.
GNU diff, diff
-c -F^[_a-zA-Z0-9$]+ *(. ,
.
, , .
, diff, . , , ,
.
. ,
.
, .
, ;
, .

32:

383

, , ,
. ,
, , , . ,
, , , ,
. .
, ChangeLog src lisp, ,
, .
, , ,
, . . 22.12 [Change Log], . 224.
, , ,
. ,
, ,
.
,
. ,
. , ,
,
.
. ,
.
, ,
, , .

32.4 Emacs
Emacs, ,
, Emacs, , bug-gnu-emacs@gnu.org.
, .
Emacs, , .
, , .
, bug-gnu-emacs@gnu.org ,
; , ,
Emacs.

32.5 GNU Emacs


, GNU
Emacs, :
help-gnu-emacs@gnu.org
gnu.emacs.help. (
, , .)
, -, .
etc/SERVICE Emacs.

384

GNU Emacs

A:

385

A
GNU Emacs , Emacs. .
.
, -, .
, . Emacs
. , ,
; , . ,
- , ,
, -.
Emacs ,
X-, Emacs, .
, , , . ,
.
: , -,
, -. , -d , -display
.
- , . ,
, . ,
, . ,
-display sugar-bombs:0.0, -display=sugar-bombs:0.0. , ,
.
, Emacs,
Emacs. .
, : , ,
Emacs. .
. Emacs
, .

A.1
:

find-file. . 14.2 [],


. 106.

+-
find-file,
-.

386

GNU Emacs

-l
-load=
load.
. 23.7 [ ], . 253.
, Emacs,
EMACSLOADPATH (. A.5.1 [ ], . 388).
-f
-funcall=
.
-eval
.
-insert=
. M-x
insert-file. . 14.10 [ ], . 132.
-kill

Emacs .


command-line-args.

.

A.2
Emacs.
; , X Windows,
.
. Emacs site-start.el, ,
~/.emacs, , , default.el, ;
.
-t
-terminal=
.
-d
-display=
X Windows Emacs .
-nw
-no-windows
X Windows, DISPLAY, .

A:

-batch
-batch

387

Emacs , ,
, ,
C-z C-c, . Emacs
stderr ,
-.
,
Emacs Lisp, , Make- . -l -f, - .
-batch -q ( ).
Emacs ,
. ,
, .

-q
-no-init-file
Emacs,
default.el.

~/.emacs,

-no-site-file
site-start.el. -q, -u -batch
.
-u
-user=
Emacs, , ~/.emacs, .
-debug-init
Emacs Lisp .
-unibyte
.
, ( -)
.
EMACS_UNIBYTE .
-multibyte
EMACS_UNIBYTE, Emacs , .

A.3
Emacs . , , hack-c.el, ,
.
emacs -batch foo.c -l hack-c -f save-buffer >& log
Emacs foo.c, hack-c.el (
, ), foo.c (, savebuffer , C-x C-s), (-
-batch). -batch ,
log, Emacs ,
.

388

GNU Emacs

A.4 Emacs
Emacs ,
. , .emacs
(. 31.2.3 [], . 349):
(add-hook suspend-hook resume-suspend-hook)
(add-hook suspend-resume-hook resume-process-args)
, emacs.csh ( csh) emacs.bash ( bash).
edit, Emacs,
, .
Emacs, .
, .
, Emacs ( )
, Emacs. edit
, . , ; , , EDITOR.
, Emacs (.
30.3 [ Emacs], . 330).
Emacs, , . , . ,
, Emacs, /tmp/.esrv... ,
Emacs. ,
.

A.5
, Emacs .
, Emacs, . ,
.
,
;
. , ORGANIZATION
bash:
export ORGANIZATION=" "
csh tcsh:
setenv ORGANIZATION " "
Emacs X,
X. X Windows.

A.5.1
AUTHORCOPY
, ,
gnus.
CDPATH

cd , .

A:

389

DOMAINNAME
Internet, , Emacs.
gnus.
EMACS_UNIBYTE
Emacs
. -unibyte . .
A.2 [ ], . 386.
EMACSDATA
data-directory, , Emacs. ,
paths.h Emacs.
EMACSLOADPATH
,
Emacs Lisp. ,
paths.h Emacs.
EMACSLOCKDIR
, Emacs ;
. , paths.h Emacs.
EMACSPATH
, , Emacs. , paths.h
Emacs.
ESHELL

shell, SHELL.

HISTFILE

, . ~/.history, (t)csh, ~/.bash_history,


bash, ~/.sh_history, ksh, ~/.history
.

HOME

; , (~). MS-DOS
, Emacs , /bin,
.

HOSTNAME

, Emacs.

INCPATH

. complete
.

INFOPATH

, Info-. , paths.el
Emacs.

LANG
LC_ALL
LC_CTYPE

LOGNAME

. , 8859-n,
8859_n 8859n, n 1 4,
Emacs Latin-n. n 9, Latin-5.
. USER.

390

GNU Emacs

MAIL

MAILRC

. ~/.mailrc.

MH

mh. ~/.mh_profile.

NAME

NNTPSERVER
. mh gnus.
ORGANIZATION
, .
gnus Organization: .
PATH

, . ( MS-DOS .)
Emacs Lisp exec-path;
.

PWD

,
Emacs.

REPLYTO

, mail-default-reply-to. . 26.2 [ ],
. 268.

SAVEDIR

, . gnus.

SHELL

, , Emacs.

TERM

, Emacs.
, Emacs . MS-DOS
internal, , .

TERMCAP

termcap, , , TERM.
/etc/termcap.

TMPDIR

Emerge .

TZ

, ,
. MS-DOS ;
msdos.c.

USER

. LOGNAME. MS-DOS, root.

VERSION_CONTROL
version-control (.
14.3.1.1 [ ], . 110).

A.5.2
:
COMSPEC

MS-DOS, .
SHELL.

NAME

MS-DOS USER.

A:

TEMP
TMP

391

MS-DOS .

EMACSTEST
MS-DOS
. .
EMACSCOLORS
MS-DOS , Emacs .

( ) ( ) .
PC.
PC . , Emacs
DOS ,
16 , .
WINDOW_GFX
Sun.

A.6
DISPLAY X-, Emacs, . ,
X- . ; ,
- ,
.
Emacs, , ,
, Emacs,
. ,
, , , ,
, Emacs.
DISPLAY : :.,
, X Windows, , (X-)
, , X- . .
, .
, glasperle, (, , ) , DISPLAY
glasperle:0.0.
Emacs,
DISPLAY, -d -display=. :
emacs -display=glasperle:0 &
X Windows -nw.
. Emacs , ASCII.
. , Emacs
:

392

GNU Emacs

Xlib: connection to "glasperle:0.0" refused by server


, , ,
xhost .

A.7
Emacs 9x15,
.
-fn .
-fn

-font=
-font -fn.
X Windows ,
, .
9x15 . Emacs
. ; Emacs X Windows
, . ,
, , , 6x13:
emacs -fn "-misc-fixed-medium-r-semicondensed-13-*-*-*-c-60-iso8859-1" &
.Xdefaults:
emacs.font: -misc-fixed-medium-r-semicondensed-13-*-*-*-c-60-iso8859-1
:
----- -...
...-------
, courier.

bold, medium light.


.

r (), i (), o (), ri ( )


ot ().


condensed, extended, semicondensed normal.
.

. .

,
1/720 . ,
, .
; ,
*.

, ,
.

, ,
. , ; , ,
*.

A:

393

m (monospace), p (proportional) c (character cell). Emacs


m c.

, , .

.
iso8859-5.
, ; Emacs
. m c
. xlsfonts
:
xlsfonts -fn *x* | egrep "^[0-9]+x[0-9]+"
xlsfonts -fn *-*-*-*-*-*-*-*-*-*-*-m*
xlsfonts -fn *-*-*-*-*-*-*-*-*-*-*-c*
, , xfd. ,
xfd -fn 6x13
6x13.
Emacs (. 17.10
[ ], . 153) (. 17.13 [], . 155).

A.8
, , Emacs. ,
, /usr/lib/X11/rgb.txt. , , . ,
, , , .
:
-fg
-foreground-color=
.
-bg
-background-color=
.
-bd
-border-color=
X-.
-cr
-cursor-color=
, .
-ms
-mouse-color=
, Emacs.
-r
-reverse-video
.

394

GNU Emacs

, -
, :
emacs -ms coral -cr slate blue &
-r
X Windows reverseVideo.

A.9
-geometry Emacs. :
-g x{+-}--x{+-}--y
, (
), --x --y ( ).
-geometry=x{+-}--x{+-}--y
.
{+-} . --x ,
; , .
--y , ,
. --x --y
, , .
Emacs , xterm.
, ,
. --x --y .
-,
2 , .
Emacs, X-toolkit, .
.
--x, --y, , Emacs, ,
. , 164x55 164 , , 55 .
80 , 40 .
, , .
, Emacs . x,
, Emacs . , 81
; x45 .
+ -, , ,
. , -3 --x. (
, --x.) +3-3 --x, --y,
.

.Xdefaults, -geometry .

A.10
Emacs . .

A:

395

Emacs. ; ,
.
-ib
-internal-border=
.
-bw
-border-width=
.
, .
.
n -ib n.
1. n
-bw n ( ).
.

A.11
Emacs . , ,
.
Emacs , ( ),
( ).
Emacs
:
-title
-title=
-T
Emacs.
-name (. A.13 [ X], . 396)
Emacs.

A.12

, . -, .
,
, .
-i
-icon-type
Emacs .
-iconic
-iconic

Emacs .

-i -icon-type Emacs ,
GNU. , Emacs
.

396

GNU Emacs

-iconic Emacs , . , Emacs ;


, .

A.13 X-
X Windows .
X-, ~/.Xdefaults.

(, ).
. , . ,
internalBorder Emacs , borderWidth
. BorderWidth.
.
~/.Xdefaults ,
:
emacs.borderWidth: 2
,
. :
emacs.BorderWidth: 2
,
. ;
, . , 2 ,
4 :
emacs.Borderwidth: 2
emacs.borderwidth: 4
, , . ,
X-.
emacs . ,
, Emacs.
Emacs , , emacs.
-name
-name=
( ) Emacs. ,
.
, Emacs.
-xrm -
-xrm=-
X- Emacs ( ).
, -name , - .
, Emacs, ;
Emacs. Emacs emacs,

A:

397

Emacs,
. :
Emacs.BorderWidth: 2
Emacs.borderWidth: 4
Emacs
-xrm=. ,
X-. ,
, . #include "-" . ,
-xrm, .
, Emacs,
:
background (class Background)
.
bitmapIcon (class BitmapIcon)
on, ( ),
off, .
borderColor (class BorderColor)
.
borderWidth (class BorderWidth)
.
cursorColor (class Foreground)
().
font (class Font)
( , . 18.10 [
], . 170).
foreground (class Foreground)
.
geometry (class Geometry)
. ,
emacs*geometry, ,
Emacs.
, Emacs (, ,
). , , .
iconName (class Title)
.
internalBorder (class BorderWidth)
.
menuBar (class MenuBar)
on, ; off, .
minibuffer (class Minibuffer)
none, . .
paneFont (class Font)
, Emacs,
.

398

GNU Emacs

pointerColor (class Foreground)


.
reverseVideo (class ReverseVideo)
on, , off, ,
.
verticalScrollBars (class ScrollBars)
, on; ,
off.
selectionFont (class Font)
Emacs, . ( , ,
A.14 [X- Lucid], . 398, A.15 [X Motif], . 399.)
title (class Title)
Emacs.
(. 17.13
[], . 155):
.attributeFont
.
.attributeForeground
.
.attributeBackground
.
.attributeUnderline
. on true, .

A.14 X- Lucid
Emacs
Lucid, , .
pane.menubar ( ,
Emacs Emacs, ). :
Emacs.pane.menubar.:
, 8x16, :
Emacs.pane.menubar.font: 8x16
, , menu*
. , 8x16,
:
Emacs.menu*.font: 8x16
menu dialog:
Emacs.dialog*.font: 8x16
,
pane.menubar menu* shell..
shell..
:

A:

font

399

foreground
.
background
.
buttonForeground
, .
horizontalSpacing
. 3.
verticalSpacing
. 1.
arrowSpacing
( ) . 10.
shadowThickness
.

A.15 X- Motif
Emacs
Motif, , .
pane.menubar ( , Emacs
Emacs, ). :
Emacs.pane.menubar..:
;
, . , Files
emacs.pane.menubar.Files.
. , * . , 8x16,
:
Emacs.pane.menubar.*.fontList: 8x16
.
X-;
, Files , Save Buffer.
:
Emacs.pane.menubar.popup_*...:
, Save Buffer :
Emacs.pane.menubar.popup_*.Files.Save Buffer.fontList: 8x16
, Check Message Spell
Edit, :
Emacs.pane.menubar.popup_*.popup_*..:
,
Emacs.pane.menubar.popup_*.popup_*.Spell.Check Message:
,
. , , ,
, .
; . :

400

GNU Emacs

Emacs.pane.menubar.*.fontList: 8x16
Emacs.pane.menubar.popup_*.fontList: 8x16
menu*, pane.menubar. , 8x16, :
Emacs.menu*.fontList: 8x16
:
armColor

fontList

marginBottom
marginHeight
marginLeft
marginRight
marginTop
marginWidth
,
.
borderWidth
.
shadowThickness
.
bottomShadowColor
.
topShadowColor
.

B: Emacs 19

401

B Emacs 19
, ,
Emacs 19. , ,
- Emacs 20.
-
. ( .) 0 255, ,
Unix- , ^M,
MS-DOG.
, .
Emacs, , ,
.
.
.
M-x customize M-x edit-options.
,
. ,
, s x.
hDELETEi Emacs 19 ,
. ,
: .
C-x C-w .
, M-x normal-mode.
Transient Mark .
Outline ; , ,
015. ,
, 015 .
, , enable-recursive-minibuffers nil. , , , , .
, M-x top-level .
;
, .

. ,
.
compose-mail ; C-x m mail.
.
, : ,
.
M-x grep-find , grep .
Dired : :
dired-mark-executables, *.
dired-mark-directories, /.
dired-mark-symlinks, @.

402

GNU Emacs

dired-change-marks, c.
dired-unmark-all-files, C-M-?.
dired-unmark-all-marks, C-M-? hRETi.

dired-flag-garbage-files, &,
.
C .
,
/*
blah
blah
*/
c-block-comments-indent-p t.
Font Lock font-lockface-attributes. .
Font Lock
.
, ,
, .
set-frame-font set-default-font.
tex-main-file . , , .
scroll-preserve-screen-position ; , .
add-untranslated-filesystem remove-untranslatedfilesystem , using-unix-filesystems.
,
Emacs 19 .
. ,
, , .

C: Emacs MS-DOS

403

C Emacs MS-DOS
Emacs
MS-DOS ( MS-DOG). Emacs MSDOS, Windows 3.X, Windows NT,
Windows 9X OS/2 DOS;
, Emacs, MS-DOS.
, Emacs Windows NT Windows 9X.
, ; , ,
, ,
, , . ,
. ,
Windows NT 9X.

C.1 MS-DOS
PC hMETAi hALTi.
hSUPERi hHYPERi: hCTRLi, hALTi, dos-hyper-key
dos-super-key, , 1 2. dos-super-key, doshyper-key 1, hALTi
hMETAi. , KEYB.COM, MS-DOS , Emacs hALTi hMETAi,
, ~ @ ,
US; hMETAi hALTi.
dos-keypad-mode , ,
.
hENTERi C-j, _emacs
:
;; , Enter
;; C-j.
(define-key function-key-map [kp-enter] [?\C-j])
, Emacs hDELi ( ), PC hBSi (). PC
hBSi ,
hDELi; hDELi C-d .
Emacs, MS-DOS,
C-hBREAKi, , C-g. , Emacs C-g, . ,
C-g (. 32.1 [],
. 371). , C-hBREAKi , ( C-g ),
(. 32.2.8 [ ], . 374).
Emacs MS-DOS ( ).
, , (.
1.4 [ ], . 26). MS-DOS Emacs.
PC ; Mouse-1 Mouse-2,
, Mouse-3.
MS-DOS Windows Emacs
. , , , , X Windows (.

404

GNU Emacs

17.1 [ ], . 147). MS-DOS Emacs Windows


;
.
Windows , ,
, Emacs
DOS. 620KB ,
, Emacs
. , Emacs
.
, Windows . , Emacs
-.
dos-display-scancodes, nil, Emacs
ASCII- - ;
view-lossage, .

C.2 MS-DOS
MS-DOS ,
, ;
. ,
Emacs, ( font-lock, Enriched Text
), .
, , ,
list-colors-display (. 17.10 [ ], . 153) listfaces-display (. 17.13 [], . 155).
. C.6 [MS-DOS MULE], . 408, , Emacs
, .
(. 17 [], . 147) MS-DOS,
, .
. Emacs DOS MS-Windows, , ,
Emacs .
mode4350 43 50 ,
; mode25 , 80x25.
Emacs 80-
25, 28, 35, 40, 43 50 . , , , ,
Emacs . Emacs
n m , , screen-dimensionsnxm, , ( )
, . (Emacs ,
BIOS Set Video Mode screen-dimensions-nxm
AL.) , , 66x80, 85. , Emacs
, _emacs :
(setq screen-dimensions-66x80 85)
Emacs MS-DOS ,
. , Emacs ,

C: Emacs MS-DOS

405

, . , 36x80,
40x80.
screen-dimensions-nxm ,
; .
, VGA- 38x80,
screen-dimensions-38x80 ,
40x80, 36x80.
38x80, ,
screen-dimensions-36x80 ,
screen-dimensions-38x80.
MS-DOS .

C.3 MS-DOS
MS-DOS , \, , . Emacs MS-DOS
, ,
.
MS-DOS
. Emacs , ,
. , . MS-DOS,
Emacs _;
(. 31.7 [ ], . 366) MS-DOS _emacs.
MS-DOS; ,
LongFileName.EvenLongerExtension, longfile.eve, Emacs
. MS-DOS ;
Emacs.
MS-DOS
(. 14.3.1.1 [ ], . 110) . ,
docs.txt docs.tx~, .
Emacs DOS Windows 9X,
. , Emacs
; ,
, , .
, LFN y Emacs. , Windows NT DOS
, MS-DOS Emacs 8+3.
MS-DOS , MS-DOS Emacs ,
, HOME. ,
Emacs, emacs.exe, c:/utils/emacs/bin,
Emacs , HOME c:/utils/emacs.
, Emacs , _emacs. ,
~ ,
Unix. HOME Emacs;
.

406

GNU Emacs

Emacs MS-DOS /dev , -


DJGPP, , /. /dev.

C.4
GNU Emacs .
Unix, GNU Emacs , GNU,
Unix .
MS-DOS MS-Windows
- . ( , .)
, Emacs - (EOL). Emacs :
- , - .
, (.
18.7 [ ], . 165).
, Emacs (. 4.9 [ ],
. 40) , .
, . , Emacs MS-DOS
. (
MS-DOS; Emacs.) ,
. Emacs , , :
, , file-namebuffer-file-type-alist. ,
file-name-buffer-file-type-alist, Emacs no-conversion (. 18.7 [ ], . 165),
, EOL.
, Emacs , , - ,
. , MS-DOS Unix GNU ,
EOL Unix.
,
, find-file-text find-file-binary. EOL ,
(. 18.9 [ ], . 168). , C-x hRETi c
undecided-unix hRETi C-x C-f foobar.txt foobar.txt EOL.
,
EOL. . -
MS-DOS, .
NFS Samba ,
Unix GNU, Emacs EOL
.
, ,

C: Emacs MS-DOS

407

add-untranslated-filesystem. : ,
, , , . ,
(add-untranslated-filesystem "Z:")
Z,
(add-untranslated-filesystem "Z:\\foo")
\foo Z.
add-untranslated-filesystem _emacs
site-start.el, .
add-untranslated-filesystem,
remove-untranslated-filesystem. ,
, add-untranslated-filesystem.

C.5 MS-DOS
, lpr-buffer (. 30.4 [], . 331) psprint-buffer (. 30.5 [Postscript], . 332), MS-DOS MSWindows, , Unix lpr.
,
lpr Unix (. 30.4 [], . 331, . 30.6 [
Postscript], . 332), MS-DOS MS-Windows
Unix.
, DOS
, lpr-command "" (
), printer-name , "PRN",
( ), "LPT2",
"COM1", . printer-name
, . printer-name "NUL",
( ) .
MS-Windows, ,
, , printer-name
UNC- , "//joes_pc/hp4si".
( , .)
, DOS
net view net view -,
( ), .
printer-name ,
. Emacs , printer-name ,
, ,
.
print-buffer print-region pr lpr, . MS-DOS MS-Windows ,
lpr-headers-switches , . print-buffer print-region ,
lpr-buffer lpr-region, . pr (, GNU Textutils), lpr-headers-switches nil;
Emacs pr ,
printer-name.

408

GNU Emacs

, lpr, lpr-command
"lpr". Emacs lpr, .
( lpr, lpr-command ,
, .) lpr-command "", lpr-switches
. printer-name ,
-P lpr, Unix.
, ps-lpr-command, ps-lpr-switches ps-printername (. 30.6 [ Postscript], . 332), ,
PostScript-. , PostScript. ,
ps-printer-name ( ), PostScript, , printer-name
PostScript. ( , ,
, PostScript-.)
ps-lpr-command "",
PostScript , ps-printer-name. ps-lpr-command
, PostScript-.
, PostScript-,
- PostScript ( Ghostscript). , , ps-lpr-switches.
( ps-printer-name , -P. , ,
lpr, , , c
ps-printer-name , .)
, Ghostscript Epson, LPT2, _emacs :
(setq ps-printer-name t) ; Ghostscript -P
(setq ps-lpr-command "c:/gs/gs386")
(setq ps-lpr-switches ("-q" "-dNOPAUSE"
"-sDEVICE=epson"
"-r240x72"
"-sOutputFile=LPT2"
"-Ic:/gs"))
( , Ghostscript "c:/gs".)
, dos-printer (dos-ps-printer)
, printer-name (ps-printer-name);
MS-DOS MS-Windows.

C.6 MS-DOS
Emacs MS-DOS , Unix,
(. 18 [MULE], . 161),
. , -
MS-DOS/MS-Windows Unix
DOS , .
.
M-x dos-codepage-setup
Emacs DOS.
M-x codepage-setup
DOS.

C: Emacs MS-DOS

409

MS-DOS 256
, .
DOS. 128
ASCII, 128 ( 128 255)
. DOS , 850,
862, etc.
X Windows,
, MS-DOS . , MS-DOS
, , MS-DOS1 . DOS ,
MS-Windows.
Emacs MS-DOS -unibyte (. A.2 [
], . 386), Emacs , ASCII.
,
. , Emacs MSDOS , ,
.
MS-DOS, Emacs , DOS.
dos-codepage. 437, ,
. ( ,
, .) Emacs
, dos-codepage.
Emacs DOS, ,
, 932, ,
ISO 8859.
MULE , Emacs
, .
, ISO 8859.
, ISO 8859, Emacs
, . Emacs

. cpnnn, nnn .2
cpnnn
D ( DOS). ,
/
cpnnn, MS-DOS -DD\-. . 1.3 [
], . 25.
, , Emacs set-language-environment,
(. 18.3 [ ], . 162).
1
2

, ,
, , CONFIG.SYS, .
Emacs ISO 8859 ,
DOS ISO. ,
c (c ) Latin-1 231, 850
135.

410

GNU Emacs

, - ISO 8859,
, DOS, Emacs
ASCII. ,
`
o ( o ), {o},
, . (
, , ,
; , .)
, ,
Emacs .
DOS ISO 8859
, . Emacs
, ,
, , dosunsupported-character-glyph.
ISO 8859, Emacs ,
MS-DOS. ,
, Emacs MS-DOS , dos-unsupportedcharacter-glyph; . , ,
C-u C-x =. . 4.9 [ ], . 40.
Emacs
. -
(, , DOS ),
M-x codepage-setup.
, .
,
(. 18.9 [
], . 168).
,
DOS, Emacs .

C.7 MS-DOS
MS-DOS , . , Shell .
Emacs, ,
GUD. , ; , ,
.
Emacs M-x compile, M-x
grep M-x diff ,
. , , .
, Emacs, Windows,
. . C.8 [ Windows], . 411.
, lpr-buffer (. 30.4 [], . 331) psprint-buffer (. 30.5 [Postscript], . 332), MS-DOS,
. . C.5 [ MS-DOS], . 407.
MS-DOS, ,
. ,
, MS-DOS
. C-c C-hBREAKi.

C: Emacs MS-DOS

411

MS-DOS. , , Web,
, , MS-DOS .
Dired MS-DOS ls-lisp,
ls. Dired MS-DOS , dired-listing-switches.
-A, -a, -c, -i, -r, -S, -s, -t -u.

C.8 Windows 95 NT
Emacs, Windows (
DOS) .
Windows Windows 95,
Windows NT, , 32- Windows. , DOS,
; DOS , , ,
.
(
) Windows 95 DOS, .
, Microsoft.
DOS, ,
,
.
CPU, , 100%,
DOS , ,
CPU.
DOS , . Emacs DOS.
.
DOS , , .
, . , ,
Emacs , . , , ,
Windows 95. Windows NT,
, ntvdm (
DOS).
Windows 95,
Shutdown Start; . ,
CTL-ALT-hDELi Shutdown. ,
.

C.9 Windows
Emacs, Windows, Windows, hALTi . ,
hALTi Emacs hMETAi. Emacs

412

GNU Emacs

hMETAi, ;
Windows, . .
hALTi, Windows , w32-pass-alt-to-system nil .

GNU

413

GNU
GNU GNU, .
,
, .
, , . 1993 .
GNU, , GNU.
, .

GNU? GNU UNIX!


GNU, Gnus Not Unix, Unix- , , ,
.1 . ,
, .
Emacs , , , YACC , 35- .
( ) . .
, Unix .
, GNU,
. TEX, nroff . ,
X Windows. Common Lisp,
, . ,
Unix, .
GNU Unix, .
, . , ,
, , ,
, - , , ,
, -
Unix . ,
. UUCP, MIT Chaosnet Internet.
1

. ,
GNU. ,
, , GNU
. ;
. ,
free free .
, .
, ,
, , . , ,
, .

414

GNU Emacs

GNU 68000/1600 ,
. GNU
, .
, , G GNU,
.

GNU
, : ,
, .
, ,
.
.
.

, :
, .
,

- . ,
GNU.

GNU Unix
Unix , . ,
-, , Unix , . , Unix,
.

GNU
GNU .
,
. , .
, GNU .


, GNU .
. , , .
; , ,
-.
. , , . ,
, , - .
, .
GNU , - , . , GNU
,

GNU

415

. ,
, . , , ,
.


.
.
, , , GNU
. , , ,
.
,
GNU. ; , ,
. Unix . Unix ,
. Unix.
Unix- ,
Unix,
. , . (
).
, . , ,
, . GNU,
.


GNU , , .2
,
Unix. ,
.
.
. , ,
, .
,

.
,
. : , ;
2

,
free.
GNU . .

416

GNU Emacs

.
.
, ,
, .
, ,
, -
, , ( , ) .
. ,
:
, ,
. , , , .

.

. .


GNU
, , , .
,
.
GNU GNU , ,
GNU , .3
. ,
.
, , .
, . , ;
. Unix . GNU . ,
,
. GNU ,
.
, , ,
: , ,
.
, . ,
, ,
. ;
- . ,
, .
3

GNU

417

, ,
, .
, .
,
-
GNU. ,
. ,
, GNU ,
, , .
, , .
, GNU ,
, , GNU.
?4
,
.
GNU . ,
.
, .
, GNU , . - , GNU
.
GNU,
, .5
?
- , . , ,
. , ,
.
?
, - , , .

.
, , ,
. , . - ,
.
4

, , , . ,
. , , . ,
, .
. ?

GNU C Compiler.

418

GNU Emacs

,
, , , ,
. , . , , -
, , , , .
,
.
?
, .
, .
, ,
. - .
, :
. .
, ,
, - , , .
. , . ,
,
. .
,
, . .
, . , . ( ,
, .)
, ?
-
, , .
, (, ), ,
.
, , .
, ,
. , .
. ,
,
. , .
,
, . ,
.
, . ,

GNU

419

.
, .
,
, , ,
, .
: , ?
?
. , , ,
, , , , , ,
, , , , ,
, .
.
: ,
. , . , , .
, , ,
, , , .
, .

. , , ,
. ( 10
, , ).
.
?

. , , .
, , ,
.
, , ,
. , .
: -
? ,
.
, ,
- . : ,
. , , .
,
.
,
. ,
.
, , ,
.
. , , .

420

GNU Emacs

,
. : , !
- .
. , , , .
, , , .
, . .
, ,
.
,
.
,
. , .

. , .
:
, , , x . ,
, .
, .
,
, .
, .
,
, .
:
, , .
, .
, , ,
.
, , ,
. ,
, ,
, , ,
. .
, ,
, .
.

GNU

421

. ,
.

422

GNU Emacs

423

.
. . 21.3 [], . 183.


, , . , ,
hRETi. . 5 [], . 45.

Emacs .
,
(. 22.2 [], . 206).
, . (. 22.6 [ ], . 218).

,
, - . . 14.3.2
[ ], . 112.

; . ,
, ,
(.),
. (.) - . .
15 [], . 135.


,
. Emacs , ,
, Emacs; , Dired.
. . 15 [], . 135.

Emacs, , . ,
(.), (.) .
(.) (.). . 32.1 [],
. 371.

.

. .
. 9.2 [], . 71.

, ,
Emacs.


(.) X Windows;
X Window -

424

GNU Emacs

. Emacs
. . 17.2 [ ], . 149.

Emacs,
Emacs. . . 31.1 [ ], . 341.

, . Rmail
Rmail- (.), ,
. . 27.5 [ Rmail], . 278.

(.) . . 15 [],
. 135.

X Windows , - .
, .
. Emacs
(.) (.).


C-g ( C-hBREAKi MS-DOS). . 32.1 [], . 371.

, . . 21.5 [], . 185.

Rmail- Dired , ,
.

,
Emacs. (.). .

(.) ,
. . 31.2 [], . 343.

-
. . 12.7 [],
. 95.

(.) , , , (.). . 31.4.1
[ ], . 356.

425


(.) ,
(.) .
. 24 [], . 257.

, . , ,
. . 8.6 [ ], . 67.

, ,
. -Meta- (.), Control- (.),
. , ,
; hRETi hESCi. Emacs, ( ). . 4
[ ], . 35.

,
. ,
, . . 31.4.11 [ ], . 364.

, Emacs, .
(.), ; , , . ,
hTABi, hSPCi hRETi. . 5.3 [], . 47.

,
, Emacs. , X, C-f C-x m
.
(.) (.). , X , X. C-x m ,
. . 2.2 [], . 30.


Emacs , , . . 14.3.2
[ ], . 112.

Emacs; 2.4 [
], . 31. , (.), ( ).
. 2.1 [ ], . 29.


.

(.) , ( , ).
. 14.3 [], . 108.

426

GNU Emacs


(.),
, . . 10
[], . 77.

, (.
2.3 [], . 31). ,
M-x (. 6 [M-x], . 53).

, .
;
,
, . GNU Unix, (
), ~/ ~/ ( ).

Emacs , , Emacs. ,
. . 15 [], . 135.

,
,
. . 5.4 [ ], . 49.

,
. . 14.8
[], . 131.


, / ~, . .
5.1 [ ], . 45.

, ,
Emacs . (.), (.) (.), , .
. 2.3 [], . 31.

,
, , ,
. Emacs
,
. . 22.7 [], . 219.

. Emacs
Emacs Lisp (. Byte Compilation the Emacs Lisp Reference Manual)
(. 23.1 [], . 247).

, . GNU Unix, a , . , foo/bar

427

, , foo bar;
bar foo .

, ,
. . 15.6 [ ], . 139.

, , (.), . , , .
, , , . . 4 [
], . 35.

- .
, .
(.).
Emacs .

(.) .
. 31.2.4 [ ], . 350.

. (.) . . 31.4.1
[ ], . 356.

, . . . 24
[], . 257.

Emacs
. . 31.3 [ ], . 353.

.
(.), .
. . .
8 [], . 63.

, ASCII,
ASCII- (.). . 18.4 [
], . 163.

, Emacs . Emacs
. . 26.6 [ ], . 274.

, , , (.), . . 5
[], . 45.

428

GNU Emacs


, .
Emacs , ASCII, -ASCII- 256. .
18.1 [ MULE], . 161.

.

Emacs ,
. . 18 [MULE], . 161.

, , . . 31.4.10 [ ], . 363.

Emacs.
(. 31.2 [], . 343) (.
31.4.1 [ ], . 356).

(.) (.).
. . 8 [], . 63.

(.),
. . 14.2 [], . 106.

,
.
(.). . 30.8 [],
. 335.

, . , , . Emacs
, . . 14.3.2 [
], . 112.

Emacs (.) ,
(.). . 1
[], . 23, , Emacs .
. 16 [], . 141, .


.
, defun.1 . 22.4
[ ], . 208.

Emacs , Emacs 1

define function. (. )

429

. ,
. . 19 [ ], . 175.

, ,
. . 4.4 [], . 37.


. Emacs C-q.
. , , Emacs,
; , ,
(, hDELi),
, .
. . 4 [ ], . 35.


$, ~ : . . 14.13 [
], . 134.

. , , , Emacs
. . 20 [], . 177.

, Emacs . , ( - -),
Emacs , (.).
. Emacs .

, . Emacs
, , s- (.) . (. 13.2
[], . 101).

(.) X Windows;
X Windows
.
, , . . 9.1 [], . 69.
Rmail-
Rmail- RMAIL
, Rmail ,
. . 27 [Rmail], . 275.

Control-J
. . 2.4 [ ], . 31.

430

GNU Emacs

, . Emacs
( (.)), , Emacs.
Emacs , , , ,
. . 31.2
[], . 343, .

.
(.) (.). . 9.1 [], . 69.

, . . 1
[], . 23.
ASCII
ASCII , ,
: !@#$%^& *()_-+=|\~ {}[]:;" <>,.?/.

/
, .

, . . Emacs
- (.). ,
(. 5 [], . 45); , , (. 1.2
[-], . 24).

.

, . . 12 [],
. 87.



. . 12.3 [ ], . 90.

Emacs. ,
, .
X Windows. . 1.4 [ ], . 26.

,
. .
X Windows. . 17.11
[ ], . 154.

431


(.),
, Emacs, . .
31.2 [], . 343.

( , )
(.), . , , (.), , (.). . 2.2
[], . 30.

, , , .
Emacs , , . . 26 [
], . 267. . 27 [Rmail], . 275, , .

Emacs . . 21.2 [], . 182.



. . 21.6 [], . 189,
.

(.).
C-] M-x top-level. . 32.1 [], . 371.

, , .
. . 21.5 [], . 185.

.

(.),
. C-x
; ,
C-x, . . 2.2
[], . 30.
Emacs
, (.), -, , . . 2.3
[], . 31.
.
(.). . 31.4.1 [ ], . 356.

(.). . 31.4.5 [], . 359.




(, , ).

432

GNU Emacs


, , , . . 31.4.10 [ ], . 363.

Emacs , . . 11 [], . 81.


.
, . . 9.4 [], . 74.

, .
Emacs .

,
, . , load-path
. . 23.7 [ ], . 253.

, Emacs . , ,
. . 31.6 [],
. 366.

, .

(.) ;
(.). . 30.8 [], . 335.
, . . 10 [], . 77.

, ; , l[0-9]+ l,
. . 12.5 [
], . 91.
Overwrite
Overwrite . ,
,
. . 31.1 [ ], . 341.

,
. Emacs , ,
. . 14.3.1 [], . 110.

.

433


,
. Emacs , .

Emacs, ,
, ,
.
, C-h. . 7 [], . 55.

Emacs . , -
, . .
14.5 [], . 114.

Emacs, ,
. . 31.6 [], . 366.

.


. Emacs
. . 18.7
[ ], . 165.

Emacs , . ,
, Emacs. . 2.1 [ ], . 29.

, , . ,
, . . 24 [], . 257.

.

, Emacs,
- (,
, ). .

, .
Emacs. . 14.3 [], . 108.

, , , . C , Lisp, ,

434

GNU Emacs

,
, , . . 22.2 [], . 206.


, . ; , (.). .
8.5 [ ], . 66.

, . , . (.).
. 9.2 [], . 71.
,
(ASCII control-L, 014), .
Emacs . .
21.4 [], . 184.

, , . ,
,
. . 4 [ ],
. 35.

(.), , . . 1.3 [
], . 25.

, . Emacs
. " " . " , \", a \,
, \\. , , ; ,
, , \n
\241, .

(.),
. , , ,
, , , . . 30.8 [], . 335.


.

, (.)
, . ,
C-n next-line. . 31.4.1 [ ], . 356.

435


, ,
. , , . . 31.4.1 [ ], . 356.

, ,
, , . . 31.5 [ ], . 365.

,
. . 22.13 [], . 224.

. Emacs Emacs. . 30.4 [],
. 331.

(. 21 [], . 181):
, ,
, , ,
. Emacs
.
, , ,
.


, (. 1.1 [], . 23).

(.), . , ,
. . 22.4 [ ], . 208.

, . , , . . 21.3 [],
. 183.

Emacs ,
. Emacs
. . 15 [], . 135.

, .
, , -
. (.) . . 4
[], . 35.


(.). (.). . 9.1 [], . 69.

. , .

436

GNU Emacs

, - . . 16 [],
. 141.

. ,
(.) Rmail-. . 27.4 [ ],
. 277.

. . 14.10
[ ], . 132.

, (.) . . Emacs
, (.).
. 9.1 [], . 69.

( Emacs) . ,
, . . 32.1 [], . 371.

. (.). . 14.7 [ ], . 116.

, , hCTRLi.
,
, hCTRLi. , hRETi, hTABi, hESCi hDELi
. . 2.1 [ ],
. 29.
ASCII
ASCII Control- Control : @[\]^_?.

,

- . , , .
([ ]). .
30.12 [ ], . 338.

, .
. . 4 [ ], . 35.


, Emacs ,
.
Emacs. Emacs ,
. . 32.3 [ Emacs], . 375.

437


,
Emacs . Emacs. Emacs ,
. . 32.3 [ Emacs], . 375.

, .
, . . 21.11 [ ],
. 198.

Emacs. Emacs
, .
Emacs (.). X Windows,
. . 17 [], . 147.


, ,
. . 31.4.7 [ ],
. 361.

, ,
. . .
4.10 [], . 42.

, ,
, . . 31.4.10 [ ],
. 363.

, -, (.), (.)
- . ,
-

, .

( ). Emacs ; ,
, .

-
- , ,
( ).
*Messages*, . . 1.2 [], . 24.

(.) (.). . 18.3 [ ], . 162.
, -ASCII . (.
18 [MULE], . 161).
Alt

Alt -, , . Alt-, ,
hALTi. , Alt-

438

GNU Emacs

( A-). ( , , hALTi,
hMETAi.) . 2.1 [ ], . 29.
ASCII-
ASCII- ASCII, ASCII.
. 2.1 [ ], . 29.
Auto Fill

Auto Fill ,
. . 21.5 [], . 185.

C-

C- Control. . 2.1 [ ], . 29.

C-M-

C-M- Control-Meta. . 2.1 [ ], . 29.

Copyleft

Copyleft , . Copylefts
, copyrights
.
copyleft, GNU, GNU. . [], . 13.

hDELi

hDELi , , .
. 4 [ ], . 35.

Dired

Dired Emacs,
,
. . 28 [Dired], . 291.

hESCi

hESCi , Meta- , hMETAi. hMETAi (


hSHIFTi , ), hESCi
, , , .

hHELPi

hHELPi

Hyper

Hyper -, .
Hyper-, , hHYPERi. , Hyper- ( H ). . 2.1 [ ], . 29.

M-

M- hMETAi, -,
. . 2.1 [
], . 29.

M-C-

M-C- Control-Meta;
, C-M-. hMETAi,
Control-Meta- hESCi
Control. . 2.1 [ ], . 29.

M-x

M-x , Emacs . ,
. . 6 [M-x], . 53.

C-h hF1i Emacs. hHELPi


, , , ,
. . 7 [], . 55.

439

Meta

Meta -, .
, hMETAi. , Meta( M-). , M-<
hMETAi < ( < hSHIFTi ,). . 2.1 [ ],
. 29.

Meta- Meta- , Meta-.


MULE

MULE Emacs -ASCII-


(.). . 18 [MULE], . 161.

Regexp

hRETi

hRETi

, ,
. , (.). . 2.1 [ ], . 29.

Rmail-
Rmail- , ,
Rmail . . 27 [Rmail], . 275.
S-
S- ( , sexp) : , . Emacs
s-. s-
. . 22.2 [], . 206.
Super

Super -,
, . Super-,
, hSUPERi. ,
Super- ( s-). . 2.1 [
], . 29.

WYSIWYG
WYSIWYG What you see is what you get.2 Emacs WYSIWYG , ;
Enriched (. 21.11 [ ], . 198)
WYSIWYG , .

, . (. )

440

GNU Emacs

()

441

()
default
!
"
#
$
%
%
%
%
%
%
%
%
&
*
*
*
*
*
*
*
*
*
*
*
*
*
*
+
.
.
.
<
<
=
>
>
~

(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( TEX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
d (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
H (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
l (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
m (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
R (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
S (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
u (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
! (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
% (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
* (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
/ (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
? (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
@ (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C-n (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C-p (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DEL (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
m (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
s (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
t (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
u (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

C
297
194
292
299
297
293
297
297
295
297
297
297
292
294
295
294
294
294
294
294
294
294
294
293
294
294
294
297
292
276
304
299
277
298
299
277
292

A
A (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
a (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
a ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . . 307

B
B (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
b (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
BS (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403

C (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
c (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
C-@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
C-a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
C-a ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 304
C-b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
C-b ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 303
C-BREAK (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
C-c ( Picture) . . . . . . . . . . . . . . . . . . . . . . . . 264
C-c . ( Picture) . . . . . . . . . . . . . . . . . . . . . . . . 264
C-c / ( Picture) . . . . . . . . . . . . . . . . . . . . . . . . 264
C-c : ( C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
C-c ; ( Fortran) . . . . . . . . . . . . . . . . . . . . . . . . 243
C-c < (GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
C-c < ( Picture) . . . . . . . . . . . . . . . . . . . . . . . . 264
C-c > (GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
C-c > ( Picture) . . . . . . . . . . . . . . . . . . . . . . . . 264
C-c @ ( Outline) . . . . . . . . 190
C-c C-a ( C). . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
C-c C-a ( Mail) . . . . . . . . . . . . . . . . . . . . . . . . . 270
C-c C-a ( Outline) . . . . . . . . . . . . . . . . . . . . . . 193
C-c C-a ( Shell) . . . . . . . . . . . . . . . . . . . . . . . . . 325
C-c C-b ( Outline) . . . . . . . . . . . . . . . . . . . . . . 192
C-c C-b ( Picture) . . . . . . . . . . . . . . . . . . . . . . 264
C-c C-b ( Shell) . . . . . . . . . . . . . . . . . . . . . . . . . 326
C-c C-b ( TEX) . . . . . . . . . . . . . . . . . . . . . . . . . 196
C-c C-c ( )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
C-c C-c ( ). . . . . . . . . 259
C-c C-c ( Mail) . . . . . . . . . . . . . . . . . . . . . . . . . 271
C-c C-c ( Outline) . . . . . . . . . . . . . . . . . . . . . . 193
C-c C-c ( Shell) . . . . . . . . . . . . . . . . . . . . . . . . . 325
C-c C-d (GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
C-c C-d ( C). . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
C-c C-d ( Outline) . . . . . . . . . . . . . . . . . . . . . . 193
C-c C-d ( Picture) . . . . . . . . . . . . . . . . . . . . . . 264
C-c C-e ( C). . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
C-c C-e ( LaTEX) . . . . . . . . . . . . . . . . . . . . . . . 195
C-c C-e ( Outline) . . . . . . . . . . . . . . . . . . . . . . 193
C-c C-e ( Shell) . . . . . . . . . . . . . . . . . . . . . . . . . 326
C-c C-f (GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
C-c C-f ( Outline) . . . . . . . . . . . . . . . . . . . . . . 192
C-c C-f ( Picture) . . . . . . . . . . . . . . . . . . . . . . 264
C-c C-f ( Shell) . . . . . . . . . . . . . . . . . . . . . . . . . 326
C-c C-f ( TEX) . . . . . . . . . . . . . . . . . . . . . . . . . 197
C-c C-f C-b ( Mail) . . . . . . . . . . . . . . . . . . . . . 272
C-c C-f C-c ( Mail) . . . . . . . . . . . . . . . . . . . . . 272
C-c C-f C-f ( Mail) . . . . . . . . . . . . . . . . . . . . . 272
C-c C-f C-s ( Mail) . . . . . . . . . . . . . . . . . . . . . 272
C-c C-f C-t ( Mail) . . . . . . . . . . . . . . . . . . . . . 272
C-c C-i (GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
C-c C-i ( Mail mode . . . . . . . . . . . . . . . . . . . . 273
C-c C-i ( Outline) . . . . . . . . . . . . . . . . . . . . . . 193

442

C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c
C-c

GNU Emacs

C-k
C-k
C-k
C-l
C-l
C-l
C-l
C-l
C-n
C-n
C-n
C-n
C-n
C-o
C-o
C-o
C-o
C-p
C-p
C-p
C-p
C-p
C-q
C-q
C-q
C-q
C-r
C-r
C-r
C-r
C-r
C-s
C-s
C-s
C-s
C-t
C-t
C-t
C-t
C-u
C-u
C-u
C-v
C-w
C-w
C-w
C-w
C-x
C-y
C-y
C-z
C-\
C-\
RET

( Outline) . . . . . . . . . . . . . . . . . . . . . .
( Picture) . . . . . . . . . . . . . . . . . . . . . .
( TEX) . . . . . . . . . . . . . . . . . . . . . . . . .
(GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Calendar) . . . . . . . . . . . . . . . . . . . . .
( Outline) . . . . . . . . . . . . . . . . . . . . . .
( Shell) . . . . . . . . . . . . . . . . . . . . . . . . .
( TEX) . . . . . . . . . . . . . . . . . . . . . . . . .
(GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( C). . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Fortran) . . . . . . . . . . . . . . . . . . . . . .
( Outline) . . . . . . . . . . . . . . . . . . . . . .
( Shell) . . . . . . . . . . . . . . . . . . . . . . . . .
( C). . . . . . . . . . . . . . . . . . . . . . . . . . . .
( LaTEX) . . . . . . . . . . . . . . . . . . . . . . .
( Outline) . . . . . . . . . . . . . . . . . . . . . .
( Shell) . . . . . . . . . . . . . . . . . . . . . . . . .
( C). . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Fortran) . . . . . . . . . . . . . . . . . . . . . .
( Outline) . . . . . . . . . . . . . . . . . . . . . .
( Shell) . . . . . . . . . . . . . . . . . . . . . . . . .
( TEX) . . . . . . . . . . . . . . . . . . . . . . . . .
( C). . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Mail) . . . . . . . . . . . . . . . . . . . . . . . . .
( Outline) . . . . . . . . . . . . . . . . . . . . . .
( TEX) . . . . . . . . . . . . . . . . . . . . . . . . .
(GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Fortran) . . . . . . . . . . . . . . . . . . . . . .
( Mail) . . . . . . . . . . . . . . . . . . . . . . . . .
( Shell) . . . . . . . . . . . . . . . . . . . . . . . . .
( TEX) . . . . . . . . . . . . . . . . . . . . . . . . .
(GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( C). . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Mail) . . . . . . . . . . . . . . . . . . . . . . . . .
( Outline) . . . . . . . . . . . . . . . . . . . . . .
(GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( C). . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Mail) . . . . . . . . . . . . . . . . . . . . . . . . .
( Outline) . . . . . . . . . . . . . . . . . . . . . .
( C). . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Outline) . . . . . . . . . . . . . . . . . . . . . .
( Shell) . . . . . . . . . . . . . . . . . . . . . . . . .
( TEX) . . . . . . . . . . . . . . . . . . . . . . . . .
( Fortran) . . . . . . . . . . . . . . . . . . . . . .
( Mail) . . . . . . . . . . . . . . . . . . . . . . . . .
( Picture) . . . . . . . . . . . . . . . . . . . . . .
( Shell) . . . . . . . . . . . . . . . . . . . . . . . . .
( Picture) . . . . . . . . . . . . . . . . . . . . . .
( Mail) . . . . . . . . . . . . . . . . . . . . . . . . .
( Picture) . . . . . . . . . . . . . . . . . . . . . .
( Shell) . . . . . . . . . . . . . . . . . . . . . . . . .
( C). . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Shell) . . . . . . . . . . . . . . . . . . . . . . . . .
( Shell) . . . . . . . . . . . . . . . . . . . . . . . . .

193
265
196
251
305
193
326
196
251
236
239
192
328
214
195
193
326
235
239
192
328
196
211
272
193
196
251
244
272
326
196
251
239
271
193
252
238
273
193
235
192
325
196
244
273
265
325
265
272
265
326
238
326
328

C-c TAB ( Picture) . . . . . . . . . . . . . . . . . . . . . . 265


C-c TAB ( TEX) . . . . . . . . . . . . . . . . . . . . . . . . . 197
C-c \ ( Picture) . . . . . . . . . . . . . . . . . . . . . . . . 264
C-c ^ ( Picture) . . . . . . . . . . . . . . . . . . . . . . . . 264
C-c ( Picture) . . . . . . . . . . . . . . . . . . . . . . . . 264
C-c { ( TEX) . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
C-c } ( TEX) . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
C-d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
C-d (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
C-d ( Shell). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
C-e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
C-e ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 304
C-f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
C-f ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 303
C-g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
C-g (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
C-h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
C-h a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
C-h b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
C-h c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
C-h C-c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h C-d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h C-f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h C-h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
C-h C-i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
C-h C-k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h C-p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h C-w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h C-\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
C-h F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
C-h h. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
C-h I. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
C-h i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
C-h L. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
C-h l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
C-h p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
C-h s. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
C-h t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
C-h w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
C-j . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
C-j (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
C-j (TEX mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
C-j ( ) . . . . . . . . . . . . . . . . . . . . . 175
C-j ( Fortran) . . . . . . . . . . . . . . . . . . . . . . . . . . 240
C-k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
C-k (Gnus) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
C-l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
C-M-% . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
C-M-. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229

()

C-M-/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
C-M-@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
C-M-a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
C-M-a ( Fortran) . . . . . . . . . . . . . . . . . . . . . . . . 239
C-M-b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
C-M-c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
C-M-d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
C-M-d (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
C-M-DEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
C-M-e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
C-M-e ( Fortran) . . . . . . . . . . . . . . . . . . . . . . . . 239
C-M-f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
C-M-h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
C-M-h ( C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
C-M-h ( Fortran) . . . . . . . . . . . . . . . . . . . . . . . . 239
C-M-j . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
C-M-j ( Fortran) . . . . . . . . . . . . . . . . . . . . . . . . 240
C-M-k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
C-M-l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
C-M-l (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
C-M-l ( Shell) . . . . . . . . . . . . . . . . . . . . . . . . . . 326
C-M-n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
C-M-n (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
C-M-n (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
C-M-o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
C-M-p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
C-M-p (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
C-M-p (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
C-M-q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
C-M-q ( C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
C-M-q ( Fortran) . . . . . . . . . . . . . . . . . . . . . . . . 240
C-M-r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
C-M-r (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
C-M-s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
C-M-t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102, 207
C-M-t (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
C-M-u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
C-M-u (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
C-M-v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
C-M-w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
C-M-x ( Emacs-Lisp) . . . . . . . . . . . . . . . . . . . . 255
C-M-x ( Lisp) . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
C-M-\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
C-Mouse-2 ( ) . . . . . . . . . . . . . . . . 142
C-Mouse-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
C-n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
C-n (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
C-n ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 303
C-n ( Gnus Group) . . . . . . . . . . . . . . . . . . . . . . 322
C-n ( Gnus Summary) . . . . . . . . . . . . . . . . . . . 322
C-o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
C-o (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
C-o (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
C-p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

443

C-p (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291


C-p ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 303
C-p ( Gnus Group) . . . . . . . . . . . . . . . . . . . . . . 322
C-p ( Gnus Summary) . . . . . . . . . . . . . . . . . . . 322
C-q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
C-r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
C-s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
C-SPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
C-t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
C-u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
C-u - C-x ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
C-u C-@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
C-u C-SPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
C-u C-x u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
C-u TAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
C-v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
C-v ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 305
C-w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
C-x #. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
C-x $ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
C-x (. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
C-x ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
C-x +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
C-x -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
C-x .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
C-x 0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
C-x 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
C-x 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
C-x 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
C-x 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
C-x 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
C-x 4 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
C-x 4 a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
C-x 4 b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
C-x 4 d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
C-x 4 f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
C-x 4 m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
C-x 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
C-x 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
C-x 5 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
C-x 5 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
C-x 5 b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
C-x 5 d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
C-x 5 f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
C-x 5 m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
C-x 5 o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
C-x 5 r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
C-x 6 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
C-x 6 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
C-x 6 b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
C-x 6 d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
C-x 6 RET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
C-x 6 s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
C-x 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172

444

C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x
C-x

GNU Emacs

;. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
< . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
< ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . 305
= . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
> ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . 305
a g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
a i g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
a i l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
a l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
b. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
C-a (GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
C-b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
C-c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
C-d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
C-e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
C-f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
C-k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
C-l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
C-n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
C-o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
C-p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
C-q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
C-q ( ) . . . . . . . . . . . . . . . 118
C-r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
C-s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
C-hSPCi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
C-t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
C-u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
C-v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
C-w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
C-x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
C-z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
d. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
DEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
e. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
ESC ESC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
f. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
k. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
l. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
m. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
n d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
n d ( Fortran) . . . . . . . . . . . . . . . . . . . . . . 245
n n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
n p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
n w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
o. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
q. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
r + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
r b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
r d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
r f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
r i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

C-x r j . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
C-x r k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
C-x r l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
C-x r m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
C-x r n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
C-x r o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
C-x r r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
C-x r s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
C-x r SPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
C-x r t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
C-x r w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
C-x r y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
C-x RET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
C-x RET c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
C-x RET C-\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
C-x RET f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
C-x RET k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
C-x RET p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
C-x RET t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
C-x RET X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
C-x RET x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
C-x s. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
C-x SPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
C-x TAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
C-x TAB ( Enriched) . . . . . . . . . . . . . . . . . . . . . 201
C-x u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
C-x v = . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
C-x v a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
C-x v c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
C-x v d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
C-x v g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
C-x v h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
C-x v i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
C-x v l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
C-x v m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
C-x v r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
C-x v s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
C-x v u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
C-x v v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
C-x v ~ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
C-x z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
C-x [. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
C-x [ ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . 303
C-x ]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
C-x ] ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . 303
C-x ^. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
C-x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
C-x }. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
C-y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
C-z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
C-z (X windows) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
C-\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
C-] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
C-_ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

()

445

C-_ (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295

D
D (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
d (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
d (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
d ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
DEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
DEL (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
DEL (Gnus) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
DEL (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
DEL (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
DEL ( ) . . . . . . . . . . . . . . . . . . . . . 175
DEL ( ) . . . . . . . . . . . . . . . . . . 205
DELETE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
DOWN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

287
236
236
372

F
f (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
f (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
F1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
F10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
F2 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
F2 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
F2 b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
F2 d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
F2 RET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
F2 s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336

G
G
g
g
g
g
g

(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
d ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . .
m ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . .
( Calendar) . . . . . . . . . . . . . . . . . . . . . .

i
i
i
i
i
i
i
i
i

(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
a ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . .
b ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . .
c ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . .
d ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . .
m ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . .
w ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . .
y ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . .

298
279
317
317
317
316
316
316
316

J
j (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277

K
k (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
k (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281

E
e (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ESC a. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ESC e. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ESC ESC ESC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

296
300
279
304
312
311

H
H (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
h (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
h ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

L
L (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
l (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
l (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
L ( Gnus Group) . . . . . . . . . . . . . . . . . . . . . . . . 322
l ( Gnus Group) . . . . . . . . . . . . . . . . . . . . . . . . 322
LEFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

M
M (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
m (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
m (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
M ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
m ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
M-! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
M-$ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
M-$ (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
M-% . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
M- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
M-( . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
M-) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
M-* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
M-, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
M-- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
M-- M-c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
M-- M-l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
M-- M-u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
M-. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
M-/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
M-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
M-: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
M-; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219

446

M-< . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
M-< ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 304
M-= . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
M-= (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
M-= ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 305
M-> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
M-> ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 304
M-? ( Nroff) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
M-? ( Shell). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
M-@ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
M-a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
M-a ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 304
M-b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
M-c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
M-d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
M-DEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
M-Drag-Mouse-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
M-e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
M-e ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 304
M-f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
M-g b ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 200
M-g d ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 200
M-g i ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 200
M-g l ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 200
M-g M-g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
M-g o ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 200
M-g u ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 200
M-h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
M-i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
M-j c ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 203
M-j f ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 203
M-j l ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 203
M-j r ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 203
M-j u ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . 203
M-k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
M-l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
M-m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
M-m (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
M-Mouse-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
M-Mouse-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
M-Mouse-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
M-n (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
M-n ( ) . . . . . . . . . . . . . . . . . . . . . 49
M-n ( Nroff) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
M-n ( Shell). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
M-p (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
M-p ( ) . . . . . . . . . . . . . . . . . . . . . 49
M-p ( Nroff) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
M-p ( Shell). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
M-q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
M-q ( C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
M-r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
M-r ( ) . . . . . . . . . . . . . . . . . . . . . 50
M-r ( Shell). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327

GNU Emacs

M-s (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276


M-s ( ) . . . . . . . . . . . . . . . . . . . . . 50
M-S ( Enriched) . . . . . . . . . . . . . . . . . . . . . . . . . 203
M-s ( Gnus Summary) . . . . . . . . . . . . . . . . . . . 323
M-s ( Shell). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
M-s ( Text) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
M-SPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
M-t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102, 182
M-TAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
M-TAB ( ) . . . . . . . . . . . . . . . . . . . . . 346
M-TAB ( Mail) . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
M-TAB ( Picture) . . . . . . . . . . . . . . . . . . . . . . . . 264
M-TAB ( Text) . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
M-u . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
M-v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
M-v ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 305
M-w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
M-x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
M-y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
M-z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
M-\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
M-^ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
M-^ ( Fortran) . . . . . . . . . . . . . . . . . . . . . . . . . . 240
M- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
M-{ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
M-{ ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 303
M-| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
M-} . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
M-} ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 303
M-~ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Mouse-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Mouse-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Mouse-2 () . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Mouse-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147

N
n (Gnus) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
n (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
NEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

O
O
o
o
o

(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . .

296
293
280
304

P
P
p
p
p

(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Gnus) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . .

296
322
276
310

()

447

p d ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 305
PRIOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

Q
Q
q
q
q
Q
q

(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Gnus Group) . . . . . . . . . . . . . . . . . . . . . . . .
( Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

296
275
306
322
285
285

R
R (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
r (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
RET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
RET (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
RET ( Occur). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
RET ( Shell). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
RIGHT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

S
S (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
s (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
s (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
S ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
s ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
s ( Gnus Summary) . . . . . . . . . . . . . . . . . . . . . 323
S-Mouse-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
S-TAB ( ) . . . . . . . . . . . . . . . . . . . . . 346
S-hTABi ( Help) . . . . . . . . . . . . . . . . . . . . . . . . . 60
SPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
SPC (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
SPC (Gnus) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
SPC (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
SPC ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . 305

T
t (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
t ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
TAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
TAB (GUD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
TAB ( ) . . . . . . . . . . . . . . . . . . . . . . . . 346
TAB () . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
TAB ( ) . . . . . . . . . . . . . . . . . . . . . 175
hTABi ( Help). . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
TAB ( Shell). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
TAB ( Text) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
TAB ( ) . . . . . . . . . . . . . . . . . . 209

U
u (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
u (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
u ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
u ( Gnus Group) . . . . . . . . . . . . . . . . . . . . . . . . 322
u ( Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . 292
UP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

V
v (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293

W
w (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280

X
x (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
x (Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
x ( Calendar) . . . . . . . . . . . . . . . . . . . . . . . . . . . 307

Z
Z (Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296

448

GNU Emacs

449


default
2C-associate-buffer . . . . . . . . . . . . . . . . . . . . . . . . .
2C-dissociate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2C-merge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2C-newline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2C-split . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2C-two-columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

336
336
336
336
336
336

A
abbrev-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
abbrev-prefix-mark . . . . . . . . . . . . . . . . . . . . . . . . . . 258
abort-recursive-edit . . . . . . . . . . . . . . . . . . . . . . . . 372
add-change-log-entry-other-window . . . . . . . . . . 224
add-global-abbrev . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
add-mode-abbrev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
add-name-to-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
add-untranslated-filesystem . . . . . . . . . . . . . . . . 406
american-calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
append-next-kill . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
append-to-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
append-to-file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
apply-macro-to-region-lines . . . . . . . . . . . . . . . . 355
appt-add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
appt-delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
appt-make-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
apropos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
apropos-command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
apropos-documentation . . . . . . . . . . . . . . . . . . . . . . . . 58
apropos-value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
apropos-variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
ask-user-about-lock . . . . . . . . . . . . . . . . . . . . . . . . . 112
auto-compression-mode . . . . . . . . . . . . . . . . . . . . . . . 133
auto-fill-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
auto-lower-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
auto-raise-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
auto-save-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

B
back-to-indentation . . . . . . . . . . . . . . . . . . . . . . . . . 177
backward-char . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
backward-delete-char . . . . . . . . . . . . . . . . . . . . . . . . . 69
backward-delete-char-untabify . . . . . . . . . . . . . . 205
backward-kill-sentence . . . . . . . . . . . . . . . . . . . . . . 182
backward-kill-sexp . . . . . . . . . . . . . . . . . . . . . . . . . . 207
backward-kill-word . . . . . . . . . . . . . . . . . . . . . . . . . . 182
backward-list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
backward-page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
backward-paragraph . . . . . . . . . . . . . . . . . . . . . . . . . . 183
backward-sentence . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
backward-sexp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
backward-text-line . . . . . . . . . . . . . . . . . . . . . . . . . . 198
backward-up-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207

backward-word. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
balance-windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
beginning-of-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . 36
beginning-of-defun . . . . . . . . . . . . . . . . . . . . . . . . . . 208
beginning-of-fortran-subprogram . . . . . . . . . . . . 239
beginning-of-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
binary-overwrite-mode . . . . . . . . . . . . . . . . . . . . . . . 342
blackbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
bookmark-delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
bookmark-insert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
bookmark-insert-location . . . . . . . . . . . . . . . . . . . . . 80
bookmark-jump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
bookmark-load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
bookmark-save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
bookmark-set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
bookmark-write. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
buffer-menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138

C
c-add-style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-backslash-region . . . . . . . . . . . . . . . . . . . . . . . . . .
c-backward-conditional . . . . . . . . . . . . . . . . . . . . . .
c-backward-into-nomenclature . . . . . . . . . . . . . . .
c-beginning-of-statement . . . . . . . . . . . . . . . . . . . .
c-end-of-statement . . . . . . . . . . . . . . . . . . . . . . . . . .
c-fill-paragraph . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-forward-conditional . . . . . . . . . . . . . . . . . . . . . . .
c-forward-into-nomenclature . . . . . . . . . . . . . . . .
c-indent-command . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-indent-defun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-indent-exp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-indent-line. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-macro-expand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-mark-function . . . . . . . . . . . . . . . . . . . . . . . . . 208,
c-scope-operator . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-set-offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-set-style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-show-syntactic-information . . . . . . . . . . . . . . .
c-toggle-auto-hungry-state. . . . . . . . . . . . . . . . . .
c-toggle-auto-state . . . . . . . . . . . . . . . . . . . . . . . . .
c-toggle-hungry-state . . . . . . . . . . . . . . . . . . . . . . .
c-up-conditional . . . . . . . . . . . . . . . . . . . . . . . . . . . .
calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
calendar-backward-day . . . . . . . . . . . . . . . . . . . . . . .
calendar-backward-month . . . . . . . . . . . . . . . . . . . . .
calendar-backward-week . . . . . . . . . . . . . . . . . . . . . .
calendar-beginning-of-month . . . . . . . . . . . . . . . .
calendar-beginning-of-week. . . . . . . . . . . . . . . . . .
calendar-beginning-of-year. . . . . . . . . . . . . . . . . .
calendar-count-days-region. . . . . . . . . . . . . . . . . .
calendar-cursor-holidays . . . . . . . . . . . . . . . . . . . .
calendar-end-of-month . . . . . . . . . . . . . . . . . . . . . . .
calendar-end-of-week . . . . . . . . . . . . . . . . . . . . . . . .
calendar-end-of-year . . . . . . . . . . . . . . . . . . . . . . . .

218
238
235
236
236
236
238
236
236
211
211
211
209
238
238
236
214
218
239
238
236
238
235
303
303
303
303
304
304
304
305
307
304
304
304

450

calendar-forward-day . . . . . . . . . . . . . . . . . . . . . . . . 303
calendar-forward-month . . . . . . . . . . . . . . . . . . . . . . 303
calendar-forward-week . . . . . . . . . . . . . . . . . . . . . . . 303
calendar-forward-year . . . . . . . . . . . . . . . . . . . . . . . 303
calendar-goto-astro-day-number . . . . . . . . . . . . . 311
calendar-goto-chinese-date. . . . . . . . . . . . . . . . . . 311
calendar-goto-coptic-date . . . . . . . . . . . . . . . . . . . 311
calendar-goto-date . . . . . . . . . . . . . . . . . . . . . . . . . . 304
calendar-goto-ethiopic-date . . . . . . . . . . . . . . . . 311
calendar-goto-french-date . . . . . . . . . . . . . . . . . . . 311
calendar-goto-hebrew-date . . . . . . . . . . . . . . . . . . . 311
calendar-goto-islamic-date. . . . . . . . . . . . . . . . . . 311
calendar-goto-iso-date . . . . . . . . . . . . . . . . . . . . . . 311
calendar-goto-julian-date . . . . . . . . . . . . . . . . . . . 311
calendar-goto-mayan-long-count-date . . . . . . . . 312
calendar-goto-persian-date. . . . . . . . . . . . . . . . . . 311
calendar-goto-today . . . . . . . . . . . . . . . . . . . . . . . . . 304
calendar-next-calendar-round-date . . . . . . . . . . 312
calendar-next-haab-date . . . . . . . . . . . . . . . . . . . . . 312
calendar-next-tzolkin-date. . . . . . . . . . . . . . . . . . 312
calendar-other-month . . . . . . . . . . . . . . . . . . . . . . . . 304
calendar-phases-of-moon . . . . . . . . . . . . . . . . . . . . . 309
calendar-previous-haab-date . . . . . . . . . . . . . . . . 312
calendar-previous-tzolkin-date . . . . . . . . . . . . . 312
calendar-print-astro-day-number . . . . . . . . . . . . 310
calendar-print-chinese-date . . . . . . . . . . . . . . . . 310
calendar-print-coptic-date. . . . . . . . . . . . . . . . . . 310
calendar-print-day-of-year. . . . . . . . . . . . . . . . . . 305
calendar-print-ethiopic-date . . . . . . . . . . . . . . . 310
calendar-print-french-date. . . . . . . . . . . . . . . . . . 310
calendar-print-hebrew-date. . . . . . . . . . . . . . . . . . 310
calendar-print-islamic-date . . . . . . . . . . . . . . . . 310
calendar-print-iso-date . . . . . . . . . . . . . . . . . . . . . 310
calendar-print-julian-date. . . . . . . . . . . . . . . . . . 310
calendar-print-mayan-date . . . . . . . . . . . . . . . . . . . 311
calendar-print-persian-date . . . . . . . . . . . . . . . . 311
calendar-sunrise-sunset . . . . . . . . . . . . . . . . . . . . . 308
calendar-unmark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
call-last-kbd-macro . . . . . . . . . . . . . . . . . . . . . . . . . 354
capitalize-word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
cd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
center-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
change-log-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
choose-completion . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
clean-buffer-list . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
clear-rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
codepage-setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
column-number-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
comint-bol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
comint-continue-subjob . . . . . . . . . . . . . . . . . . . . . . 326
comint-copy-old-input . . . . . . . . . . . . . . . . . . . . . . . 328
comint-delchar-or-maybe-eof . . . . . . . . . . . . . . . . 325
comint-dynamic-complete . . . . . . . . . . . . . . . . . . . . . 325
comint-dynamic-complete-variable . . . . . . . . . . . 329
comint-dynamic-list-filename... . . . . . . . . . . . . 325

GNU Emacs

comint-dynamic-list-input-ring . . . . . . . . . . . . . 326
comint-get-next-from-history . . . . . . . . . . . . . . . 327
comint-interrupt-subjob . . . . . . . . . . . . . . . . . . . . . 325
comint-kill-input . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
comint-kill-output . . . . . . . . . . . . . . . . . . . . . . . . . . 326
comint-magic-space . . . . . . . . . . . . . . . . . . . . . . . . . . 328
comint-next-input . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
comint-next-matching-input. . . . . . . . . . . . . . . . . . 327
comint-next-prompt . . . . . . . . . . . . . . . . . . . . . . . . . . 328
comint-previous-input . . . . . . . . . . . . . . . . . . . . . . . 327
comint-previous-matching-input . . . . . . . . . . . . . 327
comint-previous-prompt . . . . . . . . . . . . . . . . . . . . . . 328
comint-quit-subjob . . . . . . . . . . . . . . . . . . . . . . . . . . 326
comint-run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
comint-send-input . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
comint-show-maximum-output. . . . . . . . . . . . . . . . . . 326
comint-show-output . . . . . . . . . . . . . . . . . . . . . . . . . . 326
comint-stop-subjob . . . . . . . . . . . . . . . . . . . . . . . . . . 326
comint-strip-ctrl-m . . . . . . . . . . . . . . . . . . . . . . . . . 326
comint-truncate-buffer . . . . . . . . . . . . . . . . . . . . . . 326
comment-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
compare-windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
compile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
compile (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
compile-goto-error . . . . . . . . . . . . . . . . . . . . . . . . . . 248
complete-symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
compose-mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
compose-mail-other-frame . . . . . . . . . . . . . . . . . . . . 267
compose-mail-other-window . . . . . . . . . . . . . . . . . . . 267
copy-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
copy-rectangle-to-register. . . . . . . . . . . . . . . . . . . 78
copy-to-buffer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
copy-to-register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
count-lines-page . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
count-lines-region . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
count-matches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
count-text-lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
cpp-highlight-buffer . . . . . . . . . . . . . . . . . . . . . . . . 238
create-fontset-from-fontset-spec . . . . . . . . . . . 172
customize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
customize-apropos . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
customize-browse . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
customize-changed-options . . . . . . . . . . . . . . . . . . . 349
customize-customized . . . . . . . . . . . . . . . . . . . . . . . . 349
customize-face . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
customize-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
customize-option . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
customize-saved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349

451

D
dabbrev-completion . . . . . . . . . . . . . . . . . . . . . . . . . . 260
dabbrev-expand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
dbx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
debug_print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
default-value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
define-abbrevs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
define-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
define-mail-abbrev . . . . . . . . . . . . . . . . . . . . . . . . . . 270
define-mail-alias . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
delete-backward-char . . . . . . . . . . . . . . . . . . . . . . . . . 69
delete-blank-lines . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
delete-char . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
delete-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
delete-frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
delete-horizontal-space . . . . . . . . . . . . . . . . . . . . . . 69
delete-indentation . . . . . . . . . . . . . . . . . . . . . . . . . . 177
delete-matching-lines . . . . . . . . . . . . . . . . . . . . . . . . 98
delete-non-matching-lines . . . . . . . . . . . . . . . . . . . . 98
delete-other-windows . . . . . . . . . . . . . . . . . . . . . . . . 145
delete-rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
delete-whitespace-rectangle . . . . . . . . . . . . . . . . . 75
delete-window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
describe-bindings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
describe-coding-system . . . . . . . . . . . . . . . . . . . . . . 165
describe-copying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
describe-distribution . . . . . . . . . . . . . . . . . . . . . . . . 60
describe-function . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
describe-input-method . . . . . . . . . . . . . . . . . . . . . . . 164
describe-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
describe-key-briefly . . . . . . . . . . . . . . . . . . . . . . . . . 56
describe-language-environment . . . . . . . . . . . . . . 162
describe-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
describe-no-warranty . . . . . . . . . . . . . . . . . . . . . . . . . 60
describe-project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
describe-syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
desktop-save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
diary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
diary-anniversary . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
diary-block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
diary-cyclic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
diary-float . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
diary-mail-entries . . . . . . . . . . . . . . . . . . . . . . . . . . 314
diff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
diff-backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
digit-argument. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
dired-backup-diff . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
dired-change-marks . . . . . . . . . . . . . . . . . . . . . . . . . . 294
dired-clean-directory . . . . . . . . . . . . . . . . . . . . . . . 292
dired-create-directory . . . . . . . . . . . . . . . . . . . . . . 297
dired-diff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
dired-display-file . . . . . . . . . . . . . . . . . . . . . . . . . . 293
dired-do-byte-compile . . . . . . . . . . . . . . . . . . . . . . . 296

dired-do-chgrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-chmod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-chown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-compress . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-copy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-copy-regexp . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-hardlink . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-hardlink-regexp . . . . . . . . . . . . . . . . . . . .
dired-do-kill-lines . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-load. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-query-replace . . . . . . . . . . . . . . . . . . . . . .
dired-do-redisplay . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-rename . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-rename-regexp . . . . . . . . . . . . . . . . . . . . . .
dired-do-search . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-shell-command . . . . . . . . . . . . . . . . . . . . . .
dired-do-symlink . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-do-symlink-regexp . . . . . . . . . . . . . . . . . . . . .
dired-do-toggle . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-downcase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-expunge. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-find-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-find-file-other-window . . . . . . . . . . . . . . .
dired-flag-auto-save-files. . . . . . . . . . . . . . . . . .
dired-flag-backup-files . . . . . . . . . . . . . . . . . . . . .
dired-flag-file-deletion . . . . . . . . . . . . . . . . . . . .
dired-flag-files-regexp . . . . . . . . . . . . . . . . . . . . .
dired-flag-garbage-files . . . . . . . . . . . . . . . . . . . .
dired-hide-all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-hide-subdir . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-mark-directories . . . . . . . . . . . . . . . . . . . . . .
dired-mark-executables . . . . . . . . . . . . . . . . . . . . . .
dired-mark-files-containing-regexp . . . . . . . . .
dired-mark-files-regexp . . . . . . . . . . . . . . . . . . . . .
dired-mark-subdir-files . . . . . . . . . . . . . . . . . . . . .
dired-mark-symlinks . . . . . . . . . . . . . . . . . . . . . . . . .
dired-maybe-insert-subdir . . . . . . . . . . . . . . . . . . .
dired-mouse-find-file-other-window . . . . . . . . .
dired-next-dirline . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-next-marked-file . . . . . . . . . . . . . . . . . . . . . .
dired-next-subdir . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-other-frame . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-other-window . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-prev-dirline . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-prev-marked-file . . . . . . . . . . . . . . . . . . . . . .
dired-prev-subdir . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-sort-toggle-or-edit . . . . . . . . . . . . . . . . . . .
dired-tree-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-tree-up. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-undo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-unmark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dired-unmark-all-files . . . . . . . . . . . . . . . . . . . . . .

296
296
296
296
295
297
295
296
297
300
296
296
296
300
295
297
296
297
296
297
294
297
292
293
293
292
292
291
293
292
299
299
293
294
294
295
295
294
294
298
293
299
294
299
291
291
299
294
299
300
299
299
295
294
294

452

dired-unmark-all-files-no-query . . . . . . . . . . . . 294
dired-unmark-backward . . . . . . . . . . . . . . . . . . . . . . . 294
dired-upcase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
dired-view-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
dirs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
dirtrack-mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
disable-command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
display-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
dissociated-press . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
do-auto-save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
doctor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
down-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
downcase-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
downcase-word. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
dunnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340

E
edit-abbrevs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
edit-kbd-macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
edit-picture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
edit-tab-stops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
edit-tab-stops-note-changes . . . . . . . . . . . . . . . . 178
edt-emulation-off . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
edt-emulation-on . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
eldoc-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
electric-nroff-mode . . . . . . . . . . . . . . . . . . . . . . . . . 198
emacs-lisp-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
emacs-version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
emerge-auto-advance-mode . . . . . . . . . . . . . . . . . . . . 232
emerge-buffers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
emerge-buffers-with-ancestor . . . . . . . . . . . . . . . 231
emerge-files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
emerge-files-with-ancestor. . . . . . . . . . . . . . . . . . 231
emerge-skip-prefers-mode . . . . . . . . . . . . . . . . . . . . 232
enable-command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
enable-flow-control . . . . . . . . . . . . . . . . . . . . . . . . . 373
enable-flow-control-on . . . . . . . . . . . . . . . . . . . . . . 373
enable-local-eval . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
enable-local-variables . . . . . . . . . . . . . . . . . . . . . . 353
end-kbd-macro. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
end-of-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
end-of-defun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
end-of-fortran-subprogram . . . . . . . . . . . . . . . . . . . 239
end-of-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
enlarge-window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
enlarge-window-horizontally . . . . . . . . . . . . . . . . 145
enriched-mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
european-calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
eval-current-buffer . . . . . . . . . . . . . . . . . . . . . . . . . 255
eval-defun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
eval-expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
eval-last-sexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
eval-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
exchange-point-and-mark . . . . . . . . . . . . . . . . . . . . . . 63

GNU Emacs

execute-extended-command . . . . . . . . . . . . . . . . . . . . . 53
exit-calendar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
exit-recursive-edit . . . . . . . . . . . . . . . . . . . . . . . . . 338
expand-abbrev. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
expand-mail-aliases . . . . . . . . . . . . . . . . . . . . . . . . . 270
expand-region-abbrevs . . . . . . . . . . . . . . . . . . . . . . . 259

F
facemenu-remove-all . . . . . . . . . . . . . . . . . . . . . . . . . 200
facemenu-remove-props . . . . . . . . . . . . . . . . . . . . . . . 200
facemenu-set-background . . . . . . . . . . . . . . . . . . . . . 201
facemenu-set-bold . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
facemenu-set-bold-italic . . . . . . . . . . . . . . . . . . . . 200
facemenu-set-default . . . . . . . . . . . . . . . . . . . . . . . . 200
facemenu-set-face . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
facemenu-set-foreground . . . . . . . . . . . . . . . . . . . . . 201
facemenu-set-italic . . . . . . . . . . . . . . . . . . . . . . . . . 200
facemenu-set-underline . . . . . . . . . . . . . . . . . . . . . . 200
fast-lock-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
fill-individual-paragraphs. . . . . . . . . . . . . . . . . . 187
fill-nonuniform-paragraphs. . . . . . . . . . . . . . . . . . 188
fill-paragraph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
fill-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
fill-region-as-paragraph . . . . . . . . . . . . . . . . . . . . 186
find-alternate-file . . . . . . . . . . . . . . . . . . . . . . . . . 107
find-dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
find-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
find-file-binary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
find-file-literally . . . . . . . . . . . . . . . . . . . . . . . . . 108
find-file-other-frame . . . . . . . . . . . . . . . . . . . . . . . 108
find-file-other-window . . . . . . . . . . . . . . . . . . . . . . 108
find-file-read-only . . . . . . . . . . . . . . . . . . . . . . . . . 107
find-file-read-only-other-frame . . . . . . . . . . . . 151
find-file-text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
find-grep-dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
find-name-dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
find-tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
find-tag-other-frame . . . . . . . . . . . . . . . . . . . . . . . . 229
find-tag-other-window . . . . . . . . . . . . . . . . . . . . . . . 229
find-tag-regexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
finder-by-keyword . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
flush-lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
flyspell-mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
font-lock-add-keywords . . . . . . . . . . . . . . . . . . . . . . 157
font-lock-fontify-block . . . . . . . . . . . . . . . . . . . . . 157
font-lock-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
format-find-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
fortran-auto-fill-mode . . . . . . . . . . . . . . . . . . . . . . 244
fortran-column-ruler . . . . . . . . . . . . . . . . . . . . . . . . 244
fortran-comment-region . . . . . . . . . . . . . . . . . . . . . . 243
fortran-indent-line . . . . . . . . . . . . . . . . . . . . . . . . . 240
fortran-indent-new-line . . . . . . . . . . . . . . . . . . . . . 240
fortran-indent-subprogram . . . . . . . . . . . . . . . . . . . 240

453

fortran-join-line . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
fortran-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
fortran-narrow-to-subprogram . . . . . . . . . . . . . . . 245
fortran-next-statement . . . . . . . . . . . . . . . . . . . . . . 239
fortran-previous-statement. . . . . . . . . . . . . . . . . . 239
fortran-split-line . . . . . . . . . . . . . . . . . . . . . . . . . . 240
fortran-window-create . . . . . . . . . . . . . . . . . . . . . . . 244
forward-char . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
forward-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
forward-page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
forward-paragraph . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
forward-sentence . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
forward-sexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
forward-text-line . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
forward-word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
frame-configuration-to-register . . . . . . . . . . . . . 78

G
gdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
global-font-lock-mode . . . . . . . . . . . . . . . . . . . . . . . 156
global-set-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
global-unset-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
gnus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
gnus-group-exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
gnus-group-kill-group . . . . . . . . . . . . . . . . . . . . . . . 322
gnus-group-list-all-groups. . . . . . . . . . . . . . . . . . 322
gnus-group-list-groups . . . . . . . . . . . . . . . . . . . . . . 322
gnus-group-next-group . . . . . . . . . . . . . . . . . . . . . . . 322
gnus-group-next-unread-group . . . . . . . . . . . . . . . 322
gnus-group-prev-group . . . . . . . . . . . . . . . . . . . . . . . 322
gnus-group-prev-unread-group . . . . . . . . . . . . . . . 322
gnus-group-read-group . . . . . . . . . . . . . . . . . . . . . . . 322
gnus-group-unsubscribe-current-group . . . . . . . 322
gnus-summary-isearch-article . . . . . . . . . . . . . . . 323
gnus-summary-next-subject . . . . . . . . . . . . . . . . . . . 322
gnus-summary-next-unread-article . . . . . . . . . . . 322
gnus-summary-prev-page . . . . . . . . . . . . . . . . . . . . . . 322
gnus-summary-prev-subject . . . . . . . . . . . . . . . . . . . 322
gnus-summary-prev-unread-article . . . . . . . . . . . 322
gnus-summary-search-article-forward . . . . . . . . 323
gomoku . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
goto-char . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
goto-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
grep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
grep (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
grep-find . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
gud-cont . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
gud-def . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
gud-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
gud-finish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
gud-gdb-complete-command . . . . . . . . . . . . . . . . . . . . 252
gud-next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
gud-refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251

gud-remove . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
gud-step . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
gud-stepi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
gud-tbreak . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
gud-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

251
251
251
252
252

H
hanoi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
help-command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
help-for-help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
help-next-ref . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
help-previous-ref . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
help-with-tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
hide-body . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
hide-entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
hide-leaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
hide-other . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
hide-sublevels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
hide-subtree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
highlight-changes-mode . . . . . . . . . . . . . . . . . . . . . . 160
holidays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
hscroll-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

I
iconify-or-deiconify-frame. . . . . . . . . . . . . . . . . . 160
ielm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
increase-left-margin . . . . . . . . . . . . . . . . . . . . . . . . 201
increment-register . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
indent-for-comment . . . . . . . . . . . . . . . . . . . . . . . . . . 219
indent-new-comment-line . . . . . . . . . . . . . . . . . . . . . 220
indent-region. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
indent-relative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
indent-rigidly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
indent-sexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Info-goto-emacs-command-node . . . . . . . . . . . . . . . . 60
Info-goto-emacs-key-command-node . . . . . . . . . . . . 60
info-lookup-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
info-lookup-symbol . . . . . . . . . . . . . . . . . . . . . . . . . . 223
insert-abbrevs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
insert-anniversary-diary-entry . . . . . . . . . . . . . 317
insert-block-diary-entry . . . . . . . . . . . . . . . . . . . . 317
insert-cyclic-diary-entry . . . . . . . . . . . . . . . . . . . 317
insert-diary-entry . . . . . . . . . . . . . . . . . . . . . . . . . . 316
insert-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
insert-kbd-macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
insert-monthly-diary-entry. . . . . . . . . . . . . . . . . . 316
insert-parentheses . . . . . . . . . . . . . . . . . . . . . . . . . . 222
insert-register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
insert-weekly-diary-entry . . . . . . . . . . . . . . . . . . . 316
insert-yearly-diary-entry . . . . . . . . . . . . . . . . . . . 316
inverse-add-global-abbrev . . . . . . . . . . . . . . . . . . . 258

454

inverse-add-mode-abbrev . . . . . . . . . . . . . . . . . . . . . 258
isearch-backward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
isearch-backward-regexp . . . . . . . . . . . . . . . . . . . . . . 90
isearch-forward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
isearch-forward-regexp . . . . . . . . . . . . . . . . . . . . . . . 90
ispell-buffer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
ispell-complete-word . . . . . . . . . . . . . . . . . . . . . . . . 104
ispell-kill-ispell . . . . . . . . . . . . . . . . . . . . . . . . . . 104
ispell-message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
ispell-region. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
ispell-word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

J
jdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
jump-to-register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
just-one-space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

K
kbd-macro-query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
keep-lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
keyboard-escape-quit . . . . . . . . . . . . . . . . . . . . . . . . 372
keyboard-translate . . . . . . . . . . . . . . . . . . . . . . . . . . 365
kill-all-abbrevs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
kill-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
kill-buffer-and-window . . . . . . . . . . . . . . . . . . . . . . 145
kill-comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
kill-compilation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
kill-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
kill-local-variable . . . . . . . . . . . . . . . . . . . . . . . . . 351
kill-rectangle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
kill-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
kill-ring-save. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
kill-sentence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
kill-sexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
kill-some-buffers . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
kill-word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182

L
latex-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
lazy-lock-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
line-number-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
lisp-complete-symbol . . . . . . . . . . . . . . . . . . . . . . . . 222
lisp-eval-defun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
lisp-indent-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
lisp-interaction-mode . . . . . . . . . . . . . . . . . . . . . . . 255
lisp-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
list-abbrevs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
list-bookmarks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
list-buffers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
list-calendar-holidays . . . . . . . . . . . . . . . . . . . . . . 307
list-coding-systems . . . . . . . . . . . . . . . . . . . . . . . . . 165

GNU Emacs

list-command-history . . . . . . . . . . . . . . . . . . . . . . . . . 50
list-directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
list-faces-display . . . . . . . . . . . . . . . . . . . . . . . . . . 155
list-holidays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
list-input-methods . . . . . . . . . . . . . . . . . . . . . . . . . . 164
list-matching-lines . . . . . . . . . . . . . . . . . . . . . . . . . . 98
list-tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
list-text-properties-at . . . . . . . . . . . . . . . . . . . . . 200
list-yahrzeit-dates . . . . . . . . . . . . . . . . . . . . . . . . . 311
load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
load-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
load-library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
local-set-key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
local-unset-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
lpr-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
lpr-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331

M
mail-attach-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
mail-bcc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
mail-cc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
mail-complete. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
mail-fcc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
mail-fill-yanked-message . . . . . . . . . . . . . . . . . . . . 272
mail-interactive-insert-alias . . . . . . . . . . . . . . 270
mail-send . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
mail-send-and-exit . . . . . . . . . . . . . . . . . . . . . . . . . . 271
mail-signature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
mail-subject . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
mail-text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
mail-to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
mail-yank-original . . . . . . . . . . . . . . . . . . . . . . . . . . 272
mail-yank-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
make-frame-command . . . . . . . . . . . . . . . . . . . . . . . . . . 151
make-frame-on-display . . . . . . . . . . . . . . . . . . . . . . . 152
make-indirect-buffer . . . . . . . . . . . . . . . . . . . . . . . . 140
make-local-variable . . . . . . . . . . . . . . . . . . . . . . . . . 350
make-symbolic-link . . . . . . . . . . . . . . . . . . . . . . . . . . 133
make-variable-buffer-local. . . . . . . . . . . . . . . . . . 350
Man-fontify-manpage . . . . . . . . . . . . . . . . . . . . . . . . . 223
manual-entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
mark-calendar-holidays . . . . . . . . . . . . . . . . . . . . . . 307
mark-defun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
mark-diary-entries . . . . . . . . . . . . . . . . . . . . . . . . . . 314
mark-fortran-subprogram . . . . . . . . . . . . . . . . . . . . . 239
mark-page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
mark-paragraph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
mark-sexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
mark-whole-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
mark-word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
minibuffer-complete . . . . . . . . . . . . . . . . . . . . . . . . . . 47
minibuffer-complete-word . . . . . . . . . . . . . . . . . . . . . 47
mode25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404

455

mode4350 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
modify-face . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
mouse-choose-completion . . . . . . . . . . . . . . . . . . . . . . 48
mouse-save-then-click . . . . . . . . . . . . . . . . . . . . . . . 147
mouse-secondary-save-then-kill . . . . . . . . . . . . . 149
mouse-set-point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
mouse-set-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
mouse-set-secondary . . . . . . . . . . . . . . . . . . . . . . . . . 149
mouse-start-secondary . . . . . . . . . . . . . . . . . . . . . . . 149
mouse-yank-at-click . . . . . . . . . . . . . . . . . . . . . . . . . 147
mouse-yank-secondary . . . . . . . . . . . . . . . . . . . . . . . . 149
move-past-close-and-reindent . . . . . . . . . . . . . . . 222
move-to-window-line . . . . . . . . . . . . . . . . . . . . . . . . . . 36
mpuz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340

N
name-last-kbd-macro . . . . . . . . . . . . . . . . . . . . . . . . . 355
narrow-to-defun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
narrow-to-page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
narrow-to-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
negative-argument . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
newline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
newline-and-indent . . . . . . . . . . . . . . . . . . . . . . . . . . 209
next-completion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
next-error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
next-history-element . . . . . . . . . . . . . . . . . . . . . . . . . 49
next-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
next-matching-history-element . . . . . . . . . . . . . . . 50
normal-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
not-modified . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
nroff-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
number-to-register . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

O
occur . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
open-dribble-file . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
open-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
open-rectangle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
open-termscript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
other-frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
other-window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
outline-backward-same-level . . . . . . . . . . . . . . . . 192
outline-forward-same-level. . . . . . . . . . . . . . . . . . 192
outline-minor-mode . . . . . . . . . . . . . . . . . . . . . . . . . . 190
outline-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
outline-next-visible-heading . . . . . . . . . . . . . . . 192
outline-previous-visible-heading . . . . . . . . . . . 192
outline-up-heading . . . . . . . . . . . . . . . . . . . . . . . . . . 192
overwrite-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342

P
paragraph-indent-text-mode. . . . . . . . . . . . . . . . . . 190
pdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
perldb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
phases-of-moon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
picture-backward-clear-column . . . . . . . . . . . . . . 263
picture-backward-column . . . . . . . . . . . . . . . . . . . . . 263
picture-clear-column . . . . . . . . . . . . . . . . . . . . . . . . 263
picture-clear-line . . . . . . . . . . . . . . . . . . . . . . . . . . 263
picture-clear-rectangle . . . . . . . . . . . . . . . . . . . . . 265
picture-clear-rectangle-to-register . . . . . . . . 265
picture-forward-column . . . . . . . . . . . . . . . . . . . . . . 263
picture-motion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
picture-motion-reverse . . . . . . . . . . . . . . . . . . . . . . 264
picture-move-down . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
picture-move-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
picture-movement-down . . . . . . . . . . . . . . . . . . . . . . . 264
picture-movement-left . . . . . . . . . . . . . . . . . . . . . . . 264
picture-movement-ne . . . . . . . . . . . . . . . . . . . . . . . . . 264
picture-movement-nw . . . . . . . . . . . . . . . . . . . . . . . . . 264
picture-movement-right . . . . . . . . . . . . . . . . . . . . . . 264
picture-movement-se . . . . . . . . . . . . . . . . . . . . . . . . . 264
picture-movement-sw . . . . . . . . . . . . . . . . . . . . . . . . . 264
picture-movement-up . . . . . . . . . . . . . . . . . . . . . . . . . 264
picture-newline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
picture-open-line . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
picture-set-tab-stops . . . . . . . . . . . . . . . . . . . . . . . 265
picture-tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
picture-tab-search . . . . . . . . . . . . . . . . . . . . . . . . . . 264
picture-yank-rectangle . . . . . . . . . . . . . . . . . . . . . . 265
picture-yank-rectangle-from-register . . . . . . . 265
plain-tex-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
point-to-register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
pop-global-mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
pop-tag-mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
prefer-coding-system . . . . . . . . . . . . . . . . . . . . . . . . 167
prepend-to-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
previous-completion . . . . . . . . . . . . . . . . . . . . . . . . . . 48
previous-history-element . . . . . . . . . . . . . . . . . . . . . 49
previous-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
previous-matching-history-element . . . . . . . . . . . 50
print-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
print-buffer (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . 407
print-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
print-region (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . 407
ps-print-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
ps-print-buffer (MS-DOS) . . . . . . . . . . . . . . . . . . . 408
ps-print-buffer-with-faces. . . . . . . . . . . . . . . . . . 332
ps-print-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
ps-print-region-with-faces. . . . . . . . . . . . . . . . . . 332
ps-spool-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
ps-spool-buffer (MS-DOS) . . . . . . . . . . . . . . . . . . . 408
ps-spool-buffer-with-faces. . . . . . . . . . . . . . . . . . 332
ps-spool-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332

456

ps-spool-region-with-faces. . . . . . . . . . . . . . . . . . 332
pwd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

Q
quail-set-keyboard-layout . . . . . . . . . . . . . . . . . . . 164
query-replace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
query-replace-regexp . . . . . . . . . . . . . . . . . . . . . . . . . 97
quietly-read-abbrev-file . . . . . . . . . . . . . . . . . . . . 260
quoted-insert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

R
re-search-backward . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
re-search-forward . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
read-abbrev-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
recenter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
recover-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
recover-session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
redraw-calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
remove-untranslated-filesystem . . . . . . . . . . . . . 407
rename-buffer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
rename-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
repeat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
repeat-complex-command . . . . . . . . . . . . . . . . . . . . . . . 50
replace-regexp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
replace-string. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
report-emacs-bug . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
reposition-window . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
resize-minibuffer-mode . . . . . . . . . . . . . . . . . . . . . . . 46
revert-buffer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
revert-buffer (Dired) . . . . . . . . . . . . . . . . . . . . . . . . 300
rlogin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
rlogin-directory-tracking-mode . . . . . . . . . . . . . 330
rmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
rmail-add-label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
rmail-beginning-of-message. . . . . . . . . . . . . . . . . . 276
rmail-bury . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
rmail-continue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
rmail-delete-backward . . . . . . . . . . . . . . . . . . . . . . . 277
rmail-delete-forward . . . . . . . . . . . . . . . . . . . . . . . . 277
rmail-edit-current-message. . . . . . . . . . . . . . . . . . 287
rmail-expunge. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
rmail-first-message . . . . . . . . . . . . . . . . . . . . . . . . . 277
rmail-forward. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
rmail-get-new-mail . . . . . . . . . . . . . . . . . . . . . . . . . . 279
rmail-input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
rmail-kill-label . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
rmail-last-message . . . . . . . . . . . . . . . . . . . . . . . . . . 277
rmail-mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
rmail-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
rmail-next-labeled-message. . . . . . . . . . . . . . . . . . 281
rmail-next-message . . . . . . . . . . . . . . . . . . . . . . . . . . 276
rmail-next-undeleted-message . . . . . . . . . . . . . . . 276

GNU Emacs

rmail-output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-output-body-to-file . . . . . . . . . . . . . . . . . . .
rmail-output-to-rmail-file. . . . . . . . . . . . . . . . . .
rmail-previous-labeled-message . . . . . . . . . . . . .
rmail-previous-message . . . . . . . . . . . . . . . . . . . . . .
rmail-previous-undeleted-message . . . . . . . . . . .
rmail-quit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-reply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-resend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-retry-failure . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-show-message . . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-summary-by-labels . . . . . . . . . . . . . . . . . . . . .
rmail-summary-by-recipients . . . . . . . . . . . . . . . .
rmail-summary-by-topic . . . . . . . . . . . . . . . . . . . . . .
rmail-summary-quit . . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-summary-wipe . . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-toggle-header . . . . . . . . . . . . . . . . . . . . . . . . .
rmail-undelete-previous-message . . . . . . . . . . . .
rot13-other-window . . . . . . . . . . . . . . . . . . . . . . . . . .
run-lisp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

280
280
280
281
276
276
275
282
283
283
275
276
277
284
284
284
284
285
285
286
277
288
256

S
save-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
save-buffers-kill-emacs . . . . . . . . . . . . . . . . . . . . . . 34
save-some-buffers . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
scroll-bar-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
scroll-calendar-left . . . . . . . . . . . . . . . . . . . . . . . . 305
scroll-calendar-left-three-months . . . . . . . . . . 305
scroll-calendar-right . . . . . . . . . . . . . . . . . . . . . . . 305
scroll-calendar-right-three-months . . . . . . . . . 305
scroll-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
scroll-left . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
scroll-other-window . . . . . . . . . . . . . . . . . . . . . . . . . 143
scroll-right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
scroll-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
sdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
search-backward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
search-forward. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
select-frame-by-name . . . . . . . . . . . . . . . . . . . . . . . . 160
self-insert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
send-invisible . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
server-edit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
set-background-color . . . . . . . . . . . . . . . . . . . . . . . . 153
set-border-color . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
set-buffer-file-coding-system . . . . . . . . . . . . . . 168
set-buffer-process-coding-system . . . . . . . . . . . 169
set-comment-column . . . . . . . . . . . . . . . . . . . . . . . . . . 221
set-cursor-color . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
set-fill-column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
set-fill-prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187

457

set-foreground-color . . . . . . . . . . . . . . . . . . . . . . . . 153
set-frame-font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
set-frame-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
set-goal-column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
set-input-method . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
set-justification-center . . . . . . . . . . . . . . . . . . . . 203
set-justification-full . . . . . . . . . . . . . . . . . . . . . . 203
set-justification-left . . . . . . . . . . . . . . . . . . . . . . 203
set-justification-none . . . . . . . . . . . . . . . . . . . . . . 203
set-justification-right . . . . . . . . . . . . . . . . . . . . . 203
set-keyboard-coding-system. . . . . . . . . . . . . . . . . . 169
set-language-environment . . . . . . . . . . . . . . . . . . . . 162
set-mark-command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
set-mouse-color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
set-next-selection-coding-system . . . . . . . . . . . 169
set-rmail-inbox-list . . . . . . . . . . . . . . . . . . . . . . . . 279
set-selection-coding-system . . . . . . . . . . . . . . . . 169
set-selective-display . . . . . . . . . . . . . . . . . . . . . . . . 83
set-terminal-coding-system. . . . . . . . . . . . . . . . . . 169
set-variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
set-visited-file-name . . . . . . . . . . . . . . . . . . . . . . . 109
setq-default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
shell-backward-command . . . . . . . . . . . . . . . . . . . . . . 326
shell-command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
shell-command-on-region . . . . . . . . . . . . . . . . . . . . . 323
shell-forward-command . . . . . . . . . . . . . . . . . . . . . . . 326
shell-pushd-dextract . . . . . . . . . . . . . . . . . . . . . . . . 329
shell-pushd-dunique . . . . . . . . . . . . . . . . . . . . . . . . . 329
shell-pushd-tohome . . . . . . . . . . . . . . . . . . . . . . . . . . 329
show-all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
show-all-diary-entries . . . . . . . . . . . . . . . . . . . . . . 314
show-branches. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
show-children. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
show-entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
show-paren-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
show-subtree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
shrink-window-if-larger-than-buffer . . . . . . . . 145
slitex-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
sort-columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
sort-fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
sort-lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
sort-numeric-fields . . . . . . . . . . . . . . . . . . . . . . . . . 333
sort-pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
sort-paragraphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
split-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
split-window-horizontally . . . . . . . . . . . . . . . . . . . 142
split-window-vertically . . . . . . . . . . . . . . . . . . . . . 142
spook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
standard-display-8bit . . . . . . . . . . . . . . . . . . . . . . . 172
start-kbd-macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
string-rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
substitute-in-file-name . . . . . . . . . . . . . . . . . . . . . 106
substitute-key-definition . . . . . . . . . . . . . . . . . . . 360
sunrise-sunset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308

suspend-emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
switch-to-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
switch-to-buffer-other-frame . . . . . . . . . . . . . . . 135
switch-to-buffer-other-window . . . . . . . . . . . . . . 135
switch-to-completions . . . . . . . . . . . . . . . . . . . . . . . . 48

T
tab-to-tab-stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
tabify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
tags-apropos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
tags-loop-continue . . . . . . . . . . . . . . . . . . . . . . . . . . 230
tags-query-replace . . . . . . . . . . . . . . . . . . . . . . . . . . 230
tags-search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
tex-bibtex-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
tex-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
tex-close-latex-block . . . . . . . . . . . . . . . . . . . . . . . 195
tex-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
tex-insert-braces . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
tex-insert-quote . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
tex-kill-job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
tex-latex-block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
tex-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
tex-print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
tex-recenter-output-buffer. . . . . . . . . . . . . . . . . . 196
tex-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
tex-show-print-queue . . . . . . . . . . . . . . . . . . . . . . . . 196
tex-terminate-paragraph . . . . . . . . . . . . . . . . . . . . . 195
tex-validate-region . . . . . . . . . . . . . . . . . . . . . . . . . 195
tex-view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
text-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
tmm-menubar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
toggle-input-method . . . . . . . . . . . . . . . . . . . . . . . . . 164
toggle-scroll-bar . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
top-level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
transient-mark-mode . . . . . . . . . . . . . . . . . . . . . . . . . . 64
transpose-chars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
transpose-lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
transpose-sexps . . . . . . . . . . . . . . . . . . . . . . . . . 102, 207
transpose-words . . . . . . . . . . . . . . . . . . . . . . . . . 102, 182
turn-on-font-lock . . . . . . . . . . . . . . . . . . . . . . . . . . . 156

U
undigestify-rmail-message . . . . . . . . . . . . . . . . . . . 287
undo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
unexpand-abbrev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
unforward-rmail-message . . . . . . . . . . . . . . . . . . . . . 283
universal-argument . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
universal-coding-system-argument . . . . . . . . . . . 168
unrmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
untabify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
up-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195

458

upcase-region. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
upcase-word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189

V
vc-annotate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
vc-cancel-version . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
vc-create-snapshot . . . . . . . . . . . . . . . . . . . . . . . . . . 126
vc-diff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
vc-directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
vc-dired-mark-locked . . . . . . . . . . . . . . . . . . . . . . . . 123
vc-dired-toggle-terse-mode. . . . . . . . . . . . . . . . . . 123
vc-insert-headers . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
vc-merge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
vc-next-action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
vc-print-log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
vc-register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
vc-rename-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
vc-retrieve-snapshot . . . . . . . . . . . . . . . . . . . . . . . . 126
vc-revert-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
vc-toggle-read-only . . . . . . . . . . . . . . . . . . . . . 118, 136
vc-update-change-log . . . . . . . . . . . . . . . . . . . . . . . . 127
vc-version-other-window . . . . . . . . . . . . . . . . . . . . . 120
vi-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
view-buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
view-diary-entries . . . . . . . . . . . . . . . . . . . . . . . . . . 314
view-emacs-FAQ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
view-emacs-news . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
view-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
view-hello-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
view-lossage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
view-register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
vip-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
viper-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339

GNU Emacs

visit-tags-table . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228

W
what-cursor-position . . . . . . . . . . . . . . . . . . . . . . . . . 41
what-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
what-page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
where-is . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
which-function-mode . . . . . . . . . . . . . . . . . . . . . . . . . 222
widen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
widget-backward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
widget-complete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
widget-forward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
window-configuration-to-register . . . . . . . . . . . . 78
word-search-backward . . . . . . . . . . . . . . . . . . . . . . . . . 90
word-search-forward . . . . . . . . . . . . . . . . . . . . . . . . . . 90
write-abbrev-file . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
write-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
write-region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133

X
xdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250

Y
yank . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
yank-pop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
yank-rectangle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
yow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340

Z
zap-to-char . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

459


A
abbrev-all-caps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
abbrev-file-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
abbrev-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
adaptive-fill-first-line-regexp . . . . . . . . . . . . 188
adaptive-fill-function . . . . . . . . . . . . . . . . . . . . . . 189
adaptive-fill-mode . . . . . . . . . . . . . . . . . . . . . . . . . . 188
adaptive-fill-regexp . . . . . . . . . . . . . . . . . . . . . . . . 188
ange-ftp-default-user . . . . . . . . . . . . . . . . . . . . . . . 134
appt-display-diary . . . . . . . . . . . . . . . . . . . . . . . . . . 318
appt-issue-message . . . . . . . . . . . . . . . . . . . . . . . . . . 318
apropos-do-all. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
auto-coding-alist . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
auto-mode-alist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
auto-save-default . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
auto-save-interval . . . . . . . . . . . . . . . . . . . . . . . . . . 115
auto-save-list-file-prefix. . . . . . . . . . . . . . . . . . 116
auto-save-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
auto-save-visited-file-name . . . . . . . . . . . . . . . . 114

B
backup-by-copying . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
backup-by-copying-when-linked . . . . . . . . . . . . . . 112
backup-by-copying-when-mismatch . . . . . . . . . . . . 112
backup-enable-predicate . . . . . . . . . . . . . . . . . . . . . 110
baud-rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
blink-matching-delay . . . . . . . . . . . . . . . . . . . . . . . . 219
blink-matching-paren . . . . . . . . . . . . . . . . . . . . . . . . 219
blink-matching-paren-distance . . . . . . . . . . . . . . 219
bookmark-save-flag . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
bookmark-search-size . . . . . . . . . . . . . . . . . . . . . . . . . 79
buffer-file-coding-system . . . . . . . . . . . . . . . . . . . 167
buffer-read-only . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136

C
c-basic-offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-comment-only-line-offset. . . . . . . . . . . . . . . . . .
c-comment-start-regexp . . . . . . . . . . . . . . . . . . . . . .
c-default-style . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-hanging-comment-ender-p . . . . . . . . . . . . . . . . . . .
c-hanging-comment-starter-p . . . . . . . . . . . . . . . .
c-hungry-delete-key . . . . . . . . . . . . . . . . . . . . . . . . .
c-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-mode-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-offsets-alist . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-special-indent-hook . . . . . . . . . . . . . . . . . . . . . . .
c-strict-syntax-p . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-style-alist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c-syntactic-context . . . . . . . . . . . . . . . . . . . . . . . . .
calendar-daylight-savings-ends . . . . . . . . . . . . .
calendar-daylight-savings-ends-time . . . . . . . .
calendar-daylight-savings-starts . . . . . . . . . . .

217
239
239
218
239
239
238
206
358
217
217
213
217
212
319
319
319

calendar-daylight-time-offset . . . . . . . . . . . . . . 319
calendar-daylight-time-zone-name . . . . . . . . . . . 308
calendar-latitude . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
calendar-location-name . . . . . . . . . . . . . . . . . . . . . . 308
calendar-longitude . . . . . . . . . . . . . . . . . . . . . . . . . . 308
calendar-standard-time-zone-name . . . . . . . . . . . 308
calendar-time-zone . . . . . . . . . . . . . . . . . . . . . . . . . . 308
calendar-week-start-day . . . . . . . . . . . . . . . . . . . . . 304
case-fold-search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
case-replace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
change-major-mode-with-file-name . . . . . . . . . . . 176
coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
colon-double-space . . . . . . . . . . . . . . . . . . . . . . . . . . 187
comint-completion-addsuffix . . . . . . . . . . . . . . . . 329
comint-completion-autolist. . . . . . . . . . . . . . . . . . 329
comint-completion-fignore . . . . . . . . . . . . . . . . . . . 325
comint-completion-recexact. . . . . . . . . . . . . . . . . . 329
comint-input-autoexpand . . . . . . . . . . . . . . . . . . . . . 328
comint-input-ignoredups . . . . . . . . . . . . . . . . . . . . . 329
comint-prompt-regexp . . . . . . . . . . . . . . . . . . . . . . . . 328
comint-scroll-show-maximum-output . . . . . . . . . . 329
comint-scroll-to-bottom-on-input . . . . . . . . . . . 329
comint-scroll-to-bottom-on-output . . . . . . . . . . 329
command-history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
command-line-args . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
comment-column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
comment-end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
comment-indent-function . . . . . . . . . . . . . . . . . . . . . 221
comment-line-start . . . . . . . . . . . . . . . . . . . . . . . . . . 243
comment-line-start-skip . . . . . . . . . . . . . . . . . . . . . 243
comment-multi-line . . . . . . . . . . . . . . . . . . . . . . . . . . 221
comment-padding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
comment-start. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
comment-start-skip . . . . . . . . . . . . . . . . . . . . . . . . . . 221
compare-ignore-case . . . . . . . . . . . . . . . . . . . . . . . . . 132
compilation-scroll-output . . . . . . . . . . . . . . . . . . . 247
compile-command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
completion-auto-help . . . . . . . . . . . . . . . . . . . . . . . . . 49
completion-ignored-extensions . . . . . . . . . . . . . . . 49
ctl-arrow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
ctl-x-4-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
ctl-x-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
current-input-method . . . . . . . . . . . . . . . . . . . . . . . . 164

D
dabbrev-abbrev-char-regexp. . . . . . . . . . . . . . . . . .
dabbrev-abbrev-skip-leading-regexp . . . . . . . . .
dabbrev-case-fold-search . . . . . . . . . . . . . . . . . . . .
dabbrev-case-replace . . . . . . . . . . . . . . . . . . . . . . . .
dabbrev-check-all-buffers . . . . . . . . . . . . . . . . . . .
dabbrev-limit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dbx-mode-hook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
default-buffer-file-coding-system . . . . . . . . . .

262
262
261
261
261
261
252
169

460

default-directory . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
default-enable-multibyte-characters . . . . . . . . 161
default-input-method . . . . . . . . . . . . . . . . . . . . . . . . 164
default-justification . . . . . . . . . . . . . . . . . . . . . . . 203
default-major-mode . . . . . . . . . . . . . . . . . . . . . . . . . . 176
delete-auto-save-files . . . . . . . . . . . . . . . . . . . . . . 115
delete-old-versions . . . . . . . . . . . . . . . . . . . . . . . . . 111
desktop-enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
desktop-files-not-to-save . . . . . . . . . . . . . . . . . . . 337
diary-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
diary-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
diary-mail-days . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
diff-switches. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
dired-chown-program . . . . . . . . . . . . . . . . . . . . . . . . . 296
dired-copy-preserve-time . . . . . . . . . . . . . . . . . . . . 295
dired-garbage-files-regexp. . . . . . . . . . . . . . . . . . 292
dired-kept-versions . . . . . . . . . . . . . . . . . . . . . . . . . 292
dired-listing-switches . . . . . . . . . . . . . . . . . . . . . . 291
dired-listing-switches (MS-DOS) . . . . . . . . . . . 411
display-time -24hr-format . . . . . . . . . . . . . . . . . . . . 84
dos-codepage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
dos-display-scancodes . . . . . . . . . . . . . . . . . . . . . . . 404
dos-hyper-key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
dos-keypad-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
dos-printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
dos-ps-printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
dos-super-key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
dos-unsupported-character-glyph . . . . . . . . . . . . 410
double-click-time . . . . . . . . . . . . . . . . . . . . . . . . . . . 364

E
echo-keystrokes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
emacs-lisp-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . 206
emerge-combine-versions-template . . . . . . . . . . . 235
emerge-startup-hook . . . . . . . . . . . . . . . . . . . . . . . . . 235
enable-multibyte-characters . . . . . . . . . . . . 161, 172
enable-recursive-minibuffers . . . . . . . . . . . . . . . . 46
enriched-fill-after-visiting . . . . . . . . . . . . . . . 199
enriched-translations . . . . . . . . . . . . . . . . . . . . . . . 199
eol-mnemonic-dos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
eol-mnemonic-mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
eol-mnemonic-undecided . . . . . . . . . . . . . . . . . . . . . . . 26
eol-mnemonic-unix . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
esc-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
european-calendar-style . . . . . . . . . . . . . . . . . . . . . 316
exit-language-environment-hook . . . . . . . . . . . . . 163
explicit-shell-file-name . . . . . . . . . . . . . . . . . . . . 324

GNU Emacs

file-coding-system-alist . . . . . . . . . . . . . . . . . . . .
file-name-buffer-file-type-alist . . . . . . . . . . .
file-name-coding-system . . . . . . . . . . . . . . . . . . . . .
file-name-handler-alist . . . . . . . . . . . . . . . . . . . . .
fill-column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
fill-prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
find-file-existing-other-name . . . . . . . . . . . . . .
find-file-hooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
find-file-not-found-hooks . . . . . . . . . . . . . . . . . . .
find-file-run-dired . . . . . . . . . . . . . . . . . . . . . . . . .
find-file-visit-truename . . . . . . . . . . . . . . . . . . . .
find-ls-option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
find-tag-marker-ring-length . . . . . . . . . . . . . . . .
font-lock-beginning-of-syntax-function. . . . .
font-lock-mark-block-function . . . . . . . . . . . . . .
font-lock-maximum-decoration . . . . . . . . . . . . . . .
font-lock-maximum-size . . . . . . . . . . . . . . . . . . . . . .
font-lock-support-mode . . . . . . . . . . . . . . . . . . . . . .
fortran-analyze-depth . . . . . . . . . . . . . . . . . . . . . . .
fortran-break-before-delimiters . . . . . . . . . . . .
fortran-check-all-num... . . . . . . . . . . . . . . . . . . . .
fortran-column-ruler . . . . . . . . . . . . . . . . . . . . . . . .
fortran-comment-indent-char . . . . . . . . . . . . . . . .
fortran-comment-indent-style . . . . . . . . . . . . . . .
fortran-comment-line-extra-indent . . . . . . . . . .
fortran-comment-region . . . . . . . . . . . . . . . . . . . . . .
fortran-continuation-indent . . . . . . . . . . . . . . . .
fortran-continuation-string . . . . . . . . . . . . . . . .
fortran-do-indent . . . . . . . . . . . . . . . . . . . . . . . . . . .
fortran-electric-line-number . . . . . . . . . . . . . . .
fortran-if-indent . . . . . . . . . . . . . . . . . . . . . . . . . . .
fortran-line-number-indent. . . . . . . . . . . . . . . . . .
fortran-minimum-statement-indent... . . . . . . . .
fortran-structure-indent . . . . . . . . . . . . . . . . . . . .
fortran-tab-mode-default . . . . . . . . . . . . . . . . . . . .

167
406
169
134
186
188
116
108
108
107
116
301
229
157
157
157
157
159
241
244
242
244
243
243
243
243
242
240
242
241
242
241
242
242
241

G
gdb-mode-hook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
gud-xdb-directories . . . . . . . . . . . . . . . . . . . . . . . . . 250

H
F
fast-lock-cache-directories . . . . . . . . . . . . . . . . 158
fast-lock-minimum-size . . . . . . . . . . . . . . . . . . . . . . 158
fast-lock-save-others . . . . . . . . . . . . . . . . . . . . . . . 158

help-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
highlight-nonselected-windows . . . . . . . . . . . . . . . 65
highlight-wrong-size-font . . . . . . . . . . . . . . . . . . . 170
history-length. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

461

I
indent-tabs-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
indent-tabs-mode ( Fortran) . . . . . . . . . . . . 241
inferior-lisp-program . . . . . . . . . . . . . . . . . . . . . . . 256
inhibit-eol-conversion . . . . . . . . . . . . . . . . . . . . . . 167
initial-major-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
input-method-highlight-flag . . . . . . . . . . . . . . . . 164
input-method-verbose-flag . . . . . . . . . . . . . . . . . . . 164
insert-default-directory . . . . . . . . . . . . . . . . . . . . 105
interpreter-mode-alist . . . . . . . . . . . . . . . . . . . . . . 176
inverse-video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
isearch-mode-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
ispell-dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

J
jdb-mode-hook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252

K
kept-new-versions . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
kept-old-versions . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
kill-buffer-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
kill-ring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
kill-ring-max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
kill-whole-line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

L
latex-block-names . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
latex-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
latex-run-command . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
lazy-lock-defer-contextually . . . . . . . . . . . . . . . 159
lazy-lock-defer-on-scrolling . . . . . . . . . . . . . . . 158
lazy-lock-defer-time . . . . . . . . . . . . . . . . . . . . . . . . 158
lazy-lock-minimum-size . . . . . . . . . . . . . . . . . . . . . . 158
lazy-lock-stealth-lines . . . . . . . . . . . . . . . . . . . . . 159
lazy-lock-stealth-time . . . . . . . . . . . . . . . . . . . . . . 159
lazy-lock-stealth-verbose . . . . . . . . . . . . . . . . . . . 159
line-number-display-limit . . . . . . . . . . . . . . . . . . . . 83
lisp-body-indent . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
lisp-indent-offset . . . . . . . . . . . . . . . . . . . . . . . . . . 210
lisp-interaction-mode-hook. . . . . . . . . . . . . . . . . . 206
lisp-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
lisp-mode-map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
list-directory-brief-switches . . . . . . . . . . . . . . 132
list-directory-verbose-switches . . . . . . . . . . . . 132
load-path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
lpr-add-switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
lpr-command (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . 407
lpr-commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
lpr-headers-switches . . . . . . . . . . . . . . . . . . . . . . . . 331
lpr-headers-switches (MS-DOS) . . . . . . . . . . . . . 407
lpr-switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331

lpr-switches (MS-DOS) . . . . . . . . . . . . . . . . . . . . . . 407

M
mail-abbrevs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
mail-aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
mail-archive-file-name . . . . . . . . . . . . . . . . . . . . . . 268
mail-default-reply-to . . . . . . . . . . . . . . . . . . . . . . . 268
mail-from-style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
mail-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
mail-personal-alias-file . . . . . . . . . . . . . . . . . . . . 270
mail-self-blind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
mail-setup-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
mail-signature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
mail-user-agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
mail-yank-prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
make-backup-files . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Man-fontify-manpage-flag . . . . . . . . . . . . . . . . . . . . 223
mark-even-if-inactive . . . . . . . . . . . . . . . . . . . . . . . . 65
mark-ring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
mark-ring-max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
message-log-max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
midnight-hook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
midnight-mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
minibuffer-local-completion-map . . . . . . . . . . . . 359
minibuffer-local-map . . . . . . . . . . . . . . . . . . . . . . . . 359
minibuffer-local-must-match-map . . . . . . . . . . . . 359
minibuffer-local-ns-map . . . . . . . . . . . . . . . . . . . . . 359
minibuffer-scroll-overlap . . . . . . . . . . . . . . . . . . . . 46
mode-line-inverse-video . . . . . . . . . . . . . . . . . . . . . . 84
mode-specific-map . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
mouse-scroll-min-lines . . . . . . . . . . . . . . . . . . . . . . 147
mouse-yank-at-point . . . . . . . . . . . . . . . . . . . . . . . . . 148
muddle-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206

N
next-line-add-newlines . . . . . . . . . . . . . . . . . . . . . . . 37
next-screen-context-lines . . . . . . . . . . . . . . . . . . . . 81
no-redraw-on-reenter . . . . . . . . . . . . . . . . . . . . . . . . . 84
nroff-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198

O
outline-level. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
outline-minor-mode-prefix . . . . . . . . . . . . . . . . . . .
outline-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . .
outline-regexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

191
190
191
191

462

GNU Emacs

P
page-delimiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
paragraph-separate . . . . . . . . . . . . . . . . . . . . . . . . . .
paragraph-start . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
parens-require-spaces . . . . . . . . . . . . . . . . . . . . . . .
pdb-mode-hook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
perldb-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . .
picture-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . .
picture-tab-chars . . . . . . . . . . . . . . . . . . . . . . . . . . .
plain-tex-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . .
print-region-function (MS-DOS) . . . . . . . . . . . .
printer-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
printer-name (MS-DOS) . . . . . . . . . . . . . . . . . . . . . .
ps-font-family . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ps-font-info-database . . . . . . . . . . . . . . . . . . . . . . .
ps-font-size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ps-landscape-mode . . . . . . . . . . . . . . . . . . . . . . . . . . .
ps-lpr-command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ps-lpr-command (MS-DOS) . . . . . . . . . . . . . . . . . . . .
ps-lpr-switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ps-lpr-switches (MS-DOS) . . . . . . . . . . . . . . . . . . .
ps-number-of-columns . . . . . . . . . . . . . . . . . . . . . . . .
ps-page-dimensions-database . . . . . . . . . . . . . . . .
ps-paper-type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ps-print-color-p . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ps-print-header . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ps-printer-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ps-printer-name (MS-DOS) . . . . . . . . . . . . . . . . . . .

185
184
184
222
252
252
263
264
197
407
331
407
333
333
333
333
332
408
332
408
333
333
333
333
333
332
408

R
read-quoted-char-radix . . . . . . . . . . . . . . . . . . . . . . . 36
require-final-newline . . . . . . . . . . . . . . . . . . . . . . . 110
revert-without-query . . . . . . . . . . . . . . . . . . . . . . . . 114
rlogin-explicit-args . . . . . . . . . . . . . . . . . . . . . . . . 330
rmail-decode-mime-charset . . . . . . . . . . . . . . . . . . . 168
rmail-delete-after-output . . . . . . . . . . . . . . . . . . . 280
rmail-delete-message-hook . . . . . . . . . . . . . . . . . . . 277
rmail-dont-reply-to-names . . . . . . . . . . . . . . . . . . . 282
rmail-edit-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . 287
rmail-file-coding-system . . . . . . . . . . . . . . . . . . . . 168
rmail-file-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
rmail-highlighted-headers . . . . . . . . . . . . . . . . . . . 286
rmail-ignored-headers . . . . . . . . . . . . . . . . . . . . . . . 286
rmail-mail-new-frame . . . . . . . . . . . . . . . . . . . . . . . . 284
rmail-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
rmail-movemail-flags . . . . . . . . . . . . . . . . . . . . . . . . 289
rmail-output-file-alist . . . . . . . . . . . . . . . . . . . . . 280
rmail-pop-password . . . . . . . . . . . . . . . . . . . . . . . . . . 289
rmail-pop-password-required . . . . . . . . . . . . . . . . 289
rmail-preserve-inbox . . . . . . . . . . . . . . . . . . . . . . . . 288
rmail-primary-inbox-list . . . . . . . . . . . . . . . . . . . . 278
rmail-redisplay-summary . . . . . . . . . . . . . . . . . . . . . 285
rmail-retry-ignored-headers . . . . . . . . . . . . . . . . 283

rmail-secondary-file-directory . . . . . . . . . . . . .
rmail-secondary-file-regexp . . . . . . . . . . . . . . . .
rmail-summary-line-count-flag . . . . . . . . . . . . . .
rmail-summary-window-size . . . . . . . . . . . . . . . . . . .

279
279
285
285

S
same-window-buffer-names . . . . . . . . . . . . . . . . . . . . 144
same-window-regexps . . . . . . . . . . . . . . . . . . . . . . . . . 144
save-abbrevs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
scheme-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
scroll-conservatively . . . . . . . . . . . . . . . . . . . . . . . . 82
scroll-margin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
scroll-preserve-screen-position . . . . . . . . . . . . . 81
sdb-mode-hook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
search-slow-speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
search-slow-window-lines . . . . . . . . . . . . . . . . . . . . . 89
selective-display-ellipses. . . . . . . . . . . . . . . . . . . 83
sendmail-coding-system . . . . . . . . . . . . . . . . . 167, 271
sentence-end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
sentence-end-double-space . . . . . . . . . . . . . . . . . . . 186
server-temp-file-regexp . . . . . . . . . . . . . . . . . . . . . 331
server-window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
set-language-environment-hook . . . . . . . . . . . . . . 162
shell-cd-regexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
shell-command-default-error-buffer . . . . . . . . . 324
shell-command-execonly . . . . . . . . . . . . . . . . . . . . . . 329
shell-command-regexp . . . . . . . . . . . . . . . . . . . . . . . . 326
shell-completion-fignore . . . . . . . . . . . . . . . . . . . . 325
shell-file-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
shell-input-ring-file-name. . . . . . . . . . . . . . . . . . 328
shell-popd-regexp . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
shell-prompt-pattern . . . . . . . . . . . . . . . . . . . . . . . . 328
shell-pushd-regexp . . . . . . . . . . . . . . . . . . . . . . . . . . 324
shell-set-directory-error-hook . . . . . . . . . . . . . 324
slitex-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
slitex-run-command . . . . . . . . . . . . . . . . . . . . . . . . . . 196
sort-fold-case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
special-display-buffer-names . . . . . . . . . . . . . . . 152
special-display-frame-alist . . . . . . . . . . . . . . . . 153
special-display-regexps . . . . . . . . . . . . . . . . . . . . . 153
split-window-keep-point . . . . . . . . . . . . . . . . . . . . . 142
standard-fontset-spec . . . . . . . . . . . . . . . . . . . . . . . 170
standard-indent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
suggest-key-bindings . . . . . . . . . . . . . . . . . . . . . . . . . 53

463

T
tab-stop-list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
tab-width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
tags-file-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
tags-table-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
term-file-prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
term-setup-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
tex-bibtex-command . . . . . . . . . . . . . . . . . . . . . . . . . . 197
tex-default-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
tex-directory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
tex-dvi-print-command . . . . . . . . . . . . . . . . . . . . . . . 196
tex-dvi-view-command . . . . . . . . . . . . . . . . . . . . . . . . 196
tex-main-file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
tex-mode-hook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
tex-run-command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
tex-shell-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
tex-show-queue-command . . . . . . . . . . . . . . . . . . . . . . 196
tex-start-options-string . . . . . . . . . . . . . . . . . . . . 197
text-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
track-eol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
truncate-lines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
truncate-partial-width-windows . . . . . . . . . . . . . 142

vc-comment-alist . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
vc-consult-headers . . . . . . . . . . . . . . . . . . . . . . . . . . 131
vc-default-back-end . . . . . . . . . . . . . . . . . . . . . . . . . 121
vc-default-init-version . . . . . . . . . . . . . . . . . . . . . 121
vc-directory-exclusion-list . . . . . . . . . . . . . . . . 123
vc-dired-recurse . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
vc-dired-terse-display . . . . . . . . . . . . . . . . . . . . . . 122
vc-follow-symlinks . . . . . . . . . . . . . . . . . . . . . . . . . . 130
vc-handle-cvs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
vc-header-alist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
vc-initial-comment . . . . . . . . . . . . . . . . . . . . . . . . . . 121
vc-keep-workfiles . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
vc-log-mode-hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
vc-make-backup-files. . . . . . . . . . . . . . . . . . . . 110, 130
vc-mistrust-permissions . . . . . . . . . . . . . . . . . . . . . 131
vc-path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
vc-static-header-alist . . . . . . . . . . . . . . . . . . . . . . 129
vc-suppress-confirm . . . . . . . . . . . . . . . . . . . . . . . . . 131
version-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
visible-bell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

W
U
undo-limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
undo-strong-limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
unibyte-display-via-language-environment . . 172
user-mail-address . . . . . . . . . . . . . . . . . . . . . . . . . . . 367

V
vc-command-messages . . . . . . . . . . . . . . . . . . . . . . . . . 131

w32-pass-alt-to-system . . . . . . . . . . . . . . . . . . . . . .
which-func-modes . . . . . . . . . . . . . . . . . . . . . . . . . . . .
window-min-height . . . . . . . . . . . . . . . . . . . . . . . . . . .
window-min-width . . . . . . . . . . . . . . . . . . . . . . . . . . . .

412
222
145
145

X
x-cut-buffer-max . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
xdb-mode-hook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252

464

GNU Emacs

465


default
*Messages*, . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
.mailrc, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
8- . . . . . . . . . . . . . . . . . . . . . . . . 172

A
A B, (Emerge) . . . . . . . . . . . . . . . . . . . . . . 231
Abbrev, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
alarm clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
ange-ftp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
apropos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
ASCII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Asm, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Auto Compression, . . . . . . . . . . . . . . . . . . . . . 133
Auto Fill, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Auto Save, . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Auto-Lower, . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Auto-Raise, . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
autoload. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
Awk, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205

B
byte code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254

C
C++, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
C, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
C- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
change log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Change Log, . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Column Number, . . . . . . . . . . . . . . . . . . . . . . . . 83
Comint, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
Compilation, . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
complete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Control-Meta . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
CORBA IDL, . . . . . . . . . . . . . . . . . . . . . . . . . . 235
CPerl, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
CVS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
cvs watch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
CVSREAD, (CVS) . . . . . . . . . . 130

D
DBX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
default-frame-alist . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
diary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dired, . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DISPLAY, . . . . . . . . . . . . . . . . . . .

249
151
313
291
300
391

DOS, . . . . . . . . . . . . . . . . . . . . . . 409
dribble file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378

E
EDITOR, . . . . . . . . . . . . . . . . . . . . 330
EDT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
Eldoc, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Eliza . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Emacs . . . . . . . . . . . . . . . . . . . . . 330
Emacs-Lisp, . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
emacsclient . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Emerge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Enriched, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
hESCi hMETAi . . . . . . . . . . . . . . . 29
ESHELL, . . . . . . . . . . . . . . . . . . . . 324
etags, . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226

F
Fast Lock, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
find Dired. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
Flyspell, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Follow, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Font Lock, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Fortran, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
FTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134

G
GDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Gnus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
GUD, . . . . . . . . . . . . . . . . . . . . . . . . . . . .
gzip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

249
321
249
133

H
Hexl, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
HOME, MS-DOS . . . . . . . . . . . . . . . . . . . 405
Hscroll, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Hyper ( MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . . . 403

I
Icon, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
IDL, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
indentation for comments . . . . . . . . . . . . . . . . . . . . . . 219
Info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Info, . . . . . . . . . . . . . . . . . . . . 222
initial-frame-alist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
IPA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
ISO Latin, . . . . . . . . . . . . . . . . . . . . . 172
iso-ascii, . . . . . . . . . . . . . . . . . . . . . . . . 172
iso-transl, . . . . . . . . . . . . . . . . . . . . . . . 172

466

ispell, . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

J
Java, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
JDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249

K
Kerberos, POP . . . . . . . . . . . . . 289

L
LaTEX, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Lazy Lock, . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Line Number, . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
lpr, MS-DOS . . . . . . . . . . . . . . . 407
Lucid, X- . . . . . . . . . . . . . . . . . . . 398

M
M- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Macintosh, . . . . . . . . . . . . . . . . . . . . . . 165
MAIL, . . . . . . . . . . . . . . . . . . . . . . . 278
Mail, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
MAILHOST, . . . . . . . . . . . . . . . . . . 288
mailrc, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
make . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Makefile, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Menu Bar, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Meta . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Meta ( MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Meta- . . . . . . . . . . . . . . . . . . . . . . . . 181
Midnight, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Motif, X- . . . . . . . . . . . . . . . . . . . 399
movemail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
movemail, . . . . . . . . . . . . . . . . . . . . . . . . . 288
MS-DOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
MS-DOS, . . . . . . . . . . . . . . . . . . . . . . . 165
MULE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161

N
NFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
nroff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
NSA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274

O
Objective C, . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Outline, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Overwrite, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342

GNU Emacs

P
Paragraph-Indent Text, . . . . . . . . . . . . . . . . .
PDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Perl, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Perldb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Picture, . . . . . . . . . . . . .
Pike, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
POP, . . . . . . . . . . . . . . .
POP, . . . . .

190
249
205
249
265
235
288
289

Q
quitting on MS-DOS . . . . . . . . . . . . . . . . . . . . . . . . . . 403

R
RCS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
regexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
region, . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
REPLYTO, . . . . . . . . . . . . . . . . . . . 268
Resize-Minibuffer, . . . . . . . . . . . . . . . . . . . . . . . 46
Rlogin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Rmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
rot13, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288

S
s- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SCCS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scroll Bar, . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SHELL, . . . . . . . . . . . . . . . . . . . . . .
Shell, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SliTEX, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
speedbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
standard fontset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
subscribe groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Super ( MS-DOS) . . . . . . . . . . . . . . . . . . . . . . . . . .

206
117
154
249
324
325
194
151
170
322
403

T
Tcl, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
TERM, . . . . . . . . . . . . . . . . . . . . . . . 378
TEXEDIT, . . . . . . . . . . . . . . . . . . . 330
TEXINPUTS, . . . . . . . . . . . . . . . . . 196
Text, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
TEX, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Transient Mark, . . . . . . . . . . . . . . . . . . . . . . . . . 64

467

undigestify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
unibyte operation . . . . . . . . . . . . . . . . . . . . . . . . . 387, 389
unsubscribe groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(CVS) . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
, (RCS) . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

V
vc-resolve-conflicts . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VERSION_CONTROL, . . . . . . . . . . .
vi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
View, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

125
111
339
132

340
253
130
117
130
364
340
149
344
135

W
Windows, . . . . . . . . . . . . . . . . . . . . . . . 403
WYSIWYG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198

X
X, . . . . . . . . . . . . . . . . . . . . . . . 148
XDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
xon-xoff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373

Y
yahrzeit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311

Z
Zmacs, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
. . . . . . . . . . . . . . . . . . . . . . . 188
( ) . . . . . . . . . . . . 345
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
. . . . . . . . . . . . . . . . . . . . . . . . . . 349
( ) . . . . . . . . . . . . . . . . . 385
. . . . . . . . . . . . . . . . . . . . . . . 45
. . . . . . . . . . . . . . . . . 385
, . . . . . . . . . . . . . . . . . . . . . . . 42
, . . . . . . . . . . . . . . . . . . . . . . . . . . 42
. . . . . . . . . . . . . . . . . 309
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
( ) . . . . . . . . . . . . . . . . . 123
. . . . . . . . . . . . . . . . . . . . . . . . . . . 193
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
. . . . . . . . . . . 72
. . . . . . . . . . . . . . . . . . . . . . . . 308
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
( ). . . . . . . . . . . . . . . . . . . . . . . 83
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35, 71
X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
. . . . . . . . . . . . . . . . . . . . . . . . . 39
(Dired) . . . . . . . . . . . . . . 298
. . . . . . . . . . . . . . . . . . . . . . . . . 149
. . . . . . . . . . . . . . . . . . . . . . 341
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
. . . . . . . . . . . . . . . . . . . . . . 278
. . . . . . . . . . . . . . . . . . . . . . 175
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
, . . . . . . . . . . . . . . . . . . . . . . . . 149
. . . . . . . . . . . . . . 247
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
. . . . . . . . . . . . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
( ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
. . . . . . . 338
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . 292
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . 277
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161

468

(X Windows) . . . . . . . . . . . . . . . . . . . . . . . 394
. . . . . . . . . . . . . . . . . . . . . . . . 199
. . . . . . . . . . . . . . . . . . . . . . . 95
. . . . . . . . . . . . . . . . . . 356
. . . . . . . . . . . . . . . . . . . . 67
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
. . . . . . . . . . . . . . . . . . . . . 82
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
. . . . . . . . . . . . . . . . . . . . . 309
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 344

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
, . . . . . . . . . . . . . . . . . 336
. . . . . . . . . . . . 46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
( ) . . . . . . . . . . 385
Dired . . . . . . . . . . . . . . . . 295
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
DOS Windows
95/NT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
. . . . . . . . . . . . . . 72
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
. . . . . . . . . . 136
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 339

. . . . . . . . . . . . . . . . . . . 172

. . . . . . . . . . . . . . . . . . . . . . 199
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 224

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
( ) . . . . . . . . . . . . . . . . . 222
. . . . . . . . . . . . . . . . . . . . . . . . . . 222
- . . . . . . . . . . . . . . . . . . . 222
. . . . . . . . . . . 222
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
(Dired) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
( ) . . . . . . . . . . . . . 268
, ( Outline) . . . . . . . . . . . . 191

GNU Emacs

( TEX) . . . . . . . . . . . . . . . . . . . . . . . 197
. . . . . . . . . . . . . . . . . . . . . . . 253
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
, . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
( ) . . . . . . . . 385
( ) . . . . . . . . . . . . . . . . . 366
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
( ) . . . . . . . . . . . . 385
. . . . . . . . . . . . . . . . . . . . 117
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
. . . . . . . . . . . . . . . . . 136
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
( ). . . . . . . . . . . . . . . . . . . . . . . . . . . . 31, 84
, () . . . . . . . . . . . . . . . . . . . . . 29

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
() . . . . . . . . . . . . . . . . . . . . . . . . . . 106
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
(RCS) . . . . . . . . . . . . 126
(X Windows). . . . . . . . . . . . . . . . . . . . . 391
,
MS-DOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
, . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
. . . . . . . . . . . . . . . . . . . 60
, ( )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
. . . . . . . . . . . . . . . . . . . . . . . . . 309
. . . . . . . . 102
. . . . . . . . . . . . . . . . . . . . . . 116
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
. . . . . . . . . . . . . . . . . . . . . . . . . . . 49
. . . . . . . . . . . . . . . . . . . . . . . . . . . 374
. . . . . . . . . . . . . . . . . . . . . . . . . 309

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
LaTEX . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
, . . . . . . . . . . . . . . . 304
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
, MS-DOS . . . . . . . . . . . . . . 411
, . . . . . . . . . . . . . . . . . . 299
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
. . . . . . . . . . . . . . . . . . . . . . . . . 310
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
, . . . . . . . . . . . . . . . . . . . . . . . . . . 365

469

. . . . . . . . . . . . . . . . . . . . . . . . 353
, . . . . . . . . . . . 366
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
( ) . . . . . . . . . . . . . . . . . . . . 385
( ) . . . . . . . . . . 385
( ) . . . . . . . . . . . . 385
, . . . . . . . . . . 359
( ) . . . . . . . . . . . . . . . 147
, . . . . . . . . . . . . . . . . . . . . . . . 363
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
MS-DOS . . . . . . . . . . . . . . . . . . . 409
, . . . . . . . . . . . . . . . . . . . . . . . . . . 336
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
, Dired . . . . . . . . . . . . . . . . . . . . . 297
. . . . . . . . . . . . . 41
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
ISO . . . . . . . . . . . . . . . . . 309
. . . . . . . . . . . . . . . . . . . . 247
MS-DOS . . . . . . . . . . . . . . . . . . . . . . . 410
, . . . . . . . . . . . . . . . . . . . . . . . . . . 247
, . . . . . . . . . . . . . . . . . 165
,
MS-DOS/MS-Windows . . . . . . . . . . . . . . . . . . . . 406
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
. . . . . . . . . . . . . . . . . . . . . . . . . . 133
. . . . . . . . . . . . . . . . . . . . . . . . . . 310
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
. . . . . . . . . . . . . . . . . . . . . . . . . . 113
, . . . . . . . . 46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
. . . . . . . . . . . . 193
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
, . . . . . . . . . . . . . . . . . . . . . . . . . . 36
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
, MS-DOS . . . . . . . . . . . . . . . . 406
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
, . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

161
205
349
206
358
350
351
309

. . . . . . . . . . . . . . . . . . . . . . . 312
. . . . . . . . . . . . . . . . . 312
. . . . . . . . . . . . . . . . . . . . . . . . . 310
. . . . . . . . . . . . . . . . 312
. . . . . . . . . . . . . . . . . . . . 312
, . . . . . . . . . . . . . . . . . . . . . 238
. . . . . . . . . . . . . . . . . . . . . . . 181
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
, X- ( Lucid) . . . . . . . . . . . . 398
, X- ( Motif) . . . . . . . . . . . . 399
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
, . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
. . . . . . . . . . . . . . . . . . . . . . . . . . 161
. . . . . . . . . . . 193
. . . . . . . . . . . . . . . . . . . . . . . . . . 152
Emacs . . . . . . . . . . . . . . . . . . . . . . 141
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
, MS-DOS . . . . . . . . . . . . . . . 403

(CVS) . . . . . . . . . . . . . . . . 130
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
. . . . . . . . . . . . . . . . . . . . . . . 363
. . . . . . . . . . . . . . 73
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
. . . . . . . . . . . . . . . . . . . . . . . . . . 87
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
. . . . . . . . . . . . . . . . . . . . . . . . 347
. . . . . . . . . . . . . . . . 210
, . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
. . . . . . . . . . . . . . . . . . . . . 87
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
MS-DOS. . . . . . . . . . . . . . . . . . . . . . 404
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
, . . . . . . . . . . . . . . 304
. . . . . . . . . . . . . . . . . . . . . . . . 89
. . . . . . . . . . . . . . . . . . . . . . . . 160
. . . . . . . . . . . . . . . . . . . . . . . . . . . 152
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
(RCS) . . . . . . . . . . . . . . . . 130
. . . . . . . . . . 406
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
, . . . . . . . . . . . . . 41
. . . . . . . . . . . . . . . . . . . . . . . . . 349

470

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
, . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
. . . . . . . . . . . . . . . . . . . . . . . . . 106
(Emerge) . . . . . . . . . . . . . . . . 231
. . . . . . . . . . . . . . . . . . . . . . . . . . . 124
. . . . . . . . . . . . . . . . . . . . . . . . . . 231
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
. . . . . . . . . . . . . . . . . . . . . . . . . . 172
(MS-DOS) . . . . . . . . . . . . . . . 409
. . . . . . . . . . . . . . . 112
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
, . . . . . . . . . . . . . . . . . . . . . . . . 101
. . . . . . . . . . 353
. . . . . . . . . . . . . . . . . . . . . . . . . . 31
. . . . . . . . . . . . . . . . . . . . . . . . . 208
, . . . . . . . . . . 102
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
MS-DOS . . . . . . . . . . . . . . . . . . . . . 403
. . . . . . . . . . . . . . . . . . . . . . . . . . 282
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
. . . . . . . . . . . . . . . . . . . . . . . . 35
, . . . . . . . . . 134
(Rmail) . . . . . . . . . . . . . . . . . . . . . 277
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
GNU Emacs . . . . . . . . . . . . . 381
, . . . . . . . . . . . . . . . . . . . . 212
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
. . . . . . . . . . . . . . . . . . . . . . . 208
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
. . . . . . . . . . . . . . . . . . . . . . . . . . 247
, . . . . . . . . . . . . . . . . . . . . . . . . . 101

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
( ) . . . . . . . . . . . . . . . 385
, . . . . . . . . . . . . . . . . . 343
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
. . . . . . . . . . . . . . . . . . . . . . . . . 149
Rmail- . . . . . . . . . . . . . . . . . . . . . . . 275
. . . . . . . . . . . . . . . . . . . . . . . . . . 365

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
, . . . . . . . . . . . . 199
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
. . . . . . . . . . . . . . . . . . . . . . . . 135
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343

GNU Emacs

. . . . . . . . . . . . . . . . . . . . . . . . . . . 350
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
. . . . . . . . . . . . . . . . . . . . . 303
. . . . . . . . . . . . . . . . . . . . . . . . . . 36
. . . . . . . . . . . . . . . . . . . . . . . . . . . 71
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
. . . . . . . . . . . . . . . . . . 283
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
, . . . . . . . . . . . . . 366
. . . . . . . . . . 359
. . . . . . . 358
. . . . . . . . . . . . . . . . . . . 363
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
. . . . . . . . . . . . . . . 143
. . . . . . . . . 136
. . . . . . . . . . . . . . . . . . . . . . . . 310
MS-DOS . . . . . . . . . . . . . . . . . . . . . . . . . . 410
(X Windows) . . . . . . . . . . . . . . . . . . . 395
. . . . . . . . . . . . . . . . 161
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
. . . . . . . . . . . . . . . . . . . . . . . . . . . 43
. . 283
( Outline) . . . . . . . . . . . . . . . . . . . . 193
Windows . . . . . . . . . . . 403
in-situ (Dired) . . . . . . . . . . . . . . . . . . . . . 298
Dired . . . . . . . . . . . . . . . . . . . . . . . . . . 298
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
. . . . . . . . . . . . . . . . . . . . . . . . . 156
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
MS-DOS . . . . . . . . . . 410
. . . . . . . . . . . . . . . . . . . . . . . . . 247
. . . . . . . . . . . . . . . . . . . . . . . . . . . 178
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Rmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
, . . . . . . . . . . . . . . . . . . . . . . 95
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
. . . . . . . . . . . . . . . . . 39
. . . . . . . . . . . . . . . . . 343
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
. . . . . . . . . . . . . . . . . . . . . . . . . 65
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
( ) . . . . . . . . . 117
, (VC) . . . . . . . . . . . . . . 130
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
( ) . . . . . . . . . . . . . . . . . . . . . . . 84
. . . . . . . . . . . . . . . . . . . . . . . . 269
, . . . . . . . . 102

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
. . . . . . . . . . . . . . . . . . . . . 189
, . . . . . . . . . . . . . . . . . . . . . . 238
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
. . . . 372
. . . . . . . . . . . . . . . . . . . . . . . . . . 187
. . . . . . . . . . . . . . . . . . . . . . . . 42
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
. . . . . . . . . . . . . . . . . . . . . . . . . . . 363
. . . . . . . . . . . . . . . . . . . . . . . 102
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
, . . . . . . . . . . . . . . . . . . 247
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
. . . . . . . . . . . . . . . . . . . . . . . 305
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Picture . . . . . . . . . . . . . 265
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
. . . . . . . . . . . . . . . . . 220
-- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340

. . . . . . . . . . . . . . . . . 65
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
. . . . . . . . . . . . . . . . . . . . . . . . . . . 336
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . . . . . . . . . . 125
(X Windows). . . . . . . . . . . . . . . . . . . . . . . . . . . 394
. . . . . . . . . . . . . . . . . . . . . 238
Dired . . . . . . . . . . . . . . 298
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
. . . . . . . . . . . . . . . . . . . . 257
, . . . . . . . . . . . . . . . . . . . . . . 189
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
. . . . . . . . . . . . . . . . . . . . . . . . . 90
, . . . . . . . . . . . . . 91
Picture . . . . . . . . . . . . . 263
. . . . . . . . . . . . . 336
. . . . . . . . . . . . . . . . . . . . 205
, . . . . . . . . . . . . . . . . . 338
( ) . . . . . . . 345
Abbrev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Auto Fill . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235

471

Change Log. . . . . . . . . . . . . . . . . . . . . . . . . . . . 224


Column Number . . . . . . . . . . . . . . . . . . . . . . . . 83
Comint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
Compilation . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
CORBA IDL . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Eldoc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Emacs-Lisp . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
Enriched . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Fast Lock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Follow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Font Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Fortran . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Hexl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
Hscroll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Icomplete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
LaTEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Lazy Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Line Number . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Menu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Objective C . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Overwrite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Paragraph-Indent Text . . . . . . . . . . . . . . . . . 190
Picture . . . . . . . . . . . . . 265
Pike. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Resize-Minibuffer . . . . . . . . . . . . . . . . . . . . . . . 46
Scroll Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
Show Paren . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
SliTEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
TEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Transient Mark . . . . . . . . . . . . . . . . . . . . . . . . . 64
View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Zmacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
, Auto Compression . . . . . . . . . . . . . . . . . . . . . 133
, Auto Save . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
. . . . . . . 205
, . . . . . . . . . . . . . . . . . . . . . 341
, MS-DOS . . . . . . . . . . . 405
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
, . . . . . . . . . . . . . . . . . . . 60
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161

472

. . . . . . . . . . . . . . . . . . . . . . . . . 55
, . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
. . . . . . . . . . . . . . . . . . . . 319
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
, . . . . . . . . . . . . . . . . . . . . . . . . . . 205
, . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
. . . . . . . . . . . . . . . . . . 367
, . . . . . . . . . . . . . . . . . . . . . . . . . 156
. . . . . . . . . . . . . . . . . . . . . . 366
. . . . . . . . . . . . . . . . . . . . . . . 211
. . . . . . . . . . . . . . . . . . . . 212
. . . . . . . . . . . . . . . . . . . . . . . 212
. . . . . . . . . . . . . . . . . . . . . . . . . 165
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Dired (Dired) . . . . . . . . . . . . . . . . . . . . 299
. . . . . . . . . . . . . . . . . . . . . . . . . . . 159
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
. . . . . . . . . . . . . . . . . 379
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
, . . . . . . . . . . . . . . . 189
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
. . . . . . . . . . . . . . . 126
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
. . . . . . . . . . . . . . . . . . . . . 363
. . . . . . . . . . . . . 329
. . . . . 263
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
- . . . . . . . . . . . . . . . . . . . . . . . . . . 287
-, . . . . . . . . . . 24
- . . . . . . . . . . . 24
, . . . . . . . . . . . . . . 274
2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
Dired . . . . . . . . . . . . . . . . . . . . . 300
. . . . . . . . . . . . . . . 346
. . . . . . . . . . . 355
. . . . . . . . . . . . . . . . . . . . . . . . . . . 337
- . . . . . . . . . 24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
. . . . . . . . . . . . . . . . . . . . . . . . . . . 71
. . . . . . . . . . . . . . 274
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 132

GNU Emacs

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
. . . . . . . . . . . . . . . . . . . . . . . . . . . 328
. . . . . . . . . . . . . . . . . . . . 171
( ) . . . . . . . . . . . . . . . . . 123
. . . . . . . . . . . . . . . . . . . . . . . . . 218
. . . . . . . . . . . . . . . . . . . . . . . 37
( ). . . . . . . . . . . . . . . . . . . 74
() . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
(MS-DOS) . . . . . . . . . . . . . . . . . . . . 409
. . . . . . . . . . . . . . . . . . . . . . . . . . . 40
, . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
. . . . . . . . . . . 193

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
. . . . 358
. . . . . . . . . . . . . . . . . 359
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
, . . . . . . . . . . . . . . . . . . 178
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181

MS-DOS/MS-Windows . . . . . . . . . . . . . . . . . . . . 406
. . . . . . . . . . . . . . . . . . . . . . . . . 198
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
, ( Outline) . . . . . . . . . . . . . . . . . 191
. . . . . . . . . . . . . . . . . 160
. . . . . . . . . . . . . . . . . . . . . . 378
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
, MS-DOS . . . . . . . . . . . . . . . . . . 406
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363

. . . . . . . . . . . . . . . . . . . . . . . 46
(Rmail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
. . . . . . . . . . . . . . . . . . . . . . . 37
. . . . . . . . . . . . . . . . . . . . . . . . 39
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
( Dired) . . . . . . . . . . . . . . . . . . . . 291
. . . . . . . . . . . . . . . . . . . . . . . . . . . 329
. . . . . . . . . . . . . . . . . . 134

473

Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
. . . . . . . . . . . . . . . . . . . . . . . . 137
. . . . . . . . . . . . . . . . . . . 37
. . 74
. . . . . . . . . . . . . . . . . . . . . . . . . . . 69
. . . . . . . . . . . . . . . . . . . . . . . . . 116
. . . . . . . . 130
. . . . . . . . . . . . . . . . . . . . . . . . . . 373
. . . . . . . . . . . . . . . . . . . . . . . . . . . 29
. . . . . . . . . 338
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
. . . . . . . . . . . . . . . . 346
. . . . . . . . . . . . . . . . . . . . . . . . 343
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
( Dired) . . . . . . . . . . . . . . . . . . . . 291

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
. . . . . . . . . . . . . . . . . . . . . . . . . 366
. . . . . . . . . . . . . . . 378
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
, MS-DOS . . . . . . . . . . . . . . . . . . . 405
, Windows 95/NT . . . . . . . . . . . . 405
, . . . . . . . . . . . . . . . . . . . . . . 116
, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
, . . . . . . . . . . . . . . . . 106
. . . . . . . . . . . . . . . . . . . . . . . . . 117
. . . . . . . . . . . . . . . . . . . . . . 198
. . . . . . . . . . . 240
, . . . . . . . . . . . 309
, MS-DOS . . . . . . . . . . . . . . . . . . . 404
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
MS-DOS . . . . . . . . . . . . . . . . . . . . . . . . . 404
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
. . . . . . . . . . . . . . . . . . . . . 356
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161

(X Windows) . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .

393
153
186
272

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
. . . . . . . . . . . . . . . . . . . . . . . . . . 42
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
. . . . . . . . . . . . . . . . . . . . . 321

(X Windows) . . . . . . . . . . . . . . . . . . . . . . . . . .
() . . . . . . . . . . . . . . . . . . . . . . . . . . . .
( ) . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
, MS-DOS . . . . . . . . . . . . . .

392
154
151
347
404

. . . . . . . . . . . . . . . . . . . . . . . 363

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
. . . . . . . . . . . . . . . . . . 339
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
. . . . . . . . . . . . . . . . . . . . . . . . . 310
- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

. . . . . . . . . . . . . . . . . . . . . . . 309
. . . . . . . . . . . . . . . . . . . . . . . . 309

, (MS-DOS). . . . . . . . . . . . . . . . . . 408
, MS-DOS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161

474

GNU Emacs


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
GNU GENERAL PUBLIC LICENSE . . . . . . . . . . . . . . . . . . . . . . . 7
GNU . . . . . . 13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2
, . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4
. . . . . . . . . . . . . . . . . . . 35
5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6
. . . . . . . . . . . . . . . . . . . . . . . . . . . 53
7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
9
. . . . . . . . . . . . . . . . . . . 69
10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
11 . . . . . . . . . . . . . . . . . . . . . . . . . . 81
12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
13 . . . . . . . . . . . . . . . . . . 101
14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
15 . . . . . . . . . . . . . . . . . . . 135
16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
17 X Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
18 . . . . . . . . . . . . . . . . . . . . . . . . . 161
19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
21 . . . . . . . . . . . . . . . . . . . 181
22 . . . . . . . . . . . . . . . . . . . . . . . . . 205
23 . . . . . . . . . . . . . . . . . . . . 247
24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
25 . . . . . . . . . . . . . . . . . . . . . . . . . . 263
26 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
27 Rmail . . . . . . . . . . . . . . . . . . . . . 275
28 Dired, . . . . . . . . . . . . . . . . . . . . . . . . . 291
29 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
30 . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341

ii

GNU Emacs

32 . . . . . . . . . . . . . . . . . . . . . . . . . .
A . . . . . . . . . . . . . .
B Emacs 19 . . . . . . . . . . . . . . . .
C Emacs MS-DOS . . . . . . . . . . . . . . . . . . . . . . .
GNU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
() . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

371
385
401
403
413
423
441
449
459
465

iii

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
GNU GENERAL PUBLIC LICENSE . . . . . . . . . . . . . 7
Preamble . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND
MODIFICATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
How to Apply These Terms to Your New Programs . . . . . . . . . . . . . . . . 11


GNU . . . . . . . . . . . . . . . . . . . . . . . . . 13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
,
. . . . . . . . . . . . . . . . 14
. . . . . . . . 18

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1 . . . . . . . . . . . . . . . . . . . . . . . . . 23
1.1
1.2
1.3
1.4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23
24
25
26

2 , . . . . . . . . . . . . . . . . . . . . 29
2.1
2.2
2.3
2.4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29
30
31
31

3 Emacs . . . . . . . . . . . . . . . . . . . . . . 33
3.1 Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

4 . . . . . . . . . 35
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
4.11

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35
36
37
37
39
39
39
40
40
42
43

iv

GNU Emacs

5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
5.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3.4 . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

45
46
47
47
47
48
49
49
50

6 . . . . . . . . . . . . . . . . . . . . 53
7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
7.1
7.2
7.3
7.4
7.5
7.6
7.7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

56
57
57
58
59
59
60

8 . . . . . . . . . . . . . . . . . . . . . . . . . . 63
8.1
8.2
8.3
8.4
8.5
8.6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transient Mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

63
64
65
65
66
67

9 . . . . . . . . . 69
9.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.1.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.1.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.1.3 . . . . . . . . . . . . . . . . . . . . .
9.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.2.2 . . . . . . . . . . . . . . . . . . . . . . . . . .
9.2.3 . . . . . . . . . . . . . .
9.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

69
69
70
70
71
71
72
72
73
74

10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
10.1
10.2
10.3
10.4
10.5
10.6
10.7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

77
77
78
78
78
79
79

11 . . . . . . . . . . . . . . . . . 81
11.1
11.2
11.3
11.4
11.5
11.6
11.7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Follow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

81
82
83
83
83
84
84

12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
12.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.1.1 . . . .
12.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.5 . . . . . . . . . . . . . . . . . . . . . . . .
12.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.7.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.7.2 . . . . . . . . . . . . . . . . . . .
12.7.3 . . . . . . . . . . . . . . . . .
12.7.4 . . . . . . . . . . . . . . . . . . . . . . . .
12.8 . . . . . . . . . . . . . . . . . . . . . . . . . . .

87
89
89
90
90
91
95
95
95
96
96
97
98

13 . . . . . . . 101
13.1
13.2
13.3
13.4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . .

101
101
102
102

14 . . . . . . . . . . . . . . . . . . . . . . . . . 105
14.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
14.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
14.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
14.3.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
14.3.1.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
14.3.1.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
14.3.1.3 vs.. . . . . . . . . 111
14.3.2 . . . . . . 112
14.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
14.5 : . . . . . . . . . . . . . . . . . . . . . . 114
14.5.1 . . . . . . . . . . . . . . . . . . . . . . 114
14.5.2 . . . . . . . . . . . . . . . . . . . . 115
14.5.3 . . . . . . 115
14.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
14.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
14.7.1 . . . . . . . . . . . . . . . . 117
14.7.1.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
14.7.1.2 . . . . . . . . 117
14.7.2 . . . . . . . . . . 118

vi

GNU Emacs

14.8
14.9
14.10
14.11
14.12
14.13

14.7.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
14.7.3.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
14.7.3.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
14.7.3.3 . . . . . . . . . . . . . . 119
14.7.4 . . . . . . . . . . . . 120
14.7.5 VC. . . . . . . . . . . . . . . . . . . . 121
14.7.5.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
14.7.5.2 VC
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
14.7.5.3 . . . . . . . . . 121
14.7.5.4 Dired VC . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
14.7.5.5 VC Dired . . . . . . . . . . . . . . . . . . . . . 123
14.7.6 . . . . . . . . . . . . . . . . . . . . . . . . 123
14.7.6.1 . . . . . . . . . . 124
14.7.6.2 . . . . . . . . . . . . . . . . . 124
14.7.6.3 . . . . . . . . . . . . . . . . . . . . 124
14.7.6.4 . . . 125
14.7.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
14.7.7.1 . . . . . . 126
14.7.7.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
14.7.8 VC . . . . . . . . . . 127
14.7.8.1 VC. . . . . . . . . . . . . . 127
14.7.8.2 VC . . . . . . . . . 128
14.7.8.3 . . . . . . . . . . . . . . 128
14.7.9 VC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
14.7.9.1 VC . . . . . 130
14.7.9.2 VC . . . . . 130
14.7.9.3 VC . . . . . . . . . . . 131
14.7.9.4 VC . . . . . . . . . . . . . . . 131
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
. . . . . . . . . . . . . . . . . . . 132
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134

15 . . . . . . . . 135
15.1
15.2
15.3
15.4
15.5
15.6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

135
136
136
137
138
139

16 . . . . . . . . . . . . . . . . . . . . . . . . . . 141
16.1
16.2
16.3
16.4
16.5
16.6

Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .

141
142
142
143
143
144

vii

17 X Windows . . . . . . . . . . . . . . . . . . . . . 147
17.1
17.2
17.3
17.4
17.5
17.6
17.7
17.8
17.9
17.10
17.11
17.12
17.13
17.14
17.15

. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Speedbar . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
Font Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Font Lock . . . . . . . . . . . . . . . . . . . . . . . . . .
17.15.1 Fast Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17.15.2 Lazy Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17.15.3 Fast Lock Lazy Lock?. . . . . . . . . . . . . . . . . . . . . . .
17.16 Highlight Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17.17 X Windows . . . . . . . . . . . . . . . . . . . . . . . .
17.18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

147
149
150
150
150
151
151
152
152
153
154
155
155
156
158
158
158
159
160
160
160

18 . . . . . . . . . . . . . . . . 161
18.1
18.2
18.3
18.4
18.5
18.6
18.7
18.8
18.9
18.10
18.11
18.12

. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
-ASCII- . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . .

161
161
162
163
164
164
165
166
168
170
170
172

19 . . . . . . . . . . . . . . . . . . . . . . . . 175
19.1 . . . . . . . . . . . . . . . . . . . . . . 175

20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
20.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
20.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
20.3 . . . . . . . . . . . . . . . . . . . . 179

viii

GNU Emacs

21 . . . . . . . . 181
21.1
21.2
21.3
21.4
21.5

21.6
21.7
21.8

21.9

21.10
21.11

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
21.5.1 Auto Fill . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
21.5.2 . . . . . . . . . . . . . . . . . . . . . 186
21.5.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
21.5.4 . . . . . . . . . . . . . . . . . . . . . . . . . 188
. . . . . . . . . . . . . . . . . . . . . . . 189
Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
21.8.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
21.8.2 . . . . . . . . . . . . 192
21.8.3 . . . . 192
21.8.4 . . . . . . 193
TEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
21.9.1 TEX . . . . . . . . . . 194
21.9.2 LaTEX . . . . . . . . 195
21.9.3 TEX . . . . . . . . . . . . . . . . . . . . . . . 195
Nroff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
. . . . . . . . . . . . . . 198
21.11.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
21.11.2 . . . . . . . . . . . . . . 199
21.11.3 . . . . . . . . 199
21.11.4 . . . . . . . . . 200
21.11.5 . . . . . . . . . . . . . . . 201
21.11.6 . . . . . . . . . . . . 201
21.11.7 . . . . . . 202
21.11.8 . . . . . . . . . . . . . . . 203
21.11.9 Enriched . . . 203

22 . . . . . . . . . . . . . . . . 205
22.1
22.2
22.3
22.4
22.5

. . . . . . . . 205
s- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
s- . . . . . . . . . . 206
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
22.5.1 . . 209
22.5.2 . . . . . . . . . . . . . . . . . . . 209
22.5.3 . . . . . . . . . . . . . . . . . . 210
22.5.4 . . . . . . . . . . . . . . . . . . . . . 211
22.5.5 . . . . . . . . . . . . . . . . . . . . . . . . 211
22.5.5.1 1 . . . . . . . . 211
22.5.5.2 2 . . . . . . . . . . . . . . 212
22.5.5.3 . . . . . . . . . . . . . . 213
22.5.5.4 . . . . . . . . . . . . . . . 214
22.5.5.5 ,
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
22.5.5.6 . . . . . . . . . . . . . . . . . . . 218
22.6 . . . . . . . . . . . . . 218
22.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
22.7.1 . . . . . . . . . . . . . . . . . . . . . 219
22.7.2 . . . . . . . . . . . . . . . . . . . . 220

ix
22.8
22.9
22.10
22.11
22.12
22.13

22.14

22.15

22.16

22.17

22.7.3 . . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
Which Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22.13.1 . . . . . . . . . . . . . .
22.13.2 . . . . . . . . . . . . . . . . . . . . . . .
22.13.3 . . . . . . . . . . . . . . . . . . . . . . . . . .
22.13.4 . . . . . . . . . . . . . . . . . . . . . . . .
22.13.5 . . . . . . .
22.13.6 . . . . . . . . . . . . . . . . . . . . . . .
Emerge . . . . . . . . . . . . . . . . .
22.14.1 Emerge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22.14.2 Emerge . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22.14.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22.14.4 . . . . . . . . . . . . . . . . . . . . . . . . .
22.14.5 Emerge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22.14.6 . . . . . . . . . . . . . . . . . . .
22.14.7 , Emerge . . . . . . . . . . .
C . . . . . . . . . . . . . . . . . . . . . . . . . .
22.15.1 C . . . . . . . . . . . . .
22.15.2 - . . . . . . . . . . . . . . . . . . . . . . . . . . .
22.15.3 . . . . . . . . . . . . . .
22.15.4 C . . . . . . . . . . . . . . . . . . . . .
22.15.5 C . . . . . . . . . . . . . . . . . . . . .
Fortran. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22.16.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22.16.2 . . . . . . . . . . . . . . . . . . . . . . . . . . .
22.16.2.1 . . . . . . . . .
22.16.2.2 . . . . . . . . . . . . . . . . . .
22.16.2.3 . . . . . . . . . . . . . . . . . . . . . . . . .
22.16.2.4 . . . . . . . . . . .
22.16.2.5
.............................................
22.16.3 . . . . . . . . . . . . . . . . . . . . . .
22.16.4 Fortran Auto Fill . . . . . . . . . . . . . . . . . . . . . . . .
22.16.5 . . . . . . . . . . . . . . . . .
22.16.6 . . . . . . . . . .
22.16.7 Fortran . . . . . . . . . . . . . . .
Asm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

221
221
222
222
223
224
224
225
226
228
228
229
230
231
231
232
232
233
234
235
235
235
235
236
238
238
239
239
239
240
240
240
241
241
242
242
244
244
245
245
245

GNU Emacs

23 . . . . . . . . . 247
23.1
23.2
23.3
23.4
23.5

23.6
23.7
23.8
23.9
23.10

Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . .
Grep Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Compilation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23.5.1 GUD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23.5.2 . . . . . . . . . . . . . . . . . . . . . . . . .
23.5.3 GUD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23.5.4 GUD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
- Emacs . . . . . . . . . . . . . . . . . . .
Emacs-Lisp . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

247
248
248
249
249
250
250
251
252
253
253
254
255
256

24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
24.1
24.2
24.3
24.4
24.5
24.6
24.7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .

257
257
258
259
260
260
261

25 . . . . . . . . . . . . . . . . . 263
25.1
25.2
25.3
25.4

Picture . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Picture . . . . . . . . . . . . . . . . . . . . . . .
Picture . . . . . . . . . . . . . .

263
264
264
265

26 . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
26.1
26.2
26.3
26.4

. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26.4.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26.4.2 . . . . . . . . . . . .
26.4.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26.4.4 Mail . . . . . . . . . . . . . . .
26.5 NSA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26.6 . . . . . . . . . . . . . . . . . . . . . . . . .

267
268
269
270
271
271
272
273
274
274

xi

27 Rmail . . . . . . . . . . . 275
27.1
27.2
27.3
27.4
27.5
27.6
27.7
27.8
27.9
27.10
27.11
27.12
27.13
27.14
27.15
27.16
27.17
27.18

Rmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Rmail- . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Rmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27.11.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27.11.2 . . . . . . . . . . . . . . . . . . . . . . . .
Rmail- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
-. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Rmail- . . . . . . .
Rot13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
movemail POP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

275
275
276
277
278
278
279
281
281
282
284
284
285
285
286
287
287
288
288
288

28 Dired, . . . . . . . . . . . . . . . . . 291
28.1
28.2
28.3
28.4
28.5
28.6
28.7
28.8
28.9
28.10
28.11
28.12
28.13
28.14
28.15

Dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
, Dired . . . . . . . . . . . . . . . . . . .
Dired . . . . . . . . . . . . . . . . . . . . . . .
. . . . . .
Dired. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dired vs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dired . . . . . . . . . . . . . . . . . . . . .
Dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dired . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dired find. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

291
291
291
292
293
293
295
297
297
298
298
299
299
300
300

29 . . . . . . . . . . . . . . . . . . . . . 303
29.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
29.1.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
29.1.2 , . . . . . . . 304
29.1.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
29.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
29.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
29.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
29.5 LaTeX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
29.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
29.7 . . . . . . . . . . . . . . . . . . . . . . . . . . 308
29.8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
29.9 . . 309
29.9.1 . . . . . . . . . . 309
29.9.2 . . . . . . . . . . . . . 310

xii

GNU Emacs
29.9.3 . . . . . . . . . . .
29.9.4 . . . . . . . . . . . . . .
29.10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29.10.1 . . . .
29.10.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29.10.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29.10.4 . . . . . . . . . . .
29.10.5 . . . . . . . . . . . . . . . . . . . . . . .
29.11 . . . . . . . . . . . . . . . . . .
29.12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

311
312
313
313
314
315
316
316
318
319

30 . . . . . . . . . . . . . . . . . . . 321
30.1 Gnus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.1.1 Gnus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.1.2 Gnus . . . . . . . . . . . . . . . . . . . . . . . . .
30.1.3 Gnus . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.2 Emacs . . . . . . . . . . . . . . . . . . . . . . . .
30.2.1 . . . . . . . . . . . . . . . . . . .
30.2.2 . . . . . . . . . . .
30.2.3 Shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.2.4 . . . . . . . . . . . . . . . . . . . . . . .
30.2.4.1 . . . . . . . . . . . . . . .
30.2.4.2 . . . . . . . . .
30.2.4.3 . . . . . . . . . . .
30.2.5 Shell . . . . . . . . . . . . . . . . . . . . . . . .
30.2.6 . . . . . . . . . . . . . . . . .
30.3 Emacs . . . . . . . . . . . . . . . . .
30.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.5 Postscript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.6 , Postscript . . . . . . . . . .
30.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.9 . . . . . . . . . . . . . . . . . . . .
30.10 . . . . . . . . . . . . . . . . . . . . . . .
30.11 Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.12 . . . . . . . . . . . . . . . . . . .
30.13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30.15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

321
321
321
322
323
323
324
325
327
327
328
328
329
329
330
331
332
332
333
335
336
336
337
338
339
339
340

31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
31.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31.2.1 . . . . . . . . . . . . . .
31.2.2 . . . . . . . . . . . . . . .
31.2.2.1 . . . . . . . . . . . . . . . . . . . . .
31.2.2.2 . . . . . . . . . . . . . . . . . . .
31.2.2.3 . . . . . . . . . . . . . . . . .
31.2.2.4 . . . . . . . . . .
31.2.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31.2.4 . . . . . . . . . . . . . . . . . . . . . . . . . .
31.2.5 . . . . . . . . . . . . . . . .
31.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31.3.1 . . . . . . . . . . . . . . . . . . . . . . . . . .

341
343
343
344
344
345
347
348
349
350
351
353
354

xiii

31.4

31.5
31.6
31.7

31.3.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
31.3.3 . . . . . . . . . . . . . . 355
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
31.4.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
31.4.2 . . . . . . . . . . . . . . . . . . . 357
31.4.3 . . . . . . . . . . . . . . . . . . . . . 358
31.4.4 . . . . . . . . . . . . . . . . . . . 359
31.4.5 . . . . . . 359
31.4.6 . . . 360
31.4.7 . . . . . . . . . . 361
31.4.8 ASCII-. . . . . . . . . 362
31.4.9 -ASCII- . . . . . . . . . . . . . . . . . . 363
31.4.10 . . . . . . . . . . . . . . . . . . . . 363
31.4.11 . . . . . . . . . . . . . . . . . . . . . . . . . . 364
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
, ~/.emacs . . . . . . . . . . . . . . . . . . . . . . . . . 366
31.7.1 . . . . . . . . . . . . . . . . 366
31.7.2 . . . . . . . . . . . . . . . . . 367
31.7.3 . . . . . . . . . . . . . . . . . . . . . . 369
31.7.4 Emacs . . . . . . . . 369

32 . . . . . . . . . . . . . . . . . 371
32.1 . . . . . . . . . . . . . . . . . . . . . . . . . .
32.2 Emacs. . . . . . . . . . . . . . . . . . . . . . .
32.2.1 hDELi . . . . . . . . . . . . . . . . . . . . . . . . . . .
32.2.2 . . . . . . . . . . .
32.2.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32.2.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32.2.5 . .
32.2.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32.2.7 . . . . . . . . . . . . . . . . . . . . .
32.2.8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32.2.9 . . . . . . . . . . . . . .
32.3 Emacs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32.3.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32.3.2 . . . . . . . . . . . . . . . . .
32.3.3 . . . . . . . . . . . . . . . . . . . . . . .
32.3.4 GNU Emacs . . . . . . . . . . . . . . .
32.4 Emacs . . . . . . . . . . . . . . . . . . . . . . . . . .
32.5 GNU Emacs . . . . . . . . . . . . . . . . . . . .

371
372
372
372
373
373
373
374
374
374
375
375
375
376
377
381
383
383

xiv

GNU Emacs

A
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
A.1
A.2
A.3
A.4
A.5
A.6
A.7
A.8
A.9
A.10
A.11
A.12
A.13
A.14
A.15

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Emacs . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.5.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.5.2 . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
X- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
X- Lucid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
X- Motif. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

385
386
387
388
388
388
390
391
392
393
394
394
395
395
396
398
399

B Emacs 19 . . . 401
C Emacs MS-DOS . . . . . . . . . . . . . 403
C.1
C.2
C.3
C.4
C.5
C.6
C.7
C.8
C.9

MS-DOS . . . . . . . . . . . . . . . . . . . . . . . . . . .
MS-DOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MS-DOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
MS-DOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MS-DOS . . . . . . . . . . . . . . . . . . . . .
MS-DOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Windows 95 NT . . . . . . . . . . . . . . . . . . . . . . . . .
Windows . . . . . . . . . . . . . . .

403
404
405
406
407
408
410
411
411

GNU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
GNU? GNU UNIX! . . . . . . . . . . . . . . . . . . . . . . . . . . .
GNU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
GNU Unix . . . . . . . . . . . . . . . . . . . . . . . . .
GNU . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . .
GNU
..........................................................

413
414
414
414
414
415
415
416

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
() . . . . . . . . . . . . . . . . . . 441
. . . . . . . . . . . . . . . . . 449
. . . . . . . . . . . . . . . . . . . . . . . . 459
. . . . . . . . . . . . . . . . . . . . . . . . 465

Вам также может понравиться