annotate etc/survival.tex @ 37363:856784dec69a

Put under GFDL.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 17 Apr 2001 12:15:38 +0000
parents 21ca2a5ae10b
children 23a1cea22d13
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31151
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1 %&tex
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2 %
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
3 % Title: GNU Emacs Survival Card
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
4 % Author: Wlodek Bzyl <matwb@univ.gda.pl>
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
5 %
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6 % $Revision: 1.8 $
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7 % $Date: 2000/05/05 22:00:48 $
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8 %
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9 %**start of header
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11 % User interface is `plain.tex' and macros described below
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12 %
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13 % \title{CARD TITLE}{for version 21}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14 % \section{NAME}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 % optional paragraphs separated with \askip amount of vertical space
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 % \key{KEY-NAME} description of key or
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17 % \mkey{M-x LONG-LISP-NAME} description of Elisp function
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 %
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19 % \kbd{ARG} -- argument is typed literally
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 \def\plainfmtname{plain}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22 \ifx\fmtname\plainfmtname
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 \else
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24 \errmessage{This file requires `plain' format to be typeset correctly}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25 \endinput
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26 \fi
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
28 % Copyright (c) 2000 Free Software Foundation, Inc.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
29
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30 % This file is part of GNU Emacs.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
31
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
32 % GNU Emacs is free software; you can redistribute it and/or modify
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33 % it under the terms of the GNU General Public License as published by
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
34 % the Free Software Foundation; either version 2, or (at your option)
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
35 % any later version.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
36
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
37 % GNU Emacs is distributed in the hope that it will be useful,
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
38 % but WITHOUT ANY WARRANTY; without even the implied warranty of
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
39 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
40 % GNU General Public License for more details.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
41
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
42 % You should have received a copy of the GNU General Public License
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
43 % along with GNU Emacs; see the file COPYING. If not, write to
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
44 % the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
45 % Boston, MA 02111-1307, USA.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
46
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
47 \def\versionnumber{1.0}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
48 \def\year{2000}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
49
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
50 \def\copyrightnotice{\penalty-1\vfill
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
51 \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
52 Copyright \year\ Free Software Foundation, Inc.\break
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
53 Version \versionnumber{} for GNU Emacs 21, April 2000\break
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
54 Project W{\l}odek Bzyl (matwb@univ.gda.pl)
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
55
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
56 Permission is granted to make and distribute copies of
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
57 this card provided the copyright notice and this permission notice
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
58 are preserved on all copies.\par}}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
59
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
60 \hsize 3.2in
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
61 \vsize 7.95in
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
62 \font\titlefont=cmss10 scaled 1200
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
63 \font\headingfont=cmss10
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
64 \font\smallfont=cmr6
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
65 \font\smallsy=cmsy6
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
66 \font\eightrm=cmr8
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
67 \font\eightbf=cmbx8
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
68 \font\eightit=cmti8
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
69 \font\eighttt=cmtt8
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
70 \font\eightmi=cmmi8
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
71 \font\eightsy=cmsy8
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
72 \font\eightss=cmss8
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
73 \textfont0=\eightrm
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
74 \textfont1=\eightmi
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
75 \textfont2=\eightsy
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
76 \def\rm{\eightrm} \rm
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
77 \def\bf{\eightbf}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
78 \def\it{\eightit}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
79 \def\tt{\eighttt}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
80 \def\ss{\eightss}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
81 \baselineskip=0.8\baselineskip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
82
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
83 \newdimen\intercolumnskip % horizontal space between columns
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
84 \intercolumnskip=0.5in
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
85
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
86 % The TeXbook, p. 257
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
87 \let\lr=L \newbox\leftcolumn
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
88 \output={\if L\lr
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
89 \global\setbox\leftcolumn\columnbox \global\let\lr=R
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
90 \else
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
91 \doubleformat \global\let\lr=L\fi}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
92 \def\doubleformat{\shipout\vbox{\makeheadline
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
93 \leftline{\box\leftcolumn\hskip\intercolumnskip\columnbox}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
94 \makefootline}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
95 \advancepageno}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
96 \def\columnbox{\leftline{\pagebody}}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
97
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
98 \def\newcolumn{\vfil\eject}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
99
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
100 \def\bye{\par\vfil\supereject
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
101 \if R\lr \null\vfil\eject\fi
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
102 \end}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
103
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
104 \outer\def\title#1#2{{\titlefont\centerline{#1}}\vskip 1ex plus 0.5ex
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
105 \centerline{\ss#2}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
106 \vskip2\baselineskip}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
107
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
108 \outer\def\section#1{\filbreak
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
109 \bskip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
110 \leftline{\headingfont #1}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
111 \askip}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
112 \def\bskip{\vskip 2.5ex plus 0.25ex }
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
113 \def\askip{\vskip 0.75ex plus 0.25ex}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
114
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
115 \newdimen\defwidth \defwidth=0.25\hsize
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
116 \def\hang{\hangindent\defwidth}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
117
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
118 \def\textindent#1{\noindent\llap{\hbox to \defwidth{\tt#1\hfil}}\ignorespaces}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
119 \def\key{\par\hangafter=0\hang\textindent}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
120
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
121 \def\mtextindent#1{\noindent\hbox{\tt#1\quad}\ignorespaces}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
122 \def\mkey{\par\hangafter=1\hang\mtextindent}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
123
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
124 \def\kbd#{\bgroup\tt \let\next= }
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
125
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
126 \newdimen\raggedstretch
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
127 \newskip\raggedparfill \raggedparfill=0pt plus 1fil
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
128 \def\nohyphens
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
129 {\hyphenpenalty10000\exhyphenpenalty10000\pretolerance10000}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
130 \def\raggedspaces
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
131 {\spaceskip=0.3333em\relax
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
132 \xspaceskip=0.5em\relax}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
133 \def\raggedright
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
134 {\raggedstretch=6em
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
135 \nohyphens
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
136 \rightskip=0pt plus \raggedstretch
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
137 \raggedspaces
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
138 \parfillskip=\raggedparfill
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
139 \relax}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
140 \def\raggedcenter
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
141 {\raggedstretch=6em
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
142 \nohyphens
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
143 \rightskip=0pt plus \raggedstretch
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
144 \leftskip=\rightskip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
145 \raggedspaces
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
146 \parfillskip=0pt
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
147 \relax}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
148
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
149 \chardef\\=`\\
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
150
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
151 \raggedright
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
152 \nopagenumbers
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
153 \parindent 0pt
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
154 \interlinepenalty=10000
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
155 \hoffset -0.2in
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
156 %\voffset 0.2in
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
157
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
158 %**end of header
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
159
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
160
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
161 \title{GNU\ \ Emacs\ \ Survival\ \ Card}{for version 21}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
162
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
163 In the following, \kbd{C-z} means hit the `\kbd{z}' key while
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
164 holding down the {\it Ctrl}\ \ key. \kbd{M-z} means hit the
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
165 `\kbd{z}' key while hitting the {\it Meta\/} (labeled {\it Alt\/}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
166 on some keyboards) or after hitting {\it Esc\/} key.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
167
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
168 \section{Running Emacs}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
169
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
170 To enter GNU Emacs, just type its name: \kbd{emacs}.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
171 Emacs divides the frame into several areas:
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
172 menu line,
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
173 buffer area with the edited text,
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
174 mode line describing the buffer in the window above it,
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
175 and a minibuffer/echo area in the last line.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
176 \askip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
177 \key{C-x C-c} quit Emacs
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
178 \key{C-x C-f} edit file; this command uses the minibuffer to read
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
179 the file name; use this to create new files by entering the name
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
180 of the new file
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
181 \key{C-x C-s} save the file
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
182 \key{C-x k} kill a buffer
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
183 \key{C-g} in most context: cancel, stop, abort partially typed or
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
184 executing command
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
185 \key{C-x u} undo
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
186
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
187 \section{Moving About}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
188
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
189 \key{C-l} scroll current line to center of window
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
190 \key{C-x b} switch to another buffer
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
191 \key{M-<} move to beginning of buffer
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
192 \key{M->} move to end of buffer
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
193 \key{M-x goto-line} go to a given line number
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
194
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
195 \section{Multiple Windows}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
196
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
197 \key{C-x 0} remove the current window from the display
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
198 \key{C-x 1} make active window the only window
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
199 \key{C-x 2} split window horizontally
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
200 \key{C-x 3} split window vertically
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
201 \key{C-x o} move to other window
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
202
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
203 \section{Regions}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
204
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
205 Emacs defines a `region' as the space between the {\it mark\/} and
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
206 the {\it point}. A mark is set with \kbd{C-{\it space}}.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
207 The point is at the cursor position.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
208 \askip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
209 \key{M-h} mark entire paragraph
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
210 \key{C-x h} mark entire buffer
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
211
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
212 \section{Killing and Copying}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
213
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
214 \key{C-w} kill region
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
215 \key{M-w} copy region to kill-ring
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
216 \key{C-k} kill from the cursor all the way to the end of the line
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
217 \key{M-DEL} kill word
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
218 \key{C-y} yank back the last kill (\kbd{C-w C-y} combination could be
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
219 used to move text around)
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
220 \key{M-y} replace last yank with previous kill
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
221
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
222 \section{Searching}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
223
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
224 \key{C-s} search for a string
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
225 \key{C-r} search for a string backwards
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
226 \key{RET} quit searching
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
227 \key{M-C-s} regular expression search
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
228 \key{M-C-r} reverse regular expression search
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
229 \askip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
230 Use \kbd{C-s} or \kbd{C-r} again to repeat the search in either direction.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
231
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
232 \section{Tags}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
233
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
234 Tags tables files record locations of function and
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
235 procedure definitions, global variables, data types and anything
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
236 else convenient. To create a tags table file, type
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
237 `{\tt etags} {\it input\_files}' as a shell command.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
238 \askip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
239 \key{M-.} find a definition
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
240 \key{C-u M-.} find next occurrence of definition
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
241 \key{M-*} pop back to where \kbd{M-.} was last invoked
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
242 \mkey{M-x tags-query-replace} run query-replace on all files
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
243 recorded in tags table
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
244 \key{M-,} continue last tags search or query-replace
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
245
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
246 \section{Compiling}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
247
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
248 \key{M-x compile} compile code in active window
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
249 \key{C-c C-c} go to the next compiler error, when in
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
250 the compile window or
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
251 \key{C-x `} when in the window with source code
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
252
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
253 \section{Dired, the Directory Editor}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
254
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
255 \key{C-x d} invoke Dired
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
256 \key{d} flag this file for deletion
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
257 \key{\~{}} flag all backup files for deletion
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
258 \key{u} remove deletion flag
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
259 \key{x} delete the files flagged for deletion
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
260 \key{C} copy file
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
261 \key{g} update the Dired buffer
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
262 \key{f} visit the file described on the current line
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
263 \key{s} switch between alphabetical date/time order
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
264
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
265 \section{Reading and Sending Mail}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
266
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
267 \key{M-x rmail} start reading mail
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
268 \key{q} quit reading mail
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
269 \key{h} show headers
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
270 \key{d} mark the current message for deletion
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
271 \key{x} remove all messages marked for deletion
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
272
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
273 \key{C-x m} begin composing a message
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
274 \key{C-c C-c} send the message and switch to another buffer
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
275 \key{C-c C-f C-c} move to the `CC' header field, creating one
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
276 if there is none
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
277
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
278 \section{Miscellaneous}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
279
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
280 \key{M-q} fill paragraph
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
281 \key{M-/} expand previous word dynamically
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
282 \key{C-z} iconify (suspend) Emacs when running it under X or
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
283 shell, respectively
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
284 \mkey{M-x revert-buffer} replace the text being edited with the
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
285 text of the file on disk
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
286
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
287 \section{Query Replace}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
288
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
289 \key{M-\%} interactively search and replace
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
290 \key{M-C-\%} using regular expressions
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
291 \askip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
292 Valid responses in query-replace mode are
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
293 \askip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
294 \key{SPC} replace this one, go on to next
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
295 \key{,} replace this one, don't move
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
296 \key{DEL} skip to next without replacing
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
297 \key{!} replace all remaining matches
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
298 \key{\^{}} back up to the previous match
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
299 \key{RET} exit query-replace
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
300 \key{C-r} enter recursive edit (\kbd{M-C-c} to exit)
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
301
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
302 \section{Regular Expressions}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
303
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
304 \key{. {\rm(dot)}} any single character except a newline
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
305 \key{*} zero or more repeats
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
306 \key{+} one or more repeats
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
307 \key{?} zero or one repeat
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
308 \key{[$\ldots$]} denotes a class of character to match
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
309 \key{[\^{}$\ldots$]} negates the class
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
310
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
311 \key{\\{\it c}} quote characters otherwise having a special
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
312 meaning in regular expressions
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
313
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
314 \key{$\ldots$\\|$\ldots$\\|$\ldots$} matches one of
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
315 the alternatives (``or'')
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
316 \key{\\( $\ldots$ \\)} groups a series of pattern elements to
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
317 a single element
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
318 \key{\\{\it n}} same text as {\it n\/}th group
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
319
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
320 \key{\^{}} matches at line beginning
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
321 \key{\$} matches at line end
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
322
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
323 \key{\\w} matches word-syntax character
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
324 \key{\\W} matches non-word-syntax character
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
325 \key{\\<} matches at word beginning
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
326 \key{\\>} matches at word end
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
327 \key{\\b} matches at word break
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
328 \key{\\B} matches at non-word break
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
329
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
330 \section{Registers}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
331
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
332 \key{C-x r s} save region in register
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
333 \key{C-x r i} insert register contents into buffer
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
334
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
335 \key{C-x r SPC} save value of point in register
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
336 \key{C-x r j} jump to point saved in register
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
337
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
338 \section{Rectangles}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
339
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
340 \key{C-x r r} copy rectangle to register
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
341 \key{C-x r k} kill rectangle
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
342 \key{C-x r y} yank rectangle
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
343 \key{C-x r t} prefix each line with a string
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
344
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
345 \key{C-x r o} open rectangle, shifting text right
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
346 \key{C-x r c} blank out rectangle
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
347
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
348 \section{Shells}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
349
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
350 \key{M-x shell} start a shell within Emacs
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
351 \key{M-!} execute a shell command
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
352 \key{M-|} run a shell command on the region
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
353 \key{C-u M-|} filter region through a shell command
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
354
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
355 \section{Spelling Check}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
356
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
357 \key{M-\$} check spelling of word at the cursor
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
358 \mkey{M-x ispell-region} check spelling of all words in region
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
359 \mkey{M-x ispell-buffer} check spelling of entire buffer
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
360
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
361 \section{International Character Sets}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
362
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
363 \key{C-x RET C-\\} select and activate input method for
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
364 the current buffer
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
365 \key{C-\\} enable or disable input method
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
366 \mkey{M-x list-input-methods} show all input methods
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
367 \mkey{M-x set-language-environment} specify principal language
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
368
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
369 \key{C-x RET c} set coding system for next command
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
370 \mkey{M-x find-file-literally} visit file with no conversion
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
371 of any kind
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
372
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
373 \mkey{M-x list-coding-systems} show all coding systems
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
374 \mkey{M-x prefer-coding-system} choose preferred coding system
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
375
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
376 \section{Keyboard Macros}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
377
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
378 \key{C-x (} start defining a keyboard macro
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
379 \key{C-x )} end keyboard macro definition
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
380 \key{C-x e} execute last-defined keyboard macro
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
381 \key{C-u C-x (} append to last keyboard macro
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
382 \mkey{M-x name-last-kbd-macro} name last keyboard macro
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
383
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
384 \section{Simple Customization}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
385
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
386 \key{M-x customize} customize variables and faces
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
387
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
388 \section{Getting Help}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
389
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
390 Emacs does command completion for you. Typing \kbd{M-x}
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
391 {\it tab\/} or {\it space\/} gives a list of Emacs commands.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
392 \askip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
393 \key{C-h} Emacs help
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
394 \key{C-h t} run the Emacs tutorial
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
395 \key{C-h i} enter Info, the documentation browser
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
396 \key{C-h a} show commands matching a string (apropos)
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
397 \key{C-h k} display documentation of the function invoked by
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
398 keystroke
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
399 \askip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
400 Emacs gets into different {\it modes}, each of which customizes
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
401 Emacs for editing text of a particular sort. The mode line
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
402 contains names of the current modes, in parentheses.
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
403 \askip
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
404 \key{C-h m} get mode-specific information
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
405
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
406 \copyrightnotice
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
407
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
408 \bye
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
409
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
410 % Local variables:
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
411 % compile-command: "tex survival"
21ca2a5ae10b New file.
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
412 % End: