annotate etc/refcards/cs-survival.tex @ 112441:2097405cdc11

Merge: Check return values of some library calls.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 22 Jan 2011 23:32:08 -0800
parents 1e3cae16f7b0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
82649
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 % Title: GNU Emacs Survival Card
d8ba390274fb 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) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
112218
376148b31b5e Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents: 107297
diff changeset
4 % 2009, 2010, 2011 Free Software Foundation, Inc.
82649
d8ba390274fb 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: Wlodek Bzyl <matwb@univ.gda.pl>
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
7 % Czech translation: Pavel Janík <Pavel@Janik.cz>, March 2001
82649
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9 % This file is part of GNU Emacs.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10
95010
9f4d6f3769da Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
11 % GNU Emacs is free software: you can redistribute it and/or modify
82649
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12 % 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
13 % 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
14 % (at your option) any later version.
82649
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 % GNU Emacs is distributed in the hope that it will be useful,
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17 % but WITHOUT ANY WARRANTY; without even the implied warranty of
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 % GNU General Public License for more details.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21 % 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
22 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
82649
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24
104005
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
25 % See survival.tex.
82649
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27 % Process the file with `csplain' from the `CSTeX' distribution (included
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 % e.g. in the TeX Live CD).
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29
104005
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
30 % User interface is `plain.tex' and macros described below
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
31 %
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
32 % \title{CARD TITLE}{for version 21}
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
33 % \section{NAME}
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
34 % optional paragraphs separated with \askip amount of vertical space
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
35 % \key{KEY-NAME} description of key or
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
36 % \mkey{M-x LONG-LISP-NAME} description of Elisp function
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
37 %
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
38 % \kbd{ARG} -- argument is typed literally
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
39
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
40
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
41 %**start of header
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
42
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
43 \def\plainfmtname{plain}
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
44 \ifx\fmtname\plainfmtname
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
45 \else
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
46 \errmessage{This file requires `plain' format to be typeset correctly}
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
47 \endinput
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
48 \fi
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
49
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
50 % 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
51 % a landscape layout.
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
52 \input pdflayout.sty
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
53 \pdflayout=(0)
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
54
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
55 % Czech hyphenation rules applied
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
56 \chyph
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
57
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
58 \def\versionemacs{23} % version of Emacs this is for
112221
1e3cae16f7b0 Update refcards/*.tex short copyright year to 2011.
Glenn Morris <rgm@gnu.org>
parents: 112218
diff changeset
59 \def\year{2011} % latest copyright year
82649
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 \def\copyrightnotice{\penalty-1\vfill
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter
104005
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
63 Copyright \copyright\ \year\ Free Software Foundation, Inc.\break
76ec8228b5d8 Standardize headers.
Glenn Morris <rgm@gnu.org>
parents: 103254
diff changeset
64 Pro GNU Emacs \versionemacs\break
82649
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 W{\l}odek Bzyl (matwb@univ.gda.pl)\break
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 Do češtiny přeložil Pavel Janík (Pavel@Janik.cz)
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 Kopie tohoto dokumentu můžete vytvářet a šířit
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 za předpokladu, že budou obsahovat tuto poznámku
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 o autorských právech.\par}}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 \hsize 3.2in
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 \vsize 7.95in
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 \font\titlefont=csss10 scaled 1200
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 \font\headingfont=csss10
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 \font\smallfont=csr6
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 \font\smallsy=cmsy6
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 \font\eightrm=csr8
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 \font\eightbf=csbx8
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 \font\eightit=csti8
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 \font\eighttt=cstt8
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 \font\eightmi=csmi8
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 \font\eightsy=cmsy8
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 \font\eightss=cmss8
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 \textfont0=\eightrm
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 \textfont1=\eightmi
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 \textfont2=\eightsy
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 \def\rm{\eightrm} \rm
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 \def\bf{\eightbf}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 \def\it{\eightit}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 \def\tt{\eighttt}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 \def\ss{\eightss}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 \baselineskip=0.8\baselineskip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 \newdimen\intercolumnskip % horizontal space between columns
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 \intercolumnskip=0.5in
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 % The TeXbook, p. 257
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 \let\lr=L \newbox\leftcolumn
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100 \output={\if L\lr
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 \global\setbox\leftcolumn\columnbox \global\let\lr=R
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102 \else
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103 \doubleformat \global\let\lr=L\fi}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104 \def\doubleformat{\shipout\vbox{\makeheadline
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105 \leftline{\box\leftcolumn\hskip\intercolumnskip\columnbox}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 \makefootline}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107 \advancepageno}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 \def\columnbox{\leftline{\pagebody}}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110 \def\newcolumn{\vfil\eject}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 \def\bye{\par\vfil\supereject
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 \if R\lr \null\vfil\eject\fi
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 \end}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116 \outer\def\title#1#2{{\titlefont\centerline{#1}}\vskip 1ex plus 0.5ex
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117 \centerline{\ss#2}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118 \vskip2\baselineskip}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120 \outer\def\section#1{\filbreak
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 \bskip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 \leftline{\headingfont #1}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 \askip}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 \def\bskip{\vskip 2.5ex plus 0.25ex }
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125 \def\askip{\vskip 0.75ex plus 0.25ex}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 \newdimen\defwidth \defwidth=0.25\hsize
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
128 \def\hang{\hangindent\defwidth}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 \def\textindent#1{\noindent\llap{\hbox to \defwidth{\tt#1\hfil}}\ignorespaces}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131 \def\key{\par\hangafter=0\hang\textindent}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
133 \def\mtextindent#1{\noindent\hbox{\tt#1\quad}\ignorespaces}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
134 \def\mkey{\par\hangafter=1\hang\mtextindent}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136 \def\kbd#{\bgroup\tt \let\next= }
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
138 \newdimen\raggedstretch
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 \newskip\raggedparfill \raggedparfill=0pt plus 1fil
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140 \def\nohyphens
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 {\hyphenpenalty10000\exhyphenpenalty10000\pretolerance10000}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142 \def\raggedspaces
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143 {\spaceskip=0.3333em\relax
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144 \xspaceskip=0.5em\relax}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 \def\raggedright
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146 {\raggedstretch=6em
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147 \nohyphens
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
148 \rightskip=0pt plus \raggedstretch
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149 \raggedspaces
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150 \parfillskip=\raggedparfill
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
151 \relax}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
152 \def\raggedcenter
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
153 {\raggedstretch=6em
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
154 \nohyphens
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
155 \rightskip=0pt plus \raggedstretch
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
156 \leftskip=\rightskip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
157 \raggedspaces
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
158 \parfillskip=0pt
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
159 \relax}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
160
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
161 \chardef\\=`\\
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
162
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
163 \raggedright
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
164 \nopagenumbers
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
165 \parindent 0pt
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
166 \interlinepenalty=10000
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
167 \hoffset -0.2in
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
168 %\voffset 0.2in
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
169
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
170 %**end of header
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
171
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
172
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
173 \title{Karta\ \ pro\ \ přežití\ \ s\ \ GNU\ \ Emacsem}{pro verzi \versionemacs}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
174
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
175 V~následujícím textu \kbd{C-z} znamená: stiskněte klávesu `\kbd{z}' a
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
176 současně přidržte stisknutou klávesu {\it Ctrl}. \kbd{M-z} znamená, že
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
177 současně s klávesou `\kbd{z}' přidržíte klávesu {\it Meta\/} (většinou
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
178 označenou {\it Alt\/}) nebo ji stisknete po stisknutí klávesy {\it Esc\/}.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
179
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
180
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
181 \section{Spuštění Emacsu}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
182
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
183 Pro spuštění GNU Emacsu jednoduše napište jeho jméno: \kbd{emacs}.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
184 Emacs rozděluje rámec na několik částí:
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
185 řádek menu,
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
186 buffer s editovaným textem,
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
187 tzv. mode line popisující buffer nad ní
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
188 a minibuffer v poslední řádce.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
189 \askip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
190 \key{C-x C-c} ukončení Emacsu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
191 \key{C-x C-f} editace souboru; tento příkaz využívá minibuffer k přečtení
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
192 jména souboru; tento příkaz použijte i tehdy, chcete-li
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
193 vytvořit nový soubor zadaného jména
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
194 \key{C-x C-s} uložit soubor
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
195 \key{C-x k} zavřít buffer
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
196 \key{C-g} ve většině situací: zastavení aktuálně prováděné činnosti,
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
197 zrušení zadávání příkazu apod.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
198 \key{C-x u} obnovit
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
199
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
200 \section{Pohyb}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
201
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
202 \key{C-l} přesun aktuální řádky do středu okna
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
203 \key{C-x b} přepnutí do jiného bufferu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
204 \key{M-<} přesun na začátek bufferu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
205 \key{M->} přesun na konec bufferu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
206 \key{M-x goto-line} přesun na řádek zadaného čísla
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
207
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
208 \section{Více oken}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
209
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
210 \key{C-x 0} odstranění aktuálního okna
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
211 \key{C-x 1} aktuální okno se stane jediným oknem
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
212 \key{C-x 2} rozdělení okna horizontálně
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
213 \key{C-x 3} rozdělení okna vertikálně
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
214 \key{C-x o} přesun do jiného okna
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
215
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
216 \section{Regiony}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
217
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
218 Emacs definuje `region' jako prostor mezi {\it značkou\/} a
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
219 {\it bodem}. Značka je nastavena pomocí \kbd{C-{\it space}}.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
220 Bod je v místě aktuální pozice kurzoru.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
221 \askip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
222 \key{M-h} označ celý odstavec
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
223 \key{C-x h} označ celý buffer
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
224
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
225 \section{Vyjmutí a kopírování}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
226
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
227 \key{C-w} vyjmi region
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
228 \key{M-w} zkopíruj region do kill-ringu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
229 \key{C-k} vyjmi text od kurzoru do konce řádku
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
230 \key{M-DEL} vyjmi slovo
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
231 \key{C-y} vlož zpět poslední vyjmutý text (kombinace kláves \kbd{C-w C-y}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
232 může být použita pro přesuny textů)
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
233 \key{M-y} nahraď poslední vložený text předchozím vyjmutým textem
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
234
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
235 \section{Vyhledávání}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
236
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
237 \key{C-s} hledej řetězec
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
238 \key{C-r} hledej řetězec zpět
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
239 \key{RET} ukonči hledání
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
240 \key{M-C-s} hledej regulární výraz
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
241 \key{M-C-r} hledej regulární výraz zpět
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
242 \askip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
243 Kombinace \kbd{C-s} nebo \kbd{C-r} můžete použít i k opakování hledání
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
244 jiným směrem.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
245
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
246 \section{Značky (tags)}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
247
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
248 Tabulky značek (tags) zaznamenávají polohu funkcí a procedur, globálních
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
249 proměnných, datových typů a dalšího. Pro vytvoření tabulky značek spusťte
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
250 příkaz `{\tt etags} {\it vstupní\_soubory}' v příkazovém interpretu.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
251 \askip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
252 \key{M-.} najdi definici
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
253 \key{C-u M-.} najdi další výskyt definice
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
254 \key{M-*} běž tam, odkud byla volána poslední \kbd{M-.}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
255 \mkey{M-x tags-query-replace} spusť query-replace na všech souborech
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
256 zaznamenaných v tabulce značek.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
257 \key{M-,} pokračuj v posledním hledání značky nebo query-replace
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
258
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
259 \section{Překlady}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
260
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
261 \key{M-x compile} přelož kód v aktivním okně
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
262 \key{C-c C-c} běž na poslední chybu překladače, v okně překladu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
263 \key{C-x `} v okně se zdrojovým textem
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
264
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
265 \section{Dired, editor adresářů}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
266
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
267 \key{C-x d} spusť Dired
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
268 \key{d} označ tento soubor pro smazání
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
269 \key{\~{}} označ všechny zálohy ke smazání
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
270 \key{u} odstraň všechny značky pro smazání
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
271 \key{x} smaž soubory označené pro smazání
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
272 \key{C} kopíruj soubor
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
273 \key{g} obnov buffer Diredu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
274 \key{f} navštiv soubor v aktuální řádce
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
275 \key{s} přepni mezi řazením podle abecedy a data/času
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
276
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
277 \section{Čtení a posílání pošty}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
278
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
279 \key{M-x rmail} začni číst poštu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
280 \key{q} ukonči čtení pošty
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
281 \key{h} ukaž hlavičky
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
282 \key{d} označ aktuální zprávu ke smazání
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
283 \key{x} smaž všechny zprávy označené ke smazání
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
284
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
285 \key{C-x m} nová zpráva
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
286 \key{C-c C-c} pošli zprávu a přepni do jiného bufferu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
287 \key{C-c C-f C-c} přesuň se na hlavičku `CC' a pokud neexistuje, tak ji
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
288 vytvoř
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
289
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
290 \section{Různé}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
291
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
292 \key{M-q} zarovnej odstavec
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
293 \key{M-/} doplň dynamicky předchozí slovo
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
294 \key{C-z} ikonizuj (přeruš) Emacs
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
295 \mkey{M-x revert-buffer} nahraď text editovaného souboru tímtéž souborem z disku
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
296
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
297 \section{Nahrazování}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
298
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
299 \key{M-\%} interaktivně hledej a nahrazuj
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
300 \key{M-C-\%} za použití regulárních výrazů
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
301 \askip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
302 Možné odpovědi v módu hledání jsou
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
303 \askip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
304 \key{SPC} nahraď tento výskyt; běž na další
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
305 \key{,} nahraď tento výskyt; nechoď dále
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
306 \key{DEL} tento výskyt nenahrazuj a běž dál
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
307 \key{!} nahraď všechny další výskyty
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
308 \key{\^{}} zpět na předchozí výskyt
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
309 \key{RET} ukonči query-replace
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
310 \key{C-r} začni rekurzivní editaci (\kbd{M-C-c} ji ukončí)
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
311
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
312 \section{Regulární výrazy}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
313
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
314 \key{. {\rm(tečka)}} libovolný znak kromě znaku nového řádku
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
315 \key{*} žádné nebo mnoho opakování
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
316 \key{+} jedno nebo mnoho opakování
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
317 \key{?} žádné nebo jedno opakování
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
318 \key{[$\ldots$]} označuje třídu znaků
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
319 \key{[\^{}$\ldots$]} neguje třídu znaků
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
320
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
321 \key{\\{\it c}} uvození znaku, který by měl jinak speciální význam v
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
322 regulárním výrazu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
323
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
324 \key{$\ldots$\\|$\ldots$\\|$\ldots$} vyhovuje jedné z alternativ (\uv{nebo})
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
325 \key{\\( $\ldots$ \\)} seskupení několika vzorků do jednoho
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
326 \key{\\{\it n}} totéž jako {\it n\/}-tá skupina
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
327
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
328 \key{\^{}} vyhovuje na začátku řádku
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
329 \key{\$} vyhovuje na konci řádku
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
330
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
331 \key{\\w} vyhovuje znaku, který může být součástí slova
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
332 \key{\\W} vyhovuje znaku, který nemůže být součástí slova
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
333 \key{\\<} vyhovuje na začátku slova
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
334 \key{\\>} vyhovuje na konci slova
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
335 \key{\\b} vyhovuje mezislovním mezerám
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
336 \key{\\B} vyhovuje mezerám, které nejsou mezislovní
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
337
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
338 \section{Registry}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
339
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
340 \key{C-x r s} ulož region do registru
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
341 \key{C-x r i} vlož obsah registru do bufferu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
342
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
343 \key{C-x r SPC} ulož aktuální pozici kurzoru do registru
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
344 \key{C-x r j} skoč na pozici kurzoru uloženou v registru
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
345
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
346 \section{Obdélníky}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
347
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
348 \key{C-x r r} zkopíruj obdélník do registru
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
349 \key{C-x r k} vyjmi obdélník
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
350 \key{C-x r y} vlož obdélník
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
351 \key{C-x r t} uvození každého řádku řetězcem
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
352
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
353 \key{C-x r o} otevři obdélník, posuň text vpravo
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
354 \key{C-x r c} vyprázdni obdélník
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
355
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
356 \section{Příkazový interpret}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
357
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
358 \key{M-x shell} spusť příkazový interpret v Emacsu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
359 \key{M-!} spusť příkaz příkazového interpretu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
360 \key{M-|} spusť příkaz příkazového interpretu na region
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
361 \key{C-u M-|} filtruj region přes příkaz příkazového interpretu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
362
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
363 \section{Kontrola pravopisu}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
364
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
365 \key{M-\$} zkontroluj pravopis slova pod kurzorem
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
366 \mkey{M-x ispell-region} zkontroluj pravopis všech slov v regionu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
367 \mkey{M-x ispell-buffer} zkontroluj pravopis v bufferu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
368
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
369 \section{Mezinárodní znakové sady}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
370
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
371 \key{C-x RET C-\\} zvol a aktivuj vstupní metodu pro aktuální buffer
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
372 \key{C-\\} aktivuj nebo deaktivuj vstupní metodu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
373 \mkey{M-x list-input-methods} zobraz seznam všech vstupních metod
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
374 \mkey{M-x set-language-environment} specifikuj hlavní jazyk
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
375
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
376 \key{C-x RET c} nastav kódovací systém pro následující příkaz
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
377 \mkey{M-x find-file-literally} edituj soubor bez jakýchkoli konverzí
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
378
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
379 \mkey{M-x list-coding-systems} ukaž všechny kódovací systémy
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
380 \mkey{M-x prefer-coding-system} zvol preferovaný kódovací systém
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
381
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
382 \section{Klávesová makra}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
383
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
384 \key{C-x (} začni definici klávesového makra
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
385 \key{C-x )} ukonči definici klávesového makra
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
386 \key{C-x e} spusť naposledy definované klávesové makro
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
387 \key{C-u C-x (} přidej do posledně definovaného klávesového makra
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
388 \mkey{M-x name-last-kbd-macro} pojmenuj naposledy definované makro
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
389
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
390 \section{Jednoduché nastavení}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
391
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
392 \key{M-x customize} jednoduché nastavení
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
393
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
394 \section{Pomoc}
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
395
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
396 Emacs doplňuje příkazy. Stisknete-li \kbd{M-x} {\it tab\/} nebo {\it
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
397 space\/} dostanete seznam příkazů Emacsu.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
398 \askip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
399 \key{C-h} nápověda Emacsu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
400 \key{C-h t} spustí tutoriál Emacsu
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
401 \key{C-h i} spustí Info, prohlížeč dokumentace
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
402 \key{C-h a} ukáže příkazy vyhovující zadanému řetězci (apropos)
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
403 \key{C-h k} zobrazí dokumentaci funkce spuštěné pomocí zadané klávesy
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
404 \askip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
405 Emacs pracuje v různých {\it módech}, které upravují chování
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
406 Emacsu pro editovaný text daného typu. Mode line obsahuje jména aktuálních
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
407 módů v závorkách.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
408 \askip
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
409 \key{C-h m} zobraz dokumentaci aktuálních módů.
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
410
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
411 \copyrightnotice
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
412
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
413 \bye
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
414
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
415 % Local variables:
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
416 % compile-command: "csplain survival"
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
417 % End:
d8ba390274fb Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
418