annotate etc/TUTORIAL.cs @ 64693:6bf3cc5c6ab3

Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-505 Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 99) - Update from CVS 2005-07-29 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/gnus-art.el (gnus-article-next-page-1): Reduce the number of lines to scroll rather than to stop it. * lisp/gnus/mml.el (mml-generate-default-type): Add doc string. (mml-generate-mime-1): Use mm-default-file-encoding or make it default to application/octet-stream when determining the content type if it is not specified for the part or the mml contents; add a comment about mml-generate-default-type. 2005-07-29 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/mml.el (mml-generate-mime-1): Use mm-default-file-encoding or make it default to application/octet-stream when determining the content type if it is not specified for the external contents. 2005-07-27 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/mm-decode.el (mm-display-external): Delete temp file, directory and buffer immediately if the external process is exited.
author Miles Bader <miles@gnu.org>
date Sun, 31 Jul 2005 00:12:23 +0000 (2005-07-31)
parents da1f81e3345e
children f05a048483cc 173dee4e2611
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61354
1f76ef621e78 Updated header.
Pavel Janík <Pavel@Janik.cz>
parents: 61221
diff changeset
1 Tutori�l k Emacsu. Podm�nky viz na konci.
1f76ef621e78 Updated header.
Pavel Janík <Pavel@Janik.cz>
parents: 61221
diff changeset
2 Copyright (c) 1985, 1996, 1998, 2001, 2002, 2005 Free Software Foundation.
38690
ebcceabda1b5 Milan Zamazal has new address.
Pavel Janík <Pavel@Janik.cz>
parents: 38689
diff changeset
3 Do �e�tiny p�elo�il Milan Zamazal <pdm@zamazal.org>.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
4
Dave Love <fx@gnu.org>
parents:
diff changeset
5 M�te p�ed sebou tutori�l k Emacsu.
Dave Love <fx@gnu.org>
parents:
diff changeset
6
Dave Love <fx@gnu.org>
parents:
diff changeset
7 P�kazy Emacsu obecn� vyu壌vaj� kl�vesu CONTROL (ob�as ozna�ovanou CTRL nebo
Dave Love <fx@gnu.org>
parents:
diff changeset
8 CTL) nebo kl�vesu META (ob�as ozna�ovanou EDIT nebo ALT). Abychom tyto n�zvy
Dave Love <fx@gnu.org>
parents:
diff changeset
9 nemuseli st�le ps�t v pln�m zn�n�, budeme pou壌vat n�sleduj�c� zkratky:
Dave Love <fx@gnu.org>
parents:
diff changeset
10
Dave Love <fx@gnu.org>
parents:
diff changeset
11 C-<chr> znamen� p�idr�et kl�vesu CONTROL a stisknout znak <chr>.
Dave Love <fx@gnu.org>
parents:
diff changeset
12 Tedy C-f znamen�: p�idr�te kl�vesu CONTROL a stiskn�te f.
Dave Love <fx@gnu.org>
parents:
diff changeset
13 M-<chr> znamen� p�idr�et kl�vesu META, EDIT nebo ALT a stisknout <chr>.
Dave Love <fx@gnu.org>
parents:
diff changeset
14 Pokud 鍾dnou z kl�ves META, EDIT ani ALT nem�te, tak m�sto toho
Dave Love <fx@gnu.org>
parents:
diff changeset
15 stiskn�te a pus�te kl�vesu ESC a pot� <chr>. Kl�vesu ESC budeme
Dave Love <fx@gnu.org>
parents:
diff changeset
16 zna�it <ESC>.
Dave Love <fx@gnu.org>
parents:
diff changeset
17
Dave Love <fx@gnu.org>
parents:
diff changeset
18 D�le�it� pozn�mka: pr�ci s Emacsem ukon蓁te stiskem C-x C-c (dva znaky).
Dave Love <fx@gnu.org>
parents:
diff changeset
19 Znaky ">>" na lev�m okraji zna蓁 m�sta, kde si m�te vyzkou�et p�kaz.
Dave Love <fx@gnu.org>
parents:
diff changeset
20 Nap�klad:
Dave Love <fx@gnu.org>
parents:
diff changeset
21 <<Blank lines inserted here by startup of help-with-tutorial>>
44310
0605f332660a *** empty log message ***
Pavel Janík <Pavel@Janik.cz>
parents: 43965
diff changeset
22 [Prost�edn� 葹st obrazovky je pr�zdn� z�m�rn�. Text pokra�uje n躱e.]
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
23 >> Nyn� stiskn�te C-v (view next screen) pro posun na dal麹 obrazovku.
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
24 (Sm�le do toho, prove�te to p�idr�en�m kl�vesy CONTROL a stiskem v.)
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
25 Od t�to chv�le byste toto m�li prov�d�t kdykoliv do�tete zobrazenou
Dave Love <fx@gnu.org>
parents:
diff changeset
26 obrazovku.
Dave Love <fx@gnu.org>
parents:
diff changeset
27
Dave Love <fx@gnu.org>
parents:
diff changeset
28 V�imn�te si, �e p�i posuvu obrazovek v�dy z�st�vaj� zobrazeny dva �dky
Dave Love <fx@gnu.org>
parents:
diff changeset
29 z p�edchoz� obrazovky; to poskytuje ur�itou n�vaznost p�i postupn�m
Dave Love <fx@gnu.org>
parents:
diff changeset
30 �ten� textu.
Dave Love <fx@gnu.org>
parents:
diff changeset
31
Dave Love <fx@gnu.org>
parents:
diff changeset
32 Prvn� v�c, kterou pot�ebujete v�d�t, je jak se v textu pohybovat
Dave Love <fx@gnu.org>
parents:
diff changeset
33 z jednoho m�sta na druh�. U� v�te, jak se posunout o jednu obrazovku
Dave Love <fx@gnu.org>
parents:
diff changeset
34 vp�ed, pomoc� C-v. K p�echodu o obrazovku zp�t pou�ijte M-v
Dave Love <fx@gnu.org>
parents:
diff changeset
35 (p�idr�te kl�vesu META a stiskn�te v nebo stiskn�te <ESC>v, jestli�e
Dave Love <fx@gnu.org>
parents:
diff changeset
36 nem�te 鍾dnou z kl�ves META, EDIT nebo ALT).
Dave Love <fx@gnu.org>
parents:
diff changeset
37
Dave Love <fx@gnu.org>
parents:
diff changeset
38 >> Zkuste stisknout M-v a pak C-v, n�kolikr�t to zopakujte.
Dave Love <fx@gnu.org>
parents:
diff changeset
39
Dave Love <fx@gnu.org>
parents:
diff changeset
40
Dave Love <fx@gnu.org>
parents:
diff changeset
41 * SHRNUT�
Dave Love <fx@gnu.org>
parents:
diff changeset
42 ---------
Dave Love <fx@gnu.org>
parents:
diff changeset
43
Dave Love <fx@gnu.org>
parents:
diff changeset
44 K prohl躱en� obrazovkov�ch str�nek jsou u�ite�n� n�sleduj�c� p�kazy:
Dave Love <fx@gnu.org>
parents:
diff changeset
45
Dave Love <fx@gnu.org>
parents:
diff changeset
46 C-v Posun o obrazovku vp�ed
Dave Love <fx@gnu.org>
parents:
diff changeset
47 M-v Posun o obrazovku zp�t
Dave Love <fx@gnu.org>
parents:
diff changeset
48 C-l Smaz�n� obrazovky a znovuzobrazen� cel�ho textu,
Dave Love <fx@gnu.org>
parents:
diff changeset
49 p�itom se text pod kurzorem p�esune ke st�edu obrazovky.
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
50 (Jedn� se o CONTROL-L a ne CONTROL-1.)
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
51
Dave Love <fx@gnu.org>
parents:
diff changeset
52 >> Najd�te kurzor a zapamatujte si, jak� text je kolem n�j.
Dave Love <fx@gnu.org>
parents:
diff changeset
53 Pak stiskn�te C-l.
Dave Love <fx@gnu.org>
parents:
diff changeset
54 Najd�te kurzor znovu a v�imn�te si, �e je kolem n�j tent� text.
Dave Love <fx@gnu.org>
parents:
diff changeset
55
Dave Love <fx@gnu.org>
parents:
diff changeset
56
Dave Love <fx@gnu.org>
parents:
diff changeset
57 * Z�KLADN� OVL�D�N� KURZORU
Dave Love <fx@gnu.org>
parents:
diff changeset
58 ---------------------------
Dave Love <fx@gnu.org>
parents:
diff changeset
59
Dave Love <fx@gnu.org>
parents:
diff changeset
60 Pohyb mezi obrazovkami je u�ite�n�, ale jak se p�em�st�te na konkr�tn�
Dave Love <fx@gnu.org>
parents:
diff changeset
61 m�sto v textu na obrazovce?
Dave Love <fx@gnu.org>
parents:
diff changeset
62
Dave Love <fx@gnu.org>
parents:
diff changeset
63 Je toho mo�no dos�hnout n�kolika zp�soby. Nejz�kladn�j麹m zp�sobem je
Dave Love <fx@gnu.org>
parents:
diff changeset
64 pou�it� p�kaz� C-p, C-b, C-f a C-n. Ka�d� z t�chto p�kaz� p�esune
Dave Love <fx@gnu.org>
parents:
diff changeset
65 kurzor na obrazovce o jeden �dek nebo sloupec v dan�m sm�ru.
Dave Love <fx@gnu.org>
parents:
diff changeset
66 Zde je tabulka zn�zor�uj�c� sm�r posuvu kurzoru vyvolan� t�mito �ty�mi
Dave Love <fx@gnu.org>
parents:
diff changeset
67 p�kazy:
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 44310
diff changeset
68
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
69 P�edchoz� �dek, C-p
Dave Love <fx@gnu.org>
parents:
diff changeset
70 :
Dave Love <fx@gnu.org>
parents:
diff changeset
71 :
Dave Love <fx@gnu.org>
parents:
diff changeset
72 Dozadu, C-b .... Moment�ln� pozice kurzoru .... Dop�edu, C-f
Dave Love <fx@gnu.org>
parents:
diff changeset
73 :
Dave Love <fx@gnu.org>
parents:
diff changeset
74 :
Dave Love <fx@gnu.org>
parents:
diff changeset
75 N�sleduj�c� �dek, C-n
Dave Love <fx@gnu.org>
parents:
diff changeset
76
Dave Love <fx@gnu.org>
parents:
diff changeset
77 >> P�esu�te kurzor na prost�edn� �dek tohoto diagramu pomoc�
Dave Love <fx@gnu.org>
parents:
diff changeset
78 C-n nebo C-p. Potom stiskn�te C-l, abyste na obrazovce vid�li cel�
Dave Love <fx@gnu.org>
parents:
diff changeset
79 diagram vycentrov�n.
Dave Love <fx@gnu.org>
parents:
diff changeset
80
Dave Love <fx@gnu.org>
parents:
diff changeset
81 Pravd�podobn� se v�m budou tyto p�kazy snadno pamatovat podle
Dave Love <fx@gnu.org>
parents:
diff changeset
82 po葹te�n�ch p�smen anglick�ch n�zv�: P jako previous (p�edchoz�),
Dave Love <fx@gnu.org>
parents:
diff changeset
83 N jako next (n�sleduj�c�), B jako backward (zp�t), F jako forward (vp�ed).
Dave Love <fx@gnu.org>
parents:
diff changeset
84 Jsou to z�kladn� p�kazy pro pohyb kurzoru a budete je pou壌vat
Dave Love <fx@gnu.org>
parents:
diff changeset
85 neust�le, tak�e by bylo velmi vhodn�, kdybyste se je te� nau�ili.
Dave Love <fx@gnu.org>
parents:
diff changeset
86
Dave Love <fx@gnu.org>
parents:
diff changeset
87 >> Prove�te n�kolikr�t C-n, abyste kurzor p�esunuli na tento �dek.
Dave Love <fx@gnu.org>
parents:
diff changeset
88
Dave Love <fx@gnu.org>
parents:
diff changeset
89 >> Posu�te kurzor dovnit� �dku pomoc� n�kolika C-f a pak nahoru stiskem C-p.
Dave Love <fx@gnu.org>
parents:
diff changeset
90 Pozorujte, co C-p d�l�, kdy� je kurzor uprost�ed �dku.
Dave Love <fx@gnu.org>
parents:
diff changeset
91
Dave Love <fx@gnu.org>
parents:
diff changeset
92 Ka�d� �dek textu kon蓁 znakem nov�ho �dku, kter� jej odd�luje od �dku
Dave Love <fx@gnu.org>
parents:
diff changeset
93 n�sleduj�c�ho. Znakem nov�ho �dku by m�l b�t ukon�en i posledn� �dek
Dave Love <fx@gnu.org>
parents:
diff changeset
94 souboru (p�esto�e to Emacs nevy�aduje).
Dave Love <fx@gnu.org>
parents:
diff changeset
95
Dave Love <fx@gnu.org>
parents:
diff changeset
96 >> Vyzkou�ejte C-b na za葹tku �dku. Kurzor by se m�l p�esunout na konec
Dave Love <fx@gnu.org>
parents:
diff changeset
97 p�edchoz�ho �dku, nebo� jej t�m p�esunete p�es znak nov�ho �dku.
Dave Love <fx@gnu.org>
parents:
diff changeset
98
Dave Love <fx@gnu.org>
parents:
diff changeset
99 C-f funguje analogicky jako C-b, tj. na konci �dku dojde k p�esunu na
Dave Love <fx@gnu.org>
parents:
diff changeset
100 dal麹 �dek.
Dave Love <fx@gnu.org>
parents:
diff changeset
101
Dave Love <fx@gnu.org>
parents:
diff changeset
102 >> Prove�te n�kolik C-b, tak�e uvid�te, kde se nach�z� kurzor.
Dave Love <fx@gnu.org>
parents:
diff changeset
103 Pak prov�d�jte C-f, abyste se vr�tili na konec �dku.
Dave Love <fx@gnu.org>
parents:
diff changeset
104 Pak prove�te je�t� jednou C-f, abyste se p�esunuli na n�sleduj�c�
Dave Love <fx@gnu.org>
parents:
diff changeset
105 �dek.
Dave Love <fx@gnu.org>
parents:
diff changeset
106
Dave Love <fx@gnu.org>
parents:
diff changeset
107 Kdy� kurzorem p�ejdete p�es horn� nebo doln� okraj obrazovky, posune se
Dave Love <fx@gnu.org>
parents:
diff changeset
108 text za p�slu�n�m okrajem na obrazovku. Tato vlastnost se naz�v�
Dave Love <fx@gnu.org>
parents:
diff changeset
109 "scrollov�n�". Umo条uje p�em�stit kurzor na libovoln� m�sto v textu,
Dave Love <fx@gnu.org>
parents:
diff changeset
110 ani� by kurzor opustil obrazovku.
Dave Love <fx@gnu.org>
parents:
diff changeset
111
Dave Love <fx@gnu.org>
parents:
diff changeset
112 >> Zkuste posunout kurzor pod doln� okraj obrazovky pomoc� C-n a pozorujte,
Dave Love <fx@gnu.org>
parents:
diff changeset
113 co se stane.
Dave Love <fx@gnu.org>
parents:
diff changeset
114
Dave Love <fx@gnu.org>
parents:
diff changeset
115 Jestli�e je posun po znac�ch p�li� pomal�, m偰ete se pohybovat po
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
116 slovech. M-f (META-f) prov�d� posun o slovo vp�ed a M-b prov�d� posun
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
117 o slovo zp�t.
Dave Love <fx@gnu.org>
parents:
diff changeset
118
Dave Love <fx@gnu.org>
parents:
diff changeset
119 >> Stiskn�te n�kolikr�t M-f a M-b.
Dave Love <fx@gnu.org>
parents:
diff changeset
120
Dave Love <fx@gnu.org>
parents:
diff changeset
121 Pokud se kurzor nach�z� uprost�ed slova, M-f provede p�esun na konec
Dave Love <fx@gnu.org>
parents:
diff changeset
122 tohoto slova. Nach�z�-li se kurzor v meze�e mezi slovy, M-f provede
Dave Love <fx@gnu.org>
parents:
diff changeset
123 p�esun na konec n�sleduj�c�ho slova. M-b pracuje analogicky v opa�n�m
Dave Love <fx@gnu.org>
parents:
diff changeset
124 sm�ru.
Dave Love <fx@gnu.org>
parents:
diff changeset
125
Dave Love <fx@gnu.org>
parents:
diff changeset
126 >> Stiskn�te n�kolikr�t M-f a M-b prolo�en� s C-f a C-b, abyste vid�li
Dave Love <fx@gnu.org>
parents:
diff changeset
127 v�sledky p�kaz� M-f a M-b prov�d�n�ch z r�zn�ch m�st uvnit� slov a
Dave Love <fx@gnu.org>
parents:
diff changeset
128 mezi nimi.
Dave Love <fx@gnu.org>
parents:
diff changeset
129
Dave Love <fx@gnu.org>
parents:
diff changeset
130 V�imn�te si analogie mezi C-f a C-b na jedn� stran� a M-f a M-b na
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
131 stran� druh�. Znaky s kl�vesou META jsou velmi �asto vyu壌v�ny pro operace
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
132 vztahuj�c� se k entit�m definovan�m jazykem (slova, v�ty, odstavce),
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
133 zat�mco znaky s kl�vesou CONTROL pracuj� na z�kladn�ch prvc�ch
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
134 nez�visl�ch na tom, co zrovna editujete (znaky, �dky, apod.).
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
135
Dave Love <fx@gnu.org>
parents:
diff changeset
136 Tato analogie plat� tak� pro �dky a v�ty: C-a a C-e prov�d� p�esun
Dave Love <fx@gnu.org>
parents:
diff changeset
137 na za葹tek a konec �dku, M-a a M-e prov�d� p�esun na za葹tek a konec
Dave Love <fx@gnu.org>
parents:
diff changeset
138 v�ty.
Dave Love <fx@gnu.org>
parents:
diff changeset
139
Dave Love <fx@gnu.org>
parents:
diff changeset
140 >> Zkuste n�kolikr�t C-a a pot� n�kolikr�t C-e.
Dave Love <fx@gnu.org>
parents:
diff changeset
141 Zkuste n�kolikr�t M-a a pot� n�kolikr�t M-e.
Dave Love <fx@gnu.org>
parents:
diff changeset
142
Dave Love <fx@gnu.org>
parents:
diff changeset
143 V�imn�te si, �e opakovan� C-a ned�l� nic, zat�mco opakovan� M-a v�dy
Dave Love <fx@gnu.org>
parents:
diff changeset
144 prov�d� posun o dal麹 v�tu. Principu analogie to sice p�li�
Dave Love <fx@gnu.org>
parents:
diff changeset
145 neodpov�d�, ale p�esto je toto chov�n� mo�no pova�ovat za p�irozen�.
Dave Love <fx@gnu.org>
parents:
diff changeset
146
Dave Love <fx@gnu.org>
parents:
diff changeset
147 Pozice kurzoru v textu se tak� naz�v� "bod" ("point"). Abychom to
Dave Love <fx@gnu.org>
parents:
diff changeset
148 parafr�zovali, kurzor je vid�t na obrazovce v m�st�, kde je bod um�st�n
Dave Love <fx@gnu.org>
parents:
diff changeset
149 v textu.
Dave Love <fx@gnu.org>
parents:
diff changeset
150
Dave Love <fx@gnu.org>
parents:
diff changeset
151 Zde je p�ehled jednoduch�ch operac� pro pohyb kurzoru v�etn� p�kaz� pro
Dave Love <fx@gnu.org>
parents:
diff changeset
152 pohyb mezi slovy a v�tami:
Dave Love <fx@gnu.org>
parents:
diff changeset
153
Dave Love <fx@gnu.org>
parents:
diff changeset
154 C-f P�esun o znak vp�ed
Dave Love <fx@gnu.org>
parents:
diff changeset
155 C-b P�esun o znak zp�t
Dave Love <fx@gnu.org>
parents:
diff changeset
156
Dave Love <fx@gnu.org>
parents:
diff changeset
157 M-f P�esun o slovo vp�ed
Dave Love <fx@gnu.org>
parents:
diff changeset
158 M-b P�esun o slovo zp�t
Dave Love <fx@gnu.org>
parents:
diff changeset
159
Dave Love <fx@gnu.org>
parents:
diff changeset
160 C-n P�esun na n�sleduj�c� �dek
Dave Love <fx@gnu.org>
parents:
diff changeset
161 C-p P�esun na p�edchoz� �dek
Dave Love <fx@gnu.org>
parents:
diff changeset
162
Dave Love <fx@gnu.org>
parents:
diff changeset
163 C-a P�esun na za葹tek �dku
Dave Love <fx@gnu.org>
parents:
diff changeset
164 C-e P�esun na konec �dku
Dave Love <fx@gnu.org>
parents:
diff changeset
165
Dave Love <fx@gnu.org>
parents:
diff changeset
166 M-a P�esun zp�t na za葹tek v�ty
Dave Love <fx@gnu.org>
parents:
diff changeset
167 M-e P�esun vp�ed na konec v�ty
Dave Love <fx@gnu.org>
parents:
diff changeset
168
Dave Love <fx@gnu.org>
parents:
diff changeset
169 >> Vyzkou�ejte si te� n�kolikr�t v�echny tyto p�kazy pro procvi�en�.
Dave Love <fx@gnu.org>
parents:
diff changeset
170 Jsou to nejpou壌van�j麹 p�kazy.
Dave Love <fx@gnu.org>
parents:
diff changeset
171
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
172 Dal麹 dva d�le�it� p�kazy pro pohyb kurzoru jsou M-< (META men麹-ne�),
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
173 kter� provede p�esun na za葹tek cel�ho textu, a M-> (META v�t麹-ne�),
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
174 kter� provede p�esun na konec cel�ho textu.
Dave Love <fx@gnu.org>
parents:
diff changeset
175
Dave Love <fx@gnu.org>
parents:
diff changeset
176 Na v�t�in� termin�l� je "<" nad 葹rkou, tak�e pro vyvol�n� tohoto znaku
Dave Love <fx@gnu.org>
parents:
diff changeset
177 mus�te pou壌t kl�vesu Shift. Na t�chto termin�lech je tedy nutno pou壌t
Dave Love <fx@gnu.org>
parents:
diff changeset
178 kl�vesu Shift i v p�pad� p�kazu M-<; bez kl�vesy Shift byste provedli
Dave Love <fx@gnu.org>
parents:
diff changeset
179 M-葹rka.
Dave Love <fx@gnu.org>
parents:
diff changeset
180
Dave Love <fx@gnu.org>
parents:
diff changeset
181 >> Zkuste te� M-< pro p�esun na za葹tek tutori�lu.
Dave Love <fx@gnu.org>
parents:
diff changeset
182 Pou�ijte pak opakovan� C-v, abyste se op�t vr�tili sem.
Dave Love <fx@gnu.org>
parents:
diff changeset
183
Dave Love <fx@gnu.org>
parents:
diff changeset
184 >> Zkuste te� M-> pro p�esun na konec tutori�lu.
Dave Love <fx@gnu.org>
parents:
diff changeset
185 Pou�ijte pak opakovan� M-v, abyste se op�t vr�tili sem.
Dave Love <fx@gnu.org>
parents:
diff changeset
186
Dave Love <fx@gnu.org>
parents:
diff changeset
187 Kurzor m偰ete p�esouvat tak� pomoc� kurzorov�ch kl�ves (kl�vesy
Dave Love <fx@gnu.org>
parents:
diff changeset
188 se �ipkami), pokud je v畊 termin�l m�. My v�ak doporu�ujeme nau�it se
Dave Love <fx@gnu.org>
parents:
diff changeset
189 C-b, C-f, C-n a C-p, a to ze t� d�vod�. Za prv�, tyto kl�vesy funguj�
Dave Love <fx@gnu.org>
parents:
diff changeset
190 na v�ech typech termin�l�. Za druh�, jakmile jednou z�sk�te cvik
Dave Love <fx@gnu.org>
parents:
diff changeset
191 v pou壌v�n� Emacsu, zjist�te, �e pou壌v�n� t�chto CTRL znak� je
Dave Love <fx@gnu.org>
parents:
diff changeset
192 rychlej麹 ne� pou壌v�n� kurzorov�ch kl�ves (proto�e nemus�te p�esouvat
Dave Love <fx@gnu.org>
parents:
diff changeset
193 ruku z psac� pozice). Za t�et�, zvyknete-li si pou壌vat tyto CTRL-znak
Dave Love <fx@gnu.org>
parents:
diff changeset
194 p�kazy, snadno se nau蓁te pou壌vat jin� pokro�il� p�kazy pro pohyb
Dave Love <fx@gnu.org>
parents:
diff changeset
195 kurzoru.
Dave Love <fx@gnu.org>
parents:
diff changeset
196
Dave Love <fx@gnu.org>
parents:
diff changeset
197 V�t�ina p�kaz� Emacsu akceptuje numerick� argument; ten pro v�t�inu
Dave Love <fx@gnu.org>
parents:
diff changeset
198 p�kaz� slou壌 jako opakova�. Po�et opakov�n� p�kazu zad�te
Dave Love <fx@gnu.org>
parents:
diff changeset
199 prost�ednictv�m stisku C-u n�sledovan�ho stiskem p�slu�n�ch 蓁slic p�ed
Dave Love <fx@gnu.org>
parents:
diff changeset
200 vyvol�n�m p�kazu. M�te-li META (nebo EDIT �i ALT) kl�vesu, existuje
Dave Love <fx@gnu.org>
parents:
diff changeset
201 alternativn� mo�nost zad�n� numerick�ho argumentu: p�idr�te kl�vesu META
Dave Love <fx@gnu.org>
parents:
diff changeset
202 a stiskn�te p�slu�n� 蓁slice. Doporu�ujeme nau�it se C-u metodu,
Dave Love <fx@gnu.org>
parents:
diff changeset
203 proto�e ta funguje na jak�mkoliv termin�lu.
Dave Love <fx@gnu.org>
parents:
diff changeset
204
Dave Love <fx@gnu.org>
parents:
diff changeset
205 Nap�klad C-u 8 C-f provede p�esun o osm znak� vp�ed.
Dave Love <fx@gnu.org>
parents:
diff changeset
206
Dave Love <fx@gnu.org>
parents:
diff changeset
207 V�t�ina p�kaz� pou壌v� numerick� argument jako opakova�. Jist�
Dave Love <fx@gnu.org>
parents:
diff changeset
208 v�jime�n� p�kazy jej pou壌vaj� jin�m zp�sobem. Mezi tyto v�jimky pat�
Dave Love <fx@gnu.org>
parents:
diff changeset
209 C-v a M-v. Dostanou-li numerick� argument, posunou obrazovku nahoru
Dave Love <fx@gnu.org>
parents:
diff changeset
210 nebo dol� o odpov�daj�c� po�et �dk� m�sto obrazovek. Nap�klad
Dave Love <fx@gnu.org>
parents:
diff changeset
211 C-u 4 C-v posune obrazovku o 4 �dky.
Dave Love <fx@gnu.org>
parents:
diff changeset
212
Dave Love <fx@gnu.org>
parents:
diff changeset
213 >> Zkuste te� stisknout C-u 8 C-v.
Dave Love <fx@gnu.org>
parents:
diff changeset
214
Dave Love <fx@gnu.org>
parents:
diff changeset
215 To by m�lo posunout obrazovku o 8 �dk� nahoru. Pokud byste ji cht�li
Dave Love <fx@gnu.org>
parents:
diff changeset
216 posunout zp�t dol�, m偰ete d�t argument p�kazu M-v.
Dave Love <fx@gnu.org>
parents:
diff changeset
217
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
218 Pou壌v�te-li X Window, m�li byste m�t na lev� stran� emacsov�ho okna
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
219 vysokou obd�ln�kovou oblast, naz�vanou scrollbar. M偰ete pak text
Dave Love <fx@gnu.org>
parents:
diff changeset
220 posouvat klik�n�m my麹 na scrollbar.
Dave Love <fx@gnu.org>
parents:
diff changeset
221
Dave Love <fx@gnu.org>
parents:
diff changeset
222 >> Zkuste stisknout prost�edn� tla蓁tko na vrcholu zv�razn�n� oblasti
Dave Love <fx@gnu.org>
parents:
diff changeset
223 uvnit� scrollbaru. To by m�lo text posunout na pozici danou t�m, jak
Dave Love <fx@gnu.org>
parents:
diff changeset
224 vysoko nebo n�zko jste kliknuli.
Dave Love <fx@gnu.org>
parents:
diff changeset
225
Dave Love <fx@gnu.org>
parents:
diff changeset
226 >> Zkuste p�i stisknut�m prost�edn�m tla蓁tku posouvat my麹 nahoru a
Dave Love <fx@gnu.org>
parents:
diff changeset
227 dol�. Uvid�te, jak se text posouv� nahoru a dol� podle toho, jak
Dave Love <fx@gnu.org>
parents:
diff changeset
228 posouv�te my麹.
Dave Love <fx@gnu.org>
parents:
diff changeset
229
Dave Love <fx@gnu.org>
parents:
diff changeset
230
Dave Love <fx@gnu.org>
parents:
diff changeset
231 * KDY� EMACS NEREAGUJE
Dave Love <fx@gnu.org>
parents:
diff changeset
232 ----------------------
Dave Love <fx@gnu.org>
parents:
diff changeset
233
Dave Love <fx@gnu.org>
parents:
diff changeset
234 Jestli�e Emacs p�estane reagovat na va�e p�kazy, m偰ete prob�haj�c�
Dave Love <fx@gnu.org>
parents:
diff changeset
235 �innost bezpe�n� zastavit pomoc� C-g. Pomoc� C-g m偰ete zastavit
Dave Love <fx@gnu.org>
parents:
diff changeset
236 p�kaz, jeho� prov�d�n� trv� p�li� dlouho.
Dave Love <fx@gnu.org>
parents:
diff changeset
237
Dave Love <fx@gnu.org>
parents:
diff changeset
238 C-g m偰ete pou壌t tak� pro odstran�n� numerick�ho argumentu p�kazu,
Dave Love <fx@gnu.org>
parents:
diff changeset
239 kter� nechcete dokon�it.
Dave Love <fx@gnu.org>
parents:
diff changeset
240
Dave Love <fx@gnu.org>
parents:
diff changeset
241 >> Stiskn�te C-u 100 pro vytvo�en� numerick�ho argumentu 100 a pak
Dave Love <fx@gnu.org>
parents:
diff changeset
242 stiskn�te C-g. Nyn� stiskn�te C-f. M�l by b�t proveden posun
Dave Love <fx@gnu.org>
parents:
diff changeset
243 o pr�v� jeden znak, proto�e jste argument zru�ili prost�ednictv�m
Dave Love <fx@gnu.org>
parents:
diff changeset
244 C-g.
Dave Love <fx@gnu.org>
parents:
diff changeset
245
Dave Love <fx@gnu.org>
parents:
diff changeset
246 Pokud jste omylem stiskli <ESC>, m偰ete se jej zbavit pomoc� C-g.
Dave Love <fx@gnu.org>
parents:
diff changeset
247
Dave Love <fx@gnu.org>
parents:
diff changeset
248
Dave Love <fx@gnu.org>
parents:
diff changeset
249 * DEAKTIVOVAN� P慷KAZY
Dave Love <fx@gnu.org>
parents:
diff changeset
250 ----------------------
Dave Love <fx@gnu.org>
parents:
diff changeset
251
Dave Love <fx@gnu.org>
parents:
diff changeset
252 N�kter� p�kazy Emacsu jsou "deaktivovan�" ("disabled"), aby je
Dave Love <fx@gnu.org>
parents:
diff changeset
253 za蓁naj�c� u�ivatel� nemohli vyvolat n�hodn�.
Dave Love <fx@gnu.org>
parents:
diff changeset
254
Dave Love <fx@gnu.org>
parents:
diff changeset
255 Pokud vyvol�te n�kter� z deaktivovan�ch p�kaz�, Emacs zobraz� hl畊en�
Dave Love <fx@gnu.org>
parents:
diff changeset
256 oznamuj�c�, kter� p�kaz to byl, s dotazem, zda chcete tento p�kaz
Dave Love <fx@gnu.org>
parents:
diff changeset
257 prov�st.
Dave Love <fx@gnu.org>
parents:
diff changeset
258
Dave Love <fx@gnu.org>
parents:
diff changeset
259 Pokud opravdu chcete p�kaz vyzkou�et, stiskn�te mezern�k jako odpov跫
Dave Love <fx@gnu.org>
parents:
diff changeset
260 na tuto ot�zku. Oby�ejn�, jestli�e nechcete deaktivovan� p�kaz
Dave Love <fx@gnu.org>
parents:
diff changeset
261 prov�st, odpov�zte na tuto ot�zku pomoc� "n".
Dave Love <fx@gnu.org>
parents:
diff changeset
262
43965
2c049f4d1786 Fix typo.
Pavel Janík <Pavel@Janik.cz>
parents: 38707
diff changeset
263 >> Stiskn�te C-x C-l (co� je deaktivovan� p�kaz),
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
264 pak na ot�zku odpov�zte n.
Dave Love <fx@gnu.org>
parents:
diff changeset
265
Dave Love <fx@gnu.org>
parents:
diff changeset
266
Dave Love <fx@gnu.org>
parents:
diff changeset
267 * OKNA
Dave Love <fx@gnu.org>
parents:
diff changeset
268 ------
Dave Love <fx@gnu.org>
parents:
diff changeset
269
Dave Love <fx@gnu.org>
parents:
diff changeset
270 Emacs m偰e m�t n�kolik oken (windows), z nich� ka�d� zobrazuje sv�j
Dave Love <fx@gnu.org>
parents:
diff changeset
271 vlastn� text. Jak v�ce oken pou壌vat, objasn�me pozd�ji. Nyn� chceme
Dave Love <fx@gnu.org>
parents:
diff changeset
272 objasnit, jak se zbavit nadbyte�n�ch oken a vr�tit se do z�kladn�
Dave Love <fx@gnu.org>
parents:
diff changeset
273 jednookenn� editace. Je to jednoduch�:
Dave Love <fx@gnu.org>
parents:
diff changeset
274
Dave Love <fx@gnu.org>
parents:
diff changeset
275 C-x 1 Jedno okno (tj. zru�en� v�ech ostatn�ch oken)
Dave Love <fx@gnu.org>
parents:
diff changeset
276
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
277 Tedy vlo�en� CONTROL-x n�sledovan� 蓁slic� 1. C-x 1 roz麹� okno
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
278 obsahuj�c� kurzor p�es celou obrazovku. Zru麹 to v�echna ostatn� okna.
Dave Love <fx@gnu.org>
parents:
diff changeset
279
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
280 >> Stiskn�te C-h k C-f.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
281 Pozorujte, jak se aktu�ln� okno zmen麹 a objev� se nov� okno za
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
282 淼elem zobrazen� dokumentace k p�kazu C-f.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
283
Dave Love <fx@gnu.org>
parents:
diff changeset
284 >> Stiskn�te C-x 1 a pozorujte, jak okno s dokumentac� zmiz�.
Dave Love <fx@gnu.org>
parents:
diff changeset
285
Dave Love <fx@gnu.org>
parents:
diff changeset
286
Dave Love <fx@gnu.org>
parents:
diff changeset
287 * VKL�D�N� A MAZ�N�
Dave Love <fx@gnu.org>
parents:
diff changeset
288 -------------------
Dave Love <fx@gnu.org>
parents:
diff changeset
289
Dave Love <fx@gnu.org>
parents:
diff changeset
290 Chcete-li vlo�it text, prost� jej napi�te. Znaky, kter� vid�te,
Dave Love <fx@gnu.org>
parents:
diff changeset
291 jako A, 7, *, atd., jsou Emacsem ch�p�ny jako text a vkl�d�ny okam�it�.
Dave Love <fx@gnu.org>
parents:
diff changeset
292 Pro vlo�en� znaku nov�ho �dku stiskn�te <Return> (kl�vesu Enter).
Dave Love <fx@gnu.org>
parents:
diff changeset
293
Dave Love <fx@gnu.org>
parents:
diff changeset
294 Posledn� znak, kter� jste napsali, m偰ete smazat stiskem <Delete>.
Dave Love <fx@gnu.org>
parents:
diff changeset
295 <Delete> je kl�vesa, kter� m偰e b�t na kl�vesnici ozna�ena "Del".
Dave Love <fx@gnu.org>
parents:
diff changeset
296 V n�kter�ch p�padech jako <Delete> slou壌 kl�vesa "Backspace", av�ak ne
Dave Love <fx@gnu.org>
parents:
diff changeset
297 v�dy!
Dave Love <fx@gnu.org>
parents:
diff changeset
298
Dave Love <fx@gnu.org>
parents:
diff changeset
299 Obecn�ji, <Delete> ma�e znak bezprost�edn� p�ed moment�ln� pozic�
Dave Love <fx@gnu.org>
parents:
diff changeset
300 kurzoru.
Dave Love <fx@gnu.org>
parents:
diff changeset
301
Dave Love <fx@gnu.org>
parents:
diff changeset
302 >> Prove�te to te� -- napi�te n�kolik znak� a pak je sma�te n�kolika
Dave Love <fx@gnu.org>
parents:
diff changeset
303 stisky <Delete>. Nebojte se zm�n v tomto souboru; origin�ln�
Dave Love <fx@gnu.org>
parents:
diff changeset
304 tutori�l se nezm�n�. Toto je va�e osobn� kopie.
Dave Love <fx@gnu.org>
parents:
diff changeset
305
Dave Love <fx@gnu.org>
parents:
diff changeset
306 Kdy� se �dek textu zv�t麹 natolik, �e p�es�hne jeden �dek obrazovky,
Dave Love <fx@gnu.org>
parents:
diff changeset
307 je zobrazen na v�ce �dc�ch obrazovky. 憑dek textu, kter� pokra�uje na
Dave Love <fx@gnu.org>
parents:
diff changeset
308 dal麹m �dku obrazovky, je indikov�n zp�tn�m lom�tkem ("\") na prav�m
Dave Love <fx@gnu.org>
parents:
diff changeset
309 okraji obrazovky.
Dave Love <fx@gnu.org>
parents:
diff changeset
310
Dave Love <fx@gnu.org>
parents:
diff changeset
311 >> Vkl�dejte text, a� dos�hnete prav�ho okraje, a pokra�ujte ve vkl�d�n�.
Dave Love <fx@gnu.org>
parents:
diff changeset
312 Objev� se v�m pokra�ovac� �dek.
Dave Love <fx@gnu.org>
parents:
diff changeset
313
Dave Love <fx@gnu.org>
parents:
diff changeset
314 >> Pou�ijte <Delete> pro smaz�n� textu, a� se �dek textu op�t vejde na
Dave Love <fx@gnu.org>
parents:
diff changeset
315 jeden �dek obrazovky. Pokra�ovac� �dek zmiz�.
Dave Love <fx@gnu.org>
parents:
diff changeset
316
Dave Love <fx@gnu.org>
parents:
diff changeset
317 Znak nov�ho �dku m偰ete smazat jako kter�koliv jin� znak. Smaz�n�
Dave Love <fx@gnu.org>
parents:
diff changeset
318 znaku nov�ho �dku mezi dv�ma �dky zp�sob� jejich spojen� do jedin�ho
Dave Love <fx@gnu.org>
parents:
diff changeset
319 �dku. Je-li v�sledn� �dek p�li� dlouh� na to, aby se ve�el na 麹�ku
Dave Love <fx@gnu.org>
parents:
diff changeset
320 obrazovky, bude zobrazen pokra�ovac�m �dkem.
Dave Love <fx@gnu.org>
parents:
diff changeset
321
Dave Love <fx@gnu.org>
parents:
diff changeset
322 >> P�esu�te kurzor na za葹tek �dku a stiskn�te <Delete>. To tento
Dave Love <fx@gnu.org>
parents:
diff changeset
323 �dek spoj� s �dkem p�edchoz�m.
Dave Love <fx@gnu.org>
parents:
diff changeset
324
Dave Love <fx@gnu.org>
parents:
diff changeset
325 >> Stiskn�te <Return> pro znovuvlo�en� smazan�ho znaku nov�ho �dku.
Dave Love <fx@gnu.org>
parents:
diff changeset
326
Dave Love <fx@gnu.org>
parents:
diff changeset
327 Vzpome�te si, �e v�t�ina p�kaz� Emacsu m偰e dostat po�et opakov�n�;
Dave Love <fx@gnu.org>
parents:
diff changeset
328 v�etn� textov�ch znak�. Opakov�n� textov�ch znak� je vlo壌 n�kolikr�t.
Dave Love <fx@gnu.org>
parents:
diff changeset
329
Dave Love <fx@gnu.org>
parents:
diff changeset
330 >> Vyzkou�ejte si to te� -- stiskn�te C-u 8 * pro vlo�en� ********.
Dave Love <fx@gnu.org>
parents:
diff changeset
331
Dave Love <fx@gnu.org>
parents:
diff changeset
332 Te� u� zn�te nejz�kladn�j麹 zp�soby, jak n�co v Emacsu napsat a jak
Dave Love <fx@gnu.org>
parents:
diff changeset
333 opravovat chyby. M偰ete ov�em tak� mazat po slovech nebo po �dc�ch.
Dave Love <fx@gnu.org>
parents:
diff changeset
334 Zde je shrnut� operac� pro maz�n� textu:
Dave Love <fx@gnu.org>
parents:
diff changeset
335
Dave Love <fx@gnu.org>
parents:
diff changeset
336 <Delete> Smaz�n� znaku bezprost�edn� p�ed kurzorem
Dave Love <fx@gnu.org>
parents:
diff changeset
337 C-d Smaz�n� znaku n�sleduj�c�ho za kurzorem
Dave Love <fx@gnu.org>
parents:
diff changeset
338
Dave Love <fx@gnu.org>
parents:
diff changeset
339 M-<Delete> Zru�en� slova bezprost�edn� p�ed kurzorem
Dave Love <fx@gnu.org>
parents:
diff changeset
340 M-d Zru�en� slova n�sleduj�c�ho za kurzorem
Dave Love <fx@gnu.org>
parents:
diff changeset
341
Dave Love <fx@gnu.org>
parents:
diff changeset
342 C-k Zru�en� textu od pozice kurzoru do konce �dku
Dave Love <fx@gnu.org>
parents:
diff changeset
343 M-k Zru�en� textu do konce aktu�ln� v�ty
Dave Love <fx@gnu.org>
parents:
diff changeset
344
Dave Love <fx@gnu.org>
parents:
diff changeset
345 V�imn�te si, �e <Delete> a C-d, resp. M-<Delete> a M-d, roz�i�uj�
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
346 paralelu zapo�atou C-f a M-f (pravda, <Delete> opravdu nen� CONTROL
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
347 znak, ale netrapme se t�m). C-k a M-k jsou jako C-e a M-e ve smyslu
Dave Love <fx@gnu.org>
parents:
diff changeset
348 vztahu �dk� k v�t�m.
Dave Love <fx@gnu.org>
parents:
diff changeset
349
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
350 Libovolnou 葹st bufferu m偰ete t蘊 zru�it n�sleduj�c� metodou.
38707
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
351 P�esu�te se na jeden konec t�to 葹sti a stiskn�te C-@ nebo C-SPC
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
352 (libovolnou z t�chto kombinac�). (SPC ozna�uje mezern�k.) P�esu�te
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
353 se na druh� konec t�to 葹sti a stiskn�te C-w. Text mezi t�mito
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
354 pozicemi bude zru�en.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
355
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
356 >> P�esu�te kurzor na p�smeno L na za葹tku p�edchoz�ho odstavce.
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
357 >> Stiskn�te C-SPC. Emacs by m�l ve spodn�m �dku obrazovky
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
358 zobrazit zpr�vu "Mark set".
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
359 >> P�esu�te kurzor na p�smeno c ve slov� "konec" na druh�m �dku
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
360 odstavce.
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
361 >> Stiskn�te C-w. Text za蓁naj�c� p�smenem L a kon蓁c� p�ed p�smenem
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
362 c bude zru�en.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
363
Dave Love <fx@gnu.org>
parents:
diff changeset
364 Uv�domte si, �e rozd�l mezi "ru�en�m" ("killing") a "maz�n�m"
Dave Love <fx@gnu.org>
parents:
diff changeset
365 ("deleting") je ten, �e "zru�en�" v�ci mohou b�t zp�t vhozeny, zat�mco
Dave Love <fx@gnu.org>
parents:
diff changeset
366 "smazan�" nikoliv. Obecn� p�kazy, kter� mohou smazat v�t麹 mno�stv�
Dave Love <fx@gnu.org>
parents:
diff changeset
367 textu, ukl�daj� text, zat�mco p�kazy, kter� ma�ou jedin� znak nebo
Dave Love <fx@gnu.org>
parents:
diff changeset
368 pouze pr�zdn� �dky a mezery, mazan� text neukl�daj�.
Dave Love <fx@gnu.org>
parents:
diff changeset
369
Dave Love <fx@gnu.org>
parents:
diff changeset
370 >> P�esu�te kurzor na za葹tek nepr�zdn�ho �dku.
Dave Love <fx@gnu.org>
parents:
diff changeset
371 Pak stiskn�te C-k pro zru�en� textu na tomto �dku.
Dave Love <fx@gnu.org>
parents:
diff changeset
372 >> Stiskn�te C-k podruh�. Uvid�te, �e to zru麹 znak nov�ho �dku, kter�
Dave Love <fx@gnu.org>
parents:
diff changeset
373 je za t�mto �dkem.
Dave Love <fx@gnu.org>
parents:
diff changeset
374
Dave Love <fx@gnu.org>
parents:
diff changeset
375 V�imn�te si, �e jedno C-k zru麹 obsah �dku a druh� C-k zru麹 �dek
Dave Love <fx@gnu.org>
parents:
diff changeset
376 samotn� a posune v�echny dal麹 �dky nahoru. C-k zpracov�v� numerick�
Dave Love <fx@gnu.org>
parents:
diff changeset
377 argument speci�ln�: zru麹 odpov�daj�c� po�et �dk� V�ETN� jejich
Dave Love <fx@gnu.org>
parents:
diff changeset
378 obsahu. To u� nen� opakov�n�. C-u 2 C-k zru麹 dva �dky a jejich
Dave Love <fx@gnu.org>
parents:
diff changeset
379 obsah; dvojit� stisk C-k by toto obvykle neud�lal.
Dave Love <fx@gnu.org>
parents:
diff changeset
380
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
381 Vracen� textu zp�t se naz�v� "vhazov�n�" ("yanking"). (P�edstavte
38707
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
382 si op�tovn� vhazov�n�, vracen� d�ve odstran�n�ho textu zp�tky.)
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
383 Zru�en� text m偰ete vhodit bu� na stejn� m�sto, kde byl zru�en,
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
384 nebo na jin� m�sto v bufferu, nebo dokonce i do jin�ho souboru.
38707
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
385 Text m偰ete vhodit i v�cekr�t, vytv癢�te tak jeho dal麹 kopie.
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
386
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
387 P�kazem pro vhazov�n� je C-y. Tento p�kaz vlo壌 posledn� smazan�
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
388 text na pozici, na kter� se nach�z� kurzor.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
389
Dave Love <fx@gnu.org>
parents:
diff changeset
390 >> Zkuste to; stiskn�te C-y pro vhozen� textu zp�t.
Dave Love <fx@gnu.org>
parents:
diff changeset
391
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
392 Stisknete-li n�kolikr�t C-k po sob�, v�echen smazan� text je ulo�en
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
393 spole�n� tak, aby bylo mo�n� vhodit zp�t v�echny �dky najednou.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
394
Dave Love <fx@gnu.org>
parents:
diff changeset
395 >> Stiskn�te n�kolikr�t C-k.
Dave Love <fx@gnu.org>
parents:
diff changeset
396
Dave Love <fx@gnu.org>
parents:
diff changeset
397 Nyn� obnovte posledn� zru�en� text:
Dave Love <fx@gnu.org>
parents:
diff changeset
398
Dave Love <fx@gnu.org>
parents:
diff changeset
399 >> Stiskn�te C-y. Pak posu�te kurzor o n�kolik �dk� n躱e a stiskn�te
Dave Love <fx@gnu.org>
parents:
diff changeset
400 C-y znova. Nyn� vid�te, jak lze text kop�rovat.
Dave Love <fx@gnu.org>
parents:
diff changeset
401
Dave Love <fx@gnu.org>
parents:
diff changeset
402 Co kdy� m�te n�jak� text, kter� byste r�di vhodili zp�t a pak zru麹te
Dave Love <fx@gnu.org>
parents:
diff changeset
403 n�co jin�ho? C-y by vlo�ilo posledn� zru�en� text. Av�ak p�edchoz�
Dave Love <fx@gnu.org>
parents:
diff changeset
404 text nen� ztracen. M偰ete jej z�skat zp�t pou�it�m p�kazu M-y. Pot�,
Dave Love <fx@gnu.org>
parents:
diff changeset
405 co provedete C-y pro z�sk�n� posledn�ho zru�en�ho textu, stisk M-y
Dave Love <fx@gnu.org>
parents:
diff changeset
406 vym�n� tento vhozen� text za p�edchoz� zru�en� text. Dal麹mi a
Dave Love <fx@gnu.org>
parents:
diff changeset
407 dal麹mi stisky M-y dost�v�te p�edch�zej�c� a p�edch�zej�c� zru�en�
Dave Love <fx@gnu.org>
parents:
diff changeset
408 texty. Kdy� dos�hnete textu, kter� hled�te, nemus�te s n�m pro jeho
Dave Love <fx@gnu.org>
parents:
diff changeset
409 uchov�n� nic dal麹ho prov�d�t. Jednodu�e vhozen� text ponechejte, kde
Dave Love <fx@gnu.org>
parents:
diff changeset
410 je, a pokra�ujte v editaci.
Dave Love <fx@gnu.org>
parents:
diff changeset
411
Dave Love <fx@gnu.org>
parents:
diff changeset
412 Pokud opakujete M-y dostate�n� dlouho, dostanete se zp�tky k v�choz�mu
Dave Love <fx@gnu.org>
parents:
diff changeset
413 bodu (posledn� zru�en�mu textu).
Dave Love <fx@gnu.org>
parents:
diff changeset
414
Dave Love <fx@gnu.org>
parents:
diff changeset
415 >> Zru�te �dek, p�esu�te kurzor n�kam jinam a zru�te jin� �dek.
Dave Love <fx@gnu.org>
parents:
diff changeset
416 Pak prove�te C-y pro vr�cen� druh�ho zru�en�ho �dku.
Dave Love <fx@gnu.org>
parents:
diff changeset
417 Pak prove�te M-y a vhozen� �dek bude nahrazen prvn�m zru�en�m �dkem.
Dave Love <fx@gnu.org>
parents:
diff changeset
418 Opakujte M-y a pozorujte, co dost�v�te. Pokra�ujte v tom, dokud se
Dave Love <fx@gnu.org>
parents:
diff changeset
419 znovu neobjev� druh� zru�en� �dek a pak n�kolik dal麹ch.
Dave Love <fx@gnu.org>
parents:
diff changeset
420 Chcete-li, m偰ete zkusit p�edat M-y kladn� a z�porn� argumenty.
Dave Love <fx@gnu.org>
parents:
diff changeset
421
Dave Love <fx@gnu.org>
parents:
diff changeset
422
Dave Love <fx@gnu.org>
parents:
diff changeset
423 * UNDO
Dave Love <fx@gnu.org>
parents:
diff changeset
424 ------
Dave Love <fx@gnu.org>
parents:
diff changeset
425
Dave Love <fx@gnu.org>
parents:
diff changeset
426 Jestli�e provedete v textu zm�nu a pak zjist�te, �e to byl omyl, m偰ete
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
427 zm�nu vr�tit p�kazem undo, C-x u.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
428
Dave Love <fx@gnu.org>
parents:
diff changeset
429 C-x u obvykle vr�t� zm�ny proveden� jedn�m p�kazem; pokud C-x u
Dave Love <fx@gnu.org>
parents:
diff changeset
430 zopakujete n�kolikr�t za sebou, ka�d� opakov�n� vr�t� jeden dal麹
Dave Love <fx@gnu.org>
parents:
diff changeset
431 p�kaz.
Dave Love <fx@gnu.org>
parents:
diff changeset
432
Dave Love <fx@gnu.org>
parents:
diff changeset
433 Jsou ale dv� v�jimky: p�kazy, kter� nem�n� text, se nepo蓁taj� (to
Dave Love <fx@gnu.org>
parents:
diff changeset
434 zahrnuje p�kazy pro pohyb kurzoru a scrollov�n�) a znaky vkl�daj�c�
Dave Love <fx@gnu.org>
parents:
diff changeset
435 samy sebe jsou obvykle zpracov�v�ny ve skupin�ch a� po 20. (To je kv�li
Dave Love <fx@gnu.org>
parents:
diff changeset
436 tomu, aby se zredukoval po�et C-x u nutn�ch pro vr�cen� vkl�dan�ho
Dave Love <fx@gnu.org>
parents:
diff changeset
437 textu.)
Dave Love <fx@gnu.org>
parents:
diff changeset
438
Dave Love <fx@gnu.org>
parents:
diff changeset
439 >> Zru�te tento �dek pomoc� C-k, stiskn�te pak C-x u a �dek by se m�l
Dave Love <fx@gnu.org>
parents:
diff changeset
440 znovu objevit.
Dave Love <fx@gnu.org>
parents:
diff changeset
441
Dave Love <fx@gnu.org>
parents:
diff changeset
442 Alternativn� undo p�kaz je C-_; pracuje stejn� jako C-x u, je v�ak
Dave Love <fx@gnu.org>
parents:
diff changeset
443 m�n� pracn� jej aplikovat n�kolikr�t za sebou. Nev�hodou C-_ je, �e
Dave Love <fx@gnu.org>
parents:
diff changeset
444 na n�kter�ch kl�vesnic�ch nen� z�ejm�, jak jej vyvolat. To je d�vod,
Dave Love <fx@gnu.org>
parents:
diff changeset
445 pro� nab�z�me i C-x u. Na n�kter�ch termin�lech m偰ete C-_ vyvolat
Dave Love <fx@gnu.org>
parents:
diff changeset
446 stiskem / p�i stisknut�m CTRL.
Dave Love <fx@gnu.org>
parents:
diff changeset
447
Dave Love <fx@gnu.org>
parents:
diff changeset
448 Numerick� argument pro C-_ a C-x u funguje jako po�et opakov�n�.
Dave Love <fx@gnu.org>
parents:
diff changeset
449
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
450 Pomoc� p�kazu undo m偰ete vr�tit zru�en� stejn� jako smazan� text.
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
451 Rozd�l mezi maz�n�m a ru�en�m textu ovliv�uje mo�nost vhozen� tohoto
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
452 textu pomoc� C-y, neovliv�uje mo�nosti p�kazu undo.
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
453
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
454
Dave Love <fx@gnu.org>
parents:
diff changeset
455 * SOUBORY
Dave Love <fx@gnu.org>
parents:
diff changeset
456 ---------
Dave Love <fx@gnu.org>
parents:
diff changeset
457
Dave Love <fx@gnu.org>
parents:
diff changeset
458 Aby text, kter� editujete, z�stal trvale uchov�n, mus�te jej ulo�it do
Dave Love <fx@gnu.org>
parents:
diff changeset
459 souboru. Jinak by byl po ukon�en� Emacsu ztracen. Svoji editaci
Dave Love <fx@gnu.org>
parents:
diff changeset
460 spoj�te se souborem "vyhled�n�m" ("finding") souboru. (Tak� se to
Dave Love <fx@gnu.org>
parents:
diff changeset
461 naz�v� "nav�t�ven�" ("visiting") souboru.)
Dave Love <fx@gnu.org>
parents:
diff changeset
462
Dave Love <fx@gnu.org>
parents:
diff changeset
463 Vyhled�n� souboru znamen�, �e vid�te jeho obsah v Emacsu. V mnoha
Dave Love <fx@gnu.org>
parents:
diff changeset
464 ohledech je to, jako byste editovali p�mo ten soubor. Nicm�n� zm�ny,
Dave Love <fx@gnu.org>
parents:
diff changeset
465 kter� prost�ednictv�m Emacsu �in�te, se nestanou trval�mi, dokud tyto
Dave Love <fx@gnu.org>
parents:
diff changeset
466 zm�ny do souboru "neulo壌te" ("save"). T�m se zamez� necht�n�mu ponech�n�
Dave Love <fx@gnu.org>
parents:
diff changeset
467 葹ste�n� zm�n�n�ho souboru v syst�mu. Dokonce i kdy� soubor ulo壌te,
Dave Love <fx@gnu.org>
parents:
diff changeset
468 Emacs uchov� p�vodn� soubor pod zm�n�n�m n�zvem pro p�pad, �e byste
Dave Love <fx@gnu.org>
parents:
diff changeset
469 zjistili, �e va�e �pravy byly chybn�.
Dave Love <fx@gnu.org>
parents:
diff changeset
470
Dave Love <fx@gnu.org>
parents:
diff changeset
471 Kdy� se pod�v�te do doln� 葹sti obrazovky, uvid�te �dek, kter� za蓁n� a
Dave Love <fx@gnu.org>
parents:
diff changeset
472 kon蓁 poml�kami a na za葹tku m� "2J:-- TUTORIAL.cs" nebo n�co podobn�ho.
Dave Love <fx@gnu.org>
parents:
diff changeset
473 Tato 葹st obrazovky obvykle obsahuje jm�no souboru, kter� je pr�v�
Dave Love <fx@gnu.org>
parents:
diff changeset
474 nav�t�ven. Zrovna te� m�te nav�t�ven soubor nazvan� "TUTORIAL.cs",
Dave Love <fx@gnu.org>
parents:
diff changeset
475 kter� je va麹 osobn� �m�rac� kopi� tutori�lu Emacsu. Kdy� v Emacsu
Dave Love <fx@gnu.org>
parents:
diff changeset
476 vyhled�te soubor, jeho jm�no se objev� p�esn� na tom m�st�.
Dave Love <fx@gnu.org>
parents:
diff changeset
477
Dave Love <fx@gnu.org>
parents:
diff changeset
478 P�kazy pro vyhled�v�n� a ukl�d�n� soubor� se na rozd�l od ostatn�ch
Dave Love <fx@gnu.org>
parents:
diff changeset
479 p�kaz�, kter� jste se zat�m nau�ili, skl�daj� ze dvou znak�. Oba
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
480 za蓁naj� znakem CONTROL-x. Existuje cel� �ada p�kaz� za蓁naj�c�ch na
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
481 CONTROL-x; mnoho z nich pracuje se soubory, buffery a podobn�mi v�cmi.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
482 Tyto p�kazy jsou dlouh� dva, t�i nebo �ty�i znaky.
Dave Love <fx@gnu.org>
parents:
diff changeset
483
Dave Love <fx@gnu.org>
parents:
diff changeset
484 Dal麹 v�c� ohledn� p�kazu pro vyhled�n� souboru je to, �e mus�te �ct,
Dave Love <fx@gnu.org>
parents:
diff changeset
485 kter� jm�no souboru chcete. 罹k�me, �e p�kaz "�te argument
Dave Love <fx@gnu.org>
parents:
diff changeset
486 z termin�lu" (v tomto p�pad� je argumentem jm�no souboru). Pot� co
Dave Love <fx@gnu.org>
parents:
diff changeset
487 vyvol�te p�kaz
Dave Love <fx@gnu.org>
parents:
diff changeset
488
Dave Love <fx@gnu.org>
parents:
diff changeset
489 C-x C-f Vyhled�n� souboru
Dave Love <fx@gnu.org>
parents:
diff changeset
490
Dave Love <fx@gnu.org>
parents:
diff changeset
491 Emacs se v�s zept� na jm�no souboru. Jm�no souboru, kter� p躪ete, se
63046
da1f81e3345e Change NBSP to space.
Juri Linkov <juri@jurta.org>
parents: 61354
diff changeset
492 objevuje ve spodn�m �dku obrazovky, kter� se v t�to situaci naz�v�
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
493 minibuffer. Pro editaci jm�na souboru m偰ete pou壌vat obvykl� edita�n�
Dave Love <fx@gnu.org>
parents:
diff changeset
494 p�kazy Emacsu.
Dave Love <fx@gnu.org>
parents:
diff changeset
495
Dave Love <fx@gnu.org>
parents:
diff changeset
496 Zad�v�n� jm�na souboru (obecn� kter�koliv vstup z minibufferu) m偰ete
Dave Love <fx@gnu.org>
parents:
diff changeset
497 zru�it p�kazem C-g.
Dave Love <fx@gnu.org>
parents:
diff changeset
498
Dave Love <fx@gnu.org>
parents:
diff changeset
499 >> Stiskn�te C-x C-f a pak C-g. To minibuffer zru麹 a takt蘊 to zru麹
Dave Love <fx@gnu.org>
parents:
diff changeset
500 p�kaz C-x C-f, kter� minibuffer pou�il. Tak�e nevyhled�te 鍾dn�
Dave Love <fx@gnu.org>
parents:
diff changeset
501 soubor.
Dave Love <fx@gnu.org>
parents:
diff changeset
502
Dave Love <fx@gnu.org>
parents:
diff changeset
503 Po naps�n� jm�na souboru stiskn�te <Return>.
Dave Love <fx@gnu.org>
parents:
diff changeset
504 P�kaz C-x C-f pak za�ne pracovat a vyhled� soubor, kter� jste zvolili.
Dave Love <fx@gnu.org>
parents:
diff changeset
505 Po skon�en� p�kazu C-x C-f minibuffer zmiz�.
Dave Love <fx@gnu.org>
parents:
diff changeset
506
Dave Love <fx@gnu.org>
parents:
diff changeset
507 Po mal� chvilce se obsah souboru objev� na obrazovce a m偰ete jej
Dave Love <fx@gnu.org>
parents:
diff changeset
508 editovat. Kdy� chcete zm�ny trvale ulo�it, pou�ijte p�kaz
Dave Love <fx@gnu.org>
parents:
diff changeset
509
Dave Love <fx@gnu.org>
parents:
diff changeset
510 C-x C-s Ulo�en� souboru
Dave Love <fx@gnu.org>
parents:
diff changeset
511
Dave Love <fx@gnu.org>
parents:
diff changeset
512 To zkop�ruje text z Emacsu do souboru. Kdy� to provedete poprv�, Emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
513 p�ejmenuje p�vodn� soubor na soubor s nov�m jm�nem, aby nebyl ztracen.
Dave Love <fx@gnu.org>
parents:
diff changeset
514 Nov� jm�no je vytvo�eno p�id�n�m "~" na konec p�vodn�ho jm�na souboru.
Dave Love <fx@gnu.org>
parents:
diff changeset
515
Dave Love <fx@gnu.org>
parents:
diff changeset
516 Kdy� je ukl�d�n� dokon�eno, Emacs zobraz� jm�no zapsan�ho souboru.
Dave Love <fx@gnu.org>
parents:
diff changeset
517 M�li byste ukl�dat rozumn� �asto, abyste neztratili p�li� mnoho pr�ce
Dave Love <fx@gnu.org>
parents:
diff changeset
518 v p�pad� p�du syst�mu.
Dave Love <fx@gnu.org>
parents:
diff changeset
519
Dave Love <fx@gnu.org>
parents:
diff changeset
520 >> Stiskn�te C-x C-s pro ulo�en� va麹 kopie tutori�lu.
Dave Love <fx@gnu.org>
parents:
diff changeset
521 M�lo by to zobrazit "Wrote ...TUTORIAL.cs" ve spodn�m �dku obrazovky.
Dave Love <fx@gnu.org>
parents:
diff changeset
522
Dave Love <fx@gnu.org>
parents:
diff changeset
523 POZN�MKA: Na n�kter�ch syst�mech zp�sob� stisk C-x C-s ztuhnut�
Dave Love <fx@gnu.org>
parents:
diff changeset
524 obrazovky a nevid�te 鍾dn� dal麹 v�stup z Emacsu. To znamen�, �e
Dave Love <fx@gnu.org>
parents:
diff changeset
525 "vlastnost" opera�n�ho syst�mu zvan� "flow control" zachycuje C-s a
Dave Love <fx@gnu.org>
parents:
diff changeset
526 nepropust� jej k Emacsu. Pro odtuhnut� obrazovky stiskn�te C-q. Pak
Dave Love <fx@gnu.org>
parents:
diff changeset
527 v sekci "Spontaneous Entry to Incremental Search" v manu�lu Emacsu
Dave Love <fx@gnu.org>
parents:
diff changeset
528 vyhledejte radu, jak se vypo�dat s touto "vlastnost�".
Dave Love <fx@gnu.org>
parents:
diff changeset
529
Dave Love <fx@gnu.org>
parents:
diff changeset
530 Existuj�c� soubor m偰ete vyhledat, abyste jej mohli prohl躱et nebo
Dave Love <fx@gnu.org>
parents:
diff changeset
531 editovat. M偰ete tak� vyhledat soubor, kter� je�t� neexistuje. To je
Dave Love <fx@gnu.org>
parents:
diff changeset
532 zp�sob, jak�m lze vytvo�it soubor v Emacsu: vyhledejte soubor, kter�
Dave Love <fx@gnu.org>
parents:
diff changeset
533 bude na za葹tku pr�zdn� a pak za�n�te vkl�dat text ur�en� pro tento
Dave Love <fx@gnu.org>
parents:
diff changeset
534 soubor. Kdy� po鍾d�te o ulo�en�, Emacs skute�n� vytvo� soubor
Dave Love <fx@gnu.org>
parents:
diff changeset
535 s textem, kter� jste vlo�ili. Od t� chv�le se pak m偰ete c�tit, jako
Dave Love <fx@gnu.org>
parents:
diff changeset
536 kdybyste editovali ji� existuj�c� soubor.
Dave Love <fx@gnu.org>
parents:
diff changeset
537
Dave Love <fx@gnu.org>
parents:
diff changeset
538
Dave Love <fx@gnu.org>
parents:
diff changeset
539 * BUFFERY
Dave Love <fx@gnu.org>
parents:
diff changeset
540 ---------
Dave Love <fx@gnu.org>
parents:
diff changeset
541
Dave Love <fx@gnu.org>
parents:
diff changeset
542 Jestli�e vyhled�te pomoc� C-x C-f druh� soubor, prvn� soubor v Emacsu
Dave Love <fx@gnu.org>
parents:
diff changeset
543 z�st�v�. M偰ete se do n�j zp�t p�epnout jeho op�tovn�m vyhled�n�m
Dave Love <fx@gnu.org>
parents:
diff changeset
544 pomoc� C-x C-f. T�mto zp�sobem m偰ete do Emacsu dostat pom�rn� hodn�
Dave Love <fx@gnu.org>
parents:
diff changeset
545 soubor�.
Dave Love <fx@gnu.org>
parents:
diff changeset
546
Dave Love <fx@gnu.org>
parents:
diff changeset
547 >> Vytvo�te soubor pojmenovan� "foo" stiskem C-x C-f foo <Return>.
Dave Love <fx@gnu.org>
parents:
diff changeset
548 Potom vlo�te n�jak� text, zeditujte jej a ulo�te "foo" stiskem C-x C-s.
Dave Love <fx@gnu.org>
parents:
diff changeset
549 Nakonec stiskn�te C-x C-f TUTORIAL.cs <Return>, 蓁m� se vr�t�te zp�t do
Dave Love <fx@gnu.org>
parents:
diff changeset
550 tutori�lu.
Dave Love <fx@gnu.org>
parents:
diff changeset
551
Dave Love <fx@gnu.org>
parents:
diff changeset
552 Emacs ukl�d� text ka�d�ho souboru do objektu naz�van�ho "buffer".
Dave Love <fx@gnu.org>
parents:
diff changeset
553 Vyhled�n� souboru vytvo� v Emacsu nov� buffer. Chcete-li vid�t seznam
Dave Love <fx@gnu.org>
parents:
diff changeset
554 buffer�, kter� moment�ln� existuj� ve va�em procesu Emacs, stiskn�te:
Dave Love <fx@gnu.org>
parents:
diff changeset
555
Dave Love <fx@gnu.org>
parents:
diff changeset
556 C-x C-b Seznam buffer�
Dave Love <fx@gnu.org>
parents:
diff changeset
557
Dave Love <fx@gnu.org>
parents:
diff changeset
558 >> Zkuste te� C-x C-b.
Dave Love <fx@gnu.org>
parents:
diff changeset
559
Dave Love <fx@gnu.org>
parents:
diff changeset
560 Pod�vejte se, �e ka�d� buffer m� v seznamu jm�no a m偰e tam m�t tak� jm�no
Dave Love <fx@gnu.org>
parents:
diff changeset
561 souboru, jeho� text obsahuje. N�kter� buffery neodpov�daj� soubor�m.
Dave Love <fx@gnu.org>
parents:
diff changeset
562 Nap�klad buffer pojmenovan� "*Buffer List*" nem� 鍾dn� soubor. Je to
Dave Love <fx@gnu.org>
parents:
diff changeset
563 buffer, kter� obsahuje seznam buffer� vytvo�en� pomoc� C-x C-b.
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
564 JAK�KOLIV text, kter� vid�te v emacsov�m okn�, je v�dy sou葹st�
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
565 n�jak�ho bufferu.
Dave Love <fx@gnu.org>
parents:
diff changeset
566
Dave Love <fx@gnu.org>
parents:
diff changeset
567 >> Stiskn�te C-x 1, abyste se zbavili seznamu buffer�.
Dave Love <fx@gnu.org>
parents:
diff changeset
568
Dave Love <fx@gnu.org>
parents:
diff changeset
569 Pokud provedete zm�ny textu jednoho souboru a pak vyhled�te jin� soubor,
Dave Love <fx@gnu.org>
parents:
diff changeset
570 nezp�sob� to ulo�en� prvn�ho souboru. Jeho zm�ny z�st�vaj� v Emacsu
Dave Love <fx@gnu.org>
parents:
diff changeset
571 uchov�ny v jemu odpov�daj�c�m bufferu. Vytvo�en� a editace druh�ho
Dave Love <fx@gnu.org>
parents:
diff changeset
572 souboru nem� 鍾dn� vliv na buffer prvn�ho souboru. To je velmi
Dave Love <fx@gnu.org>
parents:
diff changeset
573 u�ite�n�, ale tak� to znamen�, �e pot�ebujete vhodn� zp�sob, jak ulo�it
Dave Love <fx@gnu.org>
parents:
diff changeset
574 buffer prvn�ho souboru. Nutnost p�epnout se zp�tky pomoc� C-x C-f, aby
Dave Love <fx@gnu.org>
parents:
diff changeset
575 jej bylo mo�no ulo�it prost�ednictv�m C-x C-s, by byla nem�stn�
Dave Love <fx@gnu.org>
parents:
diff changeset
576 obt貍uj�c�. Tak�e m�me
Dave Love <fx@gnu.org>
parents:
diff changeset
577
Dave Love <fx@gnu.org>
parents:
diff changeset
578 C-x s Ulo�en� n�kter�ch buffer�
Dave Love <fx@gnu.org>
parents:
diff changeset
579
Dave Love <fx@gnu.org>
parents:
diff changeset
580 C-x s se v�s zept� na ka�d� buffer, kter� obsahuje zm�ny, kter� jste
Dave Love <fx@gnu.org>
parents:
diff changeset
581 neulo�ili. Pro ka�d� takov� buffer se v�s zept�, zda jej m� ulo�it.
Dave Love <fx@gnu.org>
parents:
diff changeset
582
Dave Love <fx@gnu.org>
parents:
diff changeset
583 >> Vlo�te �dek textu a pak stiskn�te C-x s.
Dave Love <fx@gnu.org>
parents:
diff changeset
584 M�li byste b�t dot�z�ni, zda m� b�t ulo�en buffer nazvan� TUTORIAL.cs.
Dave Love <fx@gnu.org>
parents:
diff changeset
585 Odpov�zte na tuto ot�zku ano (yes) stiskem "y".
Dave Love <fx@gnu.org>
parents:
diff changeset
586
Dave Love <fx@gnu.org>
parents:
diff changeset
587
Dave Love <fx@gnu.org>
parents:
diff changeset
588 * ROZ�I�OV�N� SADY P慷KAZ�
Dave Love <fx@gnu.org>
parents:
diff changeset
589 --------------------------
Dave Love <fx@gnu.org>
parents:
diff changeset
590
Dave Love <fx@gnu.org>
parents:
diff changeset
591 Existuje mnohem, mnohem v�ce p�kaz� Emacsu, ne� kter� by v�bec mohly
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
592 b�t rozm�st�ny na v�echny CONTROL a META znaky. Emacs tento probl�m
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
593 obch�z� prost�ednictv�m X (eXtend) p�kazu. Ten vznik� dv�ma zp�soby:
Dave Love <fx@gnu.org>
parents:
diff changeset
594
Dave Love <fx@gnu.org>
parents:
diff changeset
595 C-x Znakov� eXtend. N�sledov�n jedn�m znakem.
Dave Love <fx@gnu.org>
parents:
diff changeset
596 M-x Pojmenovan� p�kaz eXtend. N�sledov�n dlouh�m n�zvem.
Dave Love <fx@gnu.org>
parents:
diff changeset
597
Dave Love <fx@gnu.org>
parents:
diff changeset
598 To jsou p�kazy, kter� jsou obecn� u�ite�n�, av�ak m�n� �asto pou壌van�
Dave Love <fx@gnu.org>
parents:
diff changeset
599 ne� ty, kter� jste se ji� nau�ili. U� jste vid�li dva z nich: souborov�
Dave Love <fx@gnu.org>
parents:
diff changeset
600 p�kazy C-x C-f pro vyhled�n� a C-x C-s pro ulo�en�. Jin� p�klad je
Dave Love <fx@gnu.org>
parents:
diff changeset
601 p�kaz pro ukon�en� Emacsu -- tj. p�kaz C-x C-c. (Nem�jte obavy
Dave Love <fx@gnu.org>
parents:
diff changeset
602 o ztr�tu zm�n, kter� jste provedli; C-x C-c nab�dne ulo�en� ka�d�ho
Dave Love <fx@gnu.org>
parents:
diff changeset
603 zm�n�n�ho souboru, ne� Emacs ukon蓁.)
Dave Love <fx@gnu.org>
parents:
diff changeset
604
Dave Love <fx@gnu.org>
parents:
diff changeset
605 C-z je p�kaz na *do�asn�* opu�t�n� Emacsu -- m偰ete se po n�m do
Dave Love <fx@gnu.org>
parents:
diff changeset
606 spu�t�n�ho Emacsu vr�tit.
Dave Love <fx@gnu.org>
parents:
diff changeset
607
Dave Love <fx@gnu.org>
parents:
diff changeset
608 Na syst�mech, kter� to umo条uj�, C-z Emacs "pozastav�"; tzn. vr�t� v�s
Dave Love <fx@gnu.org>
parents:
diff changeset
609 do shellu, av�ak Emacs neukon蓁. V nejb貍n�j麹ch shellech se m偰ete do
Dave Love <fx@gnu.org>
parents:
diff changeset
610 Emacsu vr�tit p�kazem `fg' nebo pomoc� `%emacs'.
Dave Love <fx@gnu.org>
parents:
diff changeset
611
Dave Love <fx@gnu.org>
parents:
diff changeset
612 Na syst�mech, kter� pozastavov�n� proces� nemaj� implementov�no, C-z
Dave Love <fx@gnu.org>
parents:
diff changeset
613 vytvo� subshell b貍�c� pod Emacsem, aby v�m dal �anci spustit jin�
Dave Love <fx@gnu.org>
parents:
diff changeset
614 programy a pak se do Emacsu vr�tit; neprovede tedy prav� opu�t�n�
Dave Love <fx@gnu.org>
parents:
diff changeset
615 Emacsu. V tom p�pad� je obvyklou cestou n�vratu ze subshellu do Emacsu
Dave Love <fx@gnu.org>
parents:
diff changeset
616 shellovsk� p�kaz `exit'.
Dave Love <fx@gnu.org>
parents:
diff changeset
617
Dave Love <fx@gnu.org>
parents:
diff changeset
618 Chv�le pro pou�it� C-x C-c nastane, kdy� se chyst�te odhl�sit ze
Dave Love <fx@gnu.org>
parents:
diff changeset
619 syst�mu. Spr�vn� je to tak� p�i ukon�ov�n� Emacsu vyvolan�ho po�tovn�m
Dave Love <fx@gnu.org>
parents:
diff changeset
620 programem a r�zn�mi jin�mi utilitami, proto�e ty nemus� v�d�t, jak si
Dave Love <fx@gnu.org>
parents:
diff changeset
621 poradit s pozastaven�m Emacsu. Nicm�n� za norm�ln�ch okolnost�, pokud
Dave Love <fx@gnu.org>
parents:
diff changeset
622 se nechyst�te odlogovat, je l�pe Emacs pozastavit pomoc� C-z ne� jej
Dave Love <fx@gnu.org>
parents:
diff changeset
623 ukon�it.
Dave Love <fx@gnu.org>
parents:
diff changeset
624
Dave Love <fx@gnu.org>
parents:
diff changeset
625 Existuje mnoho C-x p�kaz�. Zde je seznam t�ch, kter� jste se ji� nau�ili:
Dave Love <fx@gnu.org>
parents:
diff changeset
626
Dave Love <fx@gnu.org>
parents:
diff changeset
627 C-x C-f Vyhled�n� souboru
Dave Love <fx@gnu.org>
parents:
diff changeset
628 C-x C-s Ulo�en� soubor
Dave Love <fx@gnu.org>
parents:
diff changeset
629 C-x C-b Seznam buffer�
Dave Love <fx@gnu.org>
parents:
diff changeset
630 C-x C-c Ukon�en� Emacsu
Dave Love <fx@gnu.org>
parents:
diff changeset
631 C-x u Undo
Dave Love <fx@gnu.org>
parents:
diff changeset
632
Dave Love <fx@gnu.org>
parents:
diff changeset
633 Pojmenovan� eXtended p�kazy jsou p�kazy, kter� jsou pou壌v�ny je�t�
Dave Love <fx@gnu.org>
parents:
diff changeset
634 m�n�, nebo p�kazy, kter� jsou pou壌v�ny jenom v jist�ch m�dech.
Dave Love <fx@gnu.org>
parents:
diff changeset
635 P�kladem je p�kaz replace-string, kter� glob�ln� nahrad� jeden �et�zec
Dave Love <fx@gnu.org>
parents:
diff changeset
636 jin�m. Kdy� stisknete M-x, vyp躪e se na spodn�m �dku obrazovky prompt
Dave Love <fx@gnu.org>
parents:
diff changeset
637 M-x a vy byste m�li zadat jm�no p�kazu; v tomto p�pad�
Dave Love <fx@gnu.org>
parents:
diff changeset
638 "replace-string". Jednodu�e napi�te "repl s<TAB>" a Emacs n�zev dopln�.
Dave Love <fx@gnu.org>
parents:
diff changeset
639 Dokon�ete zad�v�n� jm�na p�kazu pomoc� <Return>.
Dave Love <fx@gnu.org>
parents:
diff changeset
640
Dave Love <fx@gnu.org>
parents:
diff changeset
641 P�kaz replace-string vy�aduje dva argumenty -- �et�zec, kter� m� b�t
Dave Love <fx@gnu.org>
parents:
diff changeset
642 nahrazen, a �et�zec, kter� jej m� nahradit. Ka�d� argument mus�te
Dave Love <fx@gnu.org>
parents:
diff changeset
643 ukon�it pomoc� <Return>.
Dave Love <fx@gnu.org>
parents:
diff changeset
644
Dave Love <fx@gnu.org>
parents:
diff changeset
645 >> P�esu�te kurzor na pr�zdn� �dek dva �dky pod t�mto.
Dave Love <fx@gnu.org>
parents:
diff changeset
646 Pak napi�te M-x repl s<Return>zm�nil<Return>modifikoval<Return>.
Dave Love <fx@gnu.org>
parents:
diff changeset
647
Dave Love <fx@gnu.org>
parents:
diff changeset
648 V�imn�te si, jak se tento �dek zm�nil: nahradili jste slovo
Dave Love <fx@gnu.org>
parents:
diff changeset
649 z-m-�-n-i-l slovem "modifikoval", kdekoliv se za aktu�ln� pozic�
Dave Love <fx@gnu.org>
parents:
diff changeset
650 kurzoru vyskytlo.
Dave Love <fx@gnu.org>
parents:
diff changeset
651
Dave Love <fx@gnu.org>
parents:
diff changeset
652
Dave Love <fx@gnu.org>
parents:
diff changeset
653 * AUTOMATICK� UKL�D�N�
Dave Love <fx@gnu.org>
parents:
diff changeset
654 ----------------------
Dave Love <fx@gnu.org>
parents:
diff changeset
655
Dave Love <fx@gnu.org>
parents:
diff changeset
656 Jestli�e jste provedli zm�ny v souboru, ale nem�te je je�t� ulo�eny,
Dave Love <fx@gnu.org>
parents:
diff changeset
657 mohou b�t v p�pad� p�du syst�mu ztraceny. Aby v�s Emacs od toho
Dave Love <fx@gnu.org>
parents:
diff changeset
658 uchr�nil, periodicky zapisuje "auto save" soubor pro ka�d� soubor, kter�
Dave Love <fx@gnu.org>
parents:
diff changeset
659 editujete. Jm�no auto save souboru m� na za葹tku a na konci #;
Dave Love <fx@gnu.org>
parents:
diff changeset
660 nap�klad jestli�e se v畊 soubor jmenuje "hello.c", jeho auto save
Dave Love <fx@gnu.org>
parents:
diff changeset
661 soubor se jmenuje "#hello.c#". Kdy� soubor ulo壌te norm�ln�m zp�sobem,
Dave Love <fx@gnu.org>
parents:
diff changeset
662 Emacs auto save soubor sma�e.
Dave Love <fx@gnu.org>
parents:
diff changeset
663
Dave Love <fx@gnu.org>
parents:
diff changeset
664 Jestli�e dojde k p�du syst�mu, m偰ete svoji editaci obnovit z auto-save
Dave Love <fx@gnu.org>
parents:
diff changeset
665 souboru, a to norm�ln�m vyhled�n�m souboru (toho, kter� jste editovali,
Dave Love <fx@gnu.org>
parents:
diff changeset
666 ne auto save souboru) a n�slednou aplikac� M-x recover file<return>.
Dave Love <fx@gnu.org>
parents:
diff changeset
667 Na 鍾dost o potvrzen� odpov�zte zad�n�m yes<return> pro pokra�ov�n� a
Dave Love <fx@gnu.org>
parents:
diff changeset
668 obnoven� auto-save dat.
Dave Love <fx@gnu.org>
parents:
diff changeset
669
Dave Love <fx@gnu.org>
parents:
diff changeset
670
Dave Love <fx@gnu.org>
parents:
diff changeset
671 * ECHO OBLAST
Dave Love <fx@gnu.org>
parents:
diff changeset
672 -------------
Dave Love <fx@gnu.org>
parents:
diff changeset
673
Dave Love <fx@gnu.org>
parents:
diff changeset
674 Kdy� Emacs vid�, �e p躪ete p�kazy pomalu, ukazuje v�m je ve spodn�
Dave Love <fx@gnu.org>
parents:
diff changeset
675 葹sti obrazovky v oblasti naz�van� "echo oblast". Echo oblast obsahuje
Dave Love <fx@gnu.org>
parents:
diff changeset
676 doln� �dek obrazovky.
Dave Love <fx@gnu.org>
parents:
diff changeset
677
Dave Love <fx@gnu.org>
parents:
diff changeset
678
Dave Love <fx@gnu.org>
parents:
diff changeset
679 * STAVOV� 愾DEK
Dave Love <fx@gnu.org>
parents:
diff changeset
680 ---------------
Dave Love <fx@gnu.org>
parents:
diff changeset
681
Dave Love <fx@gnu.org>
parents:
diff changeset
682 憑dek bezprost�edn� nad echo oblast� se naz�v� "stavov� �dek" ("mode line").
Dave Love <fx@gnu.org>
parents:
diff changeset
683 Stavov� �dek �k� n�co jako:
Dave Love <fx@gnu.org>
parents:
diff changeset
684
Dave Love <fx@gnu.org>
parents:
diff changeset
685 2J:** TUTORIAL.cs (Fundamental)--L670--58%----------------
Dave Love <fx@gnu.org>
parents:
diff changeset
686
Dave Love <fx@gnu.org>
parents:
diff changeset
687 Tento �dek pod�v� u�ite�nou informaci o stavu Emacsu a textu, kter�
Dave Love <fx@gnu.org>
parents:
diff changeset
688 editujete.
Dave Love <fx@gnu.org>
parents:
diff changeset
689
Dave Love <fx@gnu.org>
parents:
diff changeset
690 U� v�te, co znamen� jm�no souboru -- je to soubor, kter� jste vyhledali.
Dave Love <fx@gnu.org>
parents:
diff changeset
691 -NN%-- ozna�uje va�i aktu�ln� pozici v textu; �k�, �e NN procent textu
Dave Love <fx@gnu.org>
parents:
diff changeset
692 je nad horn�m okrajem obrazovky. Je-li za葹tek souboru na obrazovce, je
Dave Love <fx@gnu.org>
parents:
diff changeset
693 zde --Top-- a ne --00%--. Je-li konec textu na obrazovce, je zde
Dave Love <fx@gnu.org>
parents:
diff changeset
694 --Bot--. Jestli�e se d�v�te na tak mal� text, �e se cel� vejde na
Dave Love <fx@gnu.org>
parents:
diff changeset
695 obrazovku, stavov� �dek �k� --All--.
Dave Love <fx@gnu.org>
parents:
diff changeset
696
Dave Love <fx@gnu.org>
parents:
diff changeset
697 Hv�zdi�ky pobl躱 za葹tku znamenaj�, �e jste text zm�nili. T�sn� po
Dave Love <fx@gnu.org>
parents:
diff changeset
698 vyhled�n� nebo ulo�en� souboru v t�to 葹sti stavov�ho �dku nejsou 鍾dn�
Dave Love <fx@gnu.org>
parents:
diff changeset
699 hv�zdi�ky, pouze poml�ky.
Dave Love <fx@gnu.org>
parents:
diff changeset
700
Dave Love <fx@gnu.org>
parents:
diff changeset
701 悲st stavov�ho �dku v z�vork�ch �k�, v jak�ch edita�n�ch m�dech se
Dave Love <fx@gnu.org>
parents:
diff changeset
702 nach�z�te. Implicitn� m�d je Fundamental, co� je ten, kter� moment�ln�
Dave Love <fx@gnu.org>
parents:
diff changeset
703 pou壌v�te. Je p�kladem hlavn�ho m�du ("major mode").
Dave Love <fx@gnu.org>
parents:
diff changeset
704
Dave Love <fx@gnu.org>
parents:
diff changeset
705 Emacs m� celou �adu hlavn�ch m�d�. N�kter� z nich jsou ur�eny pro
Dave Love <fx@gnu.org>
parents:
diff changeset
706 editaci r�zn�ch programovac�ch jazyk� a/nebo text� jako t�eba Lisp m�d,
Dave Love <fx@gnu.org>
parents:
diff changeset
707 Text m�d, atd. V libovoln�m okam�iku je aktivn� pr�v� jeden hlavn� m�d a
Dave Love <fx@gnu.org>
parents:
diff changeset
708 jeho jm�no lze nal�zt ve stavov�m �dku na m�st�, kde je te�
Dave Love <fx@gnu.org>
parents:
diff changeset
709 "Fundamental".
Dave Love <fx@gnu.org>
parents:
diff changeset
710
Dave Love <fx@gnu.org>
parents:
diff changeset
711 Ka�d� hlavn� m�d m�n� chov�n� n�kter�ch p�kaz�. Nap�klad existuj�
Dave Love <fx@gnu.org>
parents:
diff changeset
712 p�kazy pro vytv癢en� koment癢� v programu, a proto�e ka�d� programovac�
Dave Love <fx@gnu.org>
parents:
diff changeset
713 programovac� jazyk m� jinou p�edstavu o tom, jak m� koment癢 vypadat,
Dave Love <fx@gnu.org>
parents:
diff changeset
714 mus� ka�d� hlavn� m�d vkl�dat koment癢e jinak. Ka�d� hlavn� m�d je
Dave Love <fx@gnu.org>
parents:
diff changeset
715 vlastn� jm�no extended p�kazu, kter�m se do tohoto m�du m偰ete
Dave Love <fx@gnu.org>
parents:
diff changeset
716 p�epnout. Nap�klad M-x fundamental-mode je p�kaz pro p�epnut� se do
Dave Love <fx@gnu.org>
parents:
diff changeset
717 Fundamental m�du.
Dave Love <fx@gnu.org>
parents:
diff changeset
718
Dave Love <fx@gnu.org>
parents:
diff changeset
719 Chyst�te-li se editovat �esk� text, jako t�eba tento soubor,
Dave Love <fx@gnu.org>
parents:
diff changeset
720 pravd�podobn� byste m�li pou壌t Text m�d.
Dave Love <fx@gnu.org>
parents:
diff changeset
721 >> Napi�te M-x text-mode<Return>.
Dave Love <fx@gnu.org>
parents:
diff changeset
722
Dave Love <fx@gnu.org>
parents:
diff changeset
723 Nebojte se, 鍾dn� z p�kaz�, kter� jste se nau�ili, chov�n� Emacsu nijak
Dave Love <fx@gnu.org>
parents:
diff changeset
724 v�znamn� nezm�n�. M偰ete si ale v�imnout, �e M-f a M-b nyn� pracuj�
Dave Love <fx@gnu.org>
parents:
diff changeset
725 s apostrofy jako se sou葹stmi slov. P�edt�m, ve Fundamental m�du, M-f a
Dave Love <fx@gnu.org>
parents:
diff changeset
726 M-b pracovaly s apostrofy coby odd�lova�i slov.
Dave Love <fx@gnu.org>
parents:
diff changeset
727
Dave Love <fx@gnu.org>
parents:
diff changeset
728 Hlavn� m�dy obvykle d�laj� men麹 zm�ny, jako byla tato: p�kazy v�t�inou
Dave Love <fx@gnu.org>
parents:
diff changeset
729 d�laj� "tot蘊", ale v ka�d�m hlavn�m m�du pracuj� tro�ku jinak.
Dave Love <fx@gnu.org>
parents:
diff changeset
730
Dave Love <fx@gnu.org>
parents:
diff changeset
731 Dokumentaci k aktu�ln�mu hlavn�mu m�du si m偰ete zobrazit stiskem C-h m.
Dave Love <fx@gnu.org>
parents:
diff changeset
732
Dave Love <fx@gnu.org>
parents:
diff changeset
733 >> Jednou nebo n�kolikr�t pou�ijte C-u C-v, abyste tento �dek dostali
Dave Love <fx@gnu.org>
parents:
diff changeset
734 k vrcholu obrazovky.
Dave Love <fx@gnu.org>
parents:
diff changeset
735 >> Stiskn�te C-h m, abyste vid�li, jak se Text m�d li麹 od Fundamental
Dave Love <fx@gnu.org>
parents:
diff changeset
736 m�du.
Dave Love <fx@gnu.org>
parents:
diff changeset
737 >> Stiskn�te C-x 1 pro odstran�n� dokumentace z obrazovky.
Dave Love <fx@gnu.org>
parents:
diff changeset
738
Dave Love <fx@gnu.org>
parents:
diff changeset
739 Hlavn� m�dy se naz�vaj� hlavn� proto, �e tak� existuj� vedlej麹 m�dy
Dave Love <fx@gnu.org>
parents:
diff changeset
740 (minor modes). Vedlej麹 m�dy nejsou alternativou k hlavn�m m�d�m, n�br�
Dave Love <fx@gnu.org>
parents:
diff changeset
741 jejich mal� modifikace. Ka�d� vedlej麹 m�d m偰e b�t zapnut nebo vypnut
Dave Love <fx@gnu.org>
parents:
diff changeset
742 s�m o sob� nez�visle na v�ech ostatn�ch vedlej麹ch m�dech a nez�visle na
Dave Love <fx@gnu.org>
parents:
diff changeset
743 hlavn�m m�du. Tak�e nemus�te pou壌vat 鍾dn� vedlej麹 m�d nebo m偰ete
Dave Love <fx@gnu.org>
parents:
diff changeset
744 pou壌vat jeden vedlej麹 m�d nebo libovolnou kombinaci n�kolika
Dave Love <fx@gnu.org>
parents:
diff changeset
745 vedlej麹ch m�d�.
Dave Love <fx@gnu.org>
parents:
diff changeset
746
Dave Love <fx@gnu.org>
parents:
diff changeset
747 Jedn�m z velmi u�ite�n�ch vedlej麹ch m�d�, zejm�na pro editaci �esk�ch
Dave Love <fx@gnu.org>
parents:
diff changeset
748 text�, je Auto Fill m�d. Kdy� je tento m�d zapnut, Emacs zalom� �dek
Dave Love <fx@gnu.org>
parents:
diff changeset
749 mezi dv�ma slovy, kdykoliv vkl�d�te text a �dek se stane p�li�
Dave Love <fx@gnu.org>
parents:
diff changeset
750 dlouh�m.
Dave Love <fx@gnu.org>
parents:
diff changeset
751
Dave Love <fx@gnu.org>
parents:
diff changeset
752 Auto Fill m�d m偰ete zapnout proveden�m M-x auto-fill-mode<Return>.
Dave Love <fx@gnu.org>
parents:
diff changeset
753 Je-li tento m�d zapnut, m偰ete jej vypnout proveden�m M-x
Dave Love <fx@gnu.org>
parents:
diff changeset
754 auto-fill-mode<Return>. Je-li m�d vypnut, tento p�kaz jej zap�n�,
Dave Love <fx@gnu.org>
parents:
diff changeset
755 a je-li m�d zapnut, tak jej tento p�kaz vyp�n�. 罹k�me, �e tento
Dave Love <fx@gnu.org>
parents:
diff changeset
756 p�kaz p�ep�n� ("toggles") tento m�d.
Dave Love <fx@gnu.org>
parents:
diff changeset
757
Dave Love <fx@gnu.org>
parents:
diff changeset
758 >> Napi�te te� M-x auto-fill-mode<Return>. Pak vkl�dejte "asdf " st�le
Dave Love <fx@gnu.org>
parents:
diff changeset
759 dokola tak dlouho, a� uvid�te, jak se vkl�dan� �dek rozd�l� na dva
Dave Love <fx@gnu.org>
parents:
diff changeset
760 �dky. Do textu mus�te vkl�dat mezery proto, �e Auto Fill m�d
Dave Love <fx@gnu.org>
parents:
diff changeset
761 zalamuje �dky pouze v mezer�ch.
Dave Love <fx@gnu.org>
parents:
diff changeset
762
Dave Love <fx@gnu.org>
parents:
diff changeset
763 Okraj je obvykle nastaven na 70 znak�, ale m偰ete to zm�nit p�kazem
Dave Love <fx@gnu.org>
parents:
diff changeset
764 C-x f. Hodnotu okraje, kterou si p�ejete, byste m�li p�edat jako
Dave Love <fx@gnu.org>
parents:
diff changeset
765 numerick� argument.
Dave Love <fx@gnu.org>
parents:
diff changeset
766
Dave Love <fx@gnu.org>
parents:
diff changeset
767 >> Napi�te C-x f s argumentem 20. (C-u 2 0 C-x f).
Dave Love <fx@gnu.org>
parents:
diff changeset
768 Pak pi�te n�jak� text a pozorujte, jak Emacs vypl�uje �dky po
Dave Love <fx@gnu.org>
parents:
diff changeset
769 20 znac�ch. Pak nastavte okraj zp�tky na 70 op�tovn�m pou�it�m
Dave Love <fx@gnu.org>
parents:
diff changeset
770 C-x f.
Dave Love <fx@gnu.org>
parents:
diff changeset
771
Dave Love <fx@gnu.org>
parents:
diff changeset
772 Jestli�e provedete zm�ny uprost�ed odstavce, Auto Fill m�d jej
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 44310
diff changeset
773 nep�eform�tuje.
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
774 Pro p�eform�tov�n� odstavce stiskn�te M-q (META-q) s kurzorem uvnit�
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
775 odstavce.
Dave Love <fx@gnu.org>
parents:
diff changeset
776
Dave Love <fx@gnu.org>
parents:
diff changeset
777 >> P�esu�te kurzor do p�edchoz�ho odstavce a stiskn�te M-q.
Dave Love <fx@gnu.org>
parents:
diff changeset
778
Dave Love <fx@gnu.org>
parents:
diff changeset
779
Dave Love <fx@gnu.org>
parents:
diff changeset
780 * VYHLED�V�N�
Dave Love <fx@gnu.org>
parents:
diff changeset
781 -------------
Dave Love <fx@gnu.org>
parents:
diff changeset
782
Dave Love <fx@gnu.org>
parents:
diff changeset
783 Emacs um� v textu vyhled�vat �et�zce (tj. skupiny spojen�ch znak� nebo
Dave Love <fx@gnu.org>
parents:
diff changeset
784 slov) sm�rem vp�ed nebo vzad. Hled�n� �et�zce je p�kaz p�esunuj�c�
Dave Love <fx@gnu.org>
parents:
diff changeset
785 kurzor; p�esune kurzor na nejbli捷� m�sto, kde se tento �et�zec nach�z�.
Dave Love <fx@gnu.org>
parents:
diff changeset
786
Dave Love <fx@gnu.org>
parents:
diff changeset
787 Vyhled�vac� p�kaz Emacsu se li麹 od vyhled�vac�ch p�kaz� v�t�iny
Dave Love <fx@gnu.org>
parents:
diff changeset
788 editor� v tom smyslu, �e je "inkrement�ln�". To znamen�, �e vyhled�v�n�
Dave Love <fx@gnu.org>
parents:
diff changeset
789 se prov�d� u� v okam�iku, kdy zad�v�te vyhled�vac� �et�zec.
Dave Love <fx@gnu.org>
parents:
diff changeset
790
Dave Love <fx@gnu.org>
parents:
diff changeset
791 P�kaz pro zah�jen� hled�n� vp�ed je C-s a pro hled�n� vzad C-r.
Dave Love <fx@gnu.org>
parents:
diff changeset
792 ALE POZOR! Nezkou�ejte to je�t�.
Dave Love <fx@gnu.org>
parents:
diff changeset
793
Dave Love <fx@gnu.org>
parents:
diff changeset
794 Kdy� stisknete C-s, uvid�te v echo oblasti prompt "I-search". To v�m
Dave Love <fx@gnu.org>
parents:
diff changeset
795 �k�, �e Emacs se nach�z� ve stavu, kter� se naz�v� inkrement�ln� hled�n�,
Dave Love <fx@gnu.org>
parents:
diff changeset
796 a �ek�, a� mu zad�te, co chcete hledat. <RET> hled�n� ukon蓁.
Dave Love <fx@gnu.org>
parents:
diff changeset
797
Dave Love <fx@gnu.org>
parents:
diff changeset
798 >> Nyn� zahajte hled�n� stiskem C-s. POMALU, p�smeno po p�smenu, pi�te
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 44310
diff changeset
799 slovo 'kurzor'. Po ka�d�m p�smenu si v�imn�te, co se d�je s kurzorem.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
800 Te� jste vyhledali "kurzor" poprv�.
Dave Love <fx@gnu.org>
parents:
diff changeset
801 >> Stiskn�te C-s znovu, abyste nalezli dal麹 v�skyt "kurzor".
Dave Love <fx@gnu.org>
parents:
diff changeset
802 >> Nyn� �ty�ikr�t stiskn�te <Delete> a pozorujte, jak se kurzor
Dave Love <fx@gnu.org>
parents:
diff changeset
803 p�esunuje.
Dave Love <fx@gnu.org>
parents:
diff changeset
804 >> Stiskn�te <RET> pro ukon�en� hled�n�.
Dave Love <fx@gnu.org>
parents:
diff changeset
805
Dave Love <fx@gnu.org>
parents:
diff changeset
806 Vid�li jste, co se stalo? Emacs se v inkrement�ln�m hled�n� pokou麹
Dave Love <fx@gnu.org>
parents:
diff changeset
807 p�ej�t na dal麹 v�skyt �et�zce, kter� jste dosud napsali. Chcete-li
Dave Love <fx@gnu.org>
parents:
diff changeset
808 p�ej�t na dal麹 v�skyt 'kurzor', jednodu�e stiskn�te C-s znovu.
Dave Love <fx@gnu.org>
parents:
diff changeset
809 Jestli�e u� 鍾dn� takov� v�skyt nen�, Emacs p�pne a �ekne v�m, �e
Dave Love <fx@gnu.org>
parents:
diff changeset
810 hled�n� moment�ln� "selh�v�", C-g hled�n� ukon蓁.
Dave Love <fx@gnu.org>
parents:
diff changeset
811
Dave Love <fx@gnu.org>
parents:
diff changeset
812 POZN�MKA: Na n�kter�ch syst�mech stisk C-s zp�sob� ztuhnut�
Dave Love <fx@gnu.org>
parents:
diff changeset
813 obrazovky a nevid�te 鍾dn� dal麹 v�stup z Emacsu. To znamen�, �e
Dave Love <fx@gnu.org>
parents:
diff changeset
814 "vlastnost" opera�n�ho syst�mu zvan� "flow control" zachycuje C-s a
Dave Love <fx@gnu.org>
parents:
diff changeset
815 nepropust� jej k Emacsu. Pro odtuhnut� obrazovky stiskn�te C-q. Pak
Dave Love <fx@gnu.org>
parents:
diff changeset
816 v sekci "Spontaneous Entry to Incremental Search" v manu�lu Emacsu
Dave Love <fx@gnu.org>
parents:
diff changeset
817 vyhledejte radu, jak se vypo�dat s touto "vlastnost�".
Dave Love <fx@gnu.org>
parents:
diff changeset
818
Dave Love <fx@gnu.org>
parents:
diff changeset
819 Jestli�e uprost�ed inkrement�ln�ho hled�n� stisknete <Delete>, uvid�te,
Dave Love <fx@gnu.org>
parents:
diff changeset
820 �e posledn� znak v hledan�m �et�zci zmiz� a hled�n� se vrac� na posledn�
Dave Love <fx@gnu.org>
parents:
diff changeset
821 m�sto hled�n�. P�edpokl�dejme nap�klad, �e jste napsali "c", abyste
Dave Love <fx@gnu.org>
parents:
diff changeset
822 na�li prvn� v�skyt "k". Jestli�e nyn� stisknete "u", kurzor se p�esune na
Dave Love <fx@gnu.org>
parents:
diff changeset
823 prvn� v�skyt "ku". Te� stiskn�te <Delete>. To vyma�e "u" z hledan�ho
Dave Love <fx@gnu.org>
parents:
diff changeset
824 �et�zce a kurzor se p�esune zp�t na prvn� v�skyt "k".
Dave Love <fx@gnu.org>
parents:
diff changeset
825
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
826 Jestli�e uprost�ed hled�n� stisknete CONTROL nebo META znak (s n�kolika
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
827 v�jimkami -- znaky, kter� jsou speci�ln� v hled�n�, jako C-s a C-r),
Dave Love <fx@gnu.org>
parents:
diff changeset
828 hled�n� se ukon蓁.
Dave Love <fx@gnu.org>
parents:
diff changeset
829
Dave Love <fx@gnu.org>
parents:
diff changeset
830 C-s zahajuje hled�n�, kter� hled� jak�koliv v�skyt hledan�ho �et�zce ZA
Dave Love <fx@gnu.org>
parents:
diff changeset
831 aktu�ln� pozic� kurzoru. Chcete-li n�co hledat v p�edch�zej�c�m textu,
Dave Love <fx@gnu.org>
parents:
diff changeset
832 stiskn�te C-r m�sto C-s. V�e, co jsme �ekli o C-s, plat� tak� o C-r
Dave Love <fx@gnu.org>
parents:
diff changeset
833 krom� toho, �e sm�r hled�n� je opa�n�.
Dave Love <fx@gnu.org>
parents:
diff changeset
834
Dave Love <fx@gnu.org>
parents:
diff changeset
835
Dave Love <fx@gnu.org>
parents:
diff changeset
836 * V�CE OKEN
Dave Love <fx@gnu.org>
parents:
diff changeset
837 -----------
Dave Love <fx@gnu.org>
parents:
diff changeset
838
Dave Love <fx@gnu.org>
parents:
diff changeset
839 Jednou z p�kn�ch vlastnost� Emacsu je to, �e m偰e na obrazovce zobrazit
Dave Love <fx@gnu.org>
parents:
diff changeset
840 v�ce oken sou�asn�.
Dave Love <fx@gnu.org>
parents:
diff changeset
841
Dave Love <fx@gnu.org>
parents:
diff changeset
842 >> P�esu�te kurzor na tento �dek a stiskn�te C-u 0 C-l.
Dave Love <fx@gnu.org>
parents:
diff changeset
843
Dave Love <fx@gnu.org>
parents:
diff changeset
844 >> Te� stiskn�te C-x 2, co� rozd�l� obrazovku na dv� okna.
Dave Love <fx@gnu.org>
parents:
diff changeset
845 Ob� okna zobrazuj� tento tutori�l. Kurzor z�st�v� navrchu okna.
Dave Love <fx@gnu.org>
parents:
diff changeset
846
Dave Love <fx@gnu.org>
parents:
diff changeset
847 >> Tiskn�te C-M-v pro scrollov�n� spodn�ho okna.
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
848 (Nem�te-li skute�nou kl�vesu META, stiskn�te ESC C-v.)
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
849
Dave Love <fx@gnu.org>
parents:
diff changeset
850 >> Stiskn�te C-x o ("o" jako "other") pro p�esun kurzoru do doln�ho okna.
Dave Love <fx@gnu.org>
parents:
diff changeset
851
Dave Love <fx@gnu.org>
parents:
diff changeset
852 >> Pou�ijte C-v a M-v ve spodn�m okn� pro jeho scrollov�n�.
Dave Love <fx@gnu.org>
parents:
diff changeset
853 Pokra�ujte ve �ten� t�chto instrukc� v horn�m okn�.
Dave Love <fx@gnu.org>
parents:
diff changeset
854
Dave Love <fx@gnu.org>
parents:
diff changeset
855 >> Znovu stiskn�te C-x o pro p�esun kurzoru zp�t do horn�ho okna.
Dave Love <fx@gnu.org>
parents:
diff changeset
856 Kurzor v horn�m okn� je p�esn� na m�st�, kde byl p�vodn�.
Dave Love <fx@gnu.org>
parents:
diff changeset
857
Dave Love <fx@gnu.org>
parents:
diff changeset
858 M偰ete d�le pou壌vat C-x o pro p�ep�n�n� mezi okny. Ka�d� okno m� svoji
Dave Love <fx@gnu.org>
parents:
diff changeset
859 vlastn� pozici kurzoru, ale jenom jedno okno kurzor skute�n� zobrazuje.
Dave Love <fx@gnu.org>
parents:
diff changeset
860 V�echny obvykl� edita�n� p�kazy plat� pro okno, ve kter�m se nach�z�
Dave Love <fx@gnu.org>
parents:
diff changeset
861 kurzor. Toto okno naz�v�me "aktivn� okno" ("selected window").
Dave Love <fx@gnu.org>
parents:
diff changeset
862
Dave Love <fx@gnu.org>
parents:
diff changeset
863 P�kaz C-M-v je velmi u�ite�n�, jestli�e v jednom okn� editujete text a
Dave Love <fx@gnu.org>
parents:
diff changeset
864 druh� okno pou壌v�te pouze pro p�ehled. M偰ete kurzor nech�vat st�le
Dave Love <fx@gnu.org>
parents:
diff changeset
865 v okn�, kde editujete, a postupovat po druh�m okn� pomoc� C-M-v.
Dave Love <fx@gnu.org>
parents:
diff changeset
866
Dave Love <fx@gnu.org>
parents:
diff changeset
867 C-M-v je p�kladem CONTROL-META znaku. M�te-li skute�nou META kl�vesu,
Dave Love <fx@gnu.org>
parents:
diff changeset
868 m偰ete vyvolat C-M-v p�idr�en�m obou kl�ves CTRL a META p�i stisku v.
Dave Love <fx@gnu.org>
parents:
diff changeset
869 Nez�le壌 na tom, zda je prvn� stisknuta CTRL nebo META, proto�e ob� tyto
Dave Love <fx@gnu.org>
parents:
diff changeset
870 kl�vesy funguj� jako modifik�tory kl�ves, kter� tisknete.
Dave Love <fx@gnu.org>
parents:
diff changeset
871
Dave Love <fx@gnu.org>
parents:
diff changeset
872 Pokud nem�te skute�nou META kl�vesu, m偰ete m�sto n� pou壌t ESC, na
Dave Love <fx@gnu.org>
parents:
diff changeset
873 po�ad� z�le壌: mus�te stisknout ESC a n�sledn� CTRL-v; CTRL-ESC v by
Dave Love <fx@gnu.org>
parents:
diff changeset
874 nefungovalo. To proto, �e ESC je samostatn� znak, nikoliv modifik�tor.
Dave Love <fx@gnu.org>
parents:
diff changeset
875
Dave Love <fx@gnu.org>
parents:
diff changeset
876 >> Stiskn�te C-x 1 (v horn�m okn�), abyste se zbavili doln�ho okna.
Dave Love <fx@gnu.org>
parents:
diff changeset
877
Dave Love <fx@gnu.org>
parents:
diff changeset
878 (Kdybyste C-x 1 stiskli v doln�m okn�, odstranilo by to horn� okno.
Dave Love <fx@gnu.org>
parents:
diff changeset
879 Ch�pejte tento p�kaz jako "ponechej pr�v� jedno okno -- to, ve kter�m
Dave Love <fx@gnu.org>
parents:
diff changeset
880 zrovna jsem".)
Dave Love <fx@gnu.org>
parents:
diff changeset
881
Dave Love <fx@gnu.org>
parents:
diff changeset
882 Nemus�te v obou oknech zobrazovat tent� buffer. Jestli�e pou�ijete
Dave Love <fx@gnu.org>
parents:
diff changeset
883 C-x C-f pro vyhled�n� souboru v jednom z oken, druh� okno se nezm�n�.
Dave Love <fx@gnu.org>
parents:
diff changeset
884 M偰ete vyhled�vat soubory v obou oknech nez�visle.
Dave Love <fx@gnu.org>
parents:
diff changeset
885
Dave Love <fx@gnu.org>
parents:
diff changeset
886 Zde je dal麹 zp�sob, jak vyu壌t dv� okna ke zobrazen� dvou r�zn�ch v�c�:
Dave Love <fx@gnu.org>
parents:
diff changeset
887
Dave Love <fx@gnu.org>
parents:
diff changeset
888 >> Stiskn�te C-x 4 C-f n�sledovan� jm�nem n�kter�ho z va�ich soubor�.
Dave Love <fx@gnu.org>
parents:
diff changeset
889 Dokon�ete to pomoc� <Return>. Vid�te zadan� soubor v doln�m okn�.
Dave Love <fx@gnu.org>
parents:
diff changeset
890 P�esunul se tam i kurzor.
Dave Love <fx@gnu.org>
parents:
diff changeset
891
Dave Love <fx@gnu.org>
parents:
diff changeset
892 >> Stiskn�te C-x o pro p�esun zp�t do horn�ho okna a C-x 1 pro smaz�n�
Dave Love <fx@gnu.org>
parents:
diff changeset
893 doln�ho okna.
Dave Love <fx@gnu.org>
parents:
diff changeset
894
Dave Love <fx@gnu.org>
parents:
diff changeset
895
Dave Love <fx@gnu.org>
parents:
diff changeset
896 * REKURZIVN� EDITA�N� �ROVN�
Dave Love <fx@gnu.org>
parents:
diff changeset
897 ----------------------------
Dave Love <fx@gnu.org>
parents:
diff changeset
898
Dave Love <fx@gnu.org>
parents:
diff changeset
899 Ob�as se dostanete do n跏eho, co se naz�v� "rekurzivn� edita�n� �rove�"
Dave Love <fx@gnu.org>
parents:
diff changeset
900 ("recursive editing level"). To je indikov�no hranat�mi z�vorkami ve
Dave Love <fx@gnu.org>
parents:
diff changeset
901 stavov�m �dku obklopuj�c�mi z�vorky okolo jm�na hlavn�ho m�du.
Dave Love <fx@gnu.org>
parents:
diff changeset
902 Nap�klad m偰ete vid�t [(Fundamental)] m�sto (Fundamental).
Dave Love <fx@gnu.org>
parents:
diff changeset
903
Dave Love <fx@gnu.org>
parents:
diff changeset
904 Abyste se dostali z rekurzivn� edita�n� �rovn�, stiskn�te ESC ESC ESC.
Dave Love <fx@gnu.org>
parents:
diff changeset
905 To je obecn� "vyskakovac�" p�kaz. M偰ete jej pou壌t t蘊 pro odstran�n�
Dave Love <fx@gnu.org>
parents:
diff changeset
906 n�kter�ch oken a vysko�en� z minibufferu.
Dave Love <fx@gnu.org>
parents:
diff changeset
907
Dave Love <fx@gnu.org>
parents:
diff changeset
908 >> Stiskn�te M-x, abyste se dostali do minibufferu; pak stiskn�te
Dave Love <fx@gnu.org>
parents:
diff changeset
909 ESC ESC ESC, abyste se z n�j dostali ven.
Dave Love <fx@gnu.org>
parents:
diff changeset
910
Dave Love <fx@gnu.org>
parents:
diff changeset
911 Z rekurzivn� edita�n� �rovn� nem偰ete vysko�it pomoc� C-g. To proto, �e
Dave Love <fx@gnu.org>
parents:
diff changeset
912 C-g je vyu壌v�no pro ru�en� p�kaz� a argument� UVNIT� rekurzivn�
Dave Love <fx@gnu.org>
parents:
diff changeset
913 edita�n� vrstvy.
Dave Love <fx@gnu.org>
parents:
diff changeset
914
Dave Love <fx@gnu.org>
parents:
diff changeset
915
Dave Love <fx@gnu.org>
parents:
diff changeset
916 * Z�SK�N� DAL� N�POV�DY
Dave Love <fx@gnu.org>
parents:
diff changeset
917 ------------------------
Dave Love <fx@gnu.org>
parents:
diff changeset
918
Dave Love <fx@gnu.org>
parents:
diff changeset
919 V tomto tutori�lu jsme se pokusili poskytnout v�m dostatek informac�,
Dave Love <fx@gnu.org>
parents:
diff changeset
920 abyste mohli za蓁t Emacs pou壌vat. V Emacsu je toho tolik, �e by bylo
Dave Love <fx@gnu.org>
parents:
diff changeset
921 nemo�n� to zde v�echno objasnit. Nicm�n� se o Emacsu m偰ete nau�it
Dave Love <fx@gnu.org>
parents:
diff changeset
922 v�ce, proto�e m� mnoho u�ite�n�ch vlastnost�. Emacs nab�z� p�kazy pro
Dave Love <fx@gnu.org>
parents:
diff changeset
923 �ten� dokumentace sv�ch p�kaz�. V�echny tyto "help" p�kazy
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
924 za蓁naj� znakem CONTROL-h, kter� se naz�v� "help znak".
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
925
Dave Love <fx@gnu.org>
parents:
diff changeset
926 Pro pou�it� vlastnost� n�pov�dy stiskn�te znak C-h a pak znak �kaj�c�,
Dave Love <fx@gnu.org>
parents:
diff changeset
927 jak� druh n�pov�dy 鍾d�te. Jste-li OPRAVDU ztraceni, stiskn�te C-h ? a
Dave Love <fx@gnu.org>
parents:
diff changeset
928 Emacs v�m sd�l�, jak� druhy n�pov�dy v�m m偰e poskytnout. Jestli�e
Dave Love <fx@gnu.org>
parents:
diff changeset
929 jste stiskli C-h a pak jste se rozhodli, �e 鍾dnou n�pov�du nechcete,
Dave Love <fx@gnu.org>
parents:
diff changeset
930 jednodu�e to zru�te stiskem C-g.
Dave Love <fx@gnu.org>
parents:
diff changeset
931
Dave Love <fx@gnu.org>
parents:
diff changeset
932 (Na n�kter�ch po蓁ta蓁ch je v�znam znaku C-h zm�n�n. To by opravdu
Dave Love <fx@gnu.org>
parents:
diff changeset
933 nem�lo b�t obecn�m nastaven�m pro v�echny u�ivatele, tak�e m�te pr�vo
Dave Love <fx@gnu.org>
parents:
diff changeset
934 st貍ovat si syst�mov�mu administr�torovi. Do t� doby, jestli�e C-h
Dave Love <fx@gnu.org>
parents:
diff changeset
935 nezobrazuje hl畊en� o n�pov�d� v doln� 葹sti obrazovky, zkuste m�sto
Dave Love <fx@gnu.org>
parents:
diff changeset
936 toho pou壌vat kl�vesu F1 nebo M-x help RET.)
Dave Love <fx@gnu.org>
parents:
diff changeset
937
Dave Love <fx@gnu.org>
parents:
diff changeset
938 Nejz�kladn�j麹 help p�kaz je C-h c. Stiskn�te C-h, znak c a kl�vesov�
Dave Love <fx@gnu.org>
parents:
diff changeset
939 p�kaz; Emacs pak zobraz� velmi stru�n� popis p�kazu.
Dave Love <fx@gnu.org>
parents:
diff changeset
940
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
941 >> Stiskn�te C-h c C-p.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
942 Hl畊en� by m�lo vypadat asi takto
Dave Love <fx@gnu.org>
parents:
diff changeset
943
Dave Love <fx@gnu.org>
parents:
diff changeset
944 C-p runs the command previous-line
Dave Love <fx@gnu.org>
parents:
diff changeset
945
Dave Love <fx@gnu.org>
parents:
diff changeset
946 To v�m sd�luje "jm�no funkce". Jm�na funkc� jsou pou壌v�na zejm�na pro
Dave Love <fx@gnu.org>
parents:
diff changeset
947 konfiguraci a roz�i�ov�n� Emacsu. Ale proto�e jm�na funkc� jsou volena
Dave Love <fx@gnu.org>
parents:
diff changeset
948 tak, aby nazna�ovala, co odpov�daj�c� p�kaz d�l�, mohou slou�it tak�
Dave Love <fx@gnu.org>
parents:
diff changeset
949 jako velmi stru�n� dokumentace -- dostate�n� k tomu, aby v�m p�ipomenula
Dave Love <fx@gnu.org>
parents:
diff changeset
950 p�kazy, kter� jste se ji� nau�ili.
Dave Love <fx@gnu.org>
parents:
diff changeset
951
Dave Love <fx@gnu.org>
parents:
diff changeset
952 V�ceznakov� p�kazy jako C-x C-s a (pokud nem�te META, EDIT ani ALT
Dave Love <fx@gnu.org>
parents:
diff changeset
953 kl�vesu) <ESC>v jsou po C-h c povoleny tak�.
Dave Love <fx@gnu.org>
parents:
diff changeset
954
Dave Love <fx@gnu.org>
parents:
diff changeset
955 K z�sk�n� v�ce informac� o p�kazu m�sto C-h c pou�ijte C-h k.
Dave Love <fx@gnu.org>
parents:
diff changeset
956
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
957 >> Stiskn�te C-h k C-p.
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
958
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
959 To zobraz� dokumentaci k funkci a jej� jm�no v emacsov�m okn�. A�
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
960 v�stup p�e�tete, stiskn�te C-x 1, abyste se textu n�pov�dy zbavili.
Dave Love <fx@gnu.org>
parents:
diff changeset
961 Nemus�te to d�lat hned. M偰ete chv�li editovat a nahl躱et do textu
Dave Love <fx@gnu.org>
parents:
diff changeset
962 n�pov�dy a teprve pak stisknout C-x 1.
Dave Love <fx@gnu.org>
parents:
diff changeset
963
Dave Love <fx@gnu.org>
parents:
diff changeset
964 Zde jsou dal麹 u�ite�n� C-h volby:
Dave Love <fx@gnu.org>
parents:
diff changeset
965
Dave Love <fx@gnu.org>
parents:
diff changeset
966 C-h f Popis funkce. Zad�v�te jm�no funkce.
Dave Love <fx@gnu.org>
parents:
diff changeset
967
Dave Love <fx@gnu.org>
parents:
diff changeset
968 >> Zkuste napsat C-h f previous-line<Return>.
Dave Love <fx@gnu.org>
parents:
diff changeset
969 To vyp躪e ve�ker� informace, kter� Emacs m� o funkci implementuj�c�
Dave Love <fx@gnu.org>
parents:
diff changeset
970 p�kaz C-p.
Dave Love <fx@gnu.org>
parents:
diff changeset
971
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
972 Podobn� p�kaz C-h v zobraz� dokumentaci prom�nn�, jej躱 hodnotu
38707
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
973 m偰ete nastavit a zm�nit t�m chov�n� Emacsu. Jm�no prom�nn� zad�te, a�
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
974 se na n� Emacs zept�.
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
975
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
976 C-h a P�kazov� apropos. Zadejte kl辷ov� slovo a Emacs vyp躪e
Dave Love <fx@gnu.org>
parents:
diff changeset
977 v�echny p�kazy, jejich� jm�na obsahuj� toto kl辷ov�
Dave Love <fx@gnu.org>
parents:
diff changeset
978 slovo. V�echny tyto p�kazy mohou b�t vyvol�ny pomoc�
38689
99630a340b59 Be consistent when naming CONTROL and META keys.
Pavel Janík <Pavel@Janik.cz>
parents: 38688
diff changeset
979 META-x. Pro n�kter� p�kazy p�kazov� apropos vyp躪e
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
980 tak� jedno nebo dvouznakov� sekvence, kter� prov�d�j�
Dave Love <fx@gnu.org>
parents:
diff changeset
981 tent� p�kaz.
Dave Love <fx@gnu.org>
parents:
diff changeset
982
Dave Love <fx@gnu.org>
parents:
diff changeset
983 >> Napi�te C-h a file<Return>.
Dave Love <fx@gnu.org>
parents:
diff changeset
984
Dave Love <fx@gnu.org>
parents:
diff changeset
985 To zobraz� v druh�m okn� seznam v�ech M-x p�kaz� obsahuj�c�ch "file" ve
Dave Love <fx@gnu.org>
parents:
diff changeset
986 sv�m n�zvu. Znakov� p�kazy jako C-x C-f uvid�te vypsan� vedle
Dave Love <fx@gnu.org>
parents:
diff changeset
987 odpov�daj�c�ch jmen p�kaz� jako find-file.
Dave Love <fx@gnu.org>
parents:
diff changeset
988
Dave Love <fx@gnu.org>
parents:
diff changeset
989 >> Stiskn�te C-M-v pro posun okna s n�pov�dou. Prove�te to n�kolikr�t.
Dave Love <fx@gnu.org>
parents:
diff changeset
990
Dave Love <fx@gnu.org>
parents:
diff changeset
991 >> Stiskn�te C-x 1 pro smaz�n� okna s n�pov�dou.
Dave Love <fx@gnu.org>
parents:
diff changeset
992
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
993 C-h i �ten� on-line manu�l� (t蘊 Info). Tento p�kaz
38707
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
994 v�s p�epne do speci�ln�ho bufferu s n�zvem `*info*',
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
995 ve kter�m m偰ete 蓁st on-line manu�ly pro bal�ky
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
996 nainstalovan� na va�em syst�mu. Pokud stisknete
38707
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
997 m emacs <Return> m偰ete si nap�klad p�e蓁st manu�l
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
998 k Emacsu. Pokud jste dosud nikdy nepou壌vali Info,
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
999 stiskn�te ? a Emacs v�m p�edstav� hlavn� mo�nosti
38707
de39c1d96123 Update from Milan Zamazal.
Pavel Janík <Pavel@Janik.cz>
parents: 38690
diff changeset
1000 m�du pro Info. A� si tyto mo�nosti prostudujete,
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
1001 m�li byste pou壌vat Info manu�l Emacsu jako svoji
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
1002 prim�rn� dokumentaci.
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
1003
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
1004
Dave Love <fx@gnu.org>
parents:
diff changeset
1005 * Z�V�R
Dave Love <fx@gnu.org>
parents:
diff changeset
1006 -------
Dave Love <fx@gnu.org>
parents:
diff changeset
1007
Dave Love <fx@gnu.org>
parents:
diff changeset
1008 Nezapome�te, Emacs ukon蓁te proveden�m p�kazu C-x C-c. Pro do�asn�
Dave Love <fx@gnu.org>
parents:
diff changeset
1009 odskok do shellu, ze kter�ho se do Emacsu m偰ete op�t vr�tit,
Dave Love <fx@gnu.org>
parents:
diff changeset
1010 pou�ijte C-z.
Dave Love <fx@gnu.org>
parents:
diff changeset
1011
Dave Love <fx@gnu.org>
parents:
diff changeset
1012 Z�m�rem tohoto tutori�lu je b�t srozumiteln� v�em nov�m u�ivatel�m, tak�e
Dave Love <fx@gnu.org>
parents:
diff changeset
1013 naraz�te-li na n�co nejasn�ho, tak neusedejte a nekla�te to za vinu sob�
Dave Love <fx@gnu.org>
parents:
diff changeset
1014 -- st貍ujte si!
Dave Love <fx@gnu.org>
parents:
diff changeset
1015
Dave Love <fx@gnu.org>
parents:
diff changeset
1016
Dave Love <fx@gnu.org>
parents:
diff changeset
1017 KOP�ROV�N�
Dave Love <fx@gnu.org>
parents:
diff changeset
1018 ----------
Dave Love <fx@gnu.org>
parents:
diff changeset
1019
38688
0346e04a4659 Czech tutorial updated.
Pavel Janík <Pavel@Janik.cz>
parents: 25853
diff changeset
1020 Tento tutori�l vych�z� z dlouh� �ady emacsov�ch tutori�l� zah�jen�
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
1021 tutori�lem napsan�m Stuartem Cracraftem pro p�vodn� Emacs.
Dave Love <fx@gnu.org>
parents:
diff changeset
1022
Dave Love <fx@gnu.org>
parents:
diff changeset
1023 Tato verze tutori�lu je, podobn� jako GNU Emacs, chr�n�na copyrightem a
Dave Love <fx@gnu.org>
parents:
diff changeset
1024 je 麹�ena se svolen�m distribuovat kopie za jist�ch podm�nek:
Dave Love <fx@gnu.org>
parents:
diff changeset
1025
Dave Love <fx@gnu.org>
parents:
diff changeset
1026 Copyright (c) 1985, 1996 Free Software Foundation
Dave Love <fx@gnu.org>
parents:
diff changeset
1027
Dave Love <fx@gnu.org>
parents:
diff changeset
1028 Ka�d�mu je zaru�eno pr�vo vytv癢et a distribuovat p�esn� kopie tohoto
Dave Love <fx@gnu.org>
parents:
diff changeset
1029 dokumentu tak, jak jej obdr�el, na jak�mkoliv m�diu, s t�m, �e bude
Dave Love <fx@gnu.org>
parents:
diff changeset
1030 zachov�na tato pozn�mka o autorstv� a pozn�mka o svolen� a �e
Dave Love <fx@gnu.org>
parents:
diff changeset
1031 distributor zaru�uje p�jemci pr�vo na dal麹 redistribuci povolenou
Dave Love <fx@gnu.org>
parents:
diff changeset
1032 touto pozn�mkou.
Dave Love <fx@gnu.org>
parents:
diff changeset
1033
Dave Love <fx@gnu.org>
parents:
diff changeset
1034 Je zaru�eno pr�vo distribuovat modifikovan� verze tohoto dokumentu
Dave Love <fx@gnu.org>
parents:
diff changeset
1035 nebo jeho 葹st� pod v�e uveden�mi podm�nkami za p�edpokladu, �e
Dave Love <fx@gnu.org>
parents:
diff changeset
1036 obsahuje jasn� pozn�mky uv�d�j�c�, kdo provedl posledn� modifikace.
Dave Love <fx@gnu.org>
parents:
diff changeset
1037
Dave Love <fx@gnu.org>
parents:
diff changeset
1038 Podm�nky pro kop�rov�n� Emacsu samotn�ho jsou slo�it�j麹, av�ak ve
Dave Love <fx@gnu.org>
parents:
diff changeset
1039 stejn�m duchu. P�e�t�te si pros�m soubor COPYING a pak p�ed�vejte kopie
Dave Love <fx@gnu.org>
parents:
diff changeset
1040 GNU Emacsu sv�m p�tel�m. Pom�hejte pot�rat softwarovou obstrukci
Dave Love <fx@gnu.org>
parents:
diff changeset
1041 ("vlastnictv�") pou壌v�n�m, psan�m a sd�len�m free softwaru!
Dave Love <fx@gnu.org>
parents:
diff changeset
1042
Dave Love <fx@gnu.org>
parents:
diff changeset
1043 ;;; Local Variables:
Dave Love <fx@gnu.org>
parents:
diff changeset
1044 ;;; coding: iso-latin-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1045 ;;; End:
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
1046
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
1047 ;;; arch-tag: 479ef577-3d4d-4384-aeea-9fe79d5e89ca