-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathglossary.html
145 lines (144 loc) · 7.73 KB
/
glossary.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>
How to learn Emacs :: Glossary
</title>
<link href='emacs.css' media='all' rel='stylesheet'>
</head>
<body>
<div id='sidebar'>
<div id='info'>
<h1>How to learn Emacs</h1>
<p>By <a href="http://david.rothlis.net">David Röthlisberger</a>.<br/>
Comments welcome at <a href="mailto:david@rothlis.net?subject=How%20to%20learn%20Emacs">david@rothlis.net</a>.<br/>
Last updated 8 Apr 2012.</p>
</div>
<div id='toc'>
<!-- Table of Contents -->
<ul>
<li><a href='howtolearn.html'>1. About this guide to Emacs</a></li>
<li><a href='why.html'>2. Why Emacs</a></li>
</ul>
<p>—Basic usage—</p>
<ul>
<li><a href='install.html'>3. Install the right Emacs</a></li>
<li><a href='tutorial.html'>4. The very basics</a></li>
<li><a href='basic_c.html'>5. Basic Unix/C workflow</a></li>
</ul>
<p>—Basic customisation—</p>
<ul>
<li><a href='customize_c.html'>6. cc-mode customization</a></li>
<li><a href='customize_colors.html'>7. Fix that awful color scheme</a></li>
<li><a href='customize_general.html'>8. General customization</a></li>
</ul>
<p>—Miscellaneous—</p>
<ul>
<li><a href='info.html'>9. Info documentation</a></li>
<li><a href='contribute_emacs.html'>10. Contributing to Emacs</a></li>
</ul>
<p>—Appendices—</p>
<ul>
<li><a href='ergonomics.html'>A. Ergonomics</a></li>
<li><a href='osx.html'>B. OS X</a></li>
<li><a href='contribute_guide.html'>C. Contributing to this guide</a></li>
<li class='current'>D. Glossary</li>
</ul>
</div>
<p>Copyright © 2012 <a href="http://david.rothlis.net">David Röthlisberger</a>.<br/>
This guide is released under the<br/>
<a rel="license" href="http://www.gnu.org/copyleft/fdl.html">GNU
Free Documentation License</a>.</p>
</div>
<div id='content2'>
<!-- Contents -->
<h1>Glossary</h1>
<dl>
<dt id='keys'>Emacs key names:</dt>
<dd>
<table>
<tr><td><code>C-x</code> </td><td>means Control-x. </td></tr>
<tr><td><code>C-x C-s</code> </td><td>means Control-x, then Control-s. </td></tr>
<tr><td><code>C-x k</code> </td><td>means Control-x, then k on its own (without Control). </td></tr>
<tr><td><code>M-x</code> </td><td>means Alt-x (Alt is called Option on some Mac keyboards).<br />
The <code>M</code> stands for “Meta” which is presumably what the Alt
key was called in the 70s. </td></tr>
<tr><td><code>M-x help</code></td><td>means press Alt-x, then type <code>help</code>, then press return. </td></tr>
<tr><td><code>C-M-x</code> </td><td>means Control-Alt-x </td></tr>
<tr><td><code>S-x</code> </td><td>means Shift-x </td></tr>
<tr><td><code>s-x</code> </td><td>means Command-x (the ⌘ Command key on Mac keyboards).<br />
The <code>s</code> stands for “Super”, from the days when keyboards
had Meta, Super, and Hyper keys. </td></tr>
<tr><td><code><RET></code></td><td>means the Return or Enter key. </td></tr>
<tr><td><code><SPC></code></td><td>means the Space bar. </td></tr>
<tr><td><code><DEL></code></td><td>means Backspace<br />
(not to be confused with the delete-forward key) </td></tr>
</table>
</dd>
<dt id='frames'>Frames:</dt>
<dd>
<div class='figure' id='glossary-frames'>
<div class='titlebar'><p>rl.c</p></div>
<div class='window default'><span class="type">int</span>
<span class="function-name">main</span> (argc, argv)
 <span class="type">int</span> <span class="variable-name">argc</span>;
 <span class="type">char</span> **<span class="variable-name">argv</span>;
{<span class="cursor"> </span></div>
<div class='modeline'>--:--- <b>rl.c</b> 59% L83 Git-master (C/l Abbrev)-----------------------------------</div>
<div class='window default'>make -k
rm -f rl.o
gcc -DHAVE_CONFIG_H -DREADLINE_LIBRARY -DRL_LIBRARY_VERSION='"6.2"' -I. -I.. -I.. -g -O -c rl.c
<span class="function-name">rl.c</span>: In function ‘main’:</div>
<div class='modeline'>-U:%*- <b>*compilation*</b> Top L1 (Compilation<span class="error">:exit [2]</span>)-----------------------------------</div>
<div class='echoarea'><p>Compilation exited abnormally with code 2</p></div>
<p>One frame, two windows<br />(each with its own modeline)</p>
</div>
<p>What Emacs calls your window-manager’s windows. <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Frames.html">[Emacs manual]</a></p>
</dd>
<dt id='windows'>Windows:</dt>
<dd>
<p>Subdivisions inside a Frame. <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Windows.html">[Emacs manual]</a></p>
</dd>
<dt id='buffers'>Buffers:</dt>
<dd>
<p>The text you are editing. The difference between a buffer and a file is
that their contents may differ until you save your changes; and some
buffers aren’t backed by files at all (e.g. a <code>*compilation*</code> or <code>*Help*</code>
buffer). <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Buffers.html">[Emacs manual]</a></p>
</dd>
<dt id='modeline'>Mode line:</dt>
<dd>
<p>Describes the buffer in the window above the modeline. Hover your mouse
over each indicator in the modeline for a description. <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Mode-Line.html">[Emacs manual]</a></p>
</dd>
<dt id='echoarea'>Echo area:</dt>
<dd>
<p>The line at the very bottom of the frame, used to display small informative
messages. <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Echo-Area.html">[Emacs manual]</a></p>
</dd>
<dt id='minibuffer'>Minibuffer:</dt>
<dd>
<p>The echo area when it is prompting for user input. <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Minibuffer.html">[Emacs manual]</a></p>
</dd>
<dt id='region'>The point, the mark and the region:</dt>
<dd>
<p>The point is where the cursor is. Set the mark with <code>C-<SPC></code>, move the
point, and now the region is the area between point and mark. <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Mark.html">[Emacs
manual]</a></p>
</dd>
<dt id='killing'>Killing and yanking:</dt>
<dd>
<p>Killing = cutting. Yanking = pasting (sorry vi users!). <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Killing.html">[Emacs manual]</a></p>
</dd>
<dt id='majormode'>Major mode or Editing mode:</dt>
<dd>
<p>A major mode is a customization of Emacs for editing text of a particular
sort (e.g. a particular programming language). A buffer can only have one
major mode active at a time. <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Major-Modes.html">[Emacs manual]</a></p>
</dd>
<dt id='minormode'>Minor mode:</dt>
<dd>
<p>Multiple minor modes can be enabled at once; they add functionality ranging
from syntax highlighting to automatic spell-checking to modifying the
behavior of common Emacs commands. <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Minor-Modes.html">[Emacs manual]</a></p>
</dd>
</dl>
<!-- Contents -->
<!-- Next chapter link -->
</div>
</body>
</html>