annotate etc/refcards/cs-refcard.tex @ 109453:af9e12929a95

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