annotate etc/ru-refcard.tex @ 68475:fef251da6e07

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