annotate etc/refcards/fr-refcard.tex @ 103245:c878fe60e8be

* nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Mon, 18 May 2009 08:02:06 +0000
parents 83a1b016c800
children cbea58d660d2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
82657
f6ca61f673e8 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
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2 %**start of header
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 \newcount\columnsperpage
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 % This file can be printed with 1, 2, or 3 columns per page (see below).
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 % Specify how many you want here.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 \columnsperpage=3
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9
82869
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
10 % PDF output layout. 0 for A4, 1 for Letter (US), a `l' is added for
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
11 % a landscape layout.
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12
82869
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
13 \input pdflayout.sty
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
14 \pdflayout=(0l)
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 % Nothing else needs to be changed below this line.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17 % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
100972
c90853557b90 Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 95010
diff changeset
18 % 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 % This file is part of GNU Emacs.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21
95010
9f4d6f3769da Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
22 % GNU Emacs is free software: you can redistribute it and/or modify
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23 % it under the terms of the GNU General Public License as published by
95010
9f4d6f3769da Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
24 % the Free Software Foundation, either version 3 of the License, or
9f4d6f3769da Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
25 % (at your option) any later version.
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27 % GNU Emacs is distributed in the hope that it will be useful,
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 % but WITHOUT ANY WARRANTY; without even the implied warranty of
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 % GNU General Public License for more details.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 % You should have received a copy of the GNU General Public License
95010
9f4d6f3769da Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
33 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 % This file is intended to be processed by plain TeX (TeX82).
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 %
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37 % The final reference card has six columns, three on each side.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 % This file can be used to produce it in any of three ways:
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 % 1 column per page
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 % produces six separate pages, each of which needs to be reduced to 80%.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 % This gives the best resolution.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 % 2 columns per page
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43 % produces three already-reduced pages.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 % You will still need to cut and paste.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 % 3 columns per page
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 % produces two pages which must be printed sideways to make a
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 % ready-to-use 8.5 x 11 inch reference card.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 % For this you need a dvi device driver that can print sideways.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 % Which mode to use is controlled by setting \columnsperpage above.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 %
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 % To compile and print this document:
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 % tex fr-refcard.tex
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 % dvips -t landscape fr-refcard.dvi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 %
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 % Author:
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 % Stephen Gildea
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 % Internet: gildea@stop.mail-abuse.org
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 %
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 % for their many good ideas.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 % If there were room, it would be nice to see a section on Dired.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 \def\versionnumber{2.3}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 \def\versionemacs{22}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 \def\versionyear{2007} % latest update
100975
83a1b016c800 Update printed copyright year to 2009.
Glenn Morris <rgm@gnu.org>
parents: 100972
diff changeset
68 \def\year{2009} % latest copyright year
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 Permissions au dos. v\versionnumber}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 \def\copyrightnotice{
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 \vskip 1ex plus 2 fill\begingroup\small
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 \centerline{v\versionnumber{} pour GNU Emacs version \versionemacs,
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 \versionyear}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 \centerline{conception de Stephen Gildea}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 \centerline{traduction fran\c{c}aise de Micha\"el Cadilhac}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 % previously: Eric Jacoboni
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82
82869
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
83 Vous pouvez faire et distribuer des copies de cette carte, modifiée ou
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
84 non, pourvu que la note de copyright et cette note de permission
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
85 soient conserv\'ees sur toutes les copies.
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 Pour des copies du manuel GNU Emacs, \'ecrivez \`a la Free Software
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 02110-1301 USA.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 \endgroup}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 % make \bye not \outer so that the \def\bye in the \else clause below
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 % can be scanned without complaint.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 \def\bye{\par\vfill\supereject\end}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 \newdimen\intercolumnskip %horizontal space between columns
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 \newbox\columna %boxes to hold columns already built
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 \newbox\columnb
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 \def\ncolumns{\the\columnsperpage}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103 \message{[\ncolumns\space
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104 column\if 1\ncolumns\else s\fi\space per page]}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 \def\scaledmag#1{ scaled \magstep #1}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 % This multi-way format was designed by Stephen Gildea October 1986.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109 % Note that the 1-column format is fontfamily-independent.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110 \if 1\ncolumns %one-column format uses normal size
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 \hsize 4in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 \vsize 10in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 \voffset -.7in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 \font\titlefont=\fontname\tenbf \scaledmag3
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115 \font\headingfont=\fontname\tenbf \scaledmag2
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116 \font\smallfont=\fontname\sevenrm
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117 \font\smallsy=\fontname\sevensy
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119 \footline{\hss\folio}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 \else %2 or 3 columns uses prereduced size
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 \hsize 3.2in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 \vsize 7.95in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 % \hoffset -.75in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125 \hoffset -.49in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126 % \voffset -.745in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 \voffset -.84in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
128 \font\titlefont=cmbx10 \scaledmag2
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129 \font\headingfont=cmbx10 \scaledmag1
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 \font\smallfont=cmr6
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131 \font\smallsy=cmsy6
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132 \font\eightrm=cmr8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
133 \font\eightbf=cmbx8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
134 \font\eightit=cmti8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135 \font\eighttt=cmtt8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136 \font\eightmi=cmmi8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137 \font\eightsy=cmsy8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
138 \textfont0=\eightrm
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 \textfont1=\eightmi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140 \textfont2=\eightsy
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 \def\rm{\eightrm}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142 \def\bf{\eightbf}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143 \def\it{\eightit}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144 \def\tt{\eighttt}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 \normalbaselineskip=.8\normalbaselineskip
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146 \normallineskip=.8\normallineskip
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147 \normallineskiplimit=.8\normallineskiplimit
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
148 \normalbaselines\rm %make definitions take effect
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150 \if 2\ncolumns
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
151 \let\maxcolumn=b
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
152 \footline{\hss\rm\folio\hss}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
153 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
154 \else \if 3\ncolumns
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
155 \let\maxcolumn=c
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
156 \nopagenumbers
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
157 \else
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
158 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
159 \errmessage{Illegal number of columns per page}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
160 \fi\fi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
161
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
162 \intercolumnskip=.46in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
163 \def\abc{a}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
164 \output={% %see The TeXbook page 257
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
165 % This next line is useful when designing the layout.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
166 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
167 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
168 \else\if a\abc
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
169 \global\setbox\columna\columnbox \global\def\abc{b}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
170 %% in case we never use \columnb (two-column mode)
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
171 \global\setbox\columnb\hbox to -\intercolumnskip{}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
172 \else
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
173 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
174 \def\multicolumnformat{\shipout\vbox{\makeheadline
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
175 \hbox{\box\columna\hskip\intercolumnskip
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
176 \box\columnb\hskip\intercolumnskip\columnbox}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
177 \makefootline}\advancepageno}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
178 \def\columnbox{\leftline{\pagebody}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
179
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
180 \def\bye{\par\vfill\supereject
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
181 \if a\abc \else\null\vfill\eject\fi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
182 \if a\abc \else\null\vfill\eject\fi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
183 \end}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
184 \fi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
185
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
186 % we won't be using math mode much, so redefine some of the characters
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
187 % we might want to talk about
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
188 \catcode`\^=12
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
189 \catcode`\_=12
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
190
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
191 \chardef\\=`\\
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
192 \chardef\{=`\{
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
193 \chardef\}=`\}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
194
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
195 \hyphenation{mini-tam-pon}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
196
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
197 \parindent 0pt
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
198 \parskip 1ex plus .5ex minus .5ex
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
199
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
200 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
201
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
202 % newcolumn - force a new column. Use sparingly, probably only for
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
203 % the first column of a page, which should have a title anyway.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
204 \outer\def\newcolumn{\vfill\eject}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
205
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
206 % title - page title. Argument is title text.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
207 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
208
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
209 % section - new major section. Argument is section name.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
210 \outer\def\section#1{\par\filbreak
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
211 \vskip 2ex plus 1.5ex minus 2.5ex {\headingfont #1}\mark{#1}%
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
212 \vskip 1.5ex plus 1ex minus 1.5ex}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
213
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
214 \newdimen\keyindent
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
215
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
216 % beginindentedkeys...endindentedkeys - key definitions will be
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
217 % indented, but running text, typically used as headings to group
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
218 % definitions, will not.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
219 \def\beginindentedkeys{\keyindent=1em}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
220 \def\endindentedkeys{\keyindent=0em}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
221 \endindentedkeys
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
222
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
223 % paralign - begin paragraph containing an alignment.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
224 % If an \halign is entered while in vertical mode, a parskip is never
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
225 % inserted. Using \paralign instead of \halign solves this problem.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
226 \def\paralign{\vskip\parskip\halign}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
227
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
228 % \<...> - surrounds a variable name in a code example
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
229 \def\<#1>{{\it #1\/}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
230
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
231 % kbd - argument is characters typed literally. Like the Texinfo command.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
232 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
233
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
234 % beginexample...endexample - surrounds literal text, such a code example.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
235 % typeset in a typewriter font with line breaks preserved
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
236 \def\beginexample{\par\leavevmode\begingroup
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
237 \obeylines\obeyspaces\parskip0pt\tt\tolerance=10000}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
238 {\obeyspaces\global\let =\ }
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
239 \def\endexample{\endgroup}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
240
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
241 % key - definition of a key.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
242 % \key{description of key}{key-name}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
243 % prints the description left-justified, and the key-name in a \kbd
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
244 % form near the right margin.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
245 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
246 {\hsize=.75\hsize\rightskip=1em
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
247 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
248
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
249 \newbox\metaxbox
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
250 \setbox\metaxbox\hbox{\kbd{M-x }}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
251 \newdimen\metaxwidth
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
252 \metaxwidth=\wd\metaxbox
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
253
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
254 % metax - definition of a M-x command.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
255 % \metax{description of command}{M-x command-name}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
256 % Tries to justify the beginning of the command name at the same place
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
257 % as \key starts the key name. (The "M-x " sticks out to the left.)
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
258 % Note: was \hsize=.74, but changed to avoid overflow in some places.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
259 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
260 {\hskip\keyindent\relax#1\hfil}%
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
261 \hskip -\metaxwidth minus 1fil
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
262 \kbd{#2}\hfil}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
263
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
264 % threecol - like "key" but with two key names.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
265 % for example, one for doing the action backward, and one for forward.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
266 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
267 &\kbd{#3}\hfil\quad\cr}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
268
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
269 %**end of header
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
270
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
271
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
272 \title{Carte de r\'ef\'erence de GNU Emacs}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
273
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
274 \centerline{(pour la version \versionemacs)}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
275
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
276 \section{Lancer Emacs}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
277
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
278 Pour lancer GNU Emacs \versionemacs, tapez juste son nom : \kbd{emacs}.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
279
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
280 \section{Quitter Emacs}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
281
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
282 \key{Suspendre Emacs (ou l'iconifier sous X)}{C-z}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
283 \key{Quitter d\'efinitivement Emacs}{C-x C-c}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
284
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
285 \section{Fichiers}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
286
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
287 \key{{\bf Lire} un fichier}{C-x C-f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
288 \key{{\bf Sauvegarder} un fichier}{C-x C-s}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
289 \key{Sauvegarder {\bf tous} les fichiers}{C-x s}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
290 \key{{\bf Ins\'erer} un fichier sous le point (curseur)}{C-x i}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
291 \key{Remplacer le fichier par un autre fichier}{C-x C-v}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
292 \key{Sauvegarder sous un autre nom de fichier}{C-x C-w}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
293 \key{Basculer en mode lecture seule}{C-x C-q}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
294
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
295 \section{Obtenir de l'aide}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
296
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
297 Le syst\`eme d'aide est simple. Faites \kbd{C-h} (ou \kbd{F1}) et
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
298 suivez les instructions. Si vous d\'ebutez, faites \kbd{C-h t} pour un
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
299 {\bf didacticiel}.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
300
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
301 \key{Supprimer la fen\^etre d'aide}{C-x 1}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
302 \key{Faire d\'efiler la fen\^etre d'aide}{C-M-v}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
303
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
304 \key{Rechercher des commandes selon une cha\^\i{}ne}{C-h a}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
305 \key{D\'ecrire la fonction associ\'ee \`a une touche}{C-h k}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
306 \key{D\'ecrire une fonction}{C-h f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
307 \key{Obtenir des informations relatives au mode}{C-h m}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
308
82869
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
309 \section{R\'ecup\'eration sur erreur}
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
310
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
311 \key{{\bf Abandonner} une commande}{C-g}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
312 \metax{{\bf R\'ecup\'erer} les fichiers apr\`es un crash}{M-x recover-session}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
313 \metax{{\bf Annuler} une modification}{C-x u, C-_ {\rm ou} C-/}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
314 \metax{Annuler toutes les modifications}{M-x revert-buffer}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
315 \key{R\'eafficher un \'ecran perturb\'e}{C-l}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
316
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
317 \section{Recherche incr\'ementale}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
318
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
319 \key{Rechercher en avant}{C-s}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
320 \key{Rechercher en arri\`ere}{C-r}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
321 \key{Rechercher en avant (expression rationnelle)}{C-M-s}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
322 \key{Rechercher en arri\`ere (expression rationnelle)}{C-M-r}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
323
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
324 \key{Utiliser la cha\^\i{}ne de recherche pr\'ec\'edente}{M-p}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
325 \key{Utiliser la cha\^\i{}ne de recherche suivante}{M-n}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
326 \key{Quitter la recherche incr\'ementale}{RET}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
327 \key{Annuler l'effet du dernier caract\`ere}{DEL}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
328 \key{Annuler la recherche en cours}{C-g}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
329
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
330 Refaites \kbd{C-s} ou \kbd{C-r} pour r\'ep\'eter la recherche dans une
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
331 des directions.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
332 En cours de recherche, \kbd{C-g} efface les derniers caract\`eres et
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
333 ne conserve que le pr\'efixe d\'ej\`a trouv\'e.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
334
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
335 \shortcopyrightnotice
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
336
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
337 \section{D\'eplacements}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
338
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
339 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
340 \threecol{{\bf Objet sur lequel se d\'eplacer}}{{\bf En
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
341 arri\`ere}}{{\bf En avant}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
342 \threecol{Caract\`ere}{C-b}{C-f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
343 \threecol{Mot}{M-b}{M-f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
344 \threecol{Ligne}{C-p}{C-n}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
345 \threecol{Aller en d\'ebut/fin de la ligne}{C-a}{C-e}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
346 \threecol{Phrase}{M-a}{M-e}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
347 \threecol{Paragraphe}{M-\{}{M-\}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
348 \threecol{Page}{C-x [}{C-x ]}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
349 \threecol{S-expression}{C-M-b}{C-M-f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
350 \threecol{Fonction}{C-M-a}{C-M-e}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
351 \threecol{Aller en d\'ebut/fin du tampon}{M-<}{M->}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
352 }
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
353
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
354 \key{Passer \`a l'\'ecran suivant}{C-v}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
355 \key{Passer \`a l'\'ecran pr\'ec\'edent}{M-v}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
356 \key{Faire d\'efiler l'\'ecran vers la gauche}{C-x <}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
357 \key{Faire d\'efiler l'\'ecran vers la droite}{C-x >}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
358 \key{Placer la ligne courante au centre de l'\'ecran}{C-u C-l}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
359
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
360 \section{D\'etruire et supprimer}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
361
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
362 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
363 \threecol{{\bf Objet \`a supprimer}}{{\bf En arri\`ere}}{{\bf En avant}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
364 \threecol{Caract\`ere (suppression)}{DEL}{C-d}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
365 \threecol{Mot}{M-DEL}{M-d}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
366 \threecol{Ligne (jusqu'au d\'ebut/fin)}{M-0 C-k}{C-k}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
367 \threecol{Phrase}{C-x DEL}{M-k}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
368 \threecol{S-expression}{M-- C-M-k}{C-M-k}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
369 }
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
370
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
371 \key{D\'etruire une {\bf r\'egion}}{C-w}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
372 \key{Copier une r\'egion dans le {\it kill ring}}{M-w}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
373 \key{D\'etruire jusqu'\`a l'occurrence suivante de {\it car}}{M-z {\it car}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
374
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
375 \key{R\'ecup\'erer la derni\`ere r\'egion d\'etruite}{C-y}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
376 \key{R\'ecup\'erer la r\'egion d\'etruite pr\'ec\'edente}{M-y}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
377
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
378 \section{Marquer}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
379
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
380 \key{Placer la marque au point}{C-@ {\rm ou} C-SPC}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
381 \key{\'Echanger le point et la marque}{C-x C-x}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
382
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
383 \key{Placer la marque un {\bf mot} plus loin}{M-@}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
384 \key{Marquer le {\bf paragraphe}}{M-h}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
385 \key{Marquer la {\bf page}}{C-x C-p}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
386 \key{Marquer la {\bf s-expression}}{C-M-@}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
387 \key{Marquer la {\bf fonction}}{C-M-h}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
388 \key{Marquer tout le {\bf tampon}}{C-x h}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
389
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
390 \section{Remplacement interactif}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
391
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
392 \key{Remplacer une cha\^\i{}ne de texte}{M-\%}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
393 % query-replace-regexp est liee a C-M-% mais on ne peut pas le
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
394 % taper dans une console.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
395 \metax{\hskip 10pt \`a l'aide d'expr. rationnelles}{M-x query-replace-regexp}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
396
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
397 R\'eponses possibles pour chaque occurrence dans le mode de
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
398 remplacement interactif :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
399
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
400 \key{{\bf Remplacer} celle-l\`a, passer \`a la suivante}{SPC}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
401 \key{Remplacer celle-l\`a, rester l\`a}{,}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
402 \key{{\bf Passer} \`a la suivante sans remplacer}{DEL}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
403 \key{Remplacer toutes les occurrences suivantes}{!}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
404 \key{{\bf Revenir} \`a l'occurrence pr\'ec\'edente}{^}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
405 \key{{\bf Quitter} le remplacement interactif}{RET}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
406 \key{{\bf \'Editer} avant de reprendre (\kbd{C-M-c} : sortir)}{C-r}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
407
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
408 \section{Fen\^etres multiples}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
409
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
410 Lorsqu'il y a deux commandes, la seconde est celle qui concerne non
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
411 pas les fen\^etres mais les cadres.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
412
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
413 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
414 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
415 \threecol{Supprimer toutes les autres fen\^etres}{C-x 1\ \ \ \ }{C-x 5 1}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
416 \threecol{Supprimer cette fen\^etre}{C-x 0\ \ \ \ }{C-x 5 0}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
417 \threecol{Diviser la fen\^etre horizontalement}{C-x 2\ \ \ \ }{C-x 5 2}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
418 }}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
419 \key{Diviser la fen\^etre verticalement}{C-x 3}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
420
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
421 \key{Faire d\'efiler l'autre fen\^etre}{C-M-v}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
422
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
423 %% tabskip reduced from 10 to 3pt to fit on letterpaper.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
424 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 2\wd0
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
425 \paralign to \hsize{#\tabskip=3pt plus 1 fil&#\tabskip=0pt&#\cr
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
426 \threecol{S\'electionner une autre fen\^etre}{C-x o}{C-x 5 o}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
427
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
428 \threecol{Choisir un tampon (autre fen\^etre)}{C-x 4 b}{C-x 5 b}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
429 \threecol{Afficher un tampon (autre fen\^etre)}{C-x 4 C-o}{C-x 5 C-o}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
430 \threecol{Lire un fichier (autre fen\^etre)}{C-x 4 f}{C-x 5 f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
431 \threecol{\hskip 10pt en lecture seule}{C-x 4 r}{C-x 5 r}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
432 \threecol{Lancer Dired (autre fen\^etre)}{C-x 4 d}{C-x 5 d}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
433 \threecol{Trouver un tag (autre fen\^etre)}{C-x 4 .}{C-x 5 .}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
434 }}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
435
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
436 \key{Agrandir la fen\^etre verticalement}{C-x ^}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
437 \key{R\'eduire la fen\^etre horizontalement}{C-x \{}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
438 \key{Agrandir la fen\^etre horizontalement}{C-x \}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
439
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
440 \section{Formater}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
441
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
442 \key{Indenter la {\bf ligne} courante (selon le mode)}{TAB}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
443 \key{Indenter la {\bf r\'egion} courante (selon le mode)}{C-M-\\}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
444 \key{Indenter la {\bf s-expr.} courante (selon le mode)}{C-M-q}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
445 \key{Indenter la r\'egion sur une colonne}{C-x TAB}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
446 \key{Ins\'erer un retour \`a la ligne apr\`es le point}{C-o}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
447 \key{D\'eplacer le reste de la ligne vers le bas}{C-M-o}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
448 \key{Supprimer les lignes vierges autour du point}{C-x C-o}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
449 \key{Joindre \`a la ligne pr\'ec\'edente (suiv. avec {\it arg\/})}{M-^}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
450 \key{Supprimer tous les espaces autour du point}{M-\\}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
451 \key{Mettre exactement une espace au point}{M-SPC}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
452
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
453 \key{Formater le paragraphe}{M-q}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
454 \key{Placer la marge droite \`a {\it arg\/} colonnes}{C-u {\it arg\/} C-x f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
455 \key{D\'efinir le pr\'efixe des lignes}{C-x .}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
456
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
457 \key{D\'efinir la fonte}{M-o}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
458
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
459 \section{Modifier la casse}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
460
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
461 \key{Mettre le mot en capitales}{M-u}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
462 \key{Mettre le mot en minuscules}{M-l}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
463 \key{Mettre une majuscule au mot}{M-c}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
464
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
465 \key{Mettre la r\'egion en capitales}{C-x C-u}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
466 \key{Mettre la r\'egion en minuscules}{C-x C-l}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
467
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
468 \section{Le mini-tampon}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
469
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
470 Dans le mini-tampon :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
471
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
472 \key{Compl\'eter autant que possible}{TAB}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
473 \key{Compl\'eter un mot}{SPC}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
474 \key{Compl\'eter et ex\'ecuter}{RET}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
475 \key{Montrer les compl\`etements possibles}{?}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
476 \key{Utiliser l'entr\'ee pr\'ec\'edente du mini-tampon}{M-p}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
477 \key{Utiliser l'entr\'ee suivante du mini-tampon}{M-n}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
478 \key{Rechercher en arri\`ere dans l'historique}{M-r}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
479 \key{Rechercher en avant dans l'historique}{M-s}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
480 \key{Quitter en annulant la commande}{C-g}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
481
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
482 Faites \kbd{C-x ESC ESC} pour \'editer et r\'ep\'eter la derni\`ere
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
483 commande ayant utilis\'e le mini-tampon. Faites \kbd{F10} pour
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
484 utiliser la barre de menu sur un terminal en utilisant le mini-tampon.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
485
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
486 \newcolumn
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
487 \title{Carte de r\'ef\'erence de GNU Emacs}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
488
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
489 \section{Tampons}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
490
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
491 \key{Choisir un autre tampon}{C-x b}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
492 \key{Lister tous les tampons}{C-x C-b}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
493 \key{Supprimer un tampon}{C-x k}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
494
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
495 \section{Transposer}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
496
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
497 \key{Transposer des {\bf caract\`eres}}{C-t}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
498 \key{Transposer des {\bf mots}}{M-t}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
499 \key{Transposer des {\bf lignes}}{C-x C-t}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
500 \key{Transposer des {\bf s-expressions}}{C-M-t}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
501
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
502 \section{V\'erifier l'orthographe}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
503
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
504 \key{V\'erifier l'orthographe du mot courant}{M-\$}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
505 \metax{V\'erifier l'orthographe d'une r\'egion}{M-x ispell-region}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
506 \metax{V\'erifier l'orthographe de tout le tampon}{M-x ispell-buffer}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
507
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
508 \section{Tags}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
509
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
510 \key{Trouver un tag (une d\'efinition)}{M-.}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
511 \key{Passer \`a l'occurrence suivante du tag}{C-u M-.}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
512 \metax{Sp\'ecifier un autre fichier de tags}{M-x visit-tags-table}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
513
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
514 \metax{Rechercher dans tous les fichiers des tags}{M-x tags-search}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
515
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
516 \metax{Remplacer dans tous les fichiers}{M-x tags-query-replace}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
517 \key{Continuer la recherche ou le remplacement}{M-,}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
518
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
519 \section{Shell}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
520
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
521 \key{Ex\'ecuter une commande shell}{M-!}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
522 \key{Lancer une commande shell sur la r\'egion}{M-|}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
523 \key{Filtrer la r\'egion avec une commande shell}{C-u M-|}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
524 \key{Lancer un shell dans la fen\^etre {\tt *shell*}}{M-x shell}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
525
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
526 \section{Rectangles}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
527
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
528 \key{Copier le rectangle dans un registre}{C-x r r}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
529 \key{D\'etruire le rectangle}{C-x r k}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
530 \key{R\'ecup\'erer le rectangle}{C-x r y}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
531 \key{D\'ecaler le rectangle \`a droite}{C-x r o}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
532 \key{Vider le rectangle}{C-x r c}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
533 \key{Pr\'efixer chaque ligne du rectangle}{C-x r t}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
534
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
535 \section{Abr\'eviations}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
536
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
537 \key{Ajouter une abr\'eviation globale}{C-x a g}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
538 \key{Ajouter une abr\'eviation locale au mode}{C-x a l}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
539 \key{Ajouter une expansion globale}{C-x a i g}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
540 \key{Ajouter une expansion locale au mode}{C-x a i l}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
541 \key{Faire une expansion explicite de l'abr\'eviation}{C-x a e}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
542
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
543 \key{Faire une expansion du mot pr\'ec\'edent}{M-/}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
544
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
545 \section{Expressions rationnelles}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
546
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
547 \key{Un caract\`ere quelconque, sauf fin de ligne}{. {\rm(point)}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
548 \key{Z\'ero r\'ep\'etition ou plus}{*}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
549 \key{Une r\'ep\'etition ou plus}{+}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
550 \key{Z\'ero ou une r\'ep\'etition}{?}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
551 \key{\'Echapper le caract\`ere sp\'ecial {\it c\/}}{\\{\it c}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
552 \key{Alternative (``ou'' non exclusif)}{\\|}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
553 \key{Regroupement}{\\( {\rm$\ldots$} \\)}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
554 \key{Reprendre le texte du {\it n\/}-i\`eme groupement}{\\{\it n}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
555 \key{Limite de mot}{\\b}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
556 \key{Non limite de mot}{\\B}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
557
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
558 %% tabskip reduced from 10 to 5pt for letterpaper.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
559 \paralign to \hsize{#\tabskip=5pt plus 1 fil&#\tabskip=0pt&#\cr
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
560 \threecol{{\bf Objet}}{{\bf D\'ebut}}{{\bf Fin}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
561 \threecol{Ligne}{^}{\$}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
562 \threecol{Mot}{\\<}{\\>}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
563 \threecol{Tampon}{\\`}{\\'}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
564
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
565 \threecol{{\bf Classe de caract\`ere}}{{\bf Correspond}}%
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
566 {{\bf Compl\'ement}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
567 \threecol{Ensemble explicite}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
568 \threecol{Caract\`ere de mot}{\\w}{\\W}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
569 \threecol{Caract\`ere avec la syntaxe {\it c}}{\\s{\it c}}{\\S{\it c}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
570 }
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
571
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
572 \section{Jeux de caract\`eres internationaux}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
573
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
574 \key{Pr\'eciser la langue principale}{C-x RET l}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
575 \metax{Lister les m\'ethodes de saisie}{M-x list-input-methods}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
576 \key{Activer/d\'esactiver la m\'ethode de saisie}{C-\\}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
577 \key{Choisir le codage pour la commande suivante}{C-x RET c}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
578 \metax{Lister les codages}{M-x list-coding-systems}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
579 \metax{Choisir le codage pr\'ef\'er\'e}{M-x prefer-coding-system}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
580
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
581 \section{Info}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
582
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
583 \key{Lire une documentation Info}{C-h i}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
584 \key{Rechercher une fonction/variable dans Info}{C-h S}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
585 \beginindentedkeys
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
586
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
587 Se d\'eplacer dans un n\oe{}ud :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
588
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
589 \key{Page suivante}{SPC}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
590 \key{Page pr\'ec\'edente}{DEL}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
591 \key{D\'ebut du n\oe{}ud}{. {\rm (point)}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
592
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
593 Navigation entre n\oe{}uds :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
594
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
595 \key{N\oe{}ud {\bf suivant}}{n}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
596 \key{N\oe{}ud {\bf pr\'ec\'edent}}{p}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
597 \key{{\bf Remonter} d'un niveau}{u}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
598 \key{Choisir un sujet du menu par son nom}{m}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
599 \key{Choisir le {\it n\/}-i\`eme sujet (1--9)}{{\it n}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
600 \key{Suivre une r\'ef\'erence crois\'ee (retour avec \kbd{l})}{f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
601 \key{Revenir au dernier n\oe{}ud visit\'e}{l}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
602 \key{Aller au sommaire Info}{d}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
603 \key{Aller au n\oe{}ud le plus haut du manuel}{t}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
604 \key{Aller sur un n\oe{}ud par son nom}{g}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
605
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
606 Autres :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
607
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
608 \key{Aller au {\bf didacticiel} Info}{h}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
609 \key{Rechercher un sujet dans l'index}{i}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
610 \key{Rechercher un n\oe{}ud par expr. rationnelle}{s}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
611 \key{{\bf Quitter} Info}{q}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
612
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
613 \endindentedkeys
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
614
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
615 \section{Registres}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
616
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
617 \key{Sauver la r\'egion dans un registre}{C-x r s}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
618 \key{Ins\'erer le contenu d'un registre}{C-x r i}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
619
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
620 \key{Sauver la valeur du point dans un registre}{C-x r SPC}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
621 \key{Aller au point sauv\'e dans un registre}{C-x r j}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
622
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
623 \section{Macros clavier}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
624
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
625 \key{{\bf Lancer} la d\'efinition d'une macro clavier}{C-x (}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
626 \key{{\bf Terminer} la d\'efinition d'une macro clavier}{C-x )}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
627 \key{{\bf Ex\'ecuter} la derni\`ere macro clavier d\'efinie}{C-x e}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
628 \key{Faire un ajout \`a la derni\`ere macro clavier}{C-u C-x (}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
629 \metax{Nommer la derni\`ere macro clavier}{M-x name-last-kbd-macro}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
630 \metax{En ins\'erer une d\'efinition Lisp}{M-x insert-kbd-macro}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
631
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
632 \section{Commandes de gestion d'Emacs Lisp}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
633
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
634 \key{\'Evaluer la {\bf s-expression} avant le point}{C-x C-e}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
635 \key{\'Evaluer la {\bf defun} courante}{C-M-x}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
636 \metax{\'Evaluer la {\bf r\'egion}}{M-x eval-region}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
637 \key{Lire et \'evaluer dans le mini-tampon}{M-:}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
638 \metax{Charger depuis un r\'epertoire standard}{M-x load-library}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
639
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
640 \section{Personnalisation simple}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
641
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
642 \metax{Personnaliser les variables et les fontes}{M-x customize}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
643
f6ca61f673e8 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
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
645 % customizations and knows Lisp syntax.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
646
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
647 Exemples de d\'efinition globale de touches en Emacs Lisp :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
648
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
649 \beginexample%
82869
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
650 (global-set-key (kbd "C-c g") 'search-forward)
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
651 (global-set-key (kbd "M-\#") 'query-replace-regexp)
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
652 \endexample
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
653
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
654 \section{\'Ecriture de commandes}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
655
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
656 \beginexample%
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
657 (defun \<nom-commande> (\<args>)
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
658 "\<documentation>"
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
659 (interactive "\<template>")
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
660 \<body>)
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
661 \endexample
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
662
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
663 Exemple :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
664
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
665 \beginexample%
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
666 (defun cette-ligne-en-haut-de-la-fenetre (line)
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
667 "Positionne la ligne courante en haut de la fen\^etre.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
668 Avec ARG, place le point sur la ligne ARG."
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
669 (interactive "P")
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
670 (recenter (if (null line)
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
671 0
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
672 (prefix-numeric-value line))))
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
673 \endexample
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
674
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
675 La sp\'ecification \kbd{interactive} indique comment lire
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
676 interactivement les param\`etres. Faites \kbd{C-h f interactive} pour
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
677 plus de pr\'ecisions.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
678
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
679 \copyrightnotice
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
680
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
681 \bye
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
682
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
683 % Local variables:
82869
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
684 % compile-command: "pdftex fr-refcard"
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
685 % End:
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
686
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
687 % arch-tag: 39d6dc6e-1a4a-4071-84db-4719d4e9e40d