annotate etc/ru-refcard.tex @ 68667:e73ccb5d8bde

(unibyte_display_via_language_environment): Delete extern.
author Kenichi Handa <handa@m17n.org>
date Tue, 07 Feb 2006 08:00:51 +0000
parents e8a3fb527b77
children 46cec5e362d6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
68640
e8a3fb527b77 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 65088
diff changeset
1 % Copyright (C) 1997, 2002, 2003, 2004, 2005,
e8a3fb527b77 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 65088
diff changeset
2 % 2006 Free Software Foundation, Inc.
65088
f05a048483cc Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64083
diff changeset
3
55606
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4 \documentclass[10pt]{article}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5 \usepackage{multicol,tabularx}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 \usepackage[a4paper,hmargin={2cm,2cm},vmargin={2cm,2cm},nohead,twoside]{geometry}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7 \usepackage[T2A]{fontenc}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8 \usepackage[koi8-r]{inputenc}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 \usepackage[english,russian]{babel}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10 \usepackage{verbatim}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 %\usepackage{enumerate,calc}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 %\usepackage{indentfirst,amsmath,graphicx,citehack,floatflt}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13 %
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 %\usepackage{pscyr}
55618
dca236622e28 Add C-u and RET to `C-h t Russian'.
Juri Linkov <juri@jurta.org>
parents: 55611
diff changeset
15 %\renewcommand{\rmdefault}{fha}
55606
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17 \newlength{\ColWidth}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 \setlength{\ColWidth}{120mm}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 \newlength{\ColThreeWidth}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 \setlength{\ColThreeWidth}{25mm}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 \newcommand{\versionnumber}[0]{2.2}
68640
e8a3fb527b77 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 65088
diff changeset
23 \newcommand{\nyear}[0]{2006}
55606
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 \newcommand\shortcopyrightnotice[0]{\vskip 1ex plus 2 fill
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 \centerline{\footnotesize \copyright\ \nyear\ Free Software Foundation, Inc.
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27 Permissions on back. v\versionnumber}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29 \newcommand\copyrightnotice[0]{
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30 \vskip 1ex plus 2 fill\begingroup\footnotesize
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31 \centerline{Copyright \copyright\ \nyear\ Free Software Foundation, Inc.}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 \centerline{v\versionnumber{} for GNU Emacs version 21, June \nyear}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
33 \centerline{designed by Stephen Gildea}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34 \centerline{Перевод Alex Ott <ottalex at narod.ru>}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 Permission is granted to make and distribute copies of
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37 this card provided the copyright notice and this permission notice
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38 are preserved on all copies.
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40 For copies of the GNU Emacs manual, write to the Free Software
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 55618
diff changeset
41 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
55606
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43 \endgroup}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45 \hyphenation{mini-buf-fer}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47 \parindent 0pt
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48 %\parskip 0.5ex plus .2ex minus .2ex
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
49
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
50 \newcommand{\kbd}[1]{\texttt{#1}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
51
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
52 \begin{document}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
53
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
54 %\begin{multicols}{3}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
55
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
56 \centerline{Справочная карта по GNU Emacs}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
57 \centerline{(для версии 21)}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
58
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
59 \section{Запуск Emacs}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
60
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
61 Для запуска GNU Emacs 21, просто наберите имя программы: \kbd{emacs}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
62
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
63 О том, как открывать файлы, читайте далее в разделе Файлы.
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
64
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
65 \section{Выход из Emacs}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
66
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
67 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
68 Приостановить работу Emacs (или свернуть в иконку при работе в X) & \kbd{C-z} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
69 Выйти из Emacs & \kbd{C-x C-c} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
70 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
71
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
72 \section{Файлы}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
73
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
74 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
75 {\bf открыть} файл в буфере Emacs & \kbd{C-x C-f} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
76 {\bf сохранить} файл обратно на диск & \kbd{C-x C-s} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
77 сохранить {\bf все} файлы & \kbd{C-x s} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
78 {\bf вставить} содержимое другого файла в текущий буфер & \kbd{C-x i} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
79 открыть нужный вам файл вместо текущего & \kbd{C-x C-v} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
80 сохранить буфер в указанном файле & \kbd{C-x C-w} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
81 Включить/выключить состояние буфера ``только для чтения'' & \kbd{C-x C-q} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
82 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
83
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
84 \section{Получение помощи}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
85
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
86 Справочная система достаточно проста. Hажмите \kbd{C-h} (или \kbd{F1}) и
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
87 следуйте инструкциям. Если вы в первый раз работаете с Emacs, наберите
55618
dca236622e28 Add C-u and RET to `C-h t Russian'.
Juri Linkov <juri@jurta.org>
parents: 55611
diff changeset
88 \kbd{C-u C-h t Russian RET} для вызова {\bf учебника}.
55606
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
89
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
90 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
91 Закрыть окно справки & \kbd{C-x 1} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
92 Прокрутить окно справки & \kbd{C-M-v} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
93
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
94 apropos: показать команды, соответствующие строке & \kbd{C-h a} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
95 показать имя функции, которая запускается клавишей & \kbd{C-h c} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
96 описать функцию & \kbd{C-h f} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
97 получить информацию о режиме & \kbd{C-h m} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
98 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
99
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
100 \section{Исправление ошибок}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
101
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
102 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
103 {\bf прервать} частично набранную или исполняемую команду & \kbd{C-g} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
104 {\bf восстановить} файл, потерянный при крахе системы & \kbd{M-x recover-file} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
105 {\bf отменить} нежелательные изменения & \kbd{C-x u {\rm или} C-\_} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
106 восстановить буфер в первоначальное состояние & \kbd{M-x revert-buffer} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
107 перерисовать заполненный мусором экран & \kbd{C-l} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
108 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
109
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
110 \section{Hаращиваемый поиск}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
111
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
112 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
113 поиск вперед & \kbd{C-s} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
114 поиск назад & \kbd{C-r} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
115 поиск по регулярному выражению & \kbd{C-M-s} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
116 поиск по регулярному выражению назад & \kbd{C-M-r} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
117
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
118 выбрать предыдущую строку поиска & \kbd{M-p} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
119 выбрать следующую строку поиска & \kbd{M-n} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
120 прекратить наращиваемый поиск & \kbd{RET} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
121 отменить эффект ввода последнего символа & \kbd{DEL} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
122 прервать текущий поиск & \kbd{C-g} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
123 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
124
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
125 Для повтора поиска в любом направлении используйте клавиши \kbd{C-s} или
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
126 \kbd{C-r}. Если Emacs все еще производит поиск, \kbd{C-g} отменит только
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
127 несделанную часть.
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
128
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
129 \section{Перемещение}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
130
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
131 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
132 {\bf единицы перемещения} & {\bf назад} & {\bf вперед} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
133 символ & \kbd{C-b} & \kbd{C-f} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
134 слово & \kbd{M-b} & \kbd{M-f} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
135 строка & \kbd{C-p} & \kbd{C-n} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
136 начало (или конец) строки & \kbd{C-a} & \kbd{C-e} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
137 предложение & \kbd{M-a} & \kbd{M-e} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
138 абзац & \kbd{M-\{} & \kbd{M-\}} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
139 страница & \kbd{C-x [} & \kbd{C-x ]} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
140 выражение (sexp) & \kbd{C-M-b} & \kbd{C-M-f} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
141 функция & \kbd{C-M-a} & \kbd{C-M-e} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
142 переход в начало (или конец) буфера & \kbd{M-<} & \kbd{M->} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
143
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
144 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
145
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
146 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
147 прокрутка экрана вниз & \kbd{C-v} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
148 прокрутка экрана вверх & \kbd{M-v} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
149 прокрутка влево & \kbd{C-x <} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
150 прокрутка вправо & \kbd{C-x >} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
151 прокрутка текущей строки в центр экрана & \kbd{C-u C-l} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
152 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
153
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
154 \section{Уничтожение и удаление}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
155
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
156 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
157 {\bf уничтожаемый объект} & {\bf назад} & {\bf вперед} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
158 символ (удаление, а не уничтожение) & \kbd{DEL} & \kbd{C-d} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
159 слово & \kbd{M-DEL} & \kbd{M-d} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
160 строка (до конца строки) & \kbd{M-0 C-k} & \kbd{C-k} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
161 предложение & \kbd{C-x DEL} & \kbd{M-k} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
162 выражение & \kbd{M-- C-M-k} & \kbd{C-M-k} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
163 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
164
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
165
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
166 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
167 уничтожить {\bf область} & \kbd{C-w} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
168 скопировать область в список уничтожений & \kbd{M-w} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
169 уничтожить до следующего вхождения символа {\it char} & \kbd{M-z {\it char}} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
170
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
171 вставить последний уничтоженный объект & \kbd{C-y} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
172 заменить только что восстановленный текст предшествующим уничтоженным текстом & M-y \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
173 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
174
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
175 \section{Пометка}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
176
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
177 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
178 установить пометки & \kbd{C-@ {\rm or} C-SPC} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
179 обменять местами курсор и пометку & \kbd{C-x C-x} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
180
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
181 пометить {\it arg\/} {\bf слов} & \kbd{M-@} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
182 пометить {\bf параграф} & \kbd{M-h} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
183 пометить {\bf страницу} & \kbd{C-x C-p} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
184 пометить {\bf выражение} & \kbd{C-M-@} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
185 пометить {\bf функцию} & \kbd{C-M-h} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
186 пометить весь {\bf буфер} & \kbd{C-x h} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
187 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
188
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
189 \section{Замена с запросом}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
190
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
191 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
192 интерактивная замена текстовой строки & \kbd{M-\%} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
193 с использованием регулярных выражений & \kbd{M-x query-replace-regexp} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
194 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
195
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
196 В режиме интерактивной замены пользователю доступны следующие ответы:
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
197
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
198 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
199 {\bf заменить} данное соответствие, перейти к следующему & \kbd{SPC} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
200 заменить это соответствие, не перемещаться & \kbd{,} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
201 {\bf пропустить} соответствие без замены & \kbd{DEL} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
202 заменить все оставшиеся соответствия & \kbd{!} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
203 {\bf вернуться} к предыдущему соответствию & \kbd{\^} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
204 {\bf выйти} из режима замена с запросом & \kbd{RET} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
205 войти в режим рекурсивного редактирования (для выхода используется \kbd{C-M-c}) & \kbd{C-r} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
206 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
207
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
208 \section{Множество окон}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
209
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
210 Команды, приведенные во втором столбце, применяются к другому
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
211 (неактивному) окну.
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
212
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
213 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
214 удалить все остальные окна & \kbd{C-x 1} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
215 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
216
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
217 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
218 разбить окно по горизонтали & \kbd{C-x 2\ \ \ \ } & \kbd{C-x 5 2} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
219 удалить данное окно & \kbd{C-x 0\ \ \ \ } & \kbd{C-x 5 0} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
220
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
221 разбить окно по вертикали & \kbd{C-x 3} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
222
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
223 выполнить прокрутку в другом окне & \kbd{C-M-v} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
224 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
225
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
226 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
227 переместить курсор в другое окно & \kbd{C-x o} & \kbd{C-x 5 o} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
228
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
229 выбрать буфер в другом окне & \kbd{C-x 4 b} & \kbd{C-x 5 b} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
230 показать буфер в другом окне & \kbd{C-x 4 C-o} & \kbd{C-x 5 C-o} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
231 загрузить файл в другое окно & \kbd{C-x 4 f} & \kbd{C-x 5 f} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
232 открыть файл в режиме чтения в другом окне & \kbd{C-x 4 r} & \kbd{C-x 5 r} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
233 запустить Dired в другом окне & \kbd{C-x 4 d} & \kbd{C-x 5 d} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
234 найти таг в другом окне & \kbd{C-x 4 .} & \kbd{C-x 5 .} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
235
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
236 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
237
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
238 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
239 увеличить высоту окна & \kbd{C-x \^} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
240 сузить текущее окно & \kbd{C-x \{} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
241 расширить текущее окно & \kbd{C-x \}} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
242 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
243
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
244 \section{Форматирование}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
245
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
246 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
247 сделать отступ для текущей {\bf строки} (в зависимости от режима) & \kbd{TAB} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
248 сделать отступ для {\bf области} (в зависимости от режима) & \kbd{C-M-$\backslash$} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
249 сделать отступ для {\bf выражения} (в зависимости от режима) & \kbd{C-M-q} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
250 сделать отступ к заданной {\it arg\/} колонке & \kbd{C-x TAB} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
251
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
252 вставить новую строку после курсора & \kbd{C-o} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
253 сдвинуть остаток строки вертикально вниз & \kbd{C-M-o} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
254 удалить пустые строки вокруг курсора & \kbd{C-x C-o} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
255 объединить строку с предыдущей (со следующими arg) & \kbd{M-\^} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
256 удалить пустое пространство вокруг курсора & \kbd{M-$\backslash$} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
257 поместить только один пробел в позиции курсора & \kbd{M-SPC} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
258
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
259 заполнить текущий параграф & \kbd{M-q} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
260 установить столбец заполнения & \kbd{C-x f} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
261 установить префикс заполнения каждой строки & \kbd{C-x .} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
262
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
263 установить начертание & \kbd{M-g} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
264 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
265
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
266 \section{Изменение регистра}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
267
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
268 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
269 сделать буквы слова заглавными & \kbd{M-u} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
270 сделать буквы слова строчными & \kbd{M-l} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
271 сделать первую букву слова заглавной & \kbd{M-c} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
272
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
273 сделать буквы области заглавными & \kbd{C-x C-u} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
274 сделать буквы области строчными & \kbd{C-x C-l} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
275 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
276
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
277 \section{Минибуфер}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
278
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
279 Следующие клавиши (ключи) определены в минибуфере.
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
280
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
281 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
282 дополнить насколько возможно & \kbd{TAB} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
283 дополнить до одного слова & \kbd{SPC} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
284 дополнить и выполнить & \kbd{RET} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
285 показать возможные дополнения & \kbd{?} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
286 выбрать предыдущий ввод в минибуфер & \kbd{M-p} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
287 выбрать следующий ввод в минибуфер & \kbd{M-n} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
288 поиск в истории по регулярному выражению в обратном напрвлении & \kbd{M-r} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
289 поиск в истории по регулярному выражению в прямом напрвлении & \kbd{M-s} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
290 прервать команду & \kbd{C-g} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
291 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
292
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
293 Наберите \kbd{C-x ESC ESC} для редактирования и повторения последней
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
294 команды набранной в минибуфере. Наберите \kbd{F10}, чтобы работать с
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
295 пунктами меню при помощи команд минибуфера.
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
296
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
297 \section{Буфера}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
298
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
299 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
300 выбрать другой буфер & \kbd{C-x b} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
301 выдать список всех буферов & \kbd{C-x C-b} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
302 уничтожить буфер & \kbd{C-x k} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
303 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
304
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
305 \section{Обмен местами}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
306
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
307 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
308 обменять местами {\bf символы} & \kbd{C-t} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
309 обменять местами {\bf слова} & \kbd{M-t} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
310 обменять местами {\bf строки} & \kbd{C-x C-t} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
311 обменять местами {\bf выражения} & \kbd{C-M-t} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
312 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
313
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
314 \section{Проверка грамматики}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
315
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
316 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
317 проверить текущее слово & \kbd{M-\$} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
318 проверить все слова в области & \kbd{M-x ispell-region} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
319 выполнить проверку всего буфера & \kbd{M-x ispell-buffer} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
320 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
321
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
322 \section{Теги}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
323
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
324 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
325 найти определение тега & \kbd{M-.} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
326 найти следующее вхождение тега & \kbd{C-u M-.} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
327 указать новый файл с тегами & \kbd{M-x visit-tags-table} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
328
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
329 поиск по шаблону по всей таблице тегов & \kbd{M-x tags-search} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
330 выполнить query-replace над всеми файлами & \kbd{M-x tags-query-replace} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
331 продолжить поиск или поиск-замену тега & \kbd{M-,} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
332 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
333
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
334 \section{Командные процессоры}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
335
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
336 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
337 Выполнить команду командного процессора & \kbd{M-!} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
338 выполнить команду командного процессора над областью & \kbd{M-|} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
339 пропустить содержимое области через команду командного процессора & \kbd{C-u M-|} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
340 запустить командный процессор в окне \kbd{*shell*} & \kbd{M-x shell} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
341 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
342
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
343 \section{Прямоугольные области}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
344
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
345 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
346 скопировать прямоугольную область в регистр & \kbd{C-x r r} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
347 удалить прямоугольную область & \kbd{C-x r k} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
348 вставить последную уничтоженную прямоугольную область & \kbd{C-x r y} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
349 открыть прямоугольную область, сдвигая текст вправо & \kbd{C-x r o} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
350 очистить прямоугольную область & \kbd{C-x r c} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
351 предварить каждую строку строкой текста & \kbd{C-x r t} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
352 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
353
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
354 \section{Сокращения}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
355
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
356 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
357 добавить глобальное сокращение & \kbd{C-x a g} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
358 добавить локальное для режима сокращение & \kbd{C-x a l} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
359 добавить глобальное значение для данного сокращения & \kbd{C-x a i g} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
360 добавить специфическое для режима значение данного сокращения & \kbd{C-x a i l} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
361 явно вставить значение для сокращения & \kbd{C-x a e} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
362
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
363 динамически дополнить предыдущее слово & \kbd{M-/} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
364 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
365
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
366 \section{Регулярные выражения}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
367
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
368 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
369 любой одиночный символ (за исключением символа новой строки) & \kbd{. {\rm(dot)}} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
370 ноль или более повторений & \kbd{*} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
371 одно или более повторений & \kbd{+} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
372 ноль или одно повторение & \kbd{?} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
373 экранировать специальный символ {\it c\/} & \kbd{$\backslash${\it c}} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
374 выбор между альтернативами (``или'') & \kbd{$\backslash|$} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
375 группировка & \kbd{$\backslash$( {\rm$\ldots$} $\backslash$)} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
376 текст в {\it n\/}-й группе & \kbd{$\backslash${\it n}} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
377 граница слова & \kbd{$\backslash$b} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
378 не граница слова & \kbd{$\backslash$B} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
379 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
380
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
381 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
382 {\bf объект} & {\bf начало соответствия} & {\bf конец соответствия} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
383 строка & \kbd{\^} & \kbd{\$} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
384 слово & \kbd{$\backslash$<} & \kbd{$\backslash$>} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
385 буфер & \kbd{$\backslash$`} & \kbd{$\backslash$'} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
386 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
387
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
388 \begin{tabular}{p{\ColWidth}p{\ColThreeWidth}p{\ColThreeWidth}}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
389 {\bf класс символов} & {\bf соответ\-ствует им} & {\bf соответ\-ствует другим} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
390 явный набор & \kbd{[ {\rm$\ldots$} ]} & \kbd{[\^ {\rm$\ldots$} ]} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
391 символ-буква & \kbd{$\backslash$w} & \kbd{$\backslash$W} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
392 символ с синтаксисом {\it c} & \kbd{$\backslash$s{\it c}} & \kbd{$\backslash$S{\it c}} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
393 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
394
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
395 \section{Международные наборы символов}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
396
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
397 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
398 выбрать язык & \kbd{M-x set-language-environment} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
399 показать все возможные методы ввода & \kbd{M-x list-input-methods} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
400 разрешить или запретить метод ввода & \kbd{C-$\backslash$} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
401 установить систему кодирования для следующей команды & \kbd{C-x RET c} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
402 показать список всех систем кодирования & \kbd{M-x list-coding-systems} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
403 выбрать предпочтительную систему кодирования & \kbd{M-x prefer-coding-system} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
404 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
405
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
406 \section{Информация (система Info)}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
407
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
408 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
409 запустить систему доступа к документации & \kbd{C-h i} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
410 найти указанную функцию или переменную в документации & \kbd{C-h C-i} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
411 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
412
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
413 Перемещение внутри узла (нодами):
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
414
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
415 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
416 прокрутка вперед & \kbd{SPC} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
417 прокрутка назад & \kbd{DEL} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
418 перейти к началу узла & \kbd{. {\rm (dot)}} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
419 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
420
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
421 Перемещение между узлами:
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
422
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
423 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
424 {\bf следующий} узел & \kbd{n} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
425 {\bf предыдущий} узел & \kbd{p} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
426 перейти к {\bf верхнему} узлу & \kbd{u} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
427 выбрать меню по имени & \kbd{m} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
428 выбрать {\it n\/}-й пункт меню по номеру (1--9) & \kbd{{\it n}} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
429 перейти по ссылке (возврат с помощью \kbd{l}) & \kbd{f} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
430 возвратится к последнему просмотренному узлу & \kbd{l} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
431 возвратится к узлу-каталогу & \kbd{d} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
432 перейти к узлу, заданному именем & \kbd{g} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
433 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
434
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
435 Другие команды:
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
436
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
437 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
438 запустить {\bf учебник} по системе документации & \kbd{h} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
439 {\bf прекратить работу} с документацией & \kbd{q} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
440 поиск в узлах с помощью регулярных выражений & \kbd{M-s} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
441 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
442
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
443 \section{Регистры}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
444
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
445 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
446 сохранить область в регистре & \kbd{C-x r s} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
447 вставить содержимое регистра в буфер & \kbd{C-x r i} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
448
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
449 сохранить положение курсора в регистре & \kbd{C-x r SPC} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
450 перейти к положению курсора, сохраненному в регистре & \kbd{C-x r j} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
451 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
452
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
453 \section{Клавиатурные макросы}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
454
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
455 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
456 {\bf начать} определение клавиатурного макроса & \kbd{C-x (} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
457 {\bf закончить} определение клавиатурного макроса & \kbd{C-x )} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
458 {\bf выполнить} последний определенный макрос & \kbd{C-x e} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
459 дополнить последний определенный макрос & \kbd{C-u C-x (} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
460 задать имя для последнего определенного макроса & \kbd{M-x name-last-kbd-macro} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
461 вставить в буфер определение макроса на языке Lisp & \kbd{M-x insert-kbd-macro} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
462 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
463
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
464 \section{Команды, связанные с Emacs Lisp}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
465
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
466 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
467 вычислить {\bf выражение} перед курсором & \kbd{C-x C-e} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
468 вычислить текущую функцию {\bf defun} & \kbd{C-M-x} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
469 вычислить {\bf область} как выражение & \kbd{M-x eval-region} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
470 считать и вычислить выражение из минибуфера & \kbd{M-:} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
471 загрузить из стандартного системного каталога & \kbd{M-x load-library} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
472 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
473
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
474 \section{Простая настройка}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
475
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
476 \begin{tabular}{p{\ColWidth}l}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
477 настроить переменные и оформление (faces) & \kbd{M-x customize} \\
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
478 \end{tabular}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
479
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
480 % The intended audience here is the person who wants to make simple
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
481 % customizations and knows Lisp syntax.
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
482
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
483 Создать глобальное назначение ключей на Emacs Lisp (пример):
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
484
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
485 \begin{verbatim}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
486 (global-set-key "\C-cg" 'goto-line)
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
487 (global-set-key "\M-#" 'query-replace-regexp)
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
488 \end{verbatim}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
489
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
490 \section{Написание команд}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
491
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
492 \begin{verbatim}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
493 (defun <command-name> (<args>)
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
494 "<documentation>" (interactive "<template>")
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
495 <body>)
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
496 \end{verbatim}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
497
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
498 Пример:
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
499
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
500 \begin{verbatim}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
501 (defun this-line-to-top-of-window (line)
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
502 "Reposition line point is on to top of window.
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
503 With ARG, put point on line ARG."
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
504 (interactive "P")
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
505 (recenter (if (null line)
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
506 0
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
507 (prefix-numeric-value line))))
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
508 \end{verbatim}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
509
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
510 Спецификация \kbd{interactive} сообщает о том, что аргумент надо считывать
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
511 интерактивно. Для дополнительной информации наберите \kbd{C-h f interactive}.
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
512
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
513 \copyrightnotice
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
514
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
515 %\end{multicols}
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
516
db8f63aa8d1d New file.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
517 \end{document}
55611
6d05a6057286 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 55606
diff changeset
518
6d05a6057286 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 55606
diff changeset
519 % arch-tag: 868a12f6-4339-4a14-a56e-4a3937277a9e