annotate etc/ru-refcard.tex @ 62981:79e0dd73c671

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