annotate etc/cs-survival.tex @ 38429:3960fdb54cfd

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