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