view etc/sk-refcard.tex @ 73339:244f3f60f9dd

(install): Be sure to make ${INSTALLDIR} before `cd' to it.
author Kenichi Handa <handa@m17n.org>
date Thu, 12 Oct 2006 05:52:59 +0000 (2006-10-12)
parents 46cec5e362d6
children 160cdbc34629 a8190f7e546e
line wrap: on
line source
% Reference Card for GNU Emacs version 21 on Unix systems

% Slovak hyphenation rules applied
\shyph

%**start of header
\newcount\columnsperpage

% This file can be printed with 1, 2, or 3 columns per page (see below).
% Specify how many you want here.  Nothing else needs to be changed.

\columnsperpage=1

% Copyright (C) 1987, 1993, 1996, 1997, 2002, 2003, 2004,
%   2005, 2006 Free Software Foundation, Inc.

% This file is part of GNU Emacs.

% GNU Emacs is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2, or (at your option)
% any later version.

% GNU Emacs is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.

% You should have received a copy of the GNU General Public License
% along with GNU Emacs; see the file COPYING.  If not, write to
% the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
% Boston, MA 02110-1301, USA.

% This file is intended to be processed by plain TeX (TeX82).
%
% The final reference card has six columns, three on each side.
% This file can be used to produce it in any of three ways:
% 1 column per page
%    produces six separate pages, each of which needs to be reduced to 80%.
%    This gives the best resolution.
% 2 columns per page
%    produces three already-reduced pages.
%    You will still need to cut and paste.
% 3 columns per page
%    produces two pages which must be printed sideways to make a
%    ready-to-use 8.5 x 11 inch reference card.
%    For this you need a dvi device driver that can print sideways.
% Which mode to use is controlled by setting \columnsperpage above.
%
% Author:
%  Stephen Gildea
%  Internet: gildea@stop.mail-abuse.org
%
% Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
% for their many good ideas.

% If there were room, it would be nice to see a section on Dired.

% Translated to Czech by Jan Buchal <buchal@brailcom.cz> in January 1999
% Corrections and improvements of the translation
% by Milan Zamazal <pdm@zamazal.org> in August 1999
% More work on better integration with GNU Emacs 21
% by Pavel Jan�k <Pavel@Janik.cz> in November 2000

% Translated to Slovak by Miroslav Va�ko <vasko@debian.cz> in March 2001

% Process the file with `csplain' from the `CSTeX' distribution (included
% e.g. in the TeX Live CD).

\def\versionnumber{2.2}
\def\year{2006}

\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
  \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
  Permissions on back.  v\versionnumber}}

\def\copyrightnotice{
\vskip 1ex plus 2 fill\begingroup\small
\centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
\centerline{v\versionnumber{} for GNU Emacs version 21, \year}
\centerline{designed by Stephen Gildea}

Permission is granted to make and distribute copies of
this card provided the copyright notice and this permission notice
are preserved on all copies.

For copies of the GNU Emacs manual, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

\endgroup}

% make \bye not \outer so that the \def\bye in the \else clause below
% can be scanned without complaint.
\def\bye{\par\vfill\supereject\end}

\newdimen\intercolumnskip	%horizontal space between columns
\newbox\columna			%boxes to hold columns already built
\newbox\columnb

\def\ncolumns{\the\columnsperpage}

\message{[\ncolumns\space
  column\if 1\ncolumns\else s\fi\space per page]}

\def\scaledmag#1{ scaled \magstep #1}

% This multi-way format was designed by Stephen Gildea October 1986.
% Note that the 1-column format is fontfamily-independent.
\if 1\ncolumns			%one-column format uses normal size
  \hsize 4in
  \vsize 10in
  \voffset -.7in
  \font\titlefont=\fontname\tenbf \scaledmag3
  \font\headingfont=\fontname\tenbf \scaledmag2
  \font\smallfont=\fontname\sevenrm
  \font\smallsy=\fontname\sevensy

  \footline{\hss\folio}
  \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
