annotate etc/refcards/fr-refcard.tex @ 84324:3ac2badc0d6b

Move here from ../../man
author Glenn Morris <rgm@gnu.org>
date Thu, 06 Sep 2007 05:03:09 +0000
parents c78a31fd6e5d
children 107ccd98fa12
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,
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 % 2005, 2006, 2007 Free Software Foundation, Inc.
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
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 % GNU Emacs is free software; you can redistribute it and/or modify
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
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24 % the Free Software Foundation; either version 3, or (at your option)
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25 % any later version.
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
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 % along with GNU Emacs; see the file COPYING. If not, write to
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 % Boston, MA 02110-1301, USA.
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 % 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
38 %
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 % 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
40 % 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
41 % 1 column per page
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 % 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
43 % This gives the best resolution.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 % 2 columns per page
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 % produces three already-reduced pages.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 % You will still need to cut and paste.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 % 3 columns per page
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 % 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
49 % 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
50 % 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
51 % 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
52 %
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 % To compile and print this document:
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 % tex fr-refcard.tex
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 % dvips -t landscape fr-refcard.dvi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 %
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 % Author:
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 % Stephen Gildea
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 % Internet: gildea@stop.mail-abuse.org
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 %
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 % 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
63 % for their many good ideas.
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 % 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
66
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 \def\versionnumber{2.3}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 \def\versionemacs{22}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 \def\versionyear{2007} % latest update
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 \def\year{2007} % latest copyright year
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 Permissions au dos. v\versionnumber}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 \def\copyrightnotice{
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 \vskip 1ex plus 2 fill\begingroup\small
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 \centerline{v\versionnumber{} pour GNU Emacs version \versionemacs,
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 \versionyear}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 \centerline{conception de Stephen Gildea}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 \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
83 % previously: Eric Jacoboni
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84
82869
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
85 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
86 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
87 soient conserv\'ees sur toutes les copies.
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 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
90 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
91 02110-1301 USA.
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 \endgroup}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 % 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
96 % can be scanned without complaint.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 \def\bye{\par\vfill\supereject\end}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 \newdimen\intercolumnskip %horizontal space between columns
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100 \newbox\columna %boxes to hold columns already built
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 \newbox\columnb
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 \def\ncolumns{\the\columnsperpage}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105 \message{[\ncolumns\space
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 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
107
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 \def\scaledmag#1{ scaled \magstep #1}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110 % 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
111 % 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
112 \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
113 \hsize 4in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 \vsize 10in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115 \voffset -.7in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116 \font\titlefont=\fontname\tenbf \scaledmag3
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117 \font\headingfont=\fontname\tenbf \scaledmag2
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118 \font\smallfont=\fontname\sevenrm
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119 \font\smallsy=\fontname\sevensy
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 \footline{\hss\folio}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 \else %2 or 3 columns uses prereduced size
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 \hsize 3.2in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125 \vsize 7.95in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126 % \hoffset -.75in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 \hoffset -.49in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
128 % \voffset -.745in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129 \voffset -.84in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 \font\titlefont=cmbx10 \scaledmag2
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131 \font\headingfont=cmbx10 \scaledmag1
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132 \font\smallfont=cmr6
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
133 \font\smallsy=cmsy6
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
134 \font\eightrm=cmr8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135 \font\eightbf=cmbx8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136 \font\eightit=cmti8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137 \font\eighttt=cmtt8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
138 \font\eightmi=cmmi8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 \font\eightsy=cmsy8
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140 \textfont0=\eightrm
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 \textfont1=\eightmi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142 \textfont2=\eightsy
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143 \def\rm{\eightrm}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144 \def\bf{\eightbf}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 \def\it{\eightit}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146 \def\tt{\eighttt}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147 \normalbaselineskip=.8\normalbaselineskip
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
148 \normallineskip=.8\normallineskip
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149 \normallineskiplimit=.8\normallineskiplimit
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150 \normalbaselines\rm %make definitions take effect
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
151
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
152 \if 2\ncolumns
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
153 \let\maxcolumn=b
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
154 \footline{\hss\rm\folio\hss}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
155 \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
156 \else \if 3\ncolumns
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
157 \let\maxcolumn=c
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
158 \nopagenumbers
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
159 \else
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
160 \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
161 \errmessage{Illegal number of columns per page}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
162 \fi\fi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
163
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
164 \intercolumnskip=.46in
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
165 \def\abc{a}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
166 \output={% %see The TeXbook page 257
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
167 % 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
168 %\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
169 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
170 \else\if a\abc
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
171 \global\setbox\columna\columnbox \global\def\abc{b}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
172 %% 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
173 \global\setbox\columnb\hbox to -\intercolumnskip{}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
174 \else
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
175 \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
176 \def\multicolumnformat{\shipout\vbox{\makeheadline
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
177 \hbox{\box\columna\hskip\intercolumnskip
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
178 \box\columnb\hskip\intercolumnskip\columnbox}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
179 \makefootline}\advancepageno}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
180 \def\columnbox{\leftline{\pagebody}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
181
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
182 \def\bye{\par\vfill\supereject
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
183 \if a\abc \else\null\vfill\eject\fi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
184 \if a\abc \else\null\vfill\eject\fi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
185 \end}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
186 \fi
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
187
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
188 % 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
189 % we might want to talk about
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
190 \catcode`\^=12
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
191 \catcode`\_=12
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
192
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 \chardef\{=`\{
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
195 \chardef\}=`\}
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 \hyphenation{mini-tam-pon}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
198
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
199 \parindent 0pt
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
200 \parskip 1ex plus .5ex minus .5ex
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 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
203
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
204 % 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
205 % 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
206 \outer\def\newcolumn{\vfill\eject}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
207
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
208 % title - page title. Argument is title text.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
209 \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
210
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
211 % section - new major section. Argument is section name.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
212 \outer\def\section#1{\par\filbreak
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
213 \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
214 \vskip 1.5ex plus 1ex minus 1.5ex}
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 \newdimen\keyindent
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
217
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
218 % beginindentedkeys...endindentedkeys - key definitions will be
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
219 % 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
220 % definitions, will not.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
221 \def\beginindentedkeys{\keyindent=1em}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
222 \def\endindentedkeys{\keyindent=0em}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
223 \endindentedkeys
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
224
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
225 % paralign - begin paragraph containing an alignment.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
226 % 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
227 % 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
228 \def\paralign{\vskip\parskip\halign}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
229
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
230 % \<...> - surrounds a variable name in a code example
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
231 \def\<#1>{{\it #1\/}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
232
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
233 % 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
234 \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
235
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
236 % 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
237 % 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
238 \def\beginexample{\par\leavevmode\begingroup
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
239 \obeylines\obeyspaces\parskip0pt\tt\tolerance=10000}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
240 {\obeyspaces\global\let =\ }
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
241 \def\endexample{\endgroup}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
242
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
243 % key - definition of a key.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
244 % \key{description of key}{key-name}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
245 % 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
246 % form near the right margin.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
247 \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
248 {\hsize=.75\hsize\rightskip=1em
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
249 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
250
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
251 \newbox\metaxbox
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
252 \setbox\metaxbox\hbox{\kbd{M-x }}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
253 \newdimen\metaxwidth
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
254 \metaxwidth=\wd\metaxbox
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
255
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
256 % metax - definition of a M-x command.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
257 % \metax{description of command}{M-x command-name}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
258 % 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
259 % 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
260 % 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
261 \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
262 {\hskip\keyindent\relax#1\hfil}%
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
263 \hskip -\metaxwidth minus 1fil
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
264 \kbd{#2}\hfil}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
265
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
266 % threecol - like "key" but with two key names.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
267 % 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
268 \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
269 &\kbd{#3}\hfil\quad\cr}
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 %**end of header
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
272
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 \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
275
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
276 \centerline{(pour la version \versionemacs)}
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 \section{Lancer 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 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
281
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
282 \section{Quitter Emacs}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
283
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
284 \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
285 \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
286
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
287 \section{Fichiers}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
288
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
289 \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
290 \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
291 \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
292 \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
293 \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
294 \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
295 \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
296
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
297 \section{Obtenir de l'aide}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
298
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
299 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
300 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
301 {\bf didacticiel}.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
302
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
303 \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
304 \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
305
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
306 \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
307 \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
308 \key{D\'ecrire une fonction}{C-h f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
309 \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
310
82869
c78a31fd6e5d Update copyright notice. Update the examples. Fix a typo. Remove the
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82657
diff changeset
311 \section{R\'ecup\'eration sur erreur}
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
312
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
313 \key{{\bf Abandonner} une commande}{C-g}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
314 \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
315 \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
316 \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
317 \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
318
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
319 \section{Recherche incr\'ementale}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
320
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
321 \key{Rechercher en avant}{C-s}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
322 \key{Rechercher en arri\`ere}{C-r}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
323 \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
324 \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
325
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
326 \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
327 \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
328 \key{Quitter la recherche incr\'ementale}{RET}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
329 \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
330 \key{Annuler la recherche en cours}{C-g}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
331
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
332 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
333 des directions.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
334 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
335 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
336
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
337 \shortcopyrightnotice
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 \section{D\'eplacements}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
340
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
341 \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
342 \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
343 arri\`ere}}{{\bf En avant}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
344 \threecol{Caract\`ere}{C-b}{C-f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
345 \threecol{Mot}{M-b}{M-f}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
346 \threecol{Ligne}{C-p}{C-n}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
347 \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
348 \threecol{Phrase}{M-a}{M-e}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
349 \threecol{Paragraphe}{M-\{}{M-\}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
350 \threecol{Page}{C-x [}{C-x ]}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
351 \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
352 \threecol{Fonction}{C-M-a}{C-M-e}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
353 \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
354 }
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
355
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
356 \key{Passer \`a l'\'ecran suivant}{C-v}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
357 \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
358 \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
359 \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
360 \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
361
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
362 \section{D\'etruire et supprimer}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
363
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
364 \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
365 \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
366 \threecol{Caract\`ere (suppression)}{DEL}{C-d}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
367 \threecol{Mot}{M-DEL}{M-d}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
368 \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
369 \threecol{Phrase}{C-x DEL}{M-k}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
370 \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
371 }
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
372
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
373 \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
374 \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
375 \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
376
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
377 \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
378 \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
379
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
380 \section{Marquer}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
381
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
382 \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
383 \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
384
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
385 \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
386 \key{Marquer le {\bf paragraphe}}{M-h}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
387 \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
388 \key{Marquer la {\bf s-expression}}{C-M-@}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
389 \key{Marquer la {\bf fonction}}{C-M-h}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
390 \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
391
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
392 \section{Remplacement interactif}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
393
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
394 \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
395 % 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
396 % taper dans une console.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
397 \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
398
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
399 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
400 remplacement interactif :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
401
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
402 \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
403 \key{Remplacer celle-l\`a, rester l\`a}{,}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
404 \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
405 \key{Remplacer toutes les occurrences suivantes}{!}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
406 \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
407 \key{{\bf Quitter} le remplacement interactif}{RET}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
408 \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
409
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
410 \section{Fen\^etres multiples}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
411
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
412 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
413 pas les fen\^etres mais les cadres.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
414
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
415 {\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
416 \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
417 \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
418 \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
419 \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
420 }}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
421 \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
422
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
423 \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
424
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
425 %% 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
426 {\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
427 \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
428 \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
429
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
430 \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
431 \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
432 \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
433 \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
434 \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
435 \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
436 }}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
437
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
438 \key{Agrandir la fen\^etre verticalement}{C-x ^}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
439 \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
440 \key{Agrandir la fen\^etre horizontalement}{C-x \}}
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 \section{Formater}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
443
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
444 \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
445 \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
446 \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
447 \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
448 \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
449 \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
450 \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
451 \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
452 \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
453 \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
454
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
455 \key{Formater le paragraphe}{M-q}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
456 \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
457 \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
458
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
459 \key{D\'efinir la fonte}{M-o}
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 \section{Modifier la casse}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
462
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
463 \key{Mettre le mot en capitales}{M-u}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
464 \key{Mettre le mot en minuscules}{M-l}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
465 \key{Mettre une majuscule au mot}{M-c}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
466
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
467 \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
468 \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
469
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
470 \section{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 Dans le mini-tampon :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
473
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
474 \key{Compl\'eter autant que possible}{TAB}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
475 \key{Compl\'eter un mot}{SPC}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
476 \key{Compl\'eter et ex\'ecuter}{RET}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
477 \key{Montrer les compl\`etements possibles}{?}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
478 \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
479 \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
480 \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
481 \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
482 \key{Quitter en annulant la commande}{C-g}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
483
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
484 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
485 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
486 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
487
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
488 \newcolumn
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
489 \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
490
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
491 \section{Tampons}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
492
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
493 \key{Choisir un autre tampon}{C-x b}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
494 \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
495 \key{Supprimer un tampon}{C-x k}
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 \section{Transposer}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
498
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
499 \key{Transposer des {\bf caract\`eres}}{C-t}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
500 \key{Transposer des {\bf mots}}{M-t}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
501 \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
502 \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
503
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
504 \section{V\'erifier l'orthographe}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
505
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
506 \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
507 \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
508 \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
509
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
510 \section{Tags}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
511
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
512 \key{Trouver un tag (une d\'efinition)}{M-.}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
513 \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
514 \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
515
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
516 \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
517
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
518 \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
519 \key{Continuer la recherche ou le remplacement}{M-,}
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 \section{Shell}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
522
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
523 \key{Ex\'ecuter une commande shell}{M-!}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
524 \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
525 \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
526 \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
527
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
528 \section{Rectangles}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
529
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
530 \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
531 \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
532 \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
533 \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
534 \key{Vider le rectangle}{C-x r c}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
535 \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
536
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
537 \section{Abr\'eviations}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
538
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
539 \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
540 \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
541 \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
542 \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
543 \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
544
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
545 \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
546
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
547 \section{Expressions rationnelles}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
548
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
549 \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
550 \key{Z\'ero r\'ep\'etition ou plus}{*}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
551 \key{Une r\'ep\'etition ou plus}{+}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
552 \key{Z\'ero ou une r\'ep\'etition}{?}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
553 \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
554 \key{Alternative (``ou'' non exclusif)}{\\|}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
555 \key{Regroupement}{\\( {\rm$\ldots$} \\)}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
556 \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
557 \key{Limite de mot}{\\b}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
558 \key{Non limite de mot}{\\B}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
559
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
560 %% tabskip reduced from 10 to 5pt for letterpaper.
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
561 \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
562 \threecol{{\bf Objet}}{{\bf D\'ebut}}{{\bf Fin}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
563 \threecol{Ligne}{^}{\$}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
564 \threecol{Mot}{\\<}{\\>}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
565 \threecol{Tampon}{\\`}{\\'}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
566
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
567 \threecol{{\bf Classe de caract\`ere}}{{\bf Correspond}}%
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
568 {{\bf Compl\'ement}}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
569 \threecol{Ensemble explicite}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
570 \threecol{Caract\`ere de mot}{\\w}{\\W}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
571 \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
572 }
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 \section{Jeux de caract\`eres internationaux}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
575
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
576 \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
577 \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
578 \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
579 \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
580 \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
581 \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
582
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
583 \section{Info}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
584
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
585 \key{Lire une documentation Info}{C-h i}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
586 \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
587 \beginindentedkeys
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 Se d\'eplacer dans un n\oe{}ud :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
590
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
591 \key{Page suivante}{SPC}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
592 \key{Page pr\'ec\'edente}{DEL}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
593 \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
594
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
595 Navigation entre n\oe{}uds :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
596
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
597 \key{N\oe{}ud {\bf suivant}}{n}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
598 \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
599 \key{{\bf Remonter} d'un niveau}{u}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
600 \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
601 \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
602 \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
603 \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
604 \key{Aller au sommaire Info}{d}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
605 \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
606 \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
607
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
608 Autres :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
609
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
610 \key{Aller au {\bf didacticiel} Info}{h}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
611 \key{Rechercher un sujet dans l'index}{i}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
612 \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
613 \key{{\bf Quitter} Info}{q}
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 \endindentedkeys
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 \section{Registres}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
618
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
619 \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
620 \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
621
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
622 \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
623 \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
624
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
625 \section{Macros clavier}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
626
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
627 \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
628 \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
629 \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
630 \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
631 \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
632 \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
633
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
634 \section{Commandes de gestion d'Emacs Lisp}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
635
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
636 \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
637 \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
638 \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
639 \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
640 \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
641
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
642 \section{Personnalisation simple}
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 \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
645
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
646 % 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
647 % customizations and knows Lisp syntax.
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 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
650
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
651 \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
652 (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
653 (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
654 \endexample
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 \section{\'Ecriture de commandes}
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
658 \beginexample%
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
659 (defun \<nom-commande> (\<args>)
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
660 "\<documentation>"
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
661 (interactive "\<template>")
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
662 \<body>)
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
663 \endexample
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 Exemple :
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
666
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
667 \beginexample%
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
668 (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
669 "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
670 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
671 (interactive "P")
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
672 (recenter (if (null line)
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
673 0
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
674 (prefix-numeric-value line))))
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
675 \endexample
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
676
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
677 La sp\'ecification \kbd{interactive} indique comment lire
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
678 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
679 plus de pr\'ecisions.
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 \copyrightnotice
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 \bye
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
684
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
685 % 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
686 % compile-command: "pdftex fr-refcard"
82657
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
687 % End:
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
688
f6ca61f673e8 Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
689 % arch-tag: 39d6dc6e-1a4a-4071-84db-4719d4e9e40d