1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00
emacs/etc/sk-refcard.tex
2003-09-01 15:45:59 +00:00

670 lines
21 KiB
TeX
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

% 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 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., 59 Temple Place - Suite 330,
% Boston, MA 02111-1307, 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<61>k <Pavel@Janik.cz> in November 2000
% Translated to Slovak by Miroslav Va<56>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{1997}
\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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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<65>n<EFBFBD> karta}
\centerline{(pre verziu 21)}
\section{Spustenie Emacsu}
Pre spustenie GNU~Emacsu~21 nap<61><70>te jeho meno: \kbd{emacs}
Ako na<6E><61>ta<74> a editova<76> s<>bory sa dozviete ni<6E><69>ie v~oddiele S<>bory.
\section{Ukon<EFBFBD>enie Emacsu}
\key{pozastavenie (zmen<65>enie do ikony v~X11)}{C-z}
\key{definit<EFBFBD>vny odchod z~Emacsu}{C-x C-c}
\section{S<EFBFBD>bory}
\key{{\bf na<6E><61>ta<74>} s<>bor do Emacsu}{C-x C-f}
\key{{\bf ulo<6C>i<EFBFBD>} s<>bor sp<73><70> na disk}{C-x C-s}
\key{ulo<EFBFBD>i<EFBFBD> {\bf v<>etky} s<>bory}{C-x s}
\key{{\bf vlo<6C>i<EFBFBD>} obsah in<69>ho s<>boru do bufferu}{C-x i}
\key{zameni<EFBFBD> tento s<>bor in<69>m s<>borom}{C-x C-v}
\key{zap<EFBFBD>sa<EFBFBD> buffer do zadan<61>ho s<>boru}{C-x C-w}
\key{vlo<EFBFBD>i<EFBFBD> do syst<73>mu spr<70>vy verzi<7A>}{C-x C-q}
\section{Pou<EFBFBD><EFBFBD>vanie n<>povedy}
Syst<EFBFBD>m n<>povedy je jednoduch<63>. Stla<6C>te \kbd{C-h} (alebo \kbd{F1}) a sledujte
in<EFBFBD>trukcie. <20>vodn<64> {\bf t<>torial} je mo<6D>n<EFBFBD> spusti<74> pomocou \kbd{C-h t}.
\key{odstr<EFBFBD>ni<EFBFBD> okno s~n<>povedou}{C-x 1}
\key{rolova<EFBFBD> okno s~n<>povedou}{C-M-v}
\key{apropos: pr<70>kazy zodpovedaj<61>ce re<72>azcu}{C-h a}
\key{zobrazi<EFBFBD> funkciu danej kl<6B>vesy}{C-h c}
\key{zobrazi<EFBFBD> popis funkcie}{C-h f}
\key{zobrazi<EFBFBD> inform<72>cie o~aktu<74>lnych m<>doch}{C-h m}
\section{Opravy ch<63>b}
\key{{\bf preru<72>i<EFBFBD>} vkladan<61> alebo vykon<6F>van<61> pr<70>kaz}{C-g}
\metax{{\bf obnovi<76>} s<>bor straten<65> p<>dom syst<73>mu}{M-x recover-file}
\key{{\bf zru<72>i<EFBFBD>} nechcen<65> zmenu}{C-x u {\it n.} C-_}
\metax{vr<EFBFBD>ti<EFBFBD> p<>vodn<64> obsah bufferu}{M-x revert-buffer}
\key{prekresli<EFBFBD> \uv{rozpadnut<EFBFBD>} obrazovku}{C-l}
\section{Inkrement<EFBFBD>lne vyh<79>ad<61>vanie}
\key{vyh<EFBFBD>ada<EFBFBD> vpred}{C-s}
\key{vyh<EFBFBD>ada<EFBFBD> vzad}{C-r}
\key{vyh<EFBFBD>ada<EFBFBD> regul<75>rny v<>raz}{C-M-s}
\key{vyh<EFBFBD>ada<EFBFBD> regul<75>rny v<>raz dozadu}{C-M-r}
\key{predch<EFBFBD>dzaj<EFBFBD>ci vyh<79>ad<61>van<61> re<72>azec}{M-p}
\key{nasleduj<EFBFBD>c<EFBFBD> nov<6F><76> vyh<79>ad<61>van<61> re<72>azec}{M-n}
\key{ukon<EFBFBD>i<EFBFBD> inkrement<6E>lne vyh<79>ad<61>vanie}{RET}
\key{zru<EFBFBD>i<EFBFBD> efekt posledn<64>ho zadan<61>ho znaku}{DEL}
\key{preru<EFBFBD>i<EFBFBD> prebiehaj<61>ce vyh<79>ad<61>vanie}{C-g}
<EFBFBD>al<EFBFBD>ie \kbd{C-s} alebo \kbd{C-r} zopakuje vyh<79>ad<61>vanie v~danom smere. Ak
Emacs vyh<79>ad<61>va, \kbd{C-g} zru<72><75> iba nen<65>jden<65> <20>as<61> re<72>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<7A>iatok alebo koniec riadku}{C-a}{C-e}
\threecol{vetu}{M-a}{M-e}
\threecol{odstavec}{M-\{}{M-\}}
\threecol{str<EFBFBD>nku}{C-x [}{C-x ]}
\threecol{symbolick<EFBFBD> v<>raz}{C-M-b}{C-M-f}
\threecol{funkciu}{C-M-a}{C-M-e}
\threecol{na za<7A>iatok alebo koniec bufferu}{M-<}{M->}
}
\key{rolova<EFBFBD> na <20>al<61>iu obrazovku}{C-v}
\key{rolova<EFBFBD> na predch<63>dzaj<61>cu obrazovku}{M-v}
\key{rolova<EFBFBD> v<>avo}{C-x <}
\key{rolova<EFBFBD> vpravo}{C-x >}
\key{aktu<EFBFBD>lny riadok do stredu obrazovky}{C-u C-l}
\section{Ru<EFBFBD>enie a mazanie}
\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{{\bf ru<72>en<65> objekt }}{{\bf vzad}}{{\bf vpred}}
\threecol{znak (mazanie, nie ru<72>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<EFBFBD> v<>raz}{M-- C-M-k}{C-M-k}
}
\key{zru<EFBFBD>i<EFBFBD> {\bf oblas<61>}}{C-w}
\key{skop<EFBFBD>rova<EFBFBD> oblas<61> do schr<68>nky}{M-w}
\key{zru<EFBFBD>i<EFBFBD> a<> po najbli<6C><69><EFBFBD> v<>skyt znaku {\it znak}}{M-z {\it znak}}
\key{vhodi<EFBFBD> naposledy zru<72>en<65> objekt}{C-y}
\key{nahradi<EFBFBD> vhoden<65> objekt predch<63>dzaj<61>cim zru<72>en<65>m}{M-y}
\section{Ozna<EFBFBD>ovanie}
\key{vlo<EFBFBD>i<EFBFBD> zna<6E>ku}{C-@ {\it n.} C-SPC}
\key{prehodi<EFBFBD> kurzor a zna<6E>ku}{C-x C-x}
\key{ozna<EFBFBD>i<EFBFBD> zadan<61> po<70>et {\bf slov}}{M-@}
\key{ozna<EFBFBD>i<EFBFBD> {\bf odstavec}}{M-h}
\key{ozna<EFBFBD>i<EFBFBD> {\bf str<74>nku}}{C-x C-p}
\key{ozna<EFBFBD>i<EFBFBD> {\bf symbolick<63> v<>raz}}{C-M-@}
\key{ozna<EFBFBD>i<EFBFBD> {\bf funkciu}}{C-M-h}
\key{ozna<EFBFBD>i<EFBFBD> cel<65> {\bf buffer}}{C-x h}
\section{Interakt<EFBFBD>vne nahradzovanie}
\key{interakt<EFBFBD>vne nahradi<64> textov<6F> re<72>azec}{M-\%}
\metax{s~pou<6F>it<69>m regul<75>rneho v<>razu}{M-x query-replace-regexp}
Platn<EFBFBD> odpovede v~m<>de query-replace s<>
\key{{\bf nahradi<64>} a <20>s<EFBFBD> na <20>al<61>ie}{SPC}
\key{nahradi<EFBFBD> a zosta<74> na mieste}{,}
\key{{\bf sko<6B>i<EFBFBD>} na <20>al<61>ie bez nahradenia}{DEL}
\key{zameni<EFBFBD> v<>etky zost<73>vaj<61>ce v<>skyty}{!}
\key{{\bf sp<73><70>} na predch<63>dzaj<61>ci v<>skyt re<72>azca}{^}
\key{{\bf koniec} nahradzovania}{RET}
\key{rekurz<EFBFBD>vne editovanie (ukon<6F><6E> sa \kbd{C-M-c})}{C-r}
\section{Okn<EFBFBD>}
Ak s<> zobrazen<65> dva pr<70>kazy, potom ten druh<75> plat<61> pre Xov<6F> okno.
\key{zru<EFBFBD>i<EFBFBD> v<>etky ostatn<74> okn<6B>}{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<EFBFBD> okno na horn<72> a doln<6C>}{C-x 2\ \ \ \ }{C-x 5 2}
\threecol{zru<EFBFBD>i<EFBFBD> toto okno}{C-x 0\ \ \ \ }{C-x 5 0}
}}
\key{rozdeli<EFBFBD> okno na <20>av<61> a prav<61>}{C-x 3}
\key{rolova<EFBFBD> in<69> 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<EFBFBD><EFBFBD> kurzor do in<69>ho okna}{C-x o}{C-x 5 o}
\threecol{vybra<EFBFBD> buffer v~inom okne}{C-x 4 b}{C-x 5 b}
\threecol{zobrazi<EFBFBD> buffer v~inom okne}{C-x 4 C-o}{C-x 5 C-o}
\threecol{otvori<EFBFBD> s<>bor v~inom okne}{C-x 4 f}{C-x 5 f}
\threecol{otvori<EFBFBD> s<>bor iba pre <20><>tanie v~inom okne}{C-x 4 r}{C-x 5 r}
\threecol{spusti<EFBFBD> Dired v~inom okne}{C-x 4 d}{C-x 5 d}
\threecol{n<EFBFBD>js<EFBFBD> tag v~inom okne}{C-x 4 .}{C-x 5 .}
}}
\key{zv<EFBFBD><EFBFBD><EFBFBD>i<EFBFBD> okno}{C-x ^}
\key{z<EFBFBD><EFBFBD>i<EFBFBD> okno}{C-x \{}
\key{roz<EFBFBD><EFBFBD>ri<EFBFBD> okno}{C-x \}}
\section{Form<EFBFBD>tovanie}
\key{odsadi<EFBFBD> aktu<74>lny {\bf riadok} (pod<6F>a m<>du)}{TAB}
\key{odsadi<EFBFBD> {\bf oblas<61>} (pod<6F>a m<>du)}{C-M-\\}
\key{odsadi<EFBFBD> {\bf symbolick<63> v<>raz} (pod<6F>a m<>du)}{C-M-q}
\key{odsadi<EFBFBD> oblas<61> napevno o~{\it argument\/} st<73>pcov}{C-x TAB}
\key{vlo<EFBFBD>i<EFBFBD> znak nov<6F>ho riadku za kurzor}{C-o}
\key{posun<EFBFBD><EFBFBD> zbytok riadku zvisle dole}{C-M-o}
\key{zmaza<EFBFBD> pr<70>zdne riadky okolo kurzoru}{C-x C-o}
\key{spoji<EFBFBD> riadok s~predch<63>dzaj<61>cim (s~arg.~s~nasl.)}{M-^}
\key{zmaza<EFBFBD> pr<70>zdne miesto okolo kurzoru}{M-\\}
\key{necha<EFBFBD> presne jednu medzeru okolo kurzoru}{M-SPC}
\key{zalomi<EFBFBD> odstavec}{M-q}
\key{nastavi<EFBFBD> st<73>pec pre zalamovanie}{C-x f}
\key{nastavi<EFBFBD> prefix, ktor<6F>m za<7A><61>naj<61> riadky}{C-x .}
\key{nastavi<EFBFBD> font}{M-g}
\section{Zmena ve<76>kosti p<>smen}
\key{zmeni<EFBFBD> p<>smen<65> slova na ve<76>k<EFBFBD>}{M-u}
\key{zmeni<EFBFBD> p<>smen<65> slova na mal<61>}{M-l}
\key{zmeni<EFBFBD> za<7A>iato<74>n<EFBFBD> p<>smeno slova na ve<76>k<EFBFBD>}{M-c}
\key{zmeni<EFBFBD> p<>smen<65> oblasti na ve<76>k<EFBFBD>}{C-x C-u}
\key{zmeni<EFBFBD> p<>smen<65> oblasti na mal<61>}{C-x C-l}
\section{Minibuffer}
Nasleduj<EFBFBD>ce kl<6B>vesy s<> platn<74> pre minibuffer.
\key{doplni<EFBFBD> z~ponuky}{TAB}
\key{doplni<EFBFBD> do najbli<6C><69>ieho slova}{SPC}
\key{doplni<EFBFBD> a vykona<6E>}{RET}
\key{zobrazi<EFBFBD> mo<6D>n<EFBFBD> doplnenia}{?}
\key{predch<EFBFBD>dzaj<EFBFBD>ci pr<70>kaz z~minibufferu}{M-p}
\key{nov<EFBFBD><EFBFBD> alebo implicitn<74> pr<70>kaz z~minibufferu}{M-n}
\key{vyh<EFBFBD>ada<EFBFBD> regul<75>rny v<>raz v~hist<73>rii vzad}{M-r}
\key{vyh<EFBFBD>ada<EFBFBD> regul<75>rny v<>raz v~hist<73>rii vpred}{M-s}
\key{zru<EFBFBD>i<EFBFBD> pr<70>kaz}{C-g}
Stla<EFBFBD>te \kbd{C-x ESC ESC} pre editovanie a zopakovanie posledn<64>ho pr<70>kazu
z~minibufferu. Stla<6C>te \kbd{F10} pre aktiv<69>ciu menu v~minibufferi.
\newcolumn
\title{GNU Emacs -- Referen<65>n<EFBFBD> karta}
\section{Buffery}
\key{vybra<EFBFBD> in<69> buffer}{C-x b}
\key{zoznam v<>etk<74>ch bufferov}{C-x C-b}
\key{zru<EFBFBD>i<EFBFBD> buffer}{C-x k}
\section{V<EFBFBD>meny}
\key{prehodi<EFBFBD> {\bf znaky}}{C-t}
\key{prehodi<EFBFBD> {\bf slov<6F>}}{M-t}
\key{prehodi<EFBFBD> {\bf riadky}}{C-x C-t}
\key{prehodi<EFBFBD> {\bf symbolick<63> v<>razy}}{C-M-t}
\section{Kontrola pravopisu}
\key{kontrola pravopisu aktu<74>lneho slova}{M-\$}
\metax{kontrola pravopisu v<>etk<74>ch slov v oblasti}{M-x ispell-region}
\metax{kontrola pravopisu cel<65>ho bufferu}{M-x ispell-buffer}
\section{Tagy}
\key{n<EFBFBD>js<EFBFBD> tag (defin<69>ciu)}{M-.}
\key{n<EFBFBD>js<EFBFBD> <20>al<61><6C> v<>skyt tagu}{C-u M-.}
\metax{zada<EFBFBD> s<>bor s nov<6F>mi tagmi}{M-x visit-tags-table}
\metax{vyh<EFBFBD>ada<EFBFBD> reg.\ v<EFBFBD>raz v~s<>boroch s~tagmi}{M-x tags-search}
\metax{spusti<EFBFBD> nahradzovanie pre doty<74>n<EFBFBD> s<>bory}{M-x tags-query-replace}
\key{pokra<EFBFBD>ova<EFBFBD> v~preh<65>ad<61>van<61> alebo nahradzovan<61>}{M-,}
\section{Pr<EFBFBD>kazov<EFBFBD> interpr<70>t}
\key{vykona<EFBFBD> shellovsk<73> pr<70>kaz}{M-!}
\key{vykona<EFBFBD> shellovsk<73> pr<70>kaz nad oblas<61>ou}{M-|}
\key{prefiltrova<EFBFBD> oblas<61> shellovsk<73>m pr<70>kazom}{C-u M-|}
\key{spusti<EFBFBD> shell v okne \kbd{*shell*}}{M-x shell}
\section{Obd<EFBFBD><EFBFBD>niky}
\key{skop<EFBFBD>rova<EFBFBD> obd<62><64>nik do registra}{C-x r r}
\key{zru<EFBFBD>i<EFBFBD> obd<62><64>nik}{C-x r k}
\key{vhodi<EFBFBD> obd<62><64>nik}{C-x r y}
\key{vlo<EFBFBD>i<EFBFBD> obd<62><64>nik medzier}{C-x r o}
\key{nahradi<EFBFBD> obd<62><64>nik obd<62><64>nikom medzier}{C-x r c}
\key{nahradi<EFBFBD> riadky obd<62><64>niku zadan<61>m re<72>azcom}{C-x r t}
\section{Skratky}
\key{prida<EFBFBD> glob<6F>lnu skratku}{C-x a g}
\key{prida<EFBFBD> lok<6F>lnu skratku}{C-x a l}
\key{prida<EFBFBD> glob<6F>lnu expanziu pre skratku }{C-x a i g}
\key{prida<EFBFBD> lok<6F>lnu expanziu pre skratku}{C-x a i l}
\key{expandova<EFBFBD> skratku}{C-x a e}
\key{dynamick<EFBFBD> expanzia predch<63>dzaj<61>ceho slova}{M-/}
\section{Regul<EFBFBD>rne v<>razy}
\key{<EFBFBD>ubovo<EFBFBD>n<EFBFBD> znak okrem nov<6F>ho riadku}{. {\rm(te<74>ka)}}
\key{<EFBFBD>iadne alebo nieko<6B>ko opakovan<61>}{*}
\key{jedno alebo viac opakovan<61>}{+}
\key{<EFBFBD>iadne alebo jedno opakovanie}{?}
\key{zru<EFBFBD>i<EFBFBD> zvl<76><6C>tny v<>znam znaku {\it c\/} vo v<>raze}{\\{\it c}}
\key{alternat<EFBFBD>va (\uv{alebo})}{\\|}
\key{skupina}{\\( {\rm$\ldots$} \\)}
\key{rovnak<EFBFBD> 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<7A>iatok}}{{\bf koniec}}
\threecol{riadok}{^}{\$}
\threecol{slovo}{\\<}{\\>}
\threecol{buffer}{\\`}{\\'}
\threecol{{\bf trieda znakov}}{{\bf zodpoved<65>}}{{\bf nezodpoved<65>}}
\threecol{explicitn<EFBFBD> mno<6E>ina}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]}
\threecol{slovotvorn<EFBFBD> znak}{\\w}{\\W}
\threecol{znak so syntaxou {\it c}}{\\s{\it c}}{\\S{\it c}}
}
\section{Medzin<EFBFBD>rodn<EFBFBD> znakov<6F> sady}
\metax{zada<EFBFBD> hlavn<76> jazyk}{M-x set-language-environment}
\metax{zobrazi<EFBFBD> v<>etky vstupn<70> met<65>dy}{M-x list-input-methods}
\key{zapn<EFBFBD><EFBFBD> alebo vypn<70><6E> vstupn<70> met<65>du}{C-\\}
\key{zada<EFBFBD> k<>dovanie pre nasleduj<75>ci pr<70>kaz}{C-x RET c}
\metax{zobrazi<EFBFBD> v<>etky k<>dovania}{M-x list-coding-systems}
\metax{zmeni<EFBFBD> preferovan<61> k<>dovanie}{M-x prefer-coding-system}
\section{Info}
\key{spusti<EFBFBD> Info}{C-h i}
\key{n<EFBFBD>js<EFBFBD> zadan<61> funkciu alebo premenn<6E> v~Info}{C-h C-i}
\beginindentedkeys
Pohyb vo vn<76>tri uzlov:
\key{rolovanie vpred}{SPC}
\key{rolovanie vzad}{DEL}
\key{na za<7A>iatok uzla}{. {\rm (te<74>ka)}}
Pohyb medzi uzlami:
\key{{\bf <20>al<61><6C>} uzol}{n}
\key{{\bf predch<63>dzaj<61>ci} uzol}{p}
\key{{\bf nadraden<65>} uzol}{u}
\key{vybra<EFBFBD> z~menu pod<6F>a n<>zvu}{m}
\key{vybra<EFBFBD> {\it n\/}-t<> polo<6C>ku menu (1--9)}{{\it n}}
\key{najbli<EFBFBD><EFBFBD><EFBFBD> nasleduj<75>ci kr<6B><72>ov<6F> odkaz (n<>vrat \kbd{l})}{f}
\key{vr<EFBFBD>ti<EFBFBD> sa do naposledy prezeran<61>ho uzlu}{l}
\key{vr<EFBFBD>ti<EFBFBD> sa do adres<65>ra uzlov}{d}
\key{prejs<EFBFBD> do ktor<6F>hoko<6B>vek uzlu pod<6F>a mena}{g}
<EFBFBD>al<EFBFBD>ie:
\key{spusti<EFBFBD> {\bf t<>torial} k~Infu}{h}
\key{{\bf skon<6F>i<EFBFBD>} Info}{q}
\key{vyh<EFBFBD>ada<EFBFBD> re<72>azec v uzloch}{M-s}
\endindentedkeys
\section{Registre}
\key{ulo<EFBFBD>i<EFBFBD> oblas<61> do registra}{C-x r s}
\key{vlo<EFBFBD>i<EFBFBD> obsah registra do buffera}{C-x r i}
\key{ulo<EFBFBD>i<EFBFBD> poz<6F>ciu kurzoru do registra}{C-x r SPC}
\key{sko<EFBFBD>i<EFBFBD> na poz<6F>ciu ulo<6C>en<65> v~registri}{C-x r j}
\section{Kl<EFBFBD>vesov<EFBFBD> makr<6B>}
\key{{\bf za<7A>a<EFBFBD>} definovanie kl<6B>vesov<6F>ho makra}{C-x (}
\key{{\bf skon<6F>i<EFBFBD>} definovanie kl<6B>vesov<6F>ho makra}{C-x )}
\key{{\bf vykona<6E>} naposledy definovan<61> makro}{C-x e}
\key{pripoji<EFBFBD> k~posledn<64>mu kl<6B>vesov<6F>mu makru}{C-u C-x (}
\metax{pomenova<EFBFBD> posledn<64> makro}{M-x name-last-kbd-macro}
\metax{vlo<EFBFBD>i<EFBFBD> do buffera lispov<6F> defin<69>ciu}{M-x insert-kbd-macro}
\section{Pr<EFBFBD>kazy s<>visiace s~Emacs Lispom}
\key{vyhodnoti<EFBFBD> {\bf v<>raz} pred kurzorom}{C-x C-e}
\key{vyhodnoti<EFBFBD> {\bf funkciu} pod kurzorom}{C-M-x}
\metax{vyhodnoti<EFBFBD> {\bf oblas<61>}}{M-x eval-region}
\key{na<EFBFBD><EFBFBD>ta<EFBFBD> a vyhodnoti<74> v<>raz v~minibufferi}{M-:}
\metax{na<EFBFBD><EFBFBD>ta<EFBFBD> s<>bor zo syst<73>mov<6F>ho adres<65>ra}{M-x load-library}
\section{Jednoduch<EFBFBD> prisp<73>sobenia}
\metax{nastavi<EFBFBD> premenn<6E> a faces}{M-x customize}
% The intended audience here is the person who wants to make simple
% customizations and knows Lisp syntax.
Defin<EFBFBD>cia v<>eobecnej kl<6B>vesovej skratky v~Emacs Lispe (pr<70>klad):
\beginexample%
(global-set-key "\\C-cg" 'goto-line)
(global-set-key "\\M-\#" 'query-replace-regexp)
\endexample
\section{Z<EFBFBD>pis pr<70>kazov}
\beginexample%
(defun \<command-name> (\<args>)
"\<documentation>" (interactive "\<template>")
\<body>)
\endexample
Pr<EFBFBD>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
<EFBFBD>pecifik<EFBFBD>cia \kbd{interactive} vrav<61>, ako interakt<6B>vne na<6E><61>ta<74> ar\-gu\-men\-ty.
Viac sa dozviete po vykonan<61> \kbd{C-h f interactive}.
\copyrightnotice
\bye
% Local variables:
% compile-command: "csplain sk-refcard"
% End:
% arch-tag: 9f8eacf2-daf9-4162-bc8d-4af7b269f3d3