15 |
% optional paragraphs separated with \askip amount of vertical space |
% optional paragraphs separated with \askip amount of vertical space |
16 |
% \key{KEY-NAME} description of key or |
% \key{KEY-NAME} description of key or |
17 |
% \mkey{M-x LONG-LISP-NAME} description of Elisp function |
% \mkey{M-x LONG-LISP-NAME} description of Elisp function |
18 |
% |
% |
19 |
% \kbd{ARG} -- argument is typed literally |
% \kbd{ARG} -- argument is typed literally |
20 |
|
|
21 |
\def\plainfmtname{plain} |
\def\plainfmtname{plain} |
23 |
\else |
\else |
24 |
\errmessage{This file requires `plain' format to be typeset correctly} |
\errmessage{This file requires `plain' format to be typeset correctly} |
25 |
\endinput |
\endinput |
26 |
\fi |
\fi |
27 |
|
|
28 |
% Copyright (c) 2000 Free Software Foundation, Inc. |
% Copyright (c) 2000 Free Software Foundation, Inc. |
29 |
|
|
85 |
|
|
86 |
% The TeXbook, p. 257 |
% The TeXbook, p. 257 |
87 |
\let\lr=L \newbox\leftcolumn |
\let\lr=L \newbox\leftcolumn |
88 |
\output={\if L\lr |
\output={\if L\lr |
89 |
\global\setbox\leftcolumn\columnbox \global\let\lr=R |
\global\setbox\leftcolumn\columnbox \global\let\lr=R |
90 |
\else |
\else |
91 |
\doubleformat \global\let\lr=L\fi} |
\doubleformat \global\let\lr=L\fi} |
99 |
|
|
100 |
\def\bye{\par\vfil\supereject |
\def\bye{\par\vfil\supereject |
101 |
\if R\lr \null\vfil\eject\fi |
\if R\lr \null\vfil\eject\fi |
102 |
\end} |
\end} |
103 |
|
|
104 |
\outer\def\title#1#2{{\titlefont\centerline{#1}}\vskip 1ex plus 0.5ex |
\outer\def\title#1#2{{\titlefont\centerline{#1}}\vskip 1ex plus 0.5ex |
105 |
\centerline{\ss#2} |
\centerline{\ss#2} |
128 |
\def\nohyphens |
\def\nohyphens |
129 |
{\hyphenpenalty10000\exhyphenpenalty10000\pretolerance10000} |
{\hyphenpenalty10000\exhyphenpenalty10000\pretolerance10000} |
130 |
\def\raggedspaces |
\def\raggedspaces |
131 |
{\spaceskip=0.3333em\relax |
{\spaceskip=0.3333em\relax |
132 |
\xspaceskip=0.5em\relax} |
\xspaceskip=0.5em\relax} |
133 |
\def\raggedright |
\def\raggedright |
134 |
{\raggedstretch=6em |
{\raggedstretch=6em |
168 |
\section{Running Emacs} |
\section{Running Emacs} |
169 |
|
|
170 |
To enter GNU Emacs, just type its name: \kbd{emacs}. |
To enter GNU Emacs, just type its name: \kbd{emacs}. |
171 |
Emacs divides the frame into several areas: |
Emacs divides the frame into several areas: |
172 |
menu line, |
menu line, |
173 |
buffer area with the edited text, |
buffer area with the edited text, |
174 |
mode line describing the buffer in the window above it, |
mode line describing the buffer in the window above it, |
181 |
\key{C-x C-s} save the file |
\key{C-x C-s} save the file |
182 |
\key{C-x k} kill a buffer |
\key{C-x k} kill a buffer |
183 |
\key{C-g} in most context: cancel, stop, abort partially typed or |
\key{C-g} in most context: cancel, stop, abort partially typed or |
184 |
executing command |
executing command |
185 |
\key{C-x u} undo |
\key{C-x u} undo |
186 |
|
|
187 |
\section{Moving About} |
\section{Moving About} |
233 |
|
|
234 |
Tags tables files record locations of function and |
Tags tables files record locations of function and |
235 |
procedure definitions, global variables, data types and anything |
procedure definitions, global variables, data types and anything |
236 |
else convenient. To create a tags table file, type |
else convenient. To create a tags table file, type |
237 |
`{\tt etags} {\it input\_files}' as a shell command. |
`{\tt etags} {\it input\_files}' as a shell command. |
238 |
\askip |
\askip |
239 |
\key{M-.} find a definition |
\key{M-.} find a definition |
246 |
\section{Compiling} |
\section{Compiling} |
247 |
|
|
248 |
\key{M-x compile} compile code in active window |
\key{M-x compile} compile code in active window |
249 |
\key{C-c C-c} go to the next compiler error, when in |
\key{C-c C-c} go to the next compiler error, when in |
250 |
the compile window or |
the compile window or |
251 |
\key{C-x `} when in the window with source code |
\key{C-x `} when in the window with source code |
252 |
|
|
272 |
|
|
273 |
\key{C-x m} begin composing a message |
\key{C-x m} begin composing a message |
274 |
\key{C-c C-c} send the message and switch to another buffer |
\key{C-c C-c} send the message and switch to another buffer |
275 |
\key{C-c C-f C-c} move to the `CC' header field, creating one |
\key{C-c C-f C-c} move to the `CC' header field, creating one |
276 |
if there is none |
if there is none |
277 |
|
|
278 |
\section{Miscellaneous} |
\section{Miscellaneous} |
309 |
\key{[\^{}$\ldots$]} negates the class |
\key{[\^{}$\ldots$]} negates the class |
310 |
|
|
311 |
\key{\\{\it c}} quote characters otherwise having a special |
\key{\\{\it c}} quote characters otherwise having a special |
312 |
meaning in regular expressions |
meaning in regular expressions |
313 |
|
|
314 |
\key{$\ldots$\\|$\ldots$\\|$\ldots$} matches one of |
\key{$\ldots$\\|$\ldots$\\|$\ldots$} matches one of |
315 |
the alternatives (``or'') |
the alternatives (``or'') |
316 |
\key{\\( $\ldots$ \\)} groups a series of pattern elements to |
\key{\\( $\ldots$ \\)} groups a series of pattern elements to |
317 |
a single element |
a single element |
360 |
|
|
361 |
\section{International Character Sets} |
\section{International Character Sets} |
362 |
|
|
363 |
\key{C-x RET C-\\} select and activate input method for |
\key{C-x RET C-\\} select and activate input method for |
364 |
the current buffer |
the current buffer |
365 |
\key{C-\\} enable or disable input method |
\key{C-\\} enable or disable input method |
366 |
\mkey{M-x list-input-methods} show all input methods |
\mkey{M-x list-input-methods} show all input methods |
367 |
\mkey{M-x set-language-environment} specify principal language |
\mkey{M-x set-language-environment} specify principal language |
368 |
|
|
369 |
\key{C-x RET c} set coding system for next command |
\key{C-x RET c} set coding system for next command |
370 |
\mkey{M-x find-file-literally} visit file with no conversion |
\mkey{M-x find-file-literally} visit file with no conversion |
371 |
of any kind |
of any kind |
372 |
|
|
373 |
\mkey{M-x list-coding-systems} show all coding systems |
\mkey{M-x list-coding-systems} show all coding systems |
387 |
|
|
388 |
\section{Getting Help} |
\section{Getting Help} |
389 |
|
|
390 |
Emacs does command completion for you. Typing \kbd{M-x} |
Emacs does command completion for you. Typing \kbd{M-x} |
391 |
{\it tab\/} or {\it space\/} gives a list of Emacs commands. |
{\it tab\/} or {\it space\/} gives a list of Emacs commands. |
392 |
\askip |
\askip |
393 |
\key{C-h} Emacs help |
\key{C-h} Emacs help |