\else				%2 or 3 columns uses prereduced size
  \hsize 3.2in
  \vsize 7.95in
  \hoffset -.75in
  \voffset -.745in
  \font\titlefont=csbx10 \scaledmag2
  \font\headingfont=csbx10 \scaledmag1
  \font\smallfont=csr6
  \font\smallsy=cmsy6
  \font\eightrm=csr8
  \font\eightbf=csbx8
  \font\eightit=csti8
  \font\eighttt=cstt8
  \font\eightmi=cmmi8
  \font\eightsy=cmsy8
  \textfont0=\eightrm
  \textfont1=\eightmi
  \textfont2=\eightsy
  \def\rm{\eightrm}
  \def\bf{\eightbf}
  \def\it{\eightit}
  \def\tt{\eighttt}
  \normalbaselineskip=.8\normalbaselineskip
  \normallineskip=.8\normallineskip
  \normallineskiplimit=.8\normallineskiplimit
  \normalbaselines\rm		%make definitions take effect

  \if 2\ncolumns
    \let\maxcolumn=b
    \footline{\hss\rm\folio\hss}
    \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
  \else \if 3\ncolumns
    \let\maxcolumn=c
    \nopagenumbers
  \else
    \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
    \errmessage{Illegal number of columns per page}
  \fi\fi

  \intercolumnskip=.46in
  \def\abc{a}
  \output={%			%see The TeXbook page 257
      % This next line is useful when designing the layout.
      %\immediate\write16{Column \folio\abc\space starts with \firstmark}
      \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
      \else\if a\abc
	\global\setbox\columna\columnbox \global\def\abc{b}
        %% in case we never use \columnb (two-column mode)
        \global\setbox\columnb\hbox to -\intercolumnskip{}
      \else
	\global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
  \def\multicolumnformat{\shipout\vbox{\makeheadline
      \hbox{\box\columna\hskip\intercolumnskip
        \box\columnb\hskip\intercolumnskip\columnbox}
      \makefootline}\advancepageno}
  \def\columnbox{\leftline{\pagebody}}

  \def\bye{\par\vfill\supereject
    \if a\abc \else\null\vfill\eject\fi
    \if a\abc \else\null\vfill\eject\fi
    \end}
\fi

% we won't be using math mode much, so redefine some of the characters
% we might want to talk about
\catcode`\^=12
\catcode`\_=12

\chardef\\=`\\
\chardef\{=`\{
\chardef\}=`\}

\hyphenation{mini-buf-fer}

\parindent 0pt
\parskip 1ex plus .5ex minus .5ex

\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}

% newcolumn - force a new column.  Use sparingly, probably only for
% the first column of a page, which should have a title anyway.
\outer\def\newcolumn{\vfill\eject}

% title - page title.  Argument is title text.
\outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}

% section - new major section.  Argument is section name.
\outer\def\section#1{\par\filbreak
  \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
  \vskip 2ex plus 1ex minus 1.5ex}

\newdimen\keyindent

% beginindentedkeys...endindentedkeys - key definitions will be
% indented, but running text, typically used as headings to group
% definitions, will not.
\def\beginindentedkeys{\keyindent=1em}
\def\endindentedkeys{\keyindent=0em}
\endindentedkeys

% paralign - begin paragraph containing an alignment.
% If an \halign is entered while in vertical mode, a parskip is never
% inserted.  Using \paralign instead of \halign solves this problem.
\def\paralign{\vskip\parskip\halign}

% \<...> - surrounds a variable name in a code example
\def\<#1>{{\it #1\/}}

% kbd - argument is characters typed literally.  Like the Texinfo command.
\def\kbd#1{{\tt#1}\null}	%\null so not an abbrev even if period follows

% beginexample...endexample - surrounds literal text, such a code example.
% typeset in a typewriter font with line breaks preserved
\def\beginexample{\par\leavevmode\begingroup
  \obeylines\obeyspaces\parskip0pt\tt}
{\obeyspaces\global\let =\ }
\def\endexample{\endgroup}

% key - definition of a key.
% \key{description of key}{key-name}
% prints the description left-justified, and the key-name in a \kbd
% form near the right margin.
\def\key#1#2{\leavevmode\hbox to \hsize{\vtop
  {\hsize=.75\hsize\rightskip=1em
  \hskip\keyindent\relax#1}\kbd{#2}\hfil}}

\newbox\metaxbox
\setbox\metaxbox\hbox{\kbd{M-x }}
\newdimen\metaxwidth
\metaxwidth=\wd\metaxbox

% metax - definition of a M-x command.
% \metax{description of command}{M-x command-name}
% Tries to justify the beginning of the command name at the same place
% as \key starts the key name.  (The "M-x " sticks out to the left.)
\def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
  {\hskip\keyindent\relax#1\hfil}%
  \hskip -\metaxwidth minus 1fil
  \kbd{#2}\hfil}}

% threecol - like "key" but with two key names.
% for example, one for doing the action backward, and one for forward.
\def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
  &\kbd{#3}\hfil\quad\cr}

%**end of header


\title{GNU Emacs -- Referen�n� karta}

\centerline{(pre verziu 21)}

\section{Spustenie Emacsu}

Pre spustenie GNU~Emacsu~21 nap躪te jeho meno: \kbd{emacs}

Ako na蓁ta� a editova� s�bory sa dozviete ni捷ie v~oddiele S�bory.


\section{Ukon�enie Emacsu}

\key{pozastavenie (zmen�enie do ikony v~X11)}{C-z}
\key{definit�vny odchod z~Emacsu}{C-x C-c}

\section{S�bory}

\key{{\bf na蓁ta�} s�bor do Emacsu}{C-x C-f}
\key{{\bf ulo�i�} s�bor sp篁 na disk}{C-x C-s}
\key{ulo�i� {\bf v�etky} s�bory}{C-x s}
\key{{\bf vlo�i�} obsah in�ho s�boru do bufferu}{C-x i}
\key{zameni� tento s�bor in�m s�borom}{C-x C-v}
\key{zap�sa� buffer do zadan�ho s�boru}{C-x C-w}
\key{vlo�i� do syst�mu spr�vy verzi�}{C-x C-q}

\section{Pou壌vanie n�povedy}

Syst�m n�povedy je jednoduch�. Stla�te \kbd{C-h} (alebo \kbd{F1}) a sledujte
in�trukcie. �vodn� {\bf t�torial} je mo�n� spusti� pomocou \kbd{C-h t}.

\key{odstr�ni� okno s~n�povedou}{C-x 1}
\key{rolova� okno s~n�povedou}{C-M-v}

\key{apropos: pr�kazy zodpovedaj�ce re�azcu}{C-h a}
\key{zobrazi� funkciu danej kl�vesy}{C-h c}
\key{zobrazi� popis funkcie}{C-h f}
\key{zobrazi� inform�cie o~aktu�lnych m�doch}{C-h m}

\section{Opravy ch�b}

\key{{\bf preru�i�} vkladan� alebo vykon�van� pr�kaz}{C-g}
\metax{{\bf obnovi�} s�bor straten� p�dom syst�mu}{M-x recover-file}
\key{{\bf zru�i�} nechcen� zmenu}{C-x u {\it n.} C-_}
\metax{vr�ti� p�vodn� obsah bufferu}{M-x revert-buffer}
\key{prekresli� \uv{rozpadnut�} obrazovku}{C-l}

\section{Inkrement�lne vyh�ad�vanie}

\key{vyh�ada� vpred}{C-s}
\key{vyh�ada� vzad}{C-r}
\key{vyh�ada� regul�rny v�raz}{C-M-s}
\key{vyh�ada� regul�rny v�raz dozadu}{C-M-r}
\key{predch�dzaj�ci vyh�ad�van� re�azec}{M-p}
\key{nasleduj�c� nov麹 vyh�ad�van� re�azec}{M-n}
\key{ukon�i� inkrement�lne vyh�ad�vanie}{RET}
\key{zru�i� efekt posledn�ho zadan�ho znaku}{DEL}
\key{preru�i� prebiehaj�ce vyh�ad�vanie}{C-g}

�al�ie \kbd{C-s} alebo \kbd{C-r} zopakuje vyh�ad�vanie v~danom smere. Ak
Emacs vyh�ad�va, \kbd{C-g} zru麹 iba nen�jden� �as� re�azca.


\shortcopyrightnotice

\section{Pohyb}

\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{{\bf posuv o }}{{\bf vzad}}{{\bf vpred}}
\threecol{znak}{C-b}{C-f}
\threecol{slovo}{M-b}{M-f}
\threecol{riadok}{C-p}{C-n}
\threecol{na za�iatok alebo koniec riadku}{C-a}{C-e}
\threecol{vetu}{M-a}{M-e}
\threecol{odstavec}{M-\{}{M-\}}
\threecol{str�nku}{C-x [}{C-x ]}
\threecol{symbolick� v�raz}{C-M-b}{C-M-f}
\threecol{funkciu}{C-M-a}{C-M-e}
\threecol{na za�iatok alebo koniec bufferu}{M-<}{M->}
}

\key{rolova� na �al�iu obrazovku}{C-v}
\key{rolova� na predch�dzaj�cu obrazovku}{M-v}
\key{rolova� v�avo}{C-x <}
\key{rolova� vpravo}{C-x >}
\key{aktu�lny riadok do stredu obrazovky}{C-u C-l}

\section{Ru�enie a mazanie}

\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{{\bf ru�en� objekt }}{{\bf vzad}}{{\bf vpred}}
\threecol{znak (mazanie, nie ru�enie)}{DEL}{C-d}
\threecol{slovo}{M-DEL}{M-d}
\threecol{riadok (do konca)}{M-0 C-k}{C-k}
\threecol{veta}{C-x DEL}{M-k}
\threecol{symbolick� v�raz}{M-- C-M-k}{C-M-k}
}

\key{zru�i� {\bf oblas�}}{C-w}
\key{skop�rova� oblas� do schr�nky}{M-w}
\key{zru�i� a� po najbli捷� v�skyt znaku {\it znak}}{M-z {\it znak}}

\key{vhodi� naposledy zru�en� objekt}{C-y}
\key{nahradi� vhoden� objekt predch�dzaj�cim zru�en�m}{M-y}

\section{Ozna�ovanie}

\key{vlo�i� zna�ku}{C-@ {\it n.} C-SPC}
\key{prehodi� kurzor a zna�ku}{C-x C-x}

\key{ozna�i� zadan� po�et {\bf slov}}{M-@}
\key{ozna�i� {\bf odstavec}}{M-h}
\key{ozna�i� {\bf str�nku}}{C-x C-p}
\key{ozna�i� {\bf symbolick� v�raz}}{C-M-@}
\key{ozna�i� {\bf funkciu}}{C-M-h}
\key{ozna�i� cel� {\bf buffer}}{C-x h}

\section{Interakt�vne nahradzovanie}

\key{interakt�vne nahradi� textov� re�azec}{M-\%}
\metax{s~pou�it�m regul�rneho v�razu}{M-x query-replace-regexp}

Platn� odpovede v~m�de query-replace s�

\key{{\bf nahradi�} a �s� na �al�ie}{SPC}
\key{nahradi� a zosta� na mieste}{,}
\key{{\bf sko�i�} na �al�ie bez nahradenia}{DEL}
\key{zameni� v�etky zost�vaj�ce v�skyty}{!}
\key{{\bf sp篁} na predch�dzaj�ci v�skyt re�azca}{^}
\key{{\bf koniec} nahradzovania}{RET}
\key{rekurz�vne editovanie (ukon蓁 sa \kbd{C-M-c})}{C-r}

\section{Okn�}

Ak s� zobrazen� dva pr�kazy, potom ten druh� plat� pre Xov� okno.

\key{zru�i� v�etky ostatn� okn�}{C-x 1}

{\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0
\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{rozdeli� okno na horn� a doln�}{C-x 2\ \ \ \ }{C-x 5 2}
\threecol{zru�i� toto okno}{C-x 0\ \ \ \ }{C-x 5 0}
}}
\key{rozdeli� okno na �av� a prav�}{C-x 3}

\key{rolova� in� okno}{C-M-v}

{\setbox0=\hbox{\kbd{0}}\advance\hsize by 2\wd0
\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{prepn晥 kurzor do in�ho okna}{C-x o}{C-x 5 o}

\threecol{vybra� buffer v~inom okne}{C-x 4 b}{C-x 5 b}
\threecol{zobrazi� buffer v~inom okne}{C-x 4 C-o}{C-x 5 C-o}
\threecol{otvori� s�bor v~inom okne}{C-x 4 f}{C-x 5 f}
\threecol{otvori� s�bor iba pre 蓁tanie v~inom okne}{C-x 4 r}{C-x 5 r}
\threecol{spusti� Dired v~inom okne}{C-x 4 d}{C-x 5 d}
\threecol{n�js� tag v~inom okne}{C-x 4 .}{C-x 5 .}
}}

\key{zv粫�i� okno}{C-x ^}
\key{z晴i� okno}{C-x \{}
\key{roz麹ri� okno}{C-x \}}

\section{Form�tovanie}

\key{odsadi� aktu�lny {\bf riadok} (pod�a m�du)}{TAB}
\key{odsadi� {\bf oblas�} (pod�a m�du)}{C-M-\\}
\key{odsadi� {\bf symbolick� v�raz} (pod�a m�du)}{C-M-q}
\key{odsadi� oblas� napevno o~{\it argument\/} st�pcov}{C-x TAB}

\key{vlo�i� znak nov�ho riadku za kurzor}{C-o}
\key{posun晥 zbytok riadku zvisle dole}{C-M-o}
\key{zmaza� pr�zdne riadky okolo kurzoru}{C-x C-o}
\key{spoji� riadok s~predch�dzaj�cim (s~arg.~s~nasl.)}{M-^}
\key{zmaza� pr�zdne miesto okolo kurzoru}{M-\\}
\key{necha� presne jednu medzeru okolo kurzoru}{M-SPC}

\key{zalomi� odstavec}{M-q}
\key{nastavi� st�pec pre zalamovanie}{C-x f}
\key{nastavi� prefix, ktor�m za蓁naj� riadky}{C-x .}
\key{nastavi� font}{M-g}

\section{Zmena ve�kosti p�smen}

\key{zmeni� p�smen� slova na ve�k�}{M-u}
\key{zmeni� p�smen� slova na mal�}{M-l}
\key{zmeni� za�iato�n� p�smeno slova na ve�k�}{M-c}

\key{zmeni� p�smen� oblasti na ve�k�}{C-x C-u}
\key{zmeni� p�smen� oblasti na mal�}{C-x C-l}

\section{Minibuffer}

Nasleduj�ce kl�vesy s� platn� pre minibuffer.

\key{doplni� z~ponuky}{TAB}
\key{doplni� do najbli捷ieho slova}{SPC}
\key{doplni� a vykona�}{RET}
\key{zobrazi� mo�n� doplnenia}{?}
\key{predch�dzaj�ci pr�kaz z~minibufferu}{M-p}
\key{nov麹 alebo implicitn� pr�kaz z~minibufferu}{M-n}
\key{vyh�ada� regul�rny v�raz v~hist�rii vzad}{M-r}
\key{vyh�ada� regul�rny v�raz v~hist�rii vpred}{M-s}
\key{zru�i� pr�kaz}{C-g}

Stla�te \kbd{C-x ESC ESC} pre editovanie a zopakovanie posledn�ho pr�kazu
z~minibufferu.  Stla�te \kbd{F10} pre aktiv�ciu menu v~minibufferi.

\newcolumn
\title{GNU Emacs -- Referen�n� karta}

\section{Buffery}

\key{vybra� in� buffer}{C-x b}
\key{zoznam v�etk�ch bufferov}{C-x C-b}
\key{zru�i� buffer}{C-x k}

\section{V�meny}

\key{prehodi� {\bf znaky}}{C-t}
\key{prehodi� {\bf slov�}}{M-t}
\key{prehodi� {\bf riadky}}{C-x C-t}
\key{prehodi� {\bf symbolick� v�razy}}{C-M-t}

\section{Kontrola pravopisu}

\key{kontrola pravopisu aktu�lneho slova}{M-\$}
\metax{kontrola pravopisu v�etk�ch slov v  oblasti}{M-x ispell-region}
\metax{kontrola pravopisu cel�ho bufferu}{M-x ispell-buffer}

\section{Tagy}

\key{n�js� tag (defin�ciu)}{M-.}
\key{n�js� �al麹 v�skyt tagu}{C-u M-.}
\metax{zada� s�bor s nov�mi tagmi}{M-x visit-tags-table}

\metax{vyh�ada� reg.\ v�raz v~s�boroch s~tagmi}{M-x tags-search}
\metax{spusti� nahradzovanie pre doty�n� s�bory}{M-x tags-query-replace}
\key{pokra�ova� v~preh�ad�van� alebo nahradzovan�}{M-,}

\section{Pr�kazov� interpr�t}

\key{vykona� shellovsk� pr�kaz}{M-!}
\key{vykona� shellovsk� pr�kaz nad oblas�ou}{M-|}
\key{prefiltrova� oblas� shellovsk�m pr�kazom}{C-u M-|}
\key{spusti� shell v okne \kbd{*shell*}}{M-x shell}

\section{Obd緇niky}

\key{skop�rova� obd緇nik do registra}{C-x r r}
\key{zru�i� obd緇nik}{C-x r k}
\key{vhodi� obd緇nik}{C-x r y}
\key{vlo�i� obd緇nik medzier}{C-x r o}
\key{nahradi� obd緇nik obd緇nikom medzier}{C-x r c}
\key{nahradi� riadky obd緇niku zadan�m re�azcom}{C-x r t}

\section{Skratky}

\key{prida� glob�lnu skratku}{C-x a g}
\key{prida� lok�lnu skratku}{C-x a l}
\key{prida� glob�lnu expanziu pre skratku }{C-x a i g}
\key{prida� lok�lnu expanziu pre skratku}{C-x a i l}
\key{expandova� skratku}{C-x a e}

\key{dynamick� expanzia predch�dzaj�ceho slova}{M-/}

\section{Regul�rne v�razy}

\key{�ubovo�n� znak okrem nov�ho riadku}{. {\rm(te�ka)}}
\key{�iadne alebo nieko�ko opakovan�}{*}
\key{jedno alebo viac opakovan�}{+}
\key{�iadne alebo jedno opakovanie}{?}
\key{zru�i� zvl畊tny v�znam znaku {\it c\/} vo v�raze}{\\{\it c}}
\key{alternat�va (\uv{alebo})}{\\|}
\key{skupina}{\\( {\rm$\ldots$} \\)}
\key{rovnak� text ako {\it n\/}-t� skupina}{\\{\it n}}
\key{hranice slova}{\\b}
\key{nie hranice slova}{\\B}

\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{{\bf element}}{{\bf za�iatok}}{{\bf koniec}}
\threecol{riadok}{^}{\$}
\threecol{slovo}{\\<}{\\>}
\threecol{buffer}{\\`}{\\'}

\threecol{{\bf trieda znakov}}{{\bf zodpoved�}}{{\bf nezodpoved�}}
\threecol{explicitn� mno�ina}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]}
\threecol{slovotvorn� znak}{\\w}{\\W}
\threecol{znak so syntaxou {\it c}}{\\s{\it c}}{\\S{\it c}}
}

\section{Medzin�rodn� znakov� sady}

\metax{zada� hlavn� jazyk}{M-x set-language-environment}
\metax{zobrazi� v�etky vstupn� met�dy}{M-x list-input-methods}
\key{zapn晥 alebo vypn晥 vstupn� met�du}{C-\\}
\key{zada� k�dovanie pre nasleduj�ci pr�kaz}{C-x RET c}
\metax{zobrazi� v�etky k�dovania}{M-x list-coding-systems}
\metax{zmeni� preferovan� k�dovanie}{M-x prefer-coding-system}

\section{Info}

\key{spusti� Info}{C-h i}
\key{n�js� zadan� funkciu alebo premenn� v~Info}{C-h C-i}
\beginindentedkeys

Pohyb vo vn�tri uzlov:

\key{rolovanie vpred}{SPC}
\key{rolovanie vzad}{DEL}
\key{na za�iatok uzla}{. {\rm (te�ka)}}

Pohyb medzi uzlami:

\key{{\bf �al麹} uzol}{n}
\key{{\bf predch�dzaj�ci} uzol}{p}
\key{{\bf nadraden�} uzol}{u}
\key{vybra� z~menu pod�a n�zvu}{m}
\key{vybra� {\it n\/}-t� polo�ku menu (1--9)}{{\it n}}
\key{najbli捷� nasleduj�ci kr躱ov� odkaz (n�vrat \kbd{l})}{f}
\key{vr�ti� sa do naposledy prezeran�ho uzlu}{l}
\key{vr�ti� sa do adres�ra uzlov}{d}
\key{prejs� do ktor�hoko�vek uzlu pod�a mena}{g}

�al�ie:

\key{spusti� {\bf t�torial} k~Infu}{h}
% \key{look up a subject in the indices}{i} % FIXME
\key{vyh�ada� re�azec v uzloch}{M-s}
\key{{\bf skon�i�} Info}{q}

\endindentedkeys

\section{Registre}

\key{ulo�i� oblas� do registra}{C-x r s}
\key{vlo�i� obsah registra do buffera}{C-x r i}

\key{ulo�i� poz�ciu kurzoru do registra}{C-x r SPC}
\key{sko�i� na poz�ciu ulo�en� v~registri}{C-x r j}

\section{Kl�vesov� makr�}

\key{{\bf za�a�} definovanie kl�vesov�ho makra}{C-x (}
\key{{\bf skon�i�} definovanie kl�vesov�ho makra}{C-x )}
\key{{\bf vykona�} naposledy definovan� makro}{C-x e}
\key{pripoji� k~posledn�mu kl�vesov�mu makru}{C-u C-x (}
\metax{pomenova� posledn� makro}{M-x name-last-kbd-macro}
\metax{vlo�i� do buffera lispov� defin�ciu}{M-x insert-kbd-macro}

\section{Pr�kazy s�visiace s~Emacs Lispom}

\key{vyhodnoti� {\bf v�raz} pred kurzorom}{C-x C-e}
\key{vyhodnoti� {\bf funkciu} pod kurzorom}{C-M-x}
\metax{vyhodnoti� {\bf oblas�}}{M-x eval-region}
\key{na蓁ta� a vyhodnoti� v�raz v~minibufferi}{M-:}
\metax{na蓁ta� s�bor zo syst�mov�ho adres�ra}{M-x load-library}

\section{Jednoduch� prisp�sobenia}

\metax{nastavi� premenn� a faces}{M-x customize}

% The intended audience here is the person who wants to make simple
% customizations and knows Lisp syntax.

Defin�cia v�eobecnej kl�vesovej skratky v~Emacs Lispe (pr�klad):

\beginexample%
(global-set-key "\\C-cg" 'goto-line)
(global-set-key "\\M-\#" 'query-replace-regexp)
\endexample

\section{Z�pis pr�kazov}

\beginexample%
(defun \<command-name> (\<args>)
  "\<documentation>" (interactive "\<template>")
  \<body>)
\endexample

Pr�klad:

\beginexample%
(defun this-line-to-top-of-window (line)
  "Reposition line point is on to top of window.
With ARG, put point on line ARG."
  (interactive "P")
  (recenter (if (null line)
                0
              (prefix-numeric-value line))))
\endexample

�pecifik�cia \kbd{interactive} vrav�, ako interakt�vne na蓁ta� ar\-gu\-men\-ty.
Viac sa dozviete po vykonan� \kbd{C-h f interactive}.

\copyrightnotice

\bye

% Local variables:
% compile-command: "csplain sk-refcard"
% coding: iso-latin-2
% End:

% arch-tag: 9f8eacf2-daf9-4162-bc8d-4af7b269f3d3