annotate etc/cs-refcard.tex @ 74873:6847173f4e31

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sun, 24 Dec 2006 03:04:14 +0000
parents 46cec5e362d6
children ce8275d968c3 a8190f7e546e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
43276
f09ddfb6bece Update emacs version number.
Pavel Janík <Pavel@Janik.cz>
parents: 39400
diff changeset
1 % Reference Card for GNU Emacs version 21 on Unix systems
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
2
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
3 % Czech hyphenation rules applied
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
4 \chyph
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
5
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
6 %**start of header
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
7 \newcount\columnsperpage
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
8
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
9 % This file can be printed with 1, 2, or 3 columns per page (see below).
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
10 % Specify how many you want here. Nothing else needs to be changed.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
11
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
12 \columnsperpage=1
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
13
65088
f05a048483cc Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64091
diff changeset
14 % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
68640
e8a3fb527b77 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 65088
diff changeset
15 % 2005, 2006 Free Software Foundation, Inc.
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
16
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
17 % This file is part of GNU Emacs.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
18
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
19 % GNU Emacs is free software; you can redistribute it and/or modify
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
20 % it under the terms of the GNU General Public License as published by
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
21 % the Free Software Foundation; either version 2, or (at your option)
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
22 % any later version.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
23
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
24 % GNU Emacs is distributed in the hope that it will be useful,
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
25 % but WITHOUT ANY WARRANTY; without even the implied warranty of
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
27 % GNU General Public License for more details.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
28
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
29 % You should have received a copy of the GNU General Public License
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
30 % along with GNU Emacs; see the file COPYING. If not, write to
64091
6fb026ad601f Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 64083
diff changeset
31 % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
6fb026ad601f Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 64083
diff changeset
32 % Boston, MA 02110-1301, USA.
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
33
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
34 % This file is intended to be processed by plain TeX (TeX82).
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
35 %
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
36 % The final reference card has six columns, three on each side.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
37 % This file can be used to produce it in any of three ways:
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
38 % 1 column per page
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
39 % produces six separate pages, each of which needs to be reduced to 80%.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
40 % This gives the best resolution.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
41 % 2 columns per page
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
42 % produces three already-reduced pages.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
43 % You will still need to cut and paste.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
44 % 3 columns per page
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
45 % produces two pages which must be printed sideways to make a
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
46 % ready-to-use 8.5 x 11 inch reference card.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
47 % For this you need a dvi device driver that can print sideways.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
48 % Which mode to use is controlled by setting \columnsperpage above.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
49 %
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
50 % Author:
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
51 % Stephen Gildea
39400
e69aa66ec7cc Update Stephen Gildea's mail address.
Eli Zaretskii <eliz@gnu.org>
parents: 38690
diff changeset
52 % Internet: gildea@stop.mail-abuse.org
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
53 %
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
54 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
55 % for their many good ideas.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
56
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
57 % If there were room, it would be nice to see a section on Dired.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
58
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
59 % Translated to Czech by Jan Buchal <buchal@brailcom.cz> in January 1999
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
60 % Corrections and improvements of the translation
38690
ebcceabda1b5 Milan Zamazal has new address.
Pavel Janík <Pavel@Janik.cz>
parents: 36998
diff changeset
61 % by Milan Zamazal <pdm@zamazal.org> in August 1999
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
62 % More work on better integration with GNU Emacs 21
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
63 % by Pavel Janík <Pavel@Janik.cz> in November 2000
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
64
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
65 % Process the file with `csplain' from the `CSTeX' distribution (included
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
66 % e.g. in the TeX Live CD).
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
67
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
68 \def\versionnumber{2.2}
68640
e8a3fb527b77 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 65088
diff changeset
69 \def\year{2006}
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
71 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
72 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
73 Permissions on back. v\versionnumber}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
75 \def\copyrightnotice{
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
76 \vskip 1ex plus 2 fill\begingroup\small
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
77 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
43276
f09ddfb6bece Update emacs version number.
Pavel Janík <Pavel@Janik.cz>
parents: 39400
diff changeset
78 \centerline{v\versionnumber{} for GNU Emacs version 21, \year}
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79 \centerline{designed by Stephen Gildea}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
81 Permission is granted to make and distribute copies of
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
82 this card provided the copyright notice and this permission notice
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
83 are preserved on all copies.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
84
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
85 For copies of the GNU Emacs manual, write to the Free Software
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
86 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
87
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
88 \endgroup}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
89
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
90 % make \bye not \outer so that the \def\bye in the \else clause below
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
91 % can be scanned without complaint.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
92 \def\bye{\par\vfill\supereject\end}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
93
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
94 \newdimen\intercolumnskip %horizontal space between columns
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
95 \newbox\columna %boxes to hold columns already built
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
96 \newbox\columnb
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
97
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
98 \def\ncolumns{\the\columnsperpage}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
99
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 43276
diff changeset
100 \message{[\ncolumns\space
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
101 column\if 1\ncolumns\else s\fi\space per page]}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
102
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
103 \def\scaledmag#1{ scaled \magstep #1}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
104
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
105 % This multi-way format was designed by Stephen Gildea October 1986.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
106 % Note that the 1-column format is fontfamily-independent.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
107 \if 1\ncolumns %one-column format uses normal size
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
108 \hsize 4in
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
109 \vsize 10in
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
110 \voffset -.7in
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
111 \font\titlefont=\fontname\tenbf \scaledmag3
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
112 \font\headingfont=\fontname\tenbf \scaledmag2
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
113 \font\smallfont=\fontname\sevenrm
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
114 \font\smallsy=\fontname\sevensy
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
115
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
116 \footline{\hss\folio}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
117 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
118 \else %2 or 3 columns uses prereduced size
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
119 \hsize 3.2in
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
120 \vsize 7.95in
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
121 \hoffset -.75in
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
122 \voffset -.745in
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
123 \font\titlefont=csbx10 \scaledmag2
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
124 \font\headingfont=csbx10 \scaledmag1
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
125 \font\smallfont=csr6
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
126 \font\smallsy=cmsy6
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
127 \font\eightrm=csr8
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
128 \font\eightbf=csbx8
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
129 \font\eightit=csti8
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
130 \font\eighttt=cstt8
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
131 \font\eightmi=cmmi8
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
132 \font\eightsy=cmsy8
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
133 \textfont0=\eightrm
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
134 \textfont1=\eightmi
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
135 \textfont2=\eightsy
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
136 \def\rm{\eightrm}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
137 \def\bf{\eightbf}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
138 \def\it{\eightit}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
139 \def\tt{\eighttt}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
140 \normalbaselineskip=.8\normalbaselineskip
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
141 \normallineskip=.8\normallineskip
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
142 \normallineskiplimit=.8\normallineskiplimit
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
143 \normalbaselines\rm %make definitions take effect
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
144
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145 \if 2\ncolumns
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
146 \let\maxcolumn=b
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
147 \footline{\hss\rm\folio\hss}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
148 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
149 \else \if 3\ncolumns
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
150 \let\maxcolumn=c
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
151 \nopagenumbers
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
152 \else
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
153 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
154 \errmessage{Illegal number of columns per page}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
155 \fi\fi
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
156
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
157 \intercolumnskip=.46in
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
158 \def\abc{a}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
159 \output={% %see The TeXbook page 257
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
160 % This next line is useful when designing the layout.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
161 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
162 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
163 \else\if a\abc
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
164 \global\setbox\columna\columnbox \global\def\abc{b}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
165 %% in case we never use \columnb (two-column mode)
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
166 \global\setbox\columnb\hbox to -\intercolumnskip{}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
167 \else
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
168 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
169 \def\multicolumnformat{\shipout\vbox{\makeheadline
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
170 \hbox{\box\columna\hskip\intercolumnskip
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
171 \box\columnb\hskip\intercolumnskip\columnbox}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
172 \makefootline}\advancepageno}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
173 \def\columnbox{\leftline{\pagebody}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
174
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
175 \def\bye{\par\vfill\supereject
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
176 \if a\abc \else\null\vfill\eject\fi
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
177 \if a\abc \else\null\vfill\eject\fi
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 43276
diff changeset
178 \end}
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
179 \fi
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
180
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
181 % we won't be using math mode much, so redefine some of the characters
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
182 % we might want to talk about
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
183 \catcode`\^=12
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
184 \catcode`\_=12
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
185
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
186 \chardef\\=`\\
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
187 \chardef\{=`\{
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
188 \chardef\}=`\}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
189
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
190 \hyphenation{mini-buf-fer}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
191
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
192 \parindent 0pt
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
193 \parskip 1ex plus .5ex minus .5ex
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
194
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
195 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
196
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
197 % newcolumn - force a new column. Use sparingly, probably only for
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
198 % the first column of a page, which should have a title anyway.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
199 \outer\def\newcolumn{\vfill\eject}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
200
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
201 % title - page title. Argument is title text.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
202 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
203
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
204 % section - new major section. Argument is section name.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
205 \outer\def\section#1{\par\filbreak
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
206 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
207 \vskip 2ex plus 1ex minus 1.5ex}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
208
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
209 \newdimen\keyindent
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
210
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
211 % beginindentedkeys...endindentedkeys - key definitions will be
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
212 % indented, but running text, typically used as headings to group
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
213 % definitions, will not.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
214 \def\beginindentedkeys{\keyindent=1em}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
215 \def\endindentedkeys{\keyindent=0em}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
216 \endindentedkeys
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
217
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
218 % paralign - begin paragraph containing an alignment.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
219 % If an \halign is entered while in vertical mode, a parskip is never
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
220 % inserted. Using \paralign instead of \halign solves this problem.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
221 \def\paralign{\vskip\parskip\halign}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
222
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
223 % \<...> - surrounds a variable name in a code example
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
224 \def\<#1>{{\it #1\/}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
225
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
226 % kbd - argument is characters typed literally. Like the Texinfo command.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
227 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
228
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
229 % beginexample...endexample - surrounds literal text, such a code example.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
230 % typeset in a typewriter font with line breaks preserved
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
231 \def\beginexample{\par\leavevmode\begingroup
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
232 \obeylines\obeyspaces\parskip0pt\tt}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
233 {\obeyspaces\global\let =\ }
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
234 \def\endexample{\endgroup}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
235
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
236 % key - definition of a key.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
237 % \key{description of key}{key-name}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
238 % prints the description left-justified, and the key-name in a \kbd
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
239 % form near the right margin.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
240 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
241 {\hsize=.75\hsize\rightskip=1em
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
242 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
243
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
244 \newbox\metaxbox
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
245 \setbox\metaxbox\hbox{\kbd{M-x }}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
246 \newdimen\metaxwidth
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
247 \metaxwidth=\wd\metaxbox
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
248
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
249 % metax - definition of a M-x command.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
250 % \metax{description of command}{M-x command-name}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
251 % Tries to justify the beginning of the command name at the same place
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
252 % as \key starts the key name. (The "M-x " sticks out to the left.)
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
253 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
254 {\hskip\keyindent\relax#1\hfil}%
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
255 \hskip -\metaxwidth minus 1fil
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
256 \kbd{#2}\hfil}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
257
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
258 % threecol - like "key" but with two key names.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
259 % for example, one for doing the action backward, and one for forward.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
260 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
261 &\kbd{#3}\hfil\quad\cr}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
262
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
263 %**end of header
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
264
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
265
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
266 \title{GNU Emacs -- Referenční karta}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
267
43276
f09ddfb6bece Update emacs version number.
Pavel Janík <Pavel@Janik.cz>
parents: 39400
diff changeset
268 \centerline{(pro verzi 21)}
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
269
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
270 \section{Spuštění Emacsu}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
271
43276
f09ddfb6bece Update emacs version number.
Pavel Janík <Pavel@Janik.cz>
parents: 39400
diff changeset
272 Pro vstup do GNU~Emacsu~21 napište jeho jméno: \kbd{emacs}
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
273
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
274 Jak načítat a editovat soubory se dozvíte níže v~oddíle Soubory.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
275
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
276
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
277 \section{Opuštění Emacsu}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
278
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
279 \key{pozastavení Emacsu (ikonizace v~X11)}{C-z}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
280 \key{definitivní odchod z~Emacsu}{C-x C-c}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
281
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
282 \section{Soubory}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
283
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
284 \key{{\bf načíst} souboru do Emacsu}{C-x C-f}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
285 \key{{\bf uložit} soubor zpět na disk}{C-x C-s}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
286 \key{uložit {\bf všechny} soubory}{C-x s}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
287 \key{{\bf vložit} obsahu jiného souboru do bufferu}{C-x i}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
288 \key{zaměnit tento soubor jiným souborem}{C-x C-v}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
289 \key{zapsat buffer do zadaného souboru}{C-x C-w}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
290 \key{vložit do systému správy verzí}{C-x C-q}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
291
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
292 \section{Používání nápovědy}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
293
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
294 Systém nápovědy je snadný. Stiskněte \kbd{C-h} (nebo \kbd{F1}) a sledujte
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
295 instrukce. Úvodní {\bf tutoriál} lze spustit pomocí \kbd{C-h t}.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
296
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
297 \key{odstranit okno s~nápovědou}{C-x 1}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
298 \key{rolovat okno s~nápovědou}{C-M-v}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
299
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
300 \key{apropos: příkazy odpovídající řetězci}{C-h a}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
301 \key{zobrazit funkci dané klávesy}{C-h c}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
302 \key{zobrazit popis funkce}{C-h f}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
303 \key{zobrazit informace o~aktuálních módech}{C-h m}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
304
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
305 \section{Opravy chyb}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
306
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
307 \key{{\bf přerušit} zadávaný nebo vykonávaný příkaz}{C-g}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
308 \metax{{\bf obnovit} soubor ztracený pádem systému}{M-x recover-file}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
309 \key{{\bf zrušit} nechtěnou změnu}{C-x u {\it n.} C-_}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
310 \metax{vrátit původní obsah bufferu}{M-x revert-buffer}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
311 \key{překreslit \uv{rozpadlou} obrazovku}{C-l}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
312
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
313 \section{Přírůstkové vyhledávání}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
314
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
315 \key{vyhledat dopředu}{C-s}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
316 \key{vyhledat dozadu}{C-r}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
317 \key{vyhledat regulární výraz}{C-M-s}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
318 \key{vyhledat regulární výraz dozadu}{C-M-r}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
319
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
320 \key{předchozí vyhledávaný řetězec}{M-p}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
321 \key{následující novější vyhledávaný řetězec}{M-n}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
322 \key{ukončit inkrementální vyhledávání}{RET}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
323 \key{zrušit efekt posledního zadaného znaku}{DEL}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
324 \key{přerušit probíhající vyhledávání}{C-g}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
325
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
326 Další \kbd{C-s} nebo \kbd{C-r} zopakuje vyhledání v~daném směru. Pokud
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
327 Emacs vyhledává, \kbd{C-g} zruší pouze nenalezenou část řetězce.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
328
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
329
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
330 \shortcopyrightnotice
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
331
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
332 \section{Pohyb}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
333
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
334 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
335 \threecol{{\bf posun o }}{{\bf dozadu}}{{\bf dopředu}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
336 \threecol{znak}{C-b}{C-f}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
337 \threecol{slovo}{M-b}{M-f}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
338 \threecol{řádek}{C-p}{C-n}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
339 \threecol{na začátek nebo konec řádku}{C-a}{C-e}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
340 \threecol{větu}{M-a}{M-e}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
341 \threecol{odstavec}{M-\{}{M-\}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
342 \threecol{stránku}{C-x [}{C-x ]}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
343 \threecol{symbolický výraz}{C-M-b}{C-M-f}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
344 \threecol{funkci}{C-M-a}{C-M-e}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
345 \threecol{na začátek nebo konec bufferu}{M-<}{M->}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
346 }
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
347
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
348 \key{rolovat na další obrazovku}{C-v}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
349 \key{rolovat na předchozí obrazovku}{M-v}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
350 \key{rolovat vlevo}{C-x <}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
351 \key{rolovat vpravo}{C-x >}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
352 \key{aktuální řádek do středu obrazovky}{C-u C-l}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
353
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
354 \section{Rušení a mazání}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
355
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
356 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
357 \threecol{{\bf rušený objekt }}{{\bf dozadu}}{{\bf dopředu}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
358 \threecol{znak (mazání, ne rušení)}{DEL}{C-d}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
359 \threecol{slovo}{M-DEL}{M-d}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
360 \threecol{řádek (do konce)}{M-0 C-k}{C-k}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
361 \threecol{věta}{C-x DEL}{M-k}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
362 \threecol{symbolický výraz}{M-- C-M-k}{C-M-k}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
363 }
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
364
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
365 \key{zrušit {\bf oblast}}{C-w}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
366 \key{zkopírovat oblast do schránky}{M-w}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
367 \key{zrušit až po nejbližší výskyt znaku {\it znak}}{M-z {\it znak}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
368
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
369 \key{vhodit naposledy zrušený objekt}{C-y}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
370 \key{nahradit vhozený objekt předchozím zrušeným}{M-y}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
371
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
372 \section{Označování}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
373
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
374 \key{vložit značku}{C-@ {\it n.} C-SPC}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
375 \key{prohodit kurzor a značku}{C-x C-x}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
376
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
377 \key{označit zadaný počet {\bf slov}}{M-@}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
378 \key{označit {\bf odstavec}}{M-h}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
379 \key{označit {\bf stránku}}{C-x C-p}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
380 \key{označit {\bf symbolický výraz}}{C-M-@}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
381 \key{označit {\bf funkci}}{C-M-h}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
382 \key{označit celý {\bf buffer}}{C-x h}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
383
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
384 \section{Interaktivní nahrazování}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
385
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
386 \key{interaktivně nahradit textový řetězec}{M-\%}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
387 \metax{s~užitím regulárního výrazu}{M-x query-replace-regexp}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
388
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
389 Platné odpovědi v~módu query-replace jsou
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
390
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
391 \key{{\bf záměnu provést} a jít na další}{SPC}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
392 \key{záměnu provést a zůstat na místě}{,}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
393 \key{{\bf skočit} na další bez provedení záměny}{DEL}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
394 \key{zaměnit všechny zbývající výskyty}{!}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
395 \key{{\bf zpět} na předchozí výskyt řetězce}{^}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
396 \key{{\bf konec} nahrazování}{RET}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
397 \key{rekurzivní editace (ukončí se \kbd{C-M-c})}{C-r}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
398
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
399 \section{Okna}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
400
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
401 Jestliže jsou zobrazeny dva příkazy, pak ten druhý platí pro X okno.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
402
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
403 \key{zrušit všechna ostatní okna}{C-x 1}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
404
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
405 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
406 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
407 \threecol{rozdělit okno na horní a dolní}{C-x 2\ \ \ \ }{C-x 5 2}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
408 \threecol{zrušit toto okno}{C-x 0\ \ \ \ }{C-x 5 0}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
409 }}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
410 \key{rozdělit okno na levé a pravé}{C-x 3}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
411
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
412 \key{rolovat jiné okno}{C-M-v}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
413
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
414 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 2\wd0
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
415 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
416 \threecol{přepnout kurzor do jiného okna}{C-x o}{C-x 5 o}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
417
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
418 \threecol{vybrat buffer v~jiném okně}{C-x 4 b}{C-x 5 b}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
419 \threecol{zobrazit buffer v~jiném okně}{C-x 4 C-o}{C-x 5 C-o}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
420 \threecol{otevřít soubor v~jiném okně}{C-x 4 f}{C-x 5 f}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
421 \threecol{otevřít soubor jen pro čtení v~jiném okně}{C-x 4 r}{C-x 5 r}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
422 \threecol{spustit Dired v~jiném okně}{C-x 4 d}{C-x 5 d}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
423 \threecol{najít tag v~jiném okně}{C-x 4 .}{C-x 5 .}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
424 }}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
425
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
426 \key{zvětšit okno}{C-x ^}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
427 \key{zúžit okno}{C-x \{}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
428 \key{rozšířit okno}{C-x \}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
429
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
430 \section{Formátování}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
431
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
432 \key{odsadit aktuální {\bf řádek} (dle módu)}{TAB}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
433 \key{odsadit {\bf oblast} (dle módu)}{C-M-\\}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
434 \key{odsadit {\bf symbolický výraz} (dle módu)}{C-M-q}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
435 \key{odsadit oblast napevno o~{\it argument\/} sloupců}{C-x TAB}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
436
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
437 \key{vložit znak nového řádku za kurzor}{C-o}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
438 \key{posunout zbytek řádku svisle dolů}{C-M-o}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
439 \key{smazat prázdné řádky okolo kurzoru}{C-x C-o}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
440 \key{spojit řádek s~předchozím (s~arg.~s~násl.)}{M-^}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
441 \key{smazat prázdné místo kolem kurzoru}{M-\\}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
442 \key{nechat přesně jednu mezeru kolem kurzoru}{M-SPC}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
443
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
444 \key{zalomit odstavec}{M-q}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
445 \key{nastavit sloupec pro zalamování}{C-x f}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
446 \key{nastavit prefix, kterým začínají řádky}{C-x .}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
447 \key{nastavit font}{M-g}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
448
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
449 \section{Změna velikosti písmen}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
450
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
451 \key{změnit písmena slova na velká}{M-u}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
452 \key{změnit písmena slova na malá}{M-l}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
453 \key{změnit počáteční písmeno slova na velké}{M-c}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
454
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
455 \key{změnit písmena oblasti na velká}{C-x C-u}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
456 \key{změnit písmena oblasti na malá}{C-x C-l}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
457
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
458 \section{Minibuffer}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
459
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
460 Následující klávesy jsou platné pro minibuffer.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
461
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
462 \key{doplnit z~nabídky}{TAB}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
463 \key{doplnit do nejbližšího slova}{SPC}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
464 \key{doplnit a vykonat}{RET}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
465 \key{zobrazit možná doplnění}{?}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
466 \key{předchozí příkaz z~minibufferu}{M-p}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
467 \key{novější nebo implicitní příkaz z~minibufferu}{M-n}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
468 \key{vyhledat regulární výraz v~historii vzad}{M-r}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
469 \key{vyhledat regulární výraz v~historii vpřed}{M-s}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
470 \key{zrušit příkaz}{C-g}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
471
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
472 Stiskněte \kbd{C-x ESC ESC} pro editaci a zopakování posledního příkazu
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
473 z~minibufferu. Stiskněte \kbd{F10} pro aktivaci menu v~minibufferu.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
474
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
475 \newcolumn
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
476 \title{GNU Emacs -- Referenční karta}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
477
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
478 \section{Buffery}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
479
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
480 \key{vybrat jiný buffer}{C-x b}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
481 \key{seznam všech bufferů}{C-x C-b}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
482 \key{zrušit buffer}{C-x k}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
483
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
484 \section{Výměny}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
485
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
486 \key{přehodit {\bf znaky}}{C-t}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
487 \key{přehodit {\bf slova}}{M-t}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
488 \key{přehodit {\bf řádky}}{C-x C-t}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
489 \key{přehodit {\bf symbolické výrazy}}{C-M-t}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
490
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
491 \section{Kontrola pravopisu}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
492
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
493 \key{kontrola pravopisu aktuálního slova}{M-\$}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
494 \metax{kontrola pravopisu všech slov v oblasti}{M-x ispell-region}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
495 \metax{kontrola pravopisu celého bufferu}{M-x ispell-buffer}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
496
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
497 \section{Tagy}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
498
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
499 \key{najít tag (definici)}{M-.}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
500 \key{najít další výskyt tagu}{C-u M-.}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
501 \metax{zadat soubor s novými tagy}{M-x visit-tags-table}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
502
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
503 \metax{vyhledat reg.\ výraz v~souborech s~tagy}{M-x tags-search}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
504 \metax{spustit nahrazování pro ony soubory}{M-x tags-query-replace}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
505 \key{pokračovat v~prohledávání nebo nahrazování}{M-,}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
506
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
507 \section{Příkazový interpret}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
508
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
509 \key{vykonat shellový příkaz}{M-!}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
510 \key{vykonat shellový příkaz na oblast}{M-|}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
511 \key{zfiltrovat oblast shellovým příkazem}{C-u M-|}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
512 \key{spustit shell v okně \kbd{*shell*}}{M-x shell}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
513
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
514 \section{Obdélníky}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
515
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
516 \key{zkopírovat obdélník do registru}{C-x r r}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
517 \key{zrušit obdélník}{C-x r k}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
518 \key{vhodit obdélník}{C-x r y}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
519 \key{vložit obdélník mezer}{C-x r o}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
520 \key{nahradit obdélník obdélníkem mezer}{C-x r c}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
521 \key{nahradit řádky obdélníku zadaným řetězcem}{C-x r t}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
522
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
523 \section{Zkratky}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
524
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
525 \key{přidat globální zkratku}{C-x a g}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
526 \key{přidat lokální zkratku}{C-x a l}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
527 \key{přidat globální expanzi pro zkratku }{C-x a i g}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
528 \key{přidat lokální expanzi pro zkratku}{C-x a i l}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
529 \key{expandovat zkratku}{C-x a e}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
530
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
531 \key{dynamická expanze předcházejícího slova}{M-/}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
532
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
533 \section{Regulární výrazy}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
534
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
535 \key{libovolný znak kromě nového řádku}{. {\rm(tečka)}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
536 \key{žádné nebo několik opakování}{*}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
537 \key{jedno nebo více opakování}{+}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
538 \key{žádné nebo jedno opakování}{?}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
539 \key{zrušit zvláštní význam znaku {\it c\/} ve výrazu}{\\{\it c}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
540 \key{alternativa (\uv{nebo})}{\\|}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
541 \key{skupina}{\\( {\rm$\ldots$} \\)}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
542 \key{stejný text jako {\it n\/}-tá skupina}{\\{\it n}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
543 \key{hranice slova}{\\b}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
544 \key{nikoliv hranice slova}{\\B}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
545
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
546 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
547 \threecol{{\bf element}}{{\bf začátek}}{{\bf konec}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
548 \threecol{řádek}{^}{\$}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
549 \threecol{slovo}{\\<}{\\>}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
550 \threecol{buffer}{\\`}{\\'}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
551
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
552 \threecol{{\bf třída znaků}}{{\bf odpovídá}}{{\bf neodpovídá}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
553 \threecol{explicitní množina}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
554 \threecol{slovotvorný znak}{\\w}{\\W}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
555 \threecol{znak se syntaxí {\it c}}{\\s{\it c}}{\\S{\it c}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
556 }
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
557
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
558 \section{Mezinárodní znakové sady}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
559
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
560 \metax{zadat hlavní jazyk}{M-x set-language-environment}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
561 \metax{zobrazit všechny vstupní metody}{M-x list-input-methods}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
562 \key{zapnout nebo vypnout vstupní metodu}{C-\\}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
563 \key{zadat kódování pro následující příkaz}{C-x RET c}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
564 \metax{zobrazit všechna kódování}{M-x list-coding-systems}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
565 \metax{změnit preferované kódování}{M-x prefer-coding-system}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
566
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
567 \section{Info}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
568
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
569 \key{spustit Info}{C-h i}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
570 \key{najít zadanou funkci nebo proměnnou v~Info}{C-h C-i}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
571 \beginindentedkeys
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
572
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
573 Pohyb uvnitř uzlů:
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
574
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
575 \key{rolování vpřed}{SPC}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
576 \key{rolování zpět}{DEL}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
577 \key{na začátek uzlu}{. {\rm (tečka)}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
578
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
579 Pohyb mezi uzly:
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
580
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
581 \key{{\bf další} uzel}{n}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
582 \key{{\bf předchozí} uzel}{p}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
583 \key{{\bf nadřazený} uzel}{u}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
584 \key{vybrat z~menu podle názvu}{m}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
585 \key{vybrat {\it n\/}-tou položku menu (1--9)}{{\it n}}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
586 \key{nejbližší příští křížový odkaz (návrat \kbd{l})}{f}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
587 \key{vrátit se do naposledy prohlíženého uzlu}{l}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
588 \key{vrátit se do adresáře uzlů}{d}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
589 \key{přejít do kteréhokoliv uzlu podle jména}{g}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
590
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
591 Další:
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
592
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
593 \key{spustit {\bf tutoriál} k~Info}{h}
70860
46cec5e362d6 * refcard.tex (section{Info}): Add `i'. Use `s' instead of `M-s'.
Reiner Steib <Reiner.Steib@gmx.de>
parents: 68640
diff changeset
594 % \key{look up a subject in the indices}{i} % FIXME
46cec5e362d6 * refcard.tex (section{Info}): Add `i'. Use `s' instead of `M-s'.
Reiner Steib <Reiner.Steib@gmx.de>
parents: 68640
diff changeset
595 \key{prohledat uzly na řetězec}{M-s}
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
596 \key{{\bf ukončit} Info}{q}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
597
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
598 \endindentedkeys
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
599
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
600 \section{Registry}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
601
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
602 \key{uložit oblast do registru}{C-x r s}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
603 \key{vložit obsah registru do bufferu}{C-x r i}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
604
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
605 \key{uložit pozici kurzoru do registru}{C-x r SPC}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
606 \key{skočit na pozici uloženou v~registru}{C-x r j}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
607
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
608 \section{Klávesová makra}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
609
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
610 \key{{\bf zahájit} definování klávesového makra}{C-x (}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
611 \key{{\bf zakončit} definování klávesového makra}{C-x )}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
612 \key{{\bf vykonat} poslední definované makro}{C-x e}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
613 \key{připojit k~poslednímu klávesovému makru}{C-u C-x (}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
614 \metax{pojmenovat poslední makro}{M-x name-last-kbd-macro}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
615 \metax{vložit do bufferu lispovou definici}{M-x insert-kbd-macro}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
616
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
617 \section{Příkazy související s~Emacs Lispem}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
618
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
619 \key{vyhodnotit {\bf výraz} před kurzorem}{C-x C-e}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
620 \key{vyhodnotit {\bf funkci} pod kurzorem}{C-M-x}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
621 \metax{vyhodnotit {\bf oblast}}{M-x eval-region}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
622 \key{načíst a vyhodnotit výraz v~minibufferu}{M-:}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
623 \metax{načíst soubor ze systémového adresáře}{M-x load-library}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
624
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
625 \section{Jednoduchá přizpůsobení}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
626
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
627 \metax{nastavit proměnné a faces}{M-x customize}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
628
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
629 % The intended audience here is the person who wants to make simple
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
630 % customizations and knows Lisp syntax.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
631
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
632 Definice obecné klávesové zkratky v~Emacs Lispu (příklad):
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
633
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
634 \beginexample%
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
635 (global-set-key "\\C-cg" 'goto-line)
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
636 (global-set-key "\\M-\#" 'query-replace-regexp)
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
637 \endexample
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
638
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
639 \section{Zápis příkazů}
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
640
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
641 \beginexample%
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
642 (defun \<command-name> (\<args>)
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
643 "\<documentation>" (interactive "\<template>")
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
644 \<body>)
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
645 \endexample
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
646
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
647 Příklad:
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
648
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
649 \beginexample%
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
650 (defun this-line-to-top-of-window (line)
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
651 "Reposition line point is on to top of window.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
652 With ARG, put point on line ARG."
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
653 (interactive "P")
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
654 (recenter (if (null line)
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
655 0
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
656 (prefix-numeric-value line))))
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
657 \endexample
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
658
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
659 Specifikace \kbd{interactive} říká, jak interaktivně načíst ar\-gu\-men\-ty.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
660 Více se dozvíte po provedení \kbd{C-h f interactive}.
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
661
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
662 \copyrightnotice
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
663
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
664 \bye
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
665
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
666 % Local variables:
36998
8628eb0b28c7 Change compile-command in local variables. Update copyright years.
Gerd Moellmann <gerd@gnu.org>
parents: 36538
diff changeset
667 % compile-command: "csplain cs-refcard"
36538
7ac492184bca *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
668 % End:
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
669
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
670 % arch-tag: 24ab5519-539c-4941-9a95-4ed9d819030f