annotate etc/sk-survival.tex @ 42386:ae2e226d9001

Test for mbsinit.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 Dec 2001 19:06:40 +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.4 $
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
6 % $Date: 2001/03/22 23:07:14 $
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 % Slovak hyphenation rules applied
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
47 \shyph
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 % Translated to Slovak by Miroslav Vasko <vasko@debian.cz> in March 2001
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
51
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
52 % Process the file with `csplain' from the `CSTeX' distribution (included
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
53 % e.g. in the TeX Live CD).
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
54
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
55 \def\versionnumber{1.0}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
56 \def\year{2000}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
57
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
58 \def\copyrightnotice{\penalty-1\vfill
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
59 \vbox{\smallfont\baselineskip=0.8\baselineskip\raggedcenter
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
60 Copyright \year\ Free Software Foundation, Inc.\break
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
61 Verzia \versionnumber{} pre GNU Emacs 21, apríl 2000\break
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
62 W{\l}odek Bzyl (matwb@univ.gda.pl)\break
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
63 Do češtiny preložil Pavel Janík (Pavel@Janik.cz)
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
64 Do slovenčiny preložil Miroslav Vaško (vasko@debian.cz)
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
65
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
66 Kópie tohto dokumentu môžete vytvárať a šíriť
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
67 za predpokladu, že budú obsahovať túto poznámku
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
68 o autorských právach.\par}}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
69
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70 \hsize 3.2in
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
71 \vsize 7.95in
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
72 \font\titlefont=csss10 scaled 1200
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
73 \font\headingfont=csss10
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74 \font\smallfont=csr6
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
75 \font\smallsy=cmsy6
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
76 \font\eightrm=csr8
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
77 \font\eightbf=csbx8
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
78 \font\eightit=csti8
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79 \font\eighttt=cstt8
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80 \font\eightmi=csmi8
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
81 \font\eightsy=cmsy8
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
82 \font\eightss=cmss8
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
83 \textfont0=\eightrm
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
84 \textfont1=\eightmi
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
85 \textfont2=\eightsy
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
86 \def\rm{\eightrm} \rm
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
87 \def\bf{\eightbf}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
88 \def\it{\eightit}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
89 \def\tt{\eighttt}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
90 \def\ss{\eightss}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
91 \baselineskip=0.8\baselineskip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
92
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
93 \newdimen\intercolumnskip % horizontal space between columns
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
94 \intercolumnskip=0.5in
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
95
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
96 % The TeXbook, p. 257
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
97 \let\lr=L \newbox\leftcolumn
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
98 \output={\if L\lr
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
99 \global\setbox\leftcolumn\columnbox \global\let\lr=R
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
100 \else
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
101 \doubleformat \global\let\lr=L\fi}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
102 \def\doubleformat{\shipout\vbox{\makeheadline
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
103 \leftline{\box\leftcolumn\hskip\intercolumnskip\columnbox}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
104 \makefootline}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
105 \advancepageno}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
106 \def\columnbox{\leftline{\pagebody}}
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\newcolumn{\vfil\eject}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
109
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
110 \def\bye{\par\vfil\supereject
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
111 \if R\lr \null\vfil\eject\fi
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
112 \end}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
113
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
114 \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
115 \centerline{\ss#2}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
116 \vskip2\baselineskip}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
117
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
118 \outer\def\section#1{\filbreak
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
119 \bskip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
120 \leftline{\headingfont #1}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
121 \askip}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
122 \def\bskip{\vskip 2.5ex plus 0.25ex }
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
123 \def\askip{\vskip 0.75ex plus 0.25ex}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
124
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
125 \newdimen\defwidth \defwidth=0.25\hsize
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
126 \def\hang{\hangindent\defwidth}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
127
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
128 \def\textindent#1{\noindent\llap{\hbox to \defwidth{\tt#1\hfil}}\ignorespaces}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
129 \def\key{\par\hangafter=0\hang\textindent}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
130
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
131 \def\mtextindent#1{\noindent\hbox{\tt#1\quad}\ignorespaces}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
132 \def\mkey{\par\hangafter=1\hang\mtextindent}
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 \def\kbd#{\bgroup\tt \let\next= }
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
135
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
136 \newdimen\raggedstretch
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
137 \newskip\raggedparfill \raggedparfill=0pt plus 1fil
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
138 \def\nohyphens
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
139 {\hyphenpenalty10000\exhyphenpenalty10000\pretolerance10000}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
140 \def\raggedspaces
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
141 {\spaceskip=0.3333em\relax
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
142 \xspaceskip=0.5em\relax}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
143 \def\raggedright
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
144 {\raggedstretch=6em
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145 \nohyphens
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
146 \rightskip=0pt plus \raggedstretch
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
147 \raggedspaces
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
148 \parfillskip=\raggedparfill
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
149 \relax}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
150 \def\raggedcenter
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
151 {\raggedstretch=6em
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
152 \nohyphens
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
153 \rightskip=0pt plus \raggedstretch
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
154 \leftskip=\rightskip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
155 \raggedspaces
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
156 \parfillskip=0pt
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
157 \relax}
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 \chardef\\=`\\
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
160
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
161 \raggedright
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
162 \nopagenumbers
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
163 \parindent 0pt
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
164 \interlinepenalty=10000
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
165 \hoffset -0.2in
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
166 %\voffset 0.2in
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 %**end of header
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
169
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 \title{Karta\ \ pre\ \ prežitie\ \ s\ \ GNU\ \ Emacsom}{pre verziu 21}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
172
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
173 V~nasledujúcom texte \kbd{C-z} znamená: stlačte klávesu {\it Ctrl}, držte ju
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
174 a súčasne stlačte klávesu `\kbd{z}'. \kbd{M-z} znamená, že
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
175 súčasne s klávesou {\it Meta\/} stlačíte klávesu `\kbd{z}' ({\it Meta\/} je
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
176 väčšinou označená ako {\it Alt\/}) alebo môžete použiť stlačenie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
177 klávesy {\it Esc\/} a potom `\kbd{z}'.
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
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
180 \section{Spustenie Emacsu}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
181
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
182 Pre spustenie GNU Emacsu jednoducho napíšte jeho meno: \kbd{emacs}.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
183 Emacs rozdeľuje rámec na niekoľko častí:
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
184 riadok menu,
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
185 buffer s editovaným textom,
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
186 tzv. mode line popisujúca buffer nad ňou
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
187 a minibuffer v poslednom riadku.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
188 \askip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
189 \key{C-x C-c} ukončenie Emacsu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
190 \key{C-x C-f} editovanie súboru; tento príkaz využíva minibuffer na prečítanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
191 mena súboru; tento príkaz použite aj vtedy, ak chcete
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
192 vytvoriť nový súbor zadaného mena
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
193 \key{C-x C-s} uložiť súbor
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
194 \key{C-x k} zatvoriť buffer
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
195 \key{C-g} vo väčšine situácií: zastavenie práve vykonávanej činnosti,
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
196 zrušenie zadávania príkazu a~pod.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
197 \key{C-x u} obnoviť
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
198
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
199 \section{Pohyb}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
200
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
201 \key{C-l} presun aktuálneho riadku do stredu okna
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
202 \key{C-x b} prepnutie do iného bufferu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
203 \key{M-<} presun na začiatok bufferu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
204 \key{M->} presun na koniec bufferu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
205 \key{M-x goto-line} presun na riadok zadaného čísla
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
206
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
207 \section{Viac okien}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
208
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
209 \key{C-x 0} odstránenie aktuálneho okna
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
210 \key{C-x 1} aktuálne okno sa stane jediným oknom
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
211 \key{C-x 2} rozdelenie okna horizontálne
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
212 \key{C-x 3} rozdelenie okna vertikálne
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
213 \key{C-x o} presun do iného okna
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
214
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
215 \section{Regióny}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
216
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
217 Emacs definuje `región' ako priestor medzi {\it značkou\/} a
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
218 {\it bodom}. Značka je nastavená pomocou \kbd{C-{\it space}}.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
219 Bod je v mieste aktuálnej pozície kurzoru.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
220 \askip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
221 \key{M-h} označ celý odstavec
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
222 \key{C-x h} označ celý buffer
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
223
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
224 \section{Vystrihnutie a kopírovanie}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
225
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
226 \key{C-w} vystrihni región
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
227 \key{M-w} skopíruj región do kill-ringu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
228 \key{C-k} vystrihni text od kurzora do konca riadku
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
229 \key{M-DEL} vystrihni slovo
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
230 \key{C-y} vlož späť posledný vystrihnutý text (kombinácia kláves \kbd{C-w C-y}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
231 môže byť použitá pre presuny textov)
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
232 \key{M-y} nahraď naposledy vložený text predchádzajúcim vystrihnutým textom
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
233
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
234 \section{Vyhľadávanie}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
235
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
236 \key{C-s} hľadaj reťazec
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
237 \key{C-r} hľadaj reťazec smerom vzad
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
238 \key{RET} ukonči hľadanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
239 \key{M-C-s} hľadaj regulárny výraz
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
240 \key{M-C-r} hľadaj regulárny výraz smerom vzad
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
241 \askip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
242 Kombináciu \kbd{C-s} alebo \kbd{C-r} môžete použiť aj na opakované hľadanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
243 tým istým smerom.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
244
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
245 \section{Značky (tags)}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
246
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
247 Tabuľky značiek (tags) zaznamenávajú polohu funkcií a procedúr, globálnych
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
248 premenných, dátových typov a iných. Pre vytvorenie tabuľky značiek spustite
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
249 príkaz `{\tt etags} {\it vstupné\_súbory}' v príkazovom interprétereri.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
250 \askip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
251 \key{M-.} nájdi definícu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
252 \key{C-u M-.} nájdi ďalší výskyt definície
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
253 \key{M-*} choď tam, odkiaľ bola volaná posledná \kbd{M-.}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
254 \mkey{M-x tags-query-replace} spusti query-replace na všetkých súboroch
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
255 zaznamenaných v tabuľke značiek.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
256 \key{M-,} pokračuj v poslednom hľadaní značky alebo query-replace
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
257
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
258 \section{Preklady}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
259
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
260 \key{M-x compile} prelož kód v aktívnom okne
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
261 \key{C-c C-c} choď na poslednú chybu prekladača, v okne prekladu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
262 \key{C-x `} v okne so zdrojovým textom
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
263
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
264 \section{Dired, editor adresárov}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
265
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
266 \key{C-x d} spusti Dired
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
267 \key{d} označ tento súbor na zmazanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
268 \key{\~{}} označ všetky zálohy na zmazanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
269 \key{u} odstráň všetky značky na zmazanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
270 \key{x} zmaž súbory označené na zmazanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
271 \key{C} kopíruj súbor
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
272 \key{g} obnov buffer Diredu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
273 \key{f} otvorí súbor v aktuálnom riadku
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
274 \key{s} prepni medzi triedením podľa abecedy a dátumu/času
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
275
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
276 \section{Čítanie a posielanie pošty}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
277
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
278 \key{M-x rmail} začni čítať poštu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
279 \key{q} skonči čítanie pošty
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
280 \key{h} ukáž hlavičky
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
281 \key{d} označ aktuálnu správu na zmazanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
282 \key{x} zmaž všetky správy označené na zmazanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
283
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
284 \key{C-x m} nová správa
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
285 \key{C-c C-c} pošli správu a prepni sa do iného bufferu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
286 \key{C-c C-f C-c} presuň sa na hlavičku `CC', a ak neexistuje, tak ju
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
287 vytvor
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
288
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
289 \section{Rôzne}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
290
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
291 \key{M-q} zarovnaj odstavec
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
292 \key{M-/} doplň dynamicky predchádzajúce slovo
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
293 \key{C-z} ikonizuj (preruš) Emacs
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
294 \mkey{M-x revert-buffer} nahraď text editovaného súboru tým istým súborom z~disku
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
295
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
296 \section{Nahradzovanie}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
297
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
298 \key{M-\%} interaktívne hľadaj a nahradzuj
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
299 \key{M-C-\%} s použitím regulárnych výrazov
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
300 \askip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
301 Možné odpovede v móde hľadania sú
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
302 \askip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
303 \key{SPC} nahraď tento výskyt; choď na ďalší
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
304 \key{,} nahraď tento výskyt a skonči
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
305 \key{DEL} tento výskyt nenahradzuj a choď ďalej
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
306 \key{!} nahraď všetky ďalšie výskyty
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
307 \key{\^{}} späť na predchádzajúci výskyt
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
308 \key{RET} skonči query-replace
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
309 \key{C-r} začni rekurzívne editovanie (\kbd{M-C-c} ho skončí)
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
310
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
311 \section{Regulárne výrazy}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
312
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
313 \key{. {\rm(tečka)}} ľubovoľný znak okrem znaku nového riadku
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
314 \key{*} žiadne alebo viac opakovaní
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
315 \key{+} jedno alebo viac opakovaní
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
316 \key{?} žiadne alebo jedno opakovanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
317 \key{[$\ldots$]} označuje triedu znakov
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
318 \key{[\^{}$\ldots$]} neguje triedu znakov
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{\\{\it c}} uvedenie znaku, ktorý by mal inak špeciálny význam
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
321 v~regulárnom výraze
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
322
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
323 \key{$\ldots$\\|$\ldots$\\|$\ldots$} vyhovuje jednej z alternatív (\uv{alebo})
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
324 \key{\\( $\ldots$ \\)} zoskupenie niekoľkých vzorkov do jedného
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
325 \key{\\{\it n}} to isté ako {\it n\/}-tá skupina
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{\^{}} vyhovuje na začiatku riadku
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
328 \key{\$} vyhovuje na konci riadku
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
329
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
330 \key{\\w} vyhovuje znaku, ktorý môže byť súčasťou slova
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
331 \key{\\W} vyhovuje znaku, ktorý nemôže byť súčasťou slova
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
332 \key{\\<} vyhovuje na začiatku slova
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
333 \key{\\>} vyhovuje na konci slova
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
334 \key{\\b} vyhovuje medzislovným medzerám
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
335 \key{\\B} vyhovuje medzerám, ktoré nie sú medzislovné
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
336
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
337 \section{Registre}
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 s} ulož región do registra
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
340 \key{C-x r i} vlož obsah registra do bufferu
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 \key{C-x r SPC} ulož aktuálnu pozíciu kurzora do registra
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
343 \key{C-x r j} skoč na pozíciu kurzoru uloženú v registri
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
344
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
345 \section{Obdĺžniky}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
346
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
347 \key{C-x r r} skopíruj obdĺžnik do registra
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
348 \key{C-x r k} vystrihni obdĺžnik
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
349 \key{C-x r y} vlož obdĺžnik
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
350 \key{C-x r t} uvedenie každého riadku reťazcom
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 \key{C-x r o} otvor obdĺžnik, posuň text vpravo
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
353 \key{C-x r c} vyprázdni obdĺžnik
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
354
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
355 \section{Príkazový interpréter}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
356
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
357 \key{M-x shell} spusti príkazový interpréter v Emacsu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
358 \key{M-!} spusti príkaz príkazového interprétera
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
359 \key{M-|} spusti príkaz príkazového interprétera na regióne
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
360 \key{C-u M-|} filtruj región cez príkaz príkazového interprétera
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
361
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
362 \section{Kontrola pravopisu}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
363
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
364 \key{M-\$} skontroluj pravopis slova pod kurzorom
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
365 \mkey{M-x ispell-region} skontroluj pravopis všetkých slov v regióne
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
366 \mkey{M-x ispell-buffer} skontroluj pravopis v bufferi
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
367
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
368 \section{Mezinárodné znakové sady}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
369
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
370 \key{C-x RET C-\\} zvoľ a aktivuj vstupnú metódu pre aktuálny buffer
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
371 \key{C-\\} aktivuj alebo deaktivuj vstupnú metódu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
372 \mkey{M-x list-input-methods} zobraz zoznam všetkých vstupných metód
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
373 \mkey{M-x set-language-environment} špecifikuj hlavný jazyk
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 \key{C-x RET c} nastav kódovací systém pre nasledujúci príkaz
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
376 \mkey{M-x find-file-literally} edituj súbor bez akýchkoľvek konverzií
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 \mkey{M-x list-coding-systems} ukáž všetky kódovacie systémy
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
379 \mkey{M-x prefer-coding-system} zvoľ preferovaný kódovací systém
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
380
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
381 \section{Klávesové makrá}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
382
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
383 \key{C-x (} začni definíciu klávesového makra
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
384 \key{C-x )} ukonči definíciu klávesového makra
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
385 \key{C-x e} spusti naposledy definované klávesové makro
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
386 \key{C-u C-x (} pridaj do naposledy definovaného klávesového makra
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
387 \mkey{M-x name-last-kbd-macro} pomenuj naposledy definované makro
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
388
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
389 \section{Jednoduché nastavenie}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
390
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
391 \key{M-x customize} jednoduché nastavenie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
392
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
393 \section{Nápoveda}
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
394
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
395 Emacs dopĺňa príkazy. Ak stlačíte \kbd{M-x} {\it tab\/} alebo {\it
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
396 space\/}, dostanete zoznam príkazov Emacsu.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
397 \askip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
398 \key{C-h} nápoveda Emacsu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
399 \key{C-h t} spustí tútorial Emacsu
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
400 \key{C-h i} spustí Info, prezerač dokumentácie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
401 \key{C-h a} ukáže príkazy vyhovujúce zadanému reťazcu (apropos)
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
402 \key{C-h k} zobrazí dokumentáciu funkcie spustenej pomocou zadanej klávesy
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
403 \askip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
404 Emacs pracuje v rôznych {\it módoch}, ktoré upravujú chovanie
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
405 Emacsu pre editovaný text daného typu. Mode line obsahuje mená aktuálnych
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
406 módov v zátvorkách.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
407 \askip
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
408 \key{C-h m} zobraz dokumentáciu aktuálnych módov.
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
409
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
410 \copyrightnotice
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
411
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
412 \bye
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
413
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
414 % Local variables:
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
415 % compile-command: "csplain sk-survival"
20cdea777c49 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
416 % End: