]> code.delx.au - gnu-emacs/blob - etc/refcards/pl-refcard.tex
Add 2009 to copyright years.
[gnu-emacs] / etc / refcards / pl-refcard.tex
1 %&mex
2 %=====================================================================
3 % Reference Card for GNU Emacs version 20 on Unix systems was
4 % translated into Polish language by W{\l}odek Bzyl (matwb@univ.gda.pl)
5 % who also added new section on `Dired' and added info about Polish
6 % support in Emacs to section `International Character Sets'.
7
8 % This file uses macros and fonts defined in the mex format.
9 % These macros and fonts are part of a current WEB2C
10 % distribution of TeX, for example teTeX (unix) fpTeX (windows).
11 % TeTeX comes with texconfig utility which could be used in
12 % particular to generate formats. Just run it and follow instructions.
13 %
14 % Note that the original Emacs refcard.tex uses macros and fonts
15 % defined in plain format. This file uses mex format which is
16 % a Polish adaptation of plain.
17
18 %**start of header
19
20 \ifx\MeX\undefined
21 \errmessage{This file requires `mex' format to be typeset correctly.
22 See head of this file for the comments how to generate mex format}
23 \endinput
24 \else
25 \prefixing
26 \fi
27
28 \newcount\columnsperpage
29
30 % This file can be printed with 1, or 2 columns per page (see below).
31 % Specify how many you want here.
32
33 \columnsperpage=2
34
35 % PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
36 % a landscape layout.
37
38 \input pdflayout.sty
39 \pdflayout=(0)
40
41 % Nothing else needs to be changed.
42 % Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005,
43 % 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
44
45 % This file is part of GNU Emacs.
46
47 % GNU Emacs is free software: you can redistribute it and/or modify
48 % it under the terms of the GNU General Public License as published by
49 % the Free Software Foundation, either version 3 of the License, or
50 % (at your option) any later version.
51
52 % GNU Emacs is distributed in the hope that it will be useful,
53 % but WITHOUT ANY WARRANTY; without even the implied warranty of
54 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55 % GNU General Public License for more details.
56
57 % You should have received a copy of the GNU General Public License
58 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
59
60 % This file is intended to be processed by plain TeX (TeX82).
61 %
62 % The final reference card has six columns, three on each side.
63 % This file can be used to produce it in any of three ways:
64 % 1 column per page
65 % produces six separate pages, each of which needs to be reduced to 80%.
66 % This gives the best resolution.
67 % 2 columns per page
68 % produces three already-reduced pages.
69 % You will still need to cut and paste.
70 % Which mode to use is controlled by setting \columnsperpage above.
71 %
72 % Author:
73 % Stephen Gildea
74 % Internet: gildea@stop.mail-abuse.org
75 %
76 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
77 % for their many good ideas.
78
79 % If there were room, it would be nice to see a section on Dired.
80
81 \def\versionnumber{1.2}
82 \def\versionemacs{22}
83 \def\versiondate{czerwiec 2006} % latest update
84 \def\year{2008} % latest copyright year
85
86 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
87 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
88 Permissions on back. Version \versionnumber}}
89
90 \def\copyrightnotice{
91 \vskip 1ex plus 2 fill\begingroup\small
92 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
93 \centerline{Wersja \versionnumber{} dla GNU Emacsa \versionemacs,
94 \versiondate}
95 \centerline{projekt Stephen Gildea}
96 \centerline{t/lumaczenie W/lodek Bzyl}
97
98 Permission is granted to make and distribute copies of
99 this card provided the copyright notice and this permission notice
100 are preserved on all copies.
101
102 For copies of the GNU Emacs manual, write to the Free Software
103 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
104
105 \endgroup}
106
107 % make \bye not \outer so that the \def\bye in the \else clause below
108 % can be scanned without complaint.
109 \def\bye{\par\vfill\supereject\end}
110
111 \newdimen\intercolumnskip %horizontal space between columns
112 \newbox\columna %boxes to hold columns already built
113 \newbox\columnb
114
115 \def\ncolumns{\the\columnsperpage}
116
117 \message{[\ncolumns\space
118 column\if 1\ncolumns\else s\fi\space per page]}
119
120 \def\scaledmag#1{ scaled \magstep #1}
121
122 % This multi-way format was designed by Stephen Gildea October 1986.
123 % Note that the 1-column format is fontfamily-independent.
124 \if 1\ncolumns %one-column format uses normal size
125 \hsize 4in
126 \vsize 10in
127 % \voffset -.7in
128 \font\titlefont=\fontname\tenbf \scaledmag3
129 \font\headingfont=\fontname\tenbf \scaledmag2
130 \font\smallfont=\fontname\sevenrm
131 \font\smallsy=\fontname\sevensy
132
133 \footline{\hss\folio}
134 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
135 \else %2 or 3 columns uses prereduced size
136 \hsize 3.2in
137 \vsize 7.95in
138 % \hoffset -.75in
139 % \voffset -.745in
140 \font\titlefont=plbx10 \scaledmag2
141 \font\headingfont=plbx10 \scaledmag1
142 \font\smallfont=plr6
143 \font\smallsy=plsy6
144 \font\eightrm=plr8
145 \font\eightbf=plbx8
146 \font\eightit=plti8
147 \font\eighttt=pltt8
148 \font\eightmi=plmi8
149 \font\eightsy=plsy8
150 \textfont0=\eightrm
151 \textfont1=\eightmi
152 \textfont2=\eightsy
153 \def\rm{\eightrm}
154 \def\bf{\eightbf}
155 \def\it{\eightit}
156 \def\tt{\eighttt}
157 \normalbaselineskip=.8\normalbaselineskip
158 \normallineskip=.8\normallineskip
159 \normallineskiplimit=.8\normallineskiplimit
160 \setbox\strutbox=\hbox{\vrule height6.5pt depth2.5pt width0pt}
161 \normalbaselines\rm %make definitions take effect
162
163 \if 2\ncolumns
164 \let\maxcolumn=b
165 \footline{\hss\rm\folio\hss}
166 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
167 \else
168 % \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
169 % \errmessage{Illegal number of columns per page}
170 \errhelp{\columnsperpage powinna by/c r/owna 1 albo 2.}
171 \errmessage{Niedozwolona liczba kolumn na stronie.}
172 \fi
173
174 \intercolumnskip=.46in
175 \def\abc{a}
176 \output={% %see The TeXbook page 257
177 % This next line is useful when designing the layout.
178 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
179 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
180 \else\if a\abc
181 \global\setbox\columna\columnbox \global\def\abc{b}
182 %% in case we never use \columnb (two-column mode)
183 \global\setbox\columnb\hbox to -\intercolumnskip{}
184 \else
185 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
186 \def\multicolumnformat{\shipout\vbox{\makeheadline
187 \hbox{\box\columna\hskip\intercolumnskip
188 \box\columnb\hskip\intercolumnskip\columnbox}
189 \makefootline}\advancepageno}
190 \def\columnbox{\leftline{\pagebody}}
191
192 \def\bye{\par\vfill\supereject
193 \if a\abc \else\null\vfill\eject\fi
194 \if a\abc \else\null\vfill\eject\fi
195 \end}
196 \fi
197
198 % we won't be using math mode much, so redefine some of the characters
199 % we might want to talk about
200 \catcode`\^=12
201 \catcode`\_=12
202
203 \chardef\\=`\\
204 \chardef\{=`\{
205 \chardef\}=`\}
206
207 %\hyphenation{mini-buf-fer}
208
209 \parindent 0pt
210 \parskip 1ex plus .5ex minus .5ex
211
212 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
213
214 % newcolumn - force a new column. Use sparingly, probably only for
215 % the first column of a page, which should have a title anyway.
216 \outer\def\newcolumn{\vfill\eject}
217
218 % title - page title. Argument is title text.
219 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
220
221 % section - new major section. Argument is section name.
222 \outer\def\section#1{\par\filbreak
223 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
224 \vskip 2ex plus 1ex minus 1.5ex}
225
226 \newdimen\keyindent
227
228 % beginindentedkeys...endindentedkeys - key definitions will be
229 % indented, but running text, typically used as headings to group
230 % definitions, will not.
231 \def\beginindentedkeys{\keyindent=1em}
232 \def\endindentedkeys{\keyindent=0em}
233 \endindentedkeys
234
235 % paralign - begin paragraph containing an alignment.
236 % If an \halign is entered while in vertical mode, a parskip is never
237 % inserted. Using \paralign instead of \halign solves this problem.
238 \def\paralign{\vskip\parskip\halign}
239
240 % \<...> - surrounds a variable name in a code example
241 \def\<#1>{{\it #1\/}}
242
243 % kbd - argument is characters typed literally. Like the Texinfo command.
244 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
245
246 % beginexample...endexample - surrounds literal text, such a code example.
247 % typeset in a typewriter font with line breaks preserved
248 \def\beginexample{\par\leavevmode\begingroup
249 \obeylines\obeyspaces\parskip0pt\tt}
250 {\obeyspaces\global\let =\ }
251 \def\endexample{\endgroup}
252
253 % (WB) -- changed macros
254
255 % key - definition of a key.
256 % \key{description of key}{key-name}
257 % prints the description left-justified, and the key-name in a \kbd
258 % form near the right margin.
259 %\def\key#1#2{\leavevmode\hbox to \hsize{\vtop
260 % {\hsize=.75\hsize\rightskip=1em
261 % \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
262 \def\key#1#2{\leavevmode\hbox to \hsize{\vbox
263 {\hsize=.75\hsize\rightskip=1em
264 \raggedright
265 \hskip\keyindent\hangindent=1em\strut#1\strut\par}\kbd{\quad#2}\hss}}
266
267 \newbox\metaxbox
268 \setbox\metaxbox\hbox{\kbd{M-x }}
269 \newdimen\metaxwidth
270 \metaxwidth=\wd\metaxbox
271
272 % metax - definition of a M-x command.
273 % \metax{description of command}{M-x command-name}
274 % Tries to justify the beginning of the command name at the same place
275 % as \key starts the key name. (The "M-x " sticks out to the left.)
276 %\def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
277 % {\hskip\keyindent\relax#1\hfil}%
278 % \hskip -\metaxwidth minus 1fil
279 % \kbd{#2}\hfil}}
280 \def\metax#1#2{\leavevmode\hbox to \hsize{\vbox
281 {\hsize=.74\hsize\rightskip=1em
282 \raggedright
283 \hskip\keyindent\hangindent=1em\strut#1\strut\par}%
284 \hskip-\metaxwidth minus 1fil
285 \kbd{#2}\hss}}
286
287 % threecol - like "key" but with two key names.
288 % for example, one for doing the action backward, and one for forward.
289 %\def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
290 % &\kbd{#3}\hfill\quad\cr}
291 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
292 &\kbd{#3}\hfill\cr}
293 \def\threecolheader#1#2#3{\threecol#1#2#3\noalign{\smallskip}}
294
295 % (WB) -- new macros
296
297 \newdimen\raggedstretch
298 \newskip\raggedparfill \raggedparfill=0pt plus 1fil
299 \def\nohyphens
300 {\hyphenpenalty10000\exhyphenpenalty10000\pretolerance10000}
301 \def\raggedspaces
302 {\spaceskip=0.3333em\relax
303 \xspaceskip=0.5em\relax}
304 \def\raggedright
305 {\raggedstretch=6em
306 \nohyphens
307 \rightskip=0pt plus \raggedstretch
308 \raggedspaces
309 \parfillskip=\raggedparfill
310 \relax}
311 \def\newline{\hfil\break}
312
313 \hfuzz=3pt
314
315 %**end of header
316 \f
317
318 %\title{GNU Emacs Reference Card}
319 \title{Przegl/ad polece/n GNU Emacsa}
320
321 \centerline{(dla wersji \versionemacs)}
322
323 \section{Uruchamianie Emacsa}
324
325 %To enter GNU Emacs 20, just type its name: \kbd{emacs}
326 Aby uruchomi/c GNU Emacsa \versionemacs, napisz jego nazw/e: \kbd{emacs}
327
328 %To read in a file to edit, see Files, below.
329 Aby wczyta/c plik do edycji, patrz rozdzia/l {\bf Pliki} poni/zej.
330
331 \section{Opuszczanie Emacsa}
332
333 %\key{suspend Emacs (or iconify it under X)}{C-z}
334 \key{tymczasowe zatrzymanie Emacsa}{C-z}
335 %\key{exit Emacs permanently}{C-x C-c}
336 \key{zako/nczenie sesji z Emacsem}{C-x C-c}
337
338 \section{Pliki}
339
340 \key{{\bf wczytaj} plik do Emacsa}{C-x C-f}
341 \key{{\bf zapisz} plik na dysk}{C-x C-s}
342 \key{zapisz {\bf wszystkie} pliki}{C-x s}
343 \key{{\bf wstaw} zawarto/s/c innego pliku do bufora}{C-x i}
344 %\key{replace this file with the file you really want}{C-x C-v}
345 \key{zamie/n plik w buforze na inny}{C-x C-v}
346 %\key{write buffer to a specified file}{C-x C-w}
347 \key{zapisz bufor do pliku z podaniem nazwy}{C-x C-w}
348 %\key{version control checkin//checkout}{C-x C-q}
349 \key{kontrola wersji pliku `checkin//checkout'}{C-x C-q}
350
351 %\section{Getting Help}
352 \section{Uzyskiwanie pomocy}
353
354 %The help system is simple. Type \kbd{C-h} (or \kbd{F1}) and follow
355 %the directions. If you are a first-time user, type \kbd{C-h t} for a
356 %{\bf tutorial}.
357 Napisz \kbd{C-h} (lub \kbd{F1}) i post/epuj
358 wed/lug dalszych instrukcji. Je/sli jeste/s pocz/atkuj/acym u/zytkownikiem,
359 napisz \kbd{C-u C-h t Polish} aby wywo/la/c {\bf samouczek} Emacsa
360 po polsku.
361
362 %\key{remove help window}{C-x 1}
363 %\key{scroll help window}{C-M-v}
364 \key{usu/n okno pomocy}{C-x 1}
365 \key{przewi/n okno pomocy}{C-M-v}
366
367 %\key{apropos: show commands matching a string}{C-h a}
368 %\key{show the function a key runs}{C-h c}
369 %\key{describe a function}{C-h f}
370 %\key{get mode-specific information}{C-h m}
371 \key{apropos: poka/z polecenia zgodne z napisem}{C-h a}
372 \key{poka/z funkcj/e uruchamian/a przez klawisz}{C-h c}
373 \key{opisz funkcj/e}{C-h f}
374 \key{poka/z informacj/e odnosz/ac/a si/e do trybu}{C-h m}
375
376
377 %\section{Error Recovery}
378 %\section{Powr/ot do sytuacji wyj/sciowej w przypadku b/l/ed/ow}
379 \section{Usuwanie b/l/ed/ow}
380
381 %\key{{\bf abort} partially typed or executing command}{C-g}
382 %\metax{{\bf recover} a file lost by a system crash}{M-x recover-file}
383 %\key{{\bf undo} an unwanted change}{C-x u {\rm or} C-_}
384 %\metax{restore a buffer to its original contents}{M-x revert-buffer}
385 %\key{redraw garbaged screen}{C-l}
386 \key{{\bf przerwij} cz/e/sciowo napisane lub\newline wykonywane polecenie}{C-g}
387 \metax{{\bf odzyskaj} plik zgubiony w wyniku\newline za/lamania systemu}
388 {M-x recover-file}
389 \key{{\bf anuluj} niechcian/a zmian/e}{C-x u {\rm lub} C-_}
390 \metax{wczytaj plik wg aktualnej zawarto/sci na dysku}{M-x revert-buffer}
391 \key{uporz/adkuj za/smiecony ekran}{C-l}
392
393 \shortcopyrightnotice
394
395 %\section{Incremental Search}
396 \section{Szukanie przyrostowe}
397
398 %\key{search forward}{C-s}
399 %\key{search backward}{C-r}
400 %\key{regular expression search}{C-M-s}
401 %\key{reverse regular expression search}{C-M-r}
402 \key{szukaj wprz/od//wstecz ({\tt C-f} aby zako/nczy/c)}{C-s//C-r}
403 \key{szukaj wprz/od tekstu zgodnego z~wpisywanym wyra/zeniem regularnym}{C-M-s}
404 \key{szukaj wstecz tekstu zgodnego z~wpisywanym wyra/zeniem regularnym}{C-M-r}
405
406 %\key{select previous search string}{M-p}
407 %\key{select next later search string}{M-n}
408 %\key{exit incremental search}{RET}
409 %\key{undo effect of last character}{DEL}
410 %\key{abort current search}{C-g}
411 \key{wybierz poprzedni napis}{M-p}
412 \key{wybierz nast/epny napis}{M-n}
413 \key{zako/ncz szukanie przyrostowe}{RET}
414 \key{anuluj rezultat ostatniej poprawki}{DEL}
415 \key{przerwij szukanie}{C-g}
416
417 %Use \kbd{C-s} or \kbd{C-r} again to repeat the search in either direction.
418 %If Emacs is still searching, \kbd{C-g} cancels only the part not done.
419 Ponowne \kbd{C-s}//\kbd{C-r} powtarza szukanie wprz/od//wstecz.
420 %If Emacs is still searching, \kbd{C-g} cancels only the part not done.
421 % Patrz wyja/snienie powy/zej.
422
423 \section{Przemieszczanie kursora}
424
425 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
426 %\threecol{{\bf entity to move over}}{{\bf backward}}{{\bf forward}}
427 %\threecol{character}{C-b}{C-f}
428 %\threecol{word}{M-b}{M-f}
429 %\threecol{line}{C-p}{C-n}
430 %\threecol{go to line beginning (or end)}{C-a}{C-e}
431 %\threecol{sentence}{M-a}{M-e}
432 %\threecol{paragraph}{M-\{}{M-\}}
433 %\threecol{page}{C-x [}{C-x ]}
434 %\threecol{sexp}{C-M-b}{C-M-f}
435 %\threecol{function}{C-M-a}{C-M-e}
436 %\threecol{go to buffer beginning (or end)}{M-<}{M->}
437 \threecolheader{{\bf przemie/s/c kursor}}{{\bf wstecz}}{{\bf wprz/od}}
438 \threecol{o znak}{C-b}{C-f}
439 \threecol{o s/lowo}{M-b}{M-f}
440 \threecol{o lini/e wy/zej//ni/zej}{C-p}{C-n}
441 \threecol{na pocz/atek//koniec linii}{C-a}{C-e}
442 \threecol{o zdanie}{M-a}{M-e}
443 \threecol{o akapit}{M-\{}{M-\}}
444 \threecol{o stron/e}{C-x [}{C-x ]}
445 \threecol{o s-wyra/zenie}{C-M-b}{C-M-f}
446 \threecol{na pocz/atek//koniec funkcji}{C-M-a}{C-M-e}
447 \threecol{na pocz/atek//koniec bufora}{M-<}{M->}
448 }
449
450 %\key{scroll to next screen}{C-v}
451 %\key{scroll to previous screen}{M-v}
452 %\key{scroll left}{C-x <}
453 %\key{scroll right}{C-x >}
454 %\key{scroll current line to center of screen}{C-u C-l}
455 \key{przewi/n do nast/epnego ekranu}{C-v}
456 \key{przewi/n do poprzedniego ekranu}{M-v}
457 \key{przewi/n w lewo}{C-x <}
458 \key{przewi/n w prawo}{C-x >}
459 \key{umie/s/c lini/e z kursorem na /srodku ekranu}{C-u C-l}
460
461
462 %\section{Killing and Deleting}
463 \section{Kasowanie i usuwanie}
464
465 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
466 %\threecol{{\bf entity to kill}}{{\bf backward}}{{\bf forward}}
467 %\threecol{character (delete, not kill)}{DEL}{C-d}
468 %\threecol{word}{M-DEL}{M-d}
469 %\threecol{line (to end of)}{M-0 C-k}{C-k}
470 %\threecol{sentence}{C-x DEL}{M-k}
471 %\threecol{sexp}{M-- C-M-k}{C-M-k}
472 \threecolheader{{\bf obiekt do skasowania}}{{\bf wstecz}}{{\bf wprz/od}}
473 \threecol{znak (usu/n, nie kasuj)}{DEL}{C-d}
474 \threecol{s/lowo}{M-DEL}{M-d}
475 \threecol{linia (od kursora do ko/nca)}{M-0 C-k}{C-k}
476 \threecol{zdanie}{C-x DEL}{M-k}
477 \threecol{s-wyra/zenie}{M-- C-M-k}{C-M-k}
478 }
479
480 %\key{kill {\bf region}}{C-w}
481 %\key{copy region to kill ring}{M-w}
482 %\key{kill through next occurrence of {\it char}}{M-z {\it char}}
483 \key{kasuj obszar}{C-w}
484 \key{wstaw obszar do `kill ring'}{M-w}
485 \key{kasuj wszystko a/z do wyst/apienia {\it char}}{M-z {\it char}}
486
487 %\key{yank back last thing killed}{C-y}
488 %\key{replace last yank with previous kill}{M-y}
489 \key{wstaw ostatnio skasowany obiekt}{C-y}
490 \key{zamie/n wstawiony obiekt z uprzednio skasowanym}{M-y}
491
492 %\section{Marking}
493 \section{Zaznaczanie}
494
495 %\key{set mark here}{C-@ {\rm or} C-SPC}
496 %\key{exchange point and mark}{C-x C-x}
497 \key{wstaw znacznik w pozycji kursora}{C-@ {\rm or} C-SPC}
498 \key{zamie/n pozycje kursora i znacznika}{C-x C-x}
499
500 %\key{set mark {\it arg\/} {\bf words} away}{M-@}
501 %\key{mark {\bf paragraph}}{M-h}
502 %\key{mark {\bf page}}{C-x C-p}
503 %\key{mark {\bf sexp}}{C-M-@}
504 %\key{mark {\bf function}}{C-M-h}
505 %\key{mark entire {\bf buffer}}{C-x h}
506 \key{zaznacz s/lowo po {\it arg\/} s/l/ow}{M-@}
507 \key{zaznacz akapit}{M-h}
508 \key{zaznacz stron/e}{C-x C-p}
509 \key{zaznacz s-wyra/zenie}{C-M-@}
510 \key{zaznacz funkcj/e}{C-M-h}
511 \key{zaznacz ca/ly bufor}{C-x h}
512
513 %\section{Query Replace}
514 \section{Zamiana z zapytaniem}
515
516 %\key{interactively replace a text string}{M-\%}
517 %\metax{using regular expressions}{M-x query-replace-regexp}
518 \key{zamiana tekstu w trybie interakcyjnym}{M-\%}
519 \key{z u/zyciem wyra/ze/n regularnych}{C-M-\%}
520
521 %Valid responses in query-replace mode are
522 Odpowiedzi w interakcyjnym trybie zamiany:
523
524 %\key{{\bf replace} this one, go on to next}{SPC}
525 %\key{replace this one, don't move}{,}
526 %\key{{\bf skip} to next without replacing}{DEL}
527 %\key{replace all remaining matches}{!}
528 %\key{{\bf back up} to the previous match}{^}
529 %\key{{\bf exit} query-replace}{RET}
530 %\key{enter recursive edit (\kbd{C-M-c} to exit)}{C-r}
531 \key{{\bf zamie/n} i wyszukaj nast/epny tekst}{SPC}
532 \key{zamie/n nie przemieszczaj/ac kursora}{,}
533 \key{{\bf nie zamieniaj} i wyszukaj nast/epny tekst}{DEL}
534 \key{wyszukaj i zamie/n wszystkie pozosta/le teksty}{!}
535 \key{{\bf powr/o/c} do poprzedniej zamiany}{^}
536 \key{{\bf zako/ncz} zamian/e interakcyjn/a}{RET}
537 \key{wejd/x do trybu rekursywnej edycji (\kbd{C-M-c} aby zako/nczy/c)}{C-r}
538
539 %\section{Multiple Windows}
540 \section{Wiele okien}
541
542 %When two commands are shown, the second is for ``other frame.''
543 Drugie z polece/n dotyczy ,,innej ramki''
544
545 %\key{delete all other windows}{C-x 1}
546 \key{usu/n pozosta/le okna}{C-x 1}
547
548 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0
549 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
550 %\threecol{split window, above and below}{C-x 2\ \ \ \ }{C-x 5 2}
551 %\threecol{delete this window}{C-x 0\ \ \ \ }{C-x 5 0}
552 \threecol{podziel okno (jedno nad drugim)}{C-x 2\ \ \ \ }{C-x 5 2}
553 \threecol{usu/n okno}{C-x 0\ \ \ \ }{C-x 5 0}
554 }}
555 %\key{split window, side by side}{C-x 3}
556 \key{podziel okno (jedno obok drugiego)}{C-x 3}
557
558 \key{przewijaj w innym oknie}{C-M-v}
559
560 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 2\wd0
561 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
562 %\threecol{switch cursor to another window}{C-x o}{C-x 5 o}
563 %\threecol{select buffer in other window}{C-x 4 b}{C-x 5 b}
564 %\threecol{display buffer in other window}{C-x 4 C-o}{C-x 5 C-o}
565 %\threecol{find file in other window}{C-x 4 f}{C-x 5 f}
566 %\threecol{find file read-only in other window}{C-x 4 r}{C-x 5 r}
567 %\threecol{run Dired in other window}{C-x 4 d}{C-x 5 d}
568 %\threecol{find tag in other window}{C-x 4 .}{C-x 5 .}
569 \threecol{przenie/s kursor do innego okna}{C-x o}{C-x 5 o}
570 \threecol{wybierz bufor w innym oknie}{C-x 4 b}{C-x 5 b}
571 \threecol{poka/z bufor w innym oknie}{C-x 4 C-o}{C-x 5 C-o}
572 \threecol{znajd/x plik i poka/z go w innym oknie}{C-x 4 f}{C-x 5 f}
573 \threecol{jak wy/zej, tylko w trybie do czytania}{C-x 4 r}{C-x 5 r}
574 \threecol{uruchom `Dired' w innym oknie}{C-x 4 d}{C-x 5 d}
575 \threecol{znajd/x definicj/e w innym oknie}{C-x 4 .}{C-x 5 .}
576 }}
577
578 %\key{grow window taller}{C-x ^}
579 %\key{shrink window narrower}{C-x \{}
580 %\key{grow window wider}{C-x \}}
581 \key{powi/eksz okno w pionie}{C-x ^}
582 \key{zmniejsz okno w poziomie}{C-x \{}
583 \key{poszerz okno}{C-x \}}
584
585 %\section{Formatting}
586 \section{Formatowanie}
587
588 %\key{indent current {\bf line} (mode-dependent)}{TAB}
589 %\key{indent {\bf region} (mode-dependent)}{C-M-\\}
590 %\key{indent {\bf sexp} (mode-dependent)}{C-M-q}
591 %\key{indent region rigidly {\it arg\/} columns}{C-x TAB}
592 \key{wetnij bie/z/ac/a {\bf lini/e} (zale/zne od trybu)}{TAB}
593 \key{wetnij {\bf obszar} (zale/zne od trybu)}{C-M-\\}
594 \key{wetnij {\bf s-wyra/zenie} (zale/zne od trybu)}{C-M-q}
595 \key{wetnij obszar o {\it arg\/} kolumn}{C-x TAB}
596
597 %\key{insert newline after point}{C-o}
598 %\key{move rest of line vertically down}{C-M-o}
599 %\key{delete blank lines around point}{C-x C-o}
600 %\key{join line with previous (with arg, next)}{M-^}
601 %\key{delete all white space around point}{M-\\}
602 %\key{put exactly one space at point}{M-SPC}
603 \key{wstaw now/a lini/e za kursorem}{C-o}
604 \key{przesu/n cz/e/s/c linii za kursorem w d/o/l }{C-M-o}
605 \key{usu/n puste linie wok/o/l kursora}{C-x C-o}
606 \key{po/l/acz lini/e z poprzedni/a (z {\it arg\/} -- z nast/epn/a)}{M-^}
607 \key{usu/n odst/epy dooko/la kursora}{M-\\}
608 \key{pozostaw dok/ladnie jedn/a spacj/e w pozycji kursora}{M-SPC}
609
610 %\key{fill paragraph}{M-q}
611 %\key{set fill column}{C-x f}
612 %\key{set prefix each line starts with}{C-x .}
613 \key{wype/lnij akapit}{M-q}
614 \key{ustaw numer kolumny dla trybu wype/lniania}{C-x f}
615 \key{ustaw przedrostek dla ka/zdego nowego wiersza}{C-x .}
616
617 %\key{set face}{M-g}
618 \key{ustaw czcionk/e}{M-g}
619
620 %\section{Case Change}
621 \section{Zamiana wielko/sci liter}
622
623 %\key{uppercase word}{M-u}
624 %\key{lowercase word}{M-l}
625 %\key{capitalize word}{M-c}
626 \key{zamie/n w s/lowie litery ma/le na du/ze}{M-u}
627 \key{zamie/n w s/lowie litery du/ze na ma/le}{M-l}
628 \key{zamie/n pierwsz/a liter/e w s/lowie na du/z/a}{M-c}
629
630 %\key{uppercase region}{C-x C-u}
631 %\key{lowercase region}{C-x C-l}
632 \key{zamie/n w obszarze litery ma/le na du/ze}{C-x C-u}
633 \key{zamie/n w obszarze litery du/ze na ma/le}{C-x C-l}
634
635 %\section{The Minibuffer}
636 \section{Minibufor}
637
638 %The following keys are defined in the minibuffer.
639 % Inne te/z s/a maj/a przypisane funkcje..
640
641 %\key{complete as much as possible}{TAB}
642 %\key{complete up to one word}{SPC}
643 %\key{complete and execute}{RET}
644 %\key{show possible completions}{?}
645 %\key{fetch previous minibuffer input}{M-p}
646 %\key{fetch later minibuffer input or default}{M-n}
647 %\key{regexp search backward through history}{M-r}
648 %\key{regexp search forward through history}{M-s}
649 %\key{abort command}{C-g}
650 \key{uzupe/lnij tekst o tyle o ile jest to mo/zliwe}{TAB}
651 \key{uzupe/lnij o jedno s/lowo}{SPC}
652 \key{uzupe/lnij i wykonaj}{RET}
653 \key{poka/z mo/zliwe uzupe/lnienia}{?}
654 \key{przywo/laj uprzednio wprowadzony tekst do minibufora}{M-p}
655 \key{przywo/laj nast/epny tekst z~`kill ring' do minibufora}{M-n}
656 \key{wyszukuj wstecz poprzez histori/e wprowadze/n}{M-r}
657 \key{wyszukuj wprz/od poprzez histori/e wprowadze/n}{M-s}
658 \key{przerwij wykonywane polecenie}{C-g}
659
660 %Type \kbd{C-x ESC ESC} to edit and repeat the last command that used the
661 %minibuffer. Type \kbd{F10} to activate the menu bar using the minibuffer.
662 Napisz \kbd{C-x ESC ESC} aby poprawia/c i wykona/c polecenie,
663 kt/ore ostatnio u/zywa/lo minibufora.
664 Napisz \kbd{F10} aby uaktywni/c menu w minibuforze.
665
666
667 \newcolumn
668 %\title{GNU Emacs Reference Card}
669 \title{Przegl/ad polece/n GNU Emacsa}
670
671 \section{Bufory}
672
673 %\key{select another buffer}{C-x b}
674 %\key{list all buffers}{C-x C-b}
675 %\key{kill a buffer}{C-x k}
676 \key{wybierz inny bufor}{C-x b}
677 \key{poka/z spis wszystkich bufor/ow}{C-x C-b}
678 \key{skasuj bufor}{C-x k}
679
680 %\section{Transposing}
681 \section{Przestawianie}
682
683 %\key{transpose {\bf characters}}{C-t}
684 %\key{transpose {\bf words}}{M-t}
685 %\key{transpose {\bf lines}}{C-x C-t}
686 %\key{transpose {\bf sexps}}{C-M-t}
687 \key{przestaw {\bf znaki}}{C-t}
688 \key{przestaw {\bf s/lowa}}{M-t}
689 \key{przestaw {\bf linie}}{C-x C-t}
690 \key{przestaw {\bf s-wyra/zenia}}{C-M-t}
691
692 % Removed -- there is no Polish disctionary for ispell.
693 %\section{Spelling Check}
694 %
695 %\key{check spelling of current word}{M-\$}
696 %\metax{check spelling of all words in region}{M-x ispell-region}
697 %\metax{check spelling of entire buffer}{M-x ispell-buffer}
698
699 %\section{Tags}
700 \section{Tags}
701
702 %\key{find a tag (a definition)}{M-.}
703 %\key{find next occurrence of tag}{C-u M-.}
704 %\metax{specify a new tags file}{M-x visit-tags-table}
705 \key{znajd/x okre/slenie (definicj/e)}{M-.}
706 \key{znajd/x nast/epne wyst/apienie definicji}{C-u M-.}
707 \metax{podaj nowy plik TAGS}{M-x visit-tags-table}
708
709 %\metax{regexp search on all files in tags table}{M-x tags-search}
710 %\metax{run query-replace on all the files}{M-x tags-query-replace}
711 %\key{continue last tags search or query-replace}{M-,}
712 \metax{wyszukiwanie tekstu zgodnego z~podanym wyra/zeniem regularnym
713 we wszystkich plikach wymienionych w~TAGS}{M-x tags-search}
714 \metax{zamiana z zapytaniem we wszystkich\newline
715 plikach wymienionych w~TAGS}{M-x tags-query-replace}
716 \key{kontynuuj wyszukiwanie lub zamian/e z~zapytaniem
717 w~plikach wymienionych w~TAGS}{M-,}
718
719 %\section{Shells}
720 \section{Pow/loki}
721
722 %\key{execute a shell command}{M-!}
723 %\key{run a shell command on the region}{M-|}
724 %\key{filter region through a shell command}{C-u M-|}
725 %\key{start a shell in window \kbd{*shell*}}{M-x shell}
726 \key{wykonaj polecenie pow/loki}{M-!}
727 \key{wykonaj polecenie pow/loki na obszarze}{M-|}
728 \key{filtruj obszar poprzez polecenie pow/loki}{C-u M-|}
729 \key{uruchom pow/lok/e w oknie \kbd{*shell*}}{M-x shell}
730
731 %\section{Rectangles}
732 \section{Prostok/aty}
733
734 %\key{copy rectangle to register}{C-x r r}
735 %\key{kill rectangle}{C-x r k}
736 %\key{yank rectangle}{C-x r y}
737 %\key{open rectangle, shifting text right}{C-x r o}
738 %\key{blank out rectangle}{C-x r c}
739 %\key{prefix each line with a string}{C-x r t}
740 \key{zapisz prostok/at do rejestru}{C-x r r}
741 \key{skasuj prostok/at}{C-x r k}
742 \key{wklej prostok/at}{C-x r y}
743 \key{wstaw pusty prostok/at przesuwaj/ac\newline tekst w~prawo}{C-x r o}
744 \key{wyczy/s/c prostok/at}{C-x r c}
745 \key{wstaw napis na pocz/atku ka/zdej linii}{C-x r t}
746
747 %\section{Abbrevs}
748 \section{Skr/oty}
749
750 %\key{add global abbrev}{C-x a g}
751 %\key{add mode-local abbrev}{C-x a l}
752 %\key{add global expansion for this abbrev}{C-x a i g}
753 %\key{add mode-local expansion for this abbrev}{C-x a i l}
754 %\key{explicitly expand abbrev}{C-x a e}
755 \key{dodaj skr/ot globalnie}{C-x a g}
756 \key{dodaj skr/ot lokalny dla trybu}{C-x a l}
757 \key{dodaj rozwini/ecie globalne dla skr/otu}{C-x a i g}
758 \key{dodaj rozwini/ecie lokalne dla trybu dla skr/otu}{C-x a i l}
759 \key{rozwi/n teraz skr/ot}{C-x a e}
760
761 %\key{expand previous word dynamically}{M-//}
762 \key{uzupe/lnij dynamicznie poprzednie s/lowo}{M-//}
763
764 %\section{Regular Expressions}
765 \section{Wyra/zenia regularne}
766
767 %\key{any single character except a newline}{. {\rm(dot)}}
768 %\key{zero or more repeats}{*}
769 %\key{one or more repeats}{+}
770 %\key{zero or one repeat}{?}
771 %\key{quote regular expression special character {\it c\/}}{\\{\it c}}
772 %\key{alternative (``or'')}{\\|}
773 %\key{grouping}{\\( {\rm$\ldots$} \\)}
774 %\key{same text as {\it n\/}th group}{\\{\it n}}
775 %\key{at word break}{\\b}
776 %\key{not at word break}{\\B}
777 \key{dowolny znak za wyj/atkiem znaku nowej linii}{. {\rm(kropka)}}
778 \key{zero lub wi/ecej powt/orze/n}{*}
779 \key{jedno lub wi/ecej powt/orze/n}{+}
780 \key{zero lub jedno powt/orzenie}{?}
781 \key{traktuj dos/lownie nast/epny znak
782 (nawet je/sli znak ma specjalne znaczenie) {\it c\/}}{\\{\it c}}
783 \key{alternatywa (`lub')}{\\|}
784 \key{grupowanie}{\\( {\rm$\ldots$} \\)}
785 \key{tekst n-tej grupy}{\\{\it n}}
786 \key{na pocz/atku lub ko/ncu s/lowa}{\\b}
787 \key{nie na pocz/atku i nie na ko/ncu s/lowa}{\\B}
788
789 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
790 %\threecol{{\bf entity}}{{\bf match start}}{{\bf match end}}
791 %\threecol{line}{^}{\$}
792 %\threecol{word}{\\<}{\\>}
793 %\threecol{buffer}{\\`}{\\'}
794 \threecolheader{{\bf obiekt do por/ownania}}{{\bf pocz/atek}}{{\bf koniec}}
795 \threecol{linia}{^}{\$}
796 \threecol{s/lowo}{\\<}{\\>}
797 \threecol{bufor}{\\`}{\\'}}
798 %\threecol{{\bf class of characters}}{{\bf match these}}{{\bf match others}}
799 %\threecol{explicit set}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]}
800 %\threecol{word-syntax character}{\\w}{\\W}
801 %\threecol{character with syntax {\it c}}{\\s{\it c}}{\\S{\it c}}
802 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
803 \threecolheader{{\bf kategoria znak/ow}}{{\bf por/ownaj z}}
804 {{\bf \hbox to 0pt{pozosta/lymi\hss}}}
805 \threecol{podany zbi/or znak/ow}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]}
806 \threecol{znak kategorii sk/ladniowej `s/lowo'}{\\w}{\\W}
807 \threecol{znak kategorii sk/ladniowej {\it c}}{\\s{\it c}}{\\S{\it c}}
808 }
809
810 %\section{International Character Sets}
811 \section{Mi/edzynarodowe zestawy znak/ow}
812
813 %\metax{specify principal language}{M-x set-language-environment}
814 %\metax{show all input methods}{M-x list-input-methods}
815 %\key{enable or disable input method}{C-\\}
816 %\key{set coding system for next command}{C-x RET c}
817 %\metax{show all coding systems}{M-x list-coding-systems}
818 %\metax{choose preferred coding system}{M-x prefer-coding-system}
819 \metax{ustal g/l/owny j/ezyk}{M-x set-language-environment}
820 \metax{wypisz wszystkie metody wprowadzania znak/ow}{M-x list-input-methods}
821 \key{w/l/acz//wy/l/acz metod/e wprowadzania znak/ow}{C-\\}
822 \key{ustal system kodowania dla nast/epnego polecenia}{C-x RET c}
823 \metax{wypisz wszystkie systemy kodowania}{M-x list-coding-systems}
824 \metax{wybierz preferowany system\newline kodowania}{M-x prefer-coding-system}
825 \metax{wybierz metod/e wprowadzania znak/ow}{C-x RET C-\\}
826
827 Po wybraniu metody wprowadzania znak/ow {\tt polish-slash},\newline
828 ka/zd/a z~liter {\tt /a/c/e/l/n/o/s/x/z//} uzyskamy pisz/ac ciach `{\tt //}'
829 i~odpowiedni znak z~{\tt acelnosxz//}.
830
831 %\section{Registers}
832 \section{Rejestry}
833
834 %\key{save region in register}{C-x r s}
835 %\key{insert register contents into buffer}{C-x r i}
836 \key{zapisz obszar do rejestru}{C-x r s}
837 \key{wstaw zawarto/s/c rejestru do bufora}{C-x r i}
838
839 %\key{save value of point in register}{C-x r SPC}
840 %\key{jump to point saved in register}{C-x r j}
841 \key{zapisz pozycj/e kursora w~rejestrze}{C-x r SPC}
842 \key{przemie/s/c kursor do pozycji zapisanej w~rejestrze}{C-x r j}
843
844 %\section{Keyboard Macros}
845 \section{Makropolecenia}
846
847 %\key{{\bf start} defining a keyboard macro}{C-x (}
848 %\key{{\bf end} keyboard macro definition}{C-x )}
849 %\key{{\bf execute} last-defined keyboard macro}{C-x e}
850 %\key{append to last keyboard macro}{C-u C-x (}
851 %\metax{name last keyboard macro}{M-x name-last-kbd-macro}
852 %\metax{insert Lisp definition in buffer}{M-x insert-kbd-macro}
853 \key{{\bf zacznij} definicj/e makropolecenia}{C-x (}
854 \key{{\bf zako/ncz} definicj/e makropolecenia}{C-x )}
855 \key{{\bf wykonaj} ostatnio zdefiniowane makropolecenie}{C-x e}
856 \key{dopisz do definicji ostatniego makropolecenia}{C-u C-x (}
857 \metax{nazwij ostatnie makropolecenie}{M-x name-last-kbd-macro}
858 \metax{wpisz do bufora nazwane\newline makro Lispowe}{M-x insert-kbd-macro}
859
860 %\section{Info}
861 \section{Info}
862
863 %\key{enter the Info documentation reader}{C-h i}
864 %\key{find specified function or variable in Info}{C-h S}
865 \key{wejd/x w tryb czytania dokumentacji Info}{C-h i}
866 \key{wyszukaj podan/a funkcj/e lub zmienn/a w Info}{C-h S}
867 \beginindentedkeys
868
869 %Moving within a node:
870 Poruszanie si/e w obr/ebie w/ez/la Info:
871
872 %\key{scroll forward}{SPC}
873 %\key{scroll reverse}{DEL}
874 %\key{beginning of node}{. {\rm (dot)}}
875 \key{przegl/adaj do przodu}{SPC}
876 \key{przegl/adaj do ty/lu}{DEL}
877 \key{na pocz/atek w/ez/la}{. {\rm (kropka)}}
878
879 %Moving between nodes:
880 Poruszanie si/e pomi/edzy w/ez/lami:
881
882 %\key{{\bf next} node}{n}
883 %\key{{\bf previous} node}{p}
884 %\key{move {\bf up}}{u}
885 %\key{select menu item by name}{m}
886 %\key{select {\it n\/}th menu item by number (1--9)}{{\it n}}
887 %\key{follow cross reference (return with \kbd{l})}{f}
888 %\key{return to last node you saw}{l}
889 %\key{return to directory node}{d}
890 %\key{go to any node by name}{g}
891 \key{{\bf nast/epny} w/eze/l}{n}
892 \key{{\bf poprzedni} w/eze/l}{p}
893 \key{przenie/s si/e {\bf wy/zej}}{u}
894 \key{wybierz pozycj/e z menu, podaj/ac jej nazw/e}{m}
895 \key{wybierz n-t/a pozycj/e z menu podaj/ac liczb/e~(1-9)}{{\it n}}
896 \key{sprawd/x odsy/lacz (powr/ot z \kbd{l})}{f}
897 \key{powr/o/c do ostatnio przegl/adanego w/ez/la}{l}
898 \key{powr/o/c do skorowidza}{d}
899 \key{wybierz w/eze/l podaj/ac jego nazw/e}{g}
900
901 %Other:
902 Pozosta/le polecenia:
903
904 %\key{run Info {\bf tutorial}}{h}
905 %\key{{\bf quit} Info}{q}
906 %\key{search nodes for regexp}{M-s}
907 \key{wywo/laj {\bf samouczek} Info}{h}
908 \key{wyszukaj zagadnienie w indeksach}{i}
909 \key{wyszukuj w~w/ez/lach tekst zgodny\newline
910 z~podanym wyra/zeniem regularnym}{s}
911 \key{{\bf zako/ncz} Info}{q}
912
913 \endindentedkeys
914
915 %\section{Dired, the Directory Editor}
916 \section{Dired -- edytor katalog/ow}
917
918 \key{wywo/lanie edytora katalog/ow}{C-x d}
919 \key{ustaw flag/e `D' (do usuni/ecia) na pliku}{d}
920 \key{ustaw flag/e `D' na plikach zapasowych}{\~{}}
921 \key{zdejmij flag/e `D' z pliku}{u}
922 \key{usu/n pliki oznaczone flag/a `D'}{x}
923 \key{uaktualnij zawarto/s/c bufora}{g}
924 \key{wczytaj plik wskazywany przez kursor do bufora}{f}
925 \key{prze/l/acz mi/edzy porz/adkiem alfabetycznym a~porz/adkiem wed/lug
926 daty i~czasu powstania pliku}{s}
927
928 \metax{wybierz z~bie/z/acego katalogu i~jego podkatalog/ow wszystkie pliki,
929 kt/ore zawieraj/a tekst zgodny z~podanym wyra/zeniem regularnym}
930 {M-x find-grep-dired}
931
932 %\section{Commands Dealing with Emacs Lisp}
933 \section{Polecenia dotycz/ace j/ezyka Emacs Lisp}
934
935 %\key{eval {\bf sexp} before point}{C-x C-e}
936 %\key{eval current {\bf defun}}{C-M-x}
937 %\metax{eval {\bf region}}{M-x eval-region}
938 %\key{read and eval minibuffer}{M-:}
939 %\metax{load from standard system directory}{M-x load-library}
940 \key{oblicz {\bf s-wyra/zenie} przed kursorem}{C-x C-e}
941 \key{oblicz aktywn/a {\bf defun}}{C-M-x}
942 \metax{oblicz s-wyra/zenia w {\bf obszarze}}{M-x eval-region}
943 \key{wczytaj {\bf s-wyra/zenie} i oblicz je w~minibuforze}{M-:}
944 \metax{wczytaj bibliotek/e z~katalogu\newline systemowego}{M-x load-library}
945
946 %\section{Simple Customization}
947 \section{Proste modyfikacje}
948
949 %\metax{customize variables and faces}{M-x customize}
950 \metax{modyfikowanie warto/sci zmiennych\newline i czcionek}{M-x customize}
951
952 % The intended audience here is the person who wants to make simple
953 % customizations and knows Lisp syntax.
954
955 %Making global key bindings in Emacs Lisp (examples):
956 Przyk/lady przypisania klawisza funkcji Emacs Lispu\newline
957 z~wykorzystaniem notacji \kbd{"..."} i~notacji \kbd{[...]}:
958
959 \beginexample%
960 (global-set-key "\\C-cg" 'goto-line)
961 (global-set-key "\\M-\#" 'query-replace-regexp)
962 \smallskip
963 (global-set-key [?\\C-c ?g] 'goto-line)
964 (global-set-key [?\\M-\#] 'query-replace-regexp)
965 \endexample
966
967 %\section{Writing Commands}
968 \section{Tworzenie nowych polece/n}
969
970 \beginexample%
971 (defun \<nazwa-funkcji> (\<argumenty>)
972 "\<dokumentacja>"
973 (interactive "\<wzorzec>")
974 \<tre/s/c funkcji>)
975 \endexample
976
977 %An example:
978 Przyk/lad:
979
980 \beginexample%
981 (defun this-line-to-top-of-window (line)
982 % "Reposition line point is on to top of window.
983 %With ARG, put point on line ARG."
984 "Przewi/n lini/e z kursorem do pierwszej linii okna.
985 Z ARG, przewi/n do linii ARG."
986 (interactive "P")
987 (recenter (if (null line)
988 0
989 (prefix-numeric-value line))))
990 \endexample
991
992 %The \kbd{interactive} spec says how to read arguments interactively.
993 %Type \kbd{C-h f interactive} for more details.
994 W funkcji \kbd{interactive} {\it wzorzec\/} opisuje, jak b/ed/a czytane
995 argumenty w trybie interakcyjnym. Szczeg/o/lowy opis uzyskasz
996 przez wywo/lanie \kbd{C-h f interactive}.
997
998 \copyrightnotice
999
1000 \bye
1001 \f
1002 % Local variables:
1003 % compile-command: "pdftex pl-refcard"
1004 % End:
1005
1006 % arch-tag: 19d15a16-70be-40c8-ad91-88899aac32a9