Mercurial > emacs
annotate etc/refcards/refcard.tex @ 94488:d3100c0eddb7
(vc-deduce-fileset): Add new parameter.
(vc-dir-marked-only-files): New function.
(vc-next-action): Don't ignore directories, look at the files
inside them.
(vc-dir-mode): Document how the mark/unmark commands work.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 30 Apr 2008 05:40:25 +0000 |
parents | 107ccd98fa12 |
children | 9f4d6f3769da |
rev | line source |
---|---|
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
1 % Reference Card for GNU Emacs version 22 on Unix systems |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
2 %**start of header |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
3 \newcount\columnsperpage |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
4 \newcount\letterpaper |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
5 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
6 % This file can be printed with 1, 2, or 3 columns per page (see below). |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
7 % Specify how many you want here. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
8 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
9 \columnsperpage=3 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
10 |
82873
ac4a4c4f6971
Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82768
diff
changeset
|
11 % Set letterpaper to 0 for A4 paper, 1 for letter (US) paper. Useful |
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
12 % only when columnsperpage is 2 or 3. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
13 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
14 \letterpaper=1 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
15 |
82873
ac4a4c4f6971
Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82768
diff
changeset
|
16 % PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for |
ac4a4c4f6971
Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82768
diff
changeset
|
17 % a landscape layout. |
ac4a4c4f6971
Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82768
diff
changeset
|
18 |
ac4a4c4f6971
Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82768
diff
changeset
|
19 \input pdflayout.sty |
ac4a4c4f6971
Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82768
diff
changeset
|
20 \pdflayout=(1l) |
ac4a4c4f6971
Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82768
diff
changeset
|
21 |
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
22 % Nothing else needs to be changed below this line. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
23 % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004, |
87649 | 24 % 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
25 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
26 % This file is part of GNU Emacs. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
27 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
28 % GNU Emacs is free software; you can redistribute it and/or modify |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
29 % it under the terms of the GNU General Public License as published by |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
30 % the Free Software Foundation; either version 3, or (at your option) |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
31 % any later version. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
32 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
33 % GNU Emacs is distributed in the hope that it will be useful, |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
34 % but WITHOUT ANY WARRANTY; without even the implied warranty of |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
35 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
36 % GNU General Public License for more details. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
37 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
38 % You should have received a copy of the GNU General Public License |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
39 % along with GNU Emacs; see the file COPYING. If not, write to |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
40 % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
41 % Boston, MA 02110-1301, USA. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
42 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
43 % This file is intended to be processed by plain TeX (TeX82). |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
44 % |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
45 % The final reference card has six columns, three on each side. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
46 % This file can be used to produce it in any of three ways: |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
47 % 1 column per page |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
48 % produces six separate pages, each of which needs to be reduced to 80%. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
49 % This gives the best resolution. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
50 % 2 columns per page |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
51 % produces three already-reduced pages. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
52 % You will still need to cut and paste. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
53 % 3 columns per page |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
54 % produces two pages which must be printed sideways to make a |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
55 % ready-to-use 8.5 x 11 inch reference card. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
56 % For this you need a dvi device driver that can print sideways. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
57 % Which mode to use is controlled by setting \columnsperpage above. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
58 % |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
59 % To compile and print this document: |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
60 % tex refcard.tex |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
61 % dvips -t landscape refcard.dvi |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
62 % |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
63 % Author: |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
64 % Stephen Gildea |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
65 % Internet: gildea@stop.mail-abuse.org |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
66 % |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
67 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
68 % for their many good ideas. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
69 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
70 % If there were room, it would be nice to see a section on Dired. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
71 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
72 \def\versionnumber{2.3} % version of this manual |
82768
834571f41573
sync refcard with printed version
Karl Berry <karl@gnu.org>
parents:
82670
diff
changeset
|
73 \def\versionyear{2007} % year manual was updated |
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
74 \def\versionemacs{22} % version of emacs this manual is for |
87649 | 75 \def\year{2008} % copyright year |
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
76 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
77 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
78 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
79 Permissions on back. v\versionnumber}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
80 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
81 \def\copyrightnotice{ |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
82 \vskip 1ex plus 2 fill\begingroup\small |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
83 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
84 \centerline{v\versionnumber{} for GNU Emacs version \versionemacs, \versionyear} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
85 \centerline{designed by Stephen Gildea} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
86 |
82768
834571f41573
sync refcard with printed version
Karl Berry <karl@gnu.org>
parents:
82670
diff
changeset
|
87 Permission is granted to make and distribute modified or unmodified |
834571f41573
sync refcard with printed version
Karl Berry <karl@gnu.org>
parents:
82670
diff
changeset
|
88 copies of this card provided the copyright notice and this permission |
834571f41573
sync refcard with printed version
Karl Berry <karl@gnu.org>
parents:
82670
diff
changeset
|
89 notice are preserved on all copies. |
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
90 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
91 For copies of the GNU Emacs manual, write to the Free Software |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
92 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
93 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
94 \endgroup} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
95 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
96 % make \bye not \outer so that the \def\bye in the \else clause below |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
97 % can be scanned without complaint. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
98 \def\bye{\par\vfill\supereject\end} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
99 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
100 \newdimen\intercolumnskip %horizontal space between columns |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
101 \newbox\columna %boxes to hold columns already built |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
102 \newbox\columnb |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
103 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
104 \def\ncolumns{\the\columnsperpage} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
105 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
106 \message{[\ncolumns\space |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
107 column\if 1\ncolumns\else s\fi\space per page]} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
108 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
109 \def\scaledmag#1{ scaled \magstep #1} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
110 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
111 % This multi-way format was designed by Stephen Gildea October 1986. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
112 % Note that the 1-column format is fontfamily-independent. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
113 \if 1\ncolumns %one-column format uses normal size |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
114 \hsize 4in |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
115 \vsize 10in |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
116 \voffset -.7in |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
117 \font\titlefont=\fontname\tenbf \scaledmag3 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
118 \font\headingfont=\fontname\tenbf \scaledmag2 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
119 \font\smallfont=\fontname\sevenrm |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
120 \font\smallsy=\fontname\sevensy |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
121 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
122 \footline{\hss\folio} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
123 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
124 \else %2 or 3 columns uses prereduced size |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
125 \hsize 3.2in |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
126 \if 1\the\letterpaper |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
127 \vsize 7.95in |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
128 \else |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
129 \vsize 7.65in |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
130 \fi |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
131 \hoffset -.75in |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
132 \voffset -.745in |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
133 \font\titlefont=cmbx10 \scaledmag2 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
134 \font\headingfont=cmbx10 \scaledmag1 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
135 \font\smallfont=cmr6 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
136 \font\smallsy=cmsy6 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
137 \font\eightrm=cmr8 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
138 \font\eightbf=cmbx8 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
139 \font\eightit=cmti8 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
140 \font\eighttt=cmtt8 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
141 \font\eightmi=cmmi8 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
142 \font\eightsy=cmsy8 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
143 \textfont0=\eightrm |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
144 \textfont1=\eightmi |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
145 \textfont2=\eightsy |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
146 \def\rm{\eightrm} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
147 \def\bf{\eightbf} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
148 \def\it{\eightit} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
149 \def\tt{\eighttt} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
150 \if 1\the\letterpaper |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
151 \normalbaselineskip=.8\normalbaselineskip |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
152 \else |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
153 \normalbaselineskip=.7\normalbaselineskip |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
154 \fi |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
155 \normallineskip=.8\normallineskip |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
156 \normallineskiplimit=.8\normallineskiplimit |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
157 \normalbaselines\rm %make definitions take effect |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
158 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
159 \if 2\ncolumns |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
160 \let\maxcolumn=b |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
161 \footline{\hss\rm\folio\hss} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
162 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
163 \else \if 3\ncolumns |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
164 \let\maxcolumn=c |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
165 \nopagenumbers |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
166 \else |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
167 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
168 \errmessage{Illegal number of columns per page} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
169 \fi\fi |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
170 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
171 \intercolumnskip=.46in |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
172 \def\abc{a} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
173 \output={% %see The TeXbook page 257 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
174 % This next line is useful when designing the layout. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
175 %\immediate\write16{Column \folio\abc\space starts with \firstmark} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
176 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
177 \else\if a\abc |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
178 \global\setbox\columna\columnbox \global\def\abc{b} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
179 %% in case we never use \columnb (two-column mode) |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
180 \global\setbox\columnb\hbox to -\intercolumnskip{} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
181 \else |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
182 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
183 \def\multicolumnformat{\shipout\vbox{\makeheadline |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
184 \hbox{\box\columna\hskip\intercolumnskip |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
185 \box\columnb\hskip\intercolumnskip\columnbox} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
186 \makefootline}\advancepageno} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
187 \def\columnbox{\leftline{\pagebody}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
188 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
189 \def\bye{\par\vfill\supereject |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
190 \if a\abc \else\null\vfill\eject\fi |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
191 \if a\abc \else\null\vfill\eject\fi |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
192 \end} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
193 \fi |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
194 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
195 % we won't be using math mode much, so redefine some of the characters |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
196 % we might want to talk about |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
197 \catcode`\^=12 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
198 \catcode`\_=12 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
199 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
200 \chardef\\=`\\ |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
201 \chardef\{=`\{ |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
202 \chardef\}=`\} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
203 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
204 \hyphenation{mini-buf-fer} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
205 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
206 \parindent 0pt |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
207 \parskip 1ex plus .5ex minus .5ex |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
208 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
209 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
210 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
211 % newcolumn - force a new column. Use sparingly, probably only for |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
212 % the first column of a page, which should have a title anyway. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
213 \outer\def\newcolumn{\vfill\eject} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
214 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
215 % title - page title. Argument is title text. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
216 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
217 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
218 % section - new major section. Argument is section name. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
219 \outer\def\section#1{\par\filbreak |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
220 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}% |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
221 \vskip 2ex plus 1ex minus 1.5ex} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
222 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
223 \newdimen\keyindent |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
224 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
225 % beginindentedkeys...endindentedkeys - key definitions will be |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
226 % indented, but running text, typically used as headings to group |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
227 % definitions, will not. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
228 \def\beginindentedkeys{\keyindent=1em} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
229 \def\endindentedkeys{\keyindent=0em} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
230 \endindentedkeys |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
231 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
232 % paralign - begin paragraph containing an alignment. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
233 % If an \halign is entered while in vertical mode, a parskip is never |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
234 % inserted. Using \paralign instead of \halign solves this problem. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
235 \def\paralign{\vskip\parskip\halign} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
236 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
237 % \<...> - surrounds a variable name in a code example |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
238 \def\<#1>{{\it #1\/}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
239 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
240 % kbd - argument is characters typed literally. Like the Texinfo command. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
241 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
242 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
243 % beginexample...endexample - surrounds literal text, such a code example. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
244 % typeset in a typewriter font with line breaks preserved |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
245 \def\beginexample{\par\leavevmode\begingroup |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
246 \obeylines\obeyspaces\parskip0pt\tt} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
247 {\obeyspaces\global\let =\ } |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
248 \def\endexample{\endgroup} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
249 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
250 % key - definition of a key. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
251 % \key{description of key}{key-name} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
252 % prints the description left-justified, and the key-name in a \kbd |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
253 % form near the right margin. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
254 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
255 {\hsize=.75\hsize\rightskip=1em |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
256 \hskip\keyindent\relax#1}\kbd{#2}\hfil}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
257 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
258 \newbox\metaxbox |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
259 \setbox\metaxbox\hbox{\kbd{M-x }} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
260 \newdimen\metaxwidth |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
261 \metaxwidth=\wd\metaxbox |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
262 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
263 % metax - definition of a M-x command. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
264 % \metax{description of command}{M-x command-name} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
265 % Tries to justify the beginning of the command name at the same place |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
266 % as \key starts the key name. (The "M-x " sticks out to the left.) |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
267 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
268 {\hskip\keyindent\relax#1\hfil}% |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
269 \hskip -\metaxwidth minus 1fil |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
270 \kbd{#2}\hfil}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
271 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
272 % threecol - like "key" but with two key names. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
273 % for example, one for doing the action backward, and one for forward. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
274 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
275 &\kbd{#3}\hfil\quad\cr} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
276 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
277 %**end of header |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
278 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
279 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
280 \title{GNU Emacs Reference Card} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
281 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
282 \centerline{(for version \versionemacs)} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
283 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
284 \section{Starting Emacs} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
285 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
286 To enter GNU Emacs \versionemacs, just type its name: \kbd{emacs} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
287 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
288 \section{Leaving Emacs} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
289 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
290 \key{suspend Emacs (or iconify it under X)}{C-z} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
291 \key{exit Emacs permanently}{C-x C-c} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
292 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
293 \section{Files} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
294 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
295 \key{{\bf read} a file into Emacs}{C-x C-f} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
296 \key{{\bf save} a file back to disk}{C-x C-s} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
297 \key{save {\bf all} files}{C-x s} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
298 \key{{\bf insert} contents of another file into this buffer}{C-x i} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
299 \key{replace this file with the file you really want}{C-x C-v} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
300 \key{write buffer to a specified file}{C-x C-w} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
301 \key{toggle read-only status of buffer}{C-x C-q} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
302 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
303 \section{Getting Help} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
304 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
305 The help system is simple. Type \kbd{C-h} (or \kbd{F1}) and follow |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
306 the directions. If you are a first-time user, type \kbd{C-h t} for a |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
307 {\bf tutorial}. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
308 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
309 \key{remove help window}{C-x 1} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
310 \key{scroll help window}{C-M-v} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
311 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
312 \key{apropos: show commands matching a string}{C-h a} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
313 \key{describe the function a key runs}{C-h k} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
314 \key{describe a function}{C-h f} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
315 \key{get mode-specific information}{C-h m} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
316 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
317 \section{Error Recovery} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
318 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
319 \key{{\bf abort} partially typed or executing command}{C-g} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
320 \metax{{\bf recover} files lost by a system crash}{M-x recover-session} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
321 \metax{{\bf undo} an unwanted change}{C-x u, C-_ {\rm or} C-/} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
322 \metax{restore a buffer to its original contents}{M-x revert-buffer} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
323 \key{redraw garbaged screen}{C-l} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
324 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
325 \section{Incremental Search} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
326 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
327 \key{search forward}{C-s} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
328 \key{search backward}{C-r} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
329 \key{regular expression search}{C-M-s} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
330 \key{reverse regular expression search}{C-M-r} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
331 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
332 \key{select previous search string}{M-p} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
333 \key{select next later search string}{M-n} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
334 \key{exit incremental search}{RET} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
335 \key{undo effect of last character}{DEL} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
336 \key{abort current search}{C-g} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
337 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
338 Use \kbd{C-s} or \kbd{C-r} again to repeat the search in either direction. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
339 If Emacs is still searching, \kbd{C-g} cancels only the part not matched. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
340 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
341 \shortcopyrightnotice |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
342 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
343 \section{Motion} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
344 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
345 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
346 \threecol{{\bf entity to move over}}{{\bf backward}}{{\bf forward}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
347 \threecol{character}{C-b}{C-f} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
348 \threecol{word}{M-b}{M-f} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
349 \threecol{line}{C-p}{C-n} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
350 \threecol{go to line beginning (or end)}{C-a}{C-e} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
351 \threecol{sentence}{M-a}{M-e} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
352 \threecol{paragraph}{M-\{}{M-\}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
353 \threecol{page}{C-x [}{C-x ]} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
354 \threecol{sexp}{C-M-b}{C-M-f} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
355 \threecol{function}{C-M-a}{C-M-e} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
356 \threecol{go to buffer beginning (or end)}{M-<}{M->} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
357 } |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
358 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
359 \key{scroll to next screen}{C-v} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
360 \key{scroll to previous screen}{M-v} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
361 \key{scroll left}{C-x <} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
362 \key{scroll right}{C-x >} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
363 \key{scroll current line to center of screen}{C-u C-l} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
364 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
365 \section{Killing and Deleting} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
366 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
367 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
368 \threecol{{\bf entity to kill}}{{\bf backward}}{{\bf forward}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
369 \threecol{character (delete, not kill)}{DEL}{C-d} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
370 \threecol{word}{M-DEL}{M-d} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
371 \threecol{line (to end of)}{M-0 C-k}{C-k} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
372 \threecol{sentence}{C-x DEL}{M-k} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
373 \threecol{sexp}{M-- C-M-k}{C-M-k} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
374 } |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
375 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
376 \key{kill {\bf region}}{C-w} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
377 \key{copy region to kill ring}{M-w} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
378 \key{kill through next occurrence of {\it char}}{M-z {\it char}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
379 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
380 \key{yank back last thing killed}{C-y} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
381 \key{replace last yank with previous kill}{M-y} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
382 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
383 \section{Marking} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
384 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
385 \key{set mark here}{C-@ {\rm or} C-SPC} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
386 \key{exchange point and mark}{C-x C-x} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
387 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
388 \key{set mark {\it arg\/} {\bf words} away}{M-@} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
389 \key{mark {\bf paragraph}}{M-h} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
390 \key{mark {\bf page}}{C-x C-p} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
391 \key{mark {\bf sexp}}{C-M-@} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
392 \key{mark {\bf function}}{C-M-h} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
393 \key{mark entire {\bf buffer}}{C-x h} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
394 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
395 \section{Query Replace} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
396 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
397 \key{interactively replace a text string}{M-\%} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
398 % query-replace-regexp is bound to C-M-% but that can't be typed on |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
399 % consoles. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
400 \metax{using regular expressions}{M-x query-replace-regexp} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
401 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
402 Valid responses in query-replace mode are |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
403 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
404 \key{{\bf replace} this one, go on to next}{SPC} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
405 \key{replace this one, don't move}{,} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
406 \key{{\bf skip} to next without replacing}{DEL} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
407 \key{replace all remaining matches}{!} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
408 \key{{\bf back up} to the previous match}{^} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
409 \key{{\bf exit} query-replace}{RET} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
410 \key{enter recursive edit (\kbd{C-M-c} to exit)}{C-r} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
411 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
412 \section{Multiple Windows} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
413 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
414 When two commands are shown, the second is a similar command for a |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
415 frame instead of a window. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
416 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
417 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
418 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
419 \threecol{delete all other windows}{C-x 1\ \ \ \ }{C-x 5 1} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
420 \threecol{split window, above and below}{C-x 2\ \ \ \ }{C-x 5 2} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
421 \threecol{delete this window}{C-x 0\ \ \ \ }{C-x 5 0} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
422 }} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
423 \key{split window, side by side}{C-x 3} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
424 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
425 \key{scroll other window}{C-M-v} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
426 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
427 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 2\wd0 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
428 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
429 \threecol{switch cursor to another window}{C-x o}{C-x 5 o} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
430 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
431 \threecol{select buffer in other window}{C-x 4 b}{C-x 5 b} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
432 \threecol{display buffer in other window}{C-x 4 C-o}{C-x 5 C-o} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
433 \threecol{find file in other window}{C-x 4 f}{C-x 5 f} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
434 \threecol{find file read-only in other window}{C-x 4 r}{C-x 5 r} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
435 \threecol{run Dired in other window}{C-x 4 d}{C-x 5 d} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
436 \threecol{find tag in other window}{C-x 4 .}{C-x 5 .} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
437 }} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
438 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
439 \key{grow window taller}{C-x ^} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
440 \key{shrink window narrower}{C-x \{} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
441 \key{grow window wider}{C-x \}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
442 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
443 \section{Formatting} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
444 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
445 \key{indent current {\bf line} (mode-dependent)}{TAB} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
446 \key{indent {\bf region} (mode-dependent)}{C-M-\\} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
447 \key{indent {\bf sexp} (mode-dependent)}{C-M-q} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
448 \key{indent region rigidly {\it arg\/} columns}{C-x TAB} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
449 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
450 \key{insert newline after point}{C-o} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
451 \key{move rest of line vertically down}{C-M-o} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
452 \key{delete blank lines around point}{C-x C-o} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
453 \key{join line with previous (with arg, next)}{M-^} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
454 \key{delete all white space around point}{M-\\} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
455 \key{put exactly one space at point}{M-SPC} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
456 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
457 \key{fill paragraph}{M-q} |
82768
834571f41573
sync refcard with printed version
Karl Berry <karl@gnu.org>
parents:
82670
diff
changeset
|
458 \key{set fill column to {\it arg}}{C-x f} |
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
459 \key{set prefix each line starts with}{C-x .} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
460 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
461 \key{set face}{M-o} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
462 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
463 \section{Case Change} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
464 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
465 \key{uppercase word}{M-u} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
466 \key{lowercase word}{M-l} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
467 \key{capitalize word}{M-c} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
468 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
469 \key{uppercase region}{C-x C-u} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
470 \key{lowercase region}{C-x C-l} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
471 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
472 \section{The Minibuffer} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
473 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
474 The following keys are defined in the minibuffer. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
475 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
476 \key{complete as much as possible}{TAB} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
477 \key{complete up to one word}{SPC} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
478 \key{complete and execute}{RET} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
479 \key{show possible completions}{?} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
480 \key{fetch previous minibuffer input}{M-p} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
481 \key{fetch later minibuffer input or default}{M-n} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
482 \key{regexp search backward through history}{M-r} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
483 \key{regexp search forward through history}{M-s} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
484 \key{abort command}{C-g} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
485 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
486 Type \kbd{C-x ESC ESC} to edit and repeat the last command that used the |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
487 minibuffer. Type \kbd{F10} to activate menu bar items on text terminals. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
488 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
489 \newcolumn |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
490 \title{GNU Emacs Reference Card} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
491 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
492 \section{Buffers} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
493 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
494 \key{select another buffer}{C-x b} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
495 \key{list all buffers}{C-x C-b} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
496 \key{kill a buffer}{C-x k} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
497 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
498 \section{Transposing} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
499 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
500 \key{transpose {\bf characters}}{C-t} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
501 \key{transpose {\bf words}}{M-t} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
502 \key{transpose {\bf lines}}{C-x C-t} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
503 \key{transpose {\bf sexps}}{C-M-t} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
504 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
505 \section{Spelling Check} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
506 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
507 \key{check spelling of current word}{M-\$} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
508 \metax{check spelling of all words in region}{M-x ispell-region} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
509 \metax{check spelling of entire buffer}{M-x ispell-buffer} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
510 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
511 \section{Tags} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
512 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
513 \key{find a tag (a definition)}{M-.} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
514 \key{find next occurrence of tag}{C-u M-.} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
515 \metax{specify a new tags file}{M-x visit-tags-table} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
516 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
517 \metax{regexp search on all files in tags table}{M-x tags-search} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
518 \metax{run query-replace on all the files}{M-x tags-query-replace} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
519 \key{continue last tags search or query-replace}{M-,} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
520 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
521 \section{Shells} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
522 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
523 \key{execute a shell command}{M-!} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
524 \key{run a shell command on the region}{M-|} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
525 \key{filter region through a shell command}{C-u M-|} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
526 \key{start a shell in window \kbd{*shell*}}{M-x shell} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
527 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
528 \section{Rectangles} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
529 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
530 \key{copy rectangle to register}{C-x r r} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
531 \key{kill rectangle}{C-x r k} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
532 \key{yank rectangle}{C-x r y} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
533 \key{open rectangle, shifting text right}{C-x r o} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
534 \key{blank out rectangle}{C-x r c} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
535 \key{prefix each line with a string}{C-x r t} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
536 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
537 \section{Abbrevs} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
538 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
539 \key{add global abbrev}{C-x a g} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
540 \key{add mode-local abbrev}{C-x a l} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
541 \key{add global expansion for this abbrev}{C-x a i g} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
542 \key{add mode-local expansion for this abbrev}{C-x a i l} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
543 \key{explicitly expand abbrev}{C-x a e} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
544 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
545 \key{expand previous word dynamically}{M-/} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
546 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
547 \section{Regular Expressions} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
548 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
549 \key{any single character except a newline}{. {\rm(dot)}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
550 \key{zero or more repeats}{*} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
551 \key{one or more repeats}{+} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
552 \key{zero or one repeat}{?} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
553 \key{quote regular expression special character {\it c\/}}{\\{\it c}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
554 \key{alternative (``or'')}{\\|} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
555 \key{grouping}{\\( {\rm$\ldots$} \\)} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
556 \key{same text as {\it n\/}th group}{\\{\it n}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
557 \key{at word break}{\\b} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
558 \key{not at word break}{\\B} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
559 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
560 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
561 \threecol{{\bf entity}}{{\bf match start}}{{\bf match end}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
562 \threecol{line}{^}{\$} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
563 \threecol{word}{\\<}{\\>} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
564 \threecol{buffer}{\\`}{\\'} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
565 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
566 \threecol{{\bf class of characters}}{{\bf match these}}{{\bf match others}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
567 \threecol{explicit set}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
568 \threecol{word-syntax character}{\\w}{\\W} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
569 \threecol{character with syntax {\it c}}{\\s{\it c}}{\\S{\it c}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
570 } |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
571 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
572 \section{International Character Sets} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
573 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
574 \key{specify principal language}{C-x RET l} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
575 \metax{show all input methods}{M-x list-input-methods} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
576 \key{enable or disable input method}{C-\\} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
577 \key{set coding system for next command}{C-x RET c} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
578 \metax{show all coding systems}{M-x list-coding-systems} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
579 \metax{choose preferred coding system}{M-x prefer-coding-system} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
580 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
581 \section{Info} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
582 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
583 \key{enter the Info documentation reader}{C-h i} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
584 \key{find specified function or variable in Info}{C-h S} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
585 \beginindentedkeys |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
586 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
587 Moving within a node: |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
588 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
589 \key{scroll forward}{SPC} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
590 \key{scroll reverse}{DEL} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
591 \key{beginning of node}{. {\rm (dot)}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
592 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
593 Moving between nodes: |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
594 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
595 \key{{\bf next} node}{n} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
596 \key{{\bf previous} node}{p} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
597 \key{move {\bf up}}{u} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
598 \key{select menu item by name}{m} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
599 \key{select {\it n\/}th menu item by number (1--9)}{{\it n}} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
600 \key{follow cross reference (return with \kbd{l})}{f} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
601 \key{return to last node you saw}{l} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
602 \key{return to directory node}{d} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
603 \key{go to top node of Info file}{t} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
604 \key{go to any node by name}{g} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
605 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
606 Other: |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
607 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
608 \key{run Info {\bf tutorial}}{h} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
609 \key{look up a subject in the indices}{i} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
610 \key{search nodes for regexp}{s} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
611 \key{{\bf quit} Info}{q} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
612 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
613 \endindentedkeys |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
614 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
615 \section{Registers} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
616 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
617 \key{save region in register}{C-x r s} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
618 \key{insert register contents into buffer}{C-x r i} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
619 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
620 \key{save value of point in register}{C-x r SPC} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
621 \key{jump to point saved in register}{C-x r j} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
622 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
623 \section{Keyboard Macros} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
624 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
625 \key{{\bf start} defining a keyboard macro}{C-x (} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
626 \key{{\bf end} keyboard macro definition}{C-x )} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
627 \key{{\bf execute} last-defined keyboard macro}{C-x e} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
628 \key{append to last keyboard macro}{C-u C-x (} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
629 \metax{name last keyboard macro}{M-x name-last-kbd-macro} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
630 \metax{insert Lisp definition in buffer}{M-x insert-kbd-macro} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
631 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
632 \section{Commands Dealing with Emacs Lisp} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
633 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
634 \key{eval {\bf sexp} before point}{C-x C-e} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
635 \key{eval current {\bf defun}}{C-M-x} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
636 \metax{eval {\bf region}}{M-x eval-region} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
637 \key{read and eval minibuffer}{M-:} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
638 \metax{load from standard system directory}{M-x load-library} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
639 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
640 \section{Simple Customization} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
641 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
642 \metax{customize variables and faces}{M-x customize} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
643 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
644 % The intended audience here is the person who wants to make simple |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
645 % customizations and knows Lisp syntax. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
646 |
82768
834571f41573
sync refcard with printed version
Karl Berry <karl@gnu.org>
parents:
82670
diff
changeset
|
647 Making global key bindings in Emacs Lisp (example): |
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
648 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
649 \beginexample% |
82768
834571f41573
sync refcard with printed version
Karl Berry <karl@gnu.org>
parents:
82670
diff
changeset
|
650 (global-set-key (kbd "C-c g") 'search-forward) |
834571f41573
sync refcard with printed version
Karl Berry <karl@gnu.org>
parents:
82670
diff
changeset
|
651 (global-set-key (kbd "M-\#") 'query-replace-regexp) |
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
652 \endexample |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
653 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
654 \section{Writing Commands} |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
655 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
656 \beginexample% |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
657 (defun \<command-name> (\<args>) |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
658 "\<documentation>" (interactive "\<template>") |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
659 \<body>) |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
660 \endexample |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
661 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
662 An example: |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
663 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
664 \beginexample% |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
665 (defun this-line-to-top-of-window (line) |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
666 "Reposition current line to top of window. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
667 With ARG, put point on line ARG." |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
668 (interactive "P") |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
669 (recenter (if (null line) |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
670 0 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
671 (prefix-numeric-value line)))) |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
672 \endexample |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
673 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
674 The \kbd{interactive} spec says how to read arguments interactively. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
675 Type \kbd{C-h f interactive} for more details. |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
676 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
677 \copyrightnotice |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
678 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
679 \bye |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
680 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
681 % Local variables: |
82873
ac4a4c4f6971
Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82768
diff
changeset
|
682 % compile-command: "pdftex refcard" |
82670
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
683 % End: |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
684 |
82ee577df138
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
685 % arch-tag: d67bdf5d-b77c-44eb-a22e-f4f7d25174d2 |