Commit | Line | Data |
---|---|---|
8cf51b2c GM |
1 | \input texinfo |
2 | ||
92f9b43f | 3 | @setfilename ../../info/emacs |
8cf51b2c GM |
4 | @settitle GNU Emacs Manual |
5 | ||
6 | @c The edition number appears in several places in this file | |
7 | @set EDITION Sixteenth | |
288f9fc0 | 8 | @set EMACSVER 24.0.50 |
8cf51b2c GM |
9 | |
10 | @copying | |
11 | This is the @value{EDITION} edition of the @cite{GNU Emacs Manual},@* | |
12 | updated for Emacs version @value{EMACSVER}. | |
13 | ||
14 | Copyright @copyright{} 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, | |
114f9c96 | 15 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
3f548a7c | 16 | Free Software Foundation, Inc. |
8cf51b2c GM |
17 | |
18 | @quotation | |
19 | Permission is granted to copy, distribute and/or modify this document | |
4b121911 | 20 | under the terms of the GNU Free Documentation License, Version 1.3 or |
8cf51b2c GM |
21 | any later version published by the Free Software Foundation; with the |
22 | Invariant Sections being ``The GNU Manifesto,'' ``Distribution'' and | |
23 | ``GNU GENERAL PUBLIC LICENSE,'' with the Front-Cover texts being ``A GNU | |
24 | Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the | |
25 | license is included in the section entitled ``GNU Free Documentation | |
26 | License.'' | |
27 | ||
8e65d46c GM |
28 | (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and |
29 | modify this GNU manual. Buying copies from the FSF supports it in | |
8cf51b2c GM |
30 | developing GNU and promoting software freedom.'' |
31 | @end quotation | |
32 | @end copying | |
33 | ||
34 | @dircategory Emacs | |
35 | @direntry | |
36 | * Emacs: (emacs). The extensible self-documenting text editor. | |
37 | @end direntry | |
38 | ||
39 | @c in general, keep the following line commented out, unless doing a | |
40 | @c copy of this manual that will be published. The manual should go | |
41 | @c onto the distribution in the full, 8.5 x 11" size. | |
42 | @c set smallbook | |
43 | ||
44 | @ifset smallbook | |
45 | @smallbook | |
46 | @end ifset | |
47 | ||
48 | @c per rms and peterb, use 10pt fonts for the main text, mostly to | |
49 | @c save on paper cost. | |
50 | @c Do this inside @tex for now, so current makeinfo does not complain. | |
51 | @tex | |
52 | @ifset smallbook | |
53 | @fonttextsize 10 | |
54 | @set EMACSVER 22 | |
55 | \global\let\urlcolor=\Black % don't print links in grayscale | |
56 | \global\let\linkcolor=\Black | |
57 | @end ifset | |
58 | \global\hbadness=6666 % don't worry about not-too-underfull boxes | |
59 | @end tex | |
60 | ||
61 | @defcodeindex op | |
62 | @synindex pg cp | |
63 | ||
64 | @iftex | |
65 | @kbdinputstyle code | |
66 | ||
67 | @shorttitlepage GNU Emacs Manual | |
68 | @end iftex | |
69 | ||
70 | @titlepage | |
71 | @sp 6 | |
72 | @center @titlefont{GNU Emacs Manual} | |
73 | @sp 4 | |
74 | @center @value{EDITION} Edition, Updated for Emacs Version @value{EMACSVER}. | |
75 | @sp 5 | |
76 | @center Richard Stallman | |
77 | @page | |
78 | @vskip 0pt plus 1filll | |
79 | @insertcopying | |
80 | ||
81 | @sp 2 | |
82 | Published by the Free Software Foundation @* | |
83 | 51 Franklin Street, Fifth Floor @* | |
84 | Boston, MA 02110-1301 USA @* | |
85 | ISBN 1-882114-86-8 | |
86 | ||
87 | @sp 2 | |
88 | Cover art by Etienne Suvasa. | |
89 | ||
90 | @end titlepage | |
91 | ||
92 | ||
93 | @summarycontents | |
94 | @contents | |
95 | ||
96 | ||
97 | @ifnottex | |
98 | @node Top, Distrib, (dir), (dir) | |
99 | @top The Emacs Editor | |
100 | ||
101 | Emacs is the extensible, customizable, self-documenting real-time | |
102 | display editor. This Info file describes how to edit with Emacs and | |
103 | some of how to customize it; it corresponds to GNU Emacs version | |
104 | @value{EMACSVER}. | |
105 | ||
106 | @ifinfo | |
753ad1de GM |
107 | To learn more about the Info documentation system, type @kbd{h}, |
108 | to visit a programmed instruction sequence for the Info commands. | |
8cf51b2c GM |
109 | @end ifinfo |
110 | ||
111 | For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The | |
112 | Emacs Lisp Reference Manual}. | |
753ad1de GM |
113 | |
114 | @insertcopying | |
8cf51b2c GM |
115 | @end ifnottex |
116 | ||
117 | @ignore | |
118 | These subcategories have been deleted for simplicity | |
119 | and to avoid conflicts. | |
120 | Completion | |
121 | Backup Files | |
122 | Auto-Saving: Protection Against Disasters | |
370fded4 | 123 | Tags |
8cf51b2c GM |
124 | Text Mode |
125 | Outline Mode | |
126 | @TeX{} Mode | |
127 | Formatted Text | |
128 | Shell Command History | |
129 | ||
130 | The ones for Dired and Rmail have had the items turned into :: items | |
131 | to avoid conflicts. | |
132 | Also Running Shell Commands from Emacs | |
133 | and Sending Mail and Registers and Minibuffer. | |
134 | @end ignore | |
135 | ||
136 | @menu | |
137 | * Distrib:: How to get the latest Emacs distribution. | |
8cf51b2c | 138 | * Intro:: An introduction to Emacs concepts. |
753ad1de | 139 | @c Note that in the printed manual, the glossary and indices come last. |
3420c522 | 140 | * Glossary:: Terms used in this manual. |
8cf51b2c GM |
141 | |
142 | Indexes (each index contains a large menu) | |
143 | * Key Index:: An item for each standard Emacs key sequence. | |
144 | * Option Index:: An item for every command-line option. | |
145 | * Command Index:: An item for each command name. | |
146 | * Variable Index:: An item for each documented variable. | |
147 | * Concept Index:: An item for each concept. | |
148 | ||
753ad1de GM |
149 | * Acknowledgments:: Major contributors to GNU Emacs. |
150 | ||
8cf51b2c GM |
151 | Important General Concepts |
152 | * Screen:: How to interpret what you see on the screen. | |
153 | * User Input:: Kinds of input events (characters, buttons, | |
154 | function keys). | |
155 | * Keys:: Key sequences: what you type to request one | |
156 | editing action. | |
157 | * Commands:: Named functions run by key sequences to do editing. | |
8cf51b2c GM |
158 | * Entering Emacs:: Starting Emacs from the shell. |
159 | * Exiting:: Stopping or killing Emacs. | |
8cf51b2c GM |
160 | |
161 | Fundamental Editing Commands | |
162 | * Basic:: The most basic editing commands. | |
163 | * Minibuffer:: Entering arguments that are prompted for. | |
164 | * M-x:: Invoking commands by their names. | |
165 | * Help:: Commands for asking Emacs about its commands. | |
166 | ||
167 | Important Text-Changing Commands | |
168 | * Mark:: The mark: how to delimit a ``region'' of text. | |
169 | * Killing:: Killing (cutting) text. | |
170 | * Yanking:: Recovering killed text. Moving text. (Pasting.) | |
171 | * Accumulating Text:: Other ways of copying text. | |
172 | * Rectangles:: Operating on the text inside a rectangle on the screen. | |
753ad1de GM |
173 | * CUA Bindings:: Using @kbd{C-x}, @kbd{C-c}, @kbd{C-v} for copy |
174 | and paste, with enhanced rectangle support. | |
8cf51b2c GM |
175 | * Registers:: Saving a text string or a location in the buffer. |
176 | * Display:: Controlling what text is displayed. | |
177 | * Search:: Finding or replacing occurrences of a string. | |
178 | * Fixit:: Commands especially useful for fixing typos. | |
179 | * Keyboard Macros:: A keyboard macro records a sequence of | |
180 | keystrokes to be replayed with a single command. | |
181 | ||
182 | Major Structures of Emacs | |
183 | * Files:: All about handling files. | |
184 | * Buffers:: Multiple buffers; editing several files at once. | |
185 | * Windows:: Viewing two pieces of text at once. | |
186 | * Frames:: Running the same Emacs session in multiple X windows. | |
753ad1de | 187 | * International:: Using non-@acronym{ASCII} character sets. |
8cf51b2c GM |
188 | |
189 | Advanced Features | |
753ad1de | 190 | * Major Modes:: Text mode vs. Lisp mode vs. C mode... |
8cf51b2c GM |
191 | * Indentation:: Editing the white space at the beginnings of lines. |
192 | * Text:: Commands and modes for editing English. | |
193 | * Programs:: Commands and modes for editing programs. | |
194 | * Building:: Compiling, running and debugging programs. | |
195 | * Maintaining:: Features for maintaining large programs. | |
196 | * Abbrevs:: How to define text abbreviations to reduce | |
197 | the number of characters you must type. | |
753ad1de | 198 | @c AFAICS, the tex stuff generates its own index and does not use this one. |
8cf51b2c GM |
199 | @ifnottex |
200 | * Picture Mode:: Editing pictures made up of characters using | |
201 | the quarter-plane screen model. | |
202 | @end ifnottex | |
203 | * Sending Mail:: Sending mail in Emacs. | |
204 | * Rmail:: Reading mail in Emacs. | |
205 | * Dired:: You can ``edit'' a directory to manage files in it. | |
206 | * Calendar/Diary:: The calendar and diary facilities. | |
753ad1de | 207 | * Document View:: Viewing PDF, PS and DVI files. |
8cf51b2c GM |
208 | * Gnus:: How to read netnews with Emacs. |
209 | * Shell:: Executing shell commands from Emacs. | |
210 | * Emacs Server:: Using Emacs as an editing server for @code{mail}, etc. | |
211 | * Printing:: Printing hardcopies of buffers or regions. | |
212 | * Sorting:: Sorting lines, paragraphs or pages within Emacs. | |
213 | * Narrowing:: Restricting display and editing to a portion | |
214 | of the buffer. | |
215 | * Two-Column:: Splitting apart columns to edit them | |
216 | in side-by-side windows. | |
217 | * Editing Binary Files::Using Hexl mode to edit binary files. | |
218 | * Saving Emacs Sessions:: Saving Emacs state from one session to the next. | |
219 | * Recursive Edit:: A command can allow you to do editing | |
220 | "within the command". This is called a | |
221 | "recursive editing level". | |
222 | * Emulation:: Emulating some other editors with Emacs. | |
223 | * Hyperlinking:: Following links in buffers. | |
224 | * Dissociated Press:: Dissociating text for fun. | |
225 | * Amusements:: Various games and hacks. | |
226 | * Customization:: Modifying the behavior of Emacs. | |
8cf51b2c GM |
227 | |
228 | Recovery from Problems | |
229 | * Quitting:: Quitting and aborting. | |
230 | * Lossage:: What to do if Emacs is hung or malfunctioning. | |
231 | * Bugs:: How and when to report a bug. | |
232 | * Contributing:: How to contribute improvements to Emacs. | |
233 | * Service:: How to get help for your own Emacs needs. | |
234 | ||
753ad1de GM |
235 | Appendices |
236 | * Copying:: The GNU General Public License gives you permission | |
237 | to redistribute GNU Emacs on certain terms; | |
238 | it also explains that there is no warranty. | |
239 | * GNU Free Documentation License:: The license for this documentation. | |
240 | * Emacs Invocation:: Hairy startup options. | |
241 | * X Resources:: X resources for customizing Emacs. | |
242 | * Antinews:: Information about Emacs version 22. | |
243 | * Mac OS / GNUstep:: Using Emacs under Mac OS and GNUstep. | |
244 | * Microsoft Windows:: Using Emacs on Microsoft Windows and MS-DOS. | |
245 | * Manifesto:: What's GNU? Gnu's Not Unix! | |
246 | ||
8cf51b2c GM |
247 | @c Do NOT modify the following 3 lines! They must have this form to |
248 | @c be correctly identified by `texinfo-multiple-files-update'. In | |
249 | @c particular, the detailed menu header line MUST be identical to the | |
250 | @c value of `texinfo-master-menu-header'. See texnfo-upd.el. | |
251 | ||
252 | @detailmenu | |
253 | --- The Detailed Node Listing --- | |
254 | --------------------------------- | |
255 | ||
256 | Here are some other nodes which are really inferiors of the ones | |
257 | already listed, mentioned here so you can get to them in one step: | |
258 | ||
259 | The Organization of the Screen | |
260 | ||
261 | * Point:: The place in the text where editing commands operate. | |
262 | * Echo Area:: Short messages appear at the bottom of the screen. | |
263 | * Mode Line:: Interpreting the mode line. | |
264 | * Menu Bar:: How to use the menu bar. | |
265 | ||
266 | Basic Editing Commands | |
267 | ||
268 | * Inserting Text:: Inserting text by simply typing it. | |
753ad1de GM |
269 | * Moving Point:: Moving the cursor to the place where you want to |
270 | change something. | |
8cf51b2c GM |
271 | * Erasing:: Deleting and killing text. |
272 | * Basic Undo:: Undoing recent changes in the text. | |
273 | * Basic Files:: Visiting, creating, and saving files. | |
274 | * Basic Help:: Asking what a character does. | |
753ad1de GM |
275 | * Blank Lines:: Making and deleting blank lines. |
276 | * Continuation Lines:: How Emacs displays lines too wide for the screen. | |
8cf51b2c | 277 | * Position Info:: What page, line, row, or column is point on? |
753ad1de GM |
278 | * Arguments:: Numeric arguments for repeating a command N times. |
279 | * Repeating:: Repeating the previous command quickly. | |
8cf51b2c GM |
280 | |
281 | The Minibuffer | |
282 | ||
283 | * Minibuffer File:: Entering file names with the minibuffer. | |
284 | * Minibuffer Edit:: How to edit in the minibuffer. | |
285 | * Completion:: An abbreviation facility for minibuffer input. | |
286 | * Minibuffer History:: Reusing recent minibuffer arguments. | |
287 | * Repetition:: Re-executing commands that used the minibuffer. | |
8d15c8db | 288 | * Passwords:: Entering passwords in the echo area. |
8cf51b2c GM |
289 | |
290 | Completion | |
291 | ||
753ad1de GM |
292 | * Completion Example:: Examples of using completion. |
293 | * Completion Commands:: A list of completion commands. | |
294 | * Strict Completion:: Different types of completion. | |
295 | * Completion Options:: Options for completion. | |
8cf51b2c GM |
296 | |
297 | Help | |
298 | ||
299 | * Help Summary:: Brief list of all Help commands. | |
300 | * Key Help:: Asking what a key does in Emacs. | |
301 | * Name Help:: Asking about a command, variable or function name. | |
302 | * Apropos:: Asking what pertains to a given topic. | |
303 | * Help Mode:: Special features of Help mode and Help buffers. | |
304 | * Library Keywords:: Finding Lisp libraries by keywords (topics). | |
305 | * Language Help:: Help relating to international language support. | |
306 | * Misc Help:: Other help commands. | |
307 | * Help Files:: Commands to display pre-written help files. | |
753ad1de | 308 | * Help Echo:: Help on active text and tooltips (`balloon help'). |
8cf51b2c GM |
309 | |
310 | The Mark and the Region | |
311 | ||
312 | * Setting Mark:: Commands to set the mark. | |
8cf51b2c | 313 | * Marking Objects:: Commands to put region around textual units. |
8583bd46 | 314 | * Using Region:: Summary of ways to operate on contents of the region. |
02105f6b CY |
315 | * Mark Ring:: Previous mark positions saved so you can go back there. |
316 | * Global Mark Ring:: Previous mark positions in various buffers. | |
317 | * Shift Selection:: Using shifted cursor motion keys. | |
8583bd46 | 318 | * Persistent Mark:: Keeping the mark active all the time. |
8cf51b2c GM |
319 | |
320 | Killing and Moving Text | |
321 | ||
322 | * Deletion:: Commands for deleting small amounts of text and | |
323 | blank areas. | |
324 | * Killing by Lines:: How to kill entire lines of text at one time. | |
325 | * Other Kill Commands:: Commands to kill large regions of text and | |
326 | syntactic units such as words and sentences. | |
91ed7ea8 | 327 | * Kill Options:: Options that affect killing. |
8cf51b2c GM |
328 | |
329 | Yanking | |
330 | ||
331 | * Kill Ring:: Where killed text is stored. Basic yanking. | |
332 | * Appending Kills:: Several kills in a row all yank together. | |
333 | * Earlier Kills:: Yanking something killed some time ago. | |
334 | ||
335 | Registers | |
336 | ||
337 | * RegPos:: Saving positions in registers. | |
338 | * RegText:: Saving text in registers. | |
339 | * RegRect:: Saving rectangles in registers. | |
340 | * RegConfig:: Saving window configurations in registers. | |
341 | * RegNumbers:: Numbers in registers. | |
342 | * RegFiles:: File names in registers. | |
343 | * Bookmarks:: Bookmarks are like registers, but persistent. | |
344 | ||
345 | Controlling the Display | |
346 | ||
753ad1de | 347 | * Scrolling:: Commands to move text up and down in a window. |
8cf51b2c GM |
348 | * Auto Scrolling:: Redisplay scrolls text automatically when needed. |
349 | * Horizontal Scrolling:: Moving text left and right in a window. | |
350 | * Follow Mode:: Follow mode lets two windows scroll as one. | |
351 | * Faces:: How to change the display style using faces. | |
352 | * Standard Faces:: Emacs' predefined faces. | |
fa9f971a | 353 | * Temporary Face Changes:: Commands to temporarily modify the default text face |
8cf51b2c GM |
354 | * Font Lock:: Minor mode for syntactic highlighting using faces. |
355 | * Highlight Interactively:: Tell Emacs what text to highlight. | |
356 | * Fringes:: Enabling or disabling window fringes. | |
357 | * Displaying Boundaries:: Displaying top and bottom of the buffer. | |
358 | * Useless Whitespace:: Showing possibly-spurious trailing whitespace. | |
359 | * Selective Display:: Hiding lines with lots of indentation. | |
360 | * Optional Mode Line:: Optional mode line display features. | |
361 | * Text Display:: How text characters are normally displayed. | |
362 | * Cursor Display:: Features for displaying the cursor. | |
363 | * Line Truncation:: Truncating lines to fit the screen width instead | |
364 | of continuing them to multiple screen lines. | |
4c2e2be9 | 365 | * Visual Line Mode:: Word wrap and screen line-based editing. |
8cf51b2c GM |
366 | * Display Custom:: Information on variables for customizing display. |
367 | ||
368 | Searching and Replacement | |
369 | ||
370 | * Incremental Search:: Search happens as you type the string. | |
371 | * Nonincremental Search:: Specify entire string and then search. | |
372 | * Word Search:: Search for sequence of words. | |
373 | * Regexp Search:: Search for match for a regexp. | |
374 | * Regexps:: Syntax of regular expressions. | |
375 | * Regexp Backslash:: Regular expression constructs starting with `\'. | |
376 | * Regexp Example:: A complex regular expression explained. | |
377 | * Search Case:: To ignore case while searching, or not. | |
378 | * Replace:: Search, and replace some or all matches. | |
379 | * Other Repeating Search:: Operating on all matches for some regexp. | |
380 | ||
381 | Incremental Search | |
382 | ||
383 | * Basic Isearch:: Basic incremental search commands. | |
384 | * Repeat Isearch:: Searching for the same string again. | |
385 | * Error in Isearch:: When your string is not found. | |
386 | * Special Isearch:: Special input in incremental search. | |
8cf51b2c GM |
387 | * Isearch Yank:: Commands that grab text into the search string |
388 | or else edit the search string. | |
8cf51b2c | 389 | * Isearch Scroll:: Scrolling during an incremental search. |
321e63fc | 390 | * Isearch Minibuffer:: Incremental search of the minibuffer history. |
8cf51b2c GM |
391 | * Slow Isearch:: Incremental search features for slow terminals. |
392 | ||
393 | Replacement Commands | |
394 | ||
395 | * Unconditional Replace:: Replacing all matches for a string. | |
396 | * Regexp Replace:: Replacing all matches for a regexp. | |
397 | * Replacement and Case:: How replacements preserve case of letters. | |
398 | * Query Replace:: How to use querying. | |
399 | ||
400 | Commands for Fixing Typos | |
401 | ||
753ad1de | 402 | * Undo:: The Undo commands. |
8cf51b2c GM |
403 | * Transpose:: Exchanging two characters, words, lines, lists... |
404 | * Fixing Case:: Correcting case of last word entered. | |
753ad1de | 405 | * Spelling:: Apply spelling checker to a word, or a whole file. |
8cf51b2c GM |
406 | |
407 | Keyboard Macros | |
408 | ||
409 | * Basic Keyboard Macro:: Defining and running keyboard macros. | |
410 | * Keyboard Macro Ring:: Where previous keyboard macros are saved. | |
411 | * Keyboard Macro Counter:: Inserting incrementing numbers in macros. | |
412 | * Keyboard Macro Query:: Making keyboard macros do different things each time. | |
413 | * Save Keyboard Macro:: Giving keyboard macros names; saving them in files. | |
414 | * Edit Keyboard Macro:: Editing keyboard macros. | |
415 | * Keyboard Macro Step-Edit:: Interactively executing and editing a keyboard | |
416 | macro. | |
417 | ||
418 | File Handling | |
419 | ||
420 | * File Names:: How to type and edit file-name arguments. | |
421 | * Visiting:: Visiting a file prepares Emacs to edit the file. | |
422 | * Saving:: Saving makes your changes permanent. | |
423 | * Reverting:: Reverting cancels all the changes not saved. | |
424 | * Autorevert:: Auto Reverting non-file buffers. | |
425 | * Auto Save:: Auto Save periodically protects against loss of data. | |
426 | * File Aliases:: Handling multiple names for one file. | |
8cf51b2c GM |
427 | * Directories:: Creating, deleting, and listing file directories. |
428 | * Comparing Files:: Finding where two files differ. | |
753ad1de | 429 | * Diff Mode:: Mode for editing file differences. |
8cf51b2c GM |
430 | * Misc File Ops:: Other things you can do on files. |
431 | * Compressed Files:: Accessing compressed files. | |
432 | * File Archives:: Operating on tar, zip, jar etc. archive files. | |
433 | * Remote Files:: Accessing files on other sites. | |
434 | * Quoted File Names:: Quoting special characters in file names. | |
435 | * File Name Cache:: Completion against a list of files you often use. | |
436 | * File Conveniences:: Convenience Features for Finding Files. | |
437 | * Filesets:: Handling sets of files. | |
438 | ||
439 | Saving Files | |
440 | ||
441 | * Save Commands:: Commands for saving files. | |
442 | * Backup:: How Emacs saves the old version of your file. | |
443 | * Customize Save:: Customizing the saving of files. | |
444 | * Interlocking:: How Emacs protects against simultaneous editing | |
445 | of one file by two users. | |
446 | * File Shadowing:: Copying files to "shadows" automatically. | |
447 | * Time Stamps:: Emacs can update time stamps on saved files. | |
448 | ||
449 | Backup Files | |
450 | ||
753ad1de GM |
451 | * Backup Names:: How backup files are named. |
452 | * Backup Deletion:: Emacs deletes excess numbered backups. | |
453 | * Backup Copying:: Backups can be made by copying or renaming. | |
454 | ||
455 | Auto Reverting Non-File Buffers | |
456 | ||
457 | * Auto Reverting the Buffer Menu:: Auto Revert of the Buffer Menu. | |
458 | * Auto Reverting Dired:: Auto Revert of Dired buffers. | |
459 | * Supporting additional buffers:: How to add more Auto Revert support. | |
8cf51b2c GM |
460 | |
461 | Auto-Saving: Protection Against Disasters | |
462 | ||
753ad1de GM |
463 | * Auto Save Files:: The file where auto-saved changes are |
464 | actually made until you save the file. | |
465 | * Auto Save Control:: Controlling when and how often to auto-save. | |
466 | * Recover:: Recovering text from auto-save files. | |
8cf51b2c | 467 | |
8cf51b2c GM |
468 | Using Multiple Buffers |
469 | ||
470 | * Select Buffer:: Creating a new buffer or reselecting an old one. | |
471 | * List Buffers:: Getting a list of buffers that exist. | |
753ad1de | 472 | * Misc Buffer:: Renaming; changing read-onlyness; copying text. |
8cf51b2c GM |
473 | * Kill Buffer:: Killing buffers you no longer need. |
474 | * Several Buffers:: How to go through the list of all buffers | |
475 | and operate variously on several of them. | |
476 | * Indirect Buffers:: An indirect buffer shares the text of another buffer. | |
477 | * Buffer Convenience:: Convenience and customization features for | |
478 | buffer handling. | |
479 | ||
753ad1de GM |
480 | Convenience Features and Customization of Buffer Handling |
481 | ||
482 | * Uniquify:: Making buffer names unique with directory parts. | |
483 | * Iswitchb:: Switching between buffers with substrings. | |
484 | * Buffer Menus:: Configurable buffer menu. | |
485 | ||
8cf51b2c GM |
486 | Multiple Windows |
487 | ||
488 | * Basic Window:: Introduction to Emacs windows. | |
489 | * Split Window:: New windows are made by splitting existing windows. | |
490 | * Other Window:: Moving to another window or doing something to it. | |
491 | * Pop Up Window:: Finding a file or buffer in another window. | |
492 | * Force Same Window:: Forcing certain buffers to appear in the selected | |
493 | window rather than in another window. | |
494 | * Change Window:: Deleting windows and changing their sizes. | |
495 | * Window Convenience:: Convenience functions for window handling. | |
496 | ||
497 | Frames and Graphical Displays | |
498 | ||
499 | * Cut and Paste:: Mouse commands for cut and paste. | |
500 | * Mouse References:: Using the mouse to select an item from a list. | |
501 | * Menu Mouse Clicks:: Mouse clicks that bring up menus. | |
502 | * Mode Line Mouse:: Mouse clicks on the mode line. | |
503 | * Creating Frames:: Creating additional Emacs frames with various contents. | |
504 | * Frame Commands:: Iconifying, deleting, and switching frames. | |
505 | * Speedbar:: How to make and use a speedbar frame. | |
506 | * Multiple Displays:: How one Emacs job can talk to several displays. | |
507 | * Special Buffer Frames:: You can make certain buffers have their own frames. | |
508 | * Frame Parameters:: Changing the colors and other modes of frames. | |
509 | * Scroll Bars:: How to enable and disable scroll bars; how to use them. | |
510 | * Wheeled Mice:: Using mouse wheels for scrolling. | |
511 | * Drag and Drop:: Using drag and drop to open files and insert text. | |
512 | * Menu Bars:: Enabling and disabling the menu bar. | |
513 | * Tool Bars:: Enabling and disabling the tool bar. | |
514 | * Dialog Boxes:: Controlling use of dialog boxes. | |
753ad1de | 515 | * Tooltips:: Displaying information at the current mouse position. |
8cf51b2c GM |
516 | * Mouse Avoidance:: Moving the mouse pointer out of the way. |
517 | * Non-Window Terminals:: Multiple frames on terminals that show only one. | |
518 | * Text-Only Mouse:: Using the mouse in text-only terminals. | |
519 | ||
753ad1de GM |
520 | Killing and Yanking on Graphical Displays |
521 | ||
522 | * Mouse Commands:: Moving, cutting, and pasting, with the mouse. | |
523 | * Word and Line Mouse:: Mouse commands for selecting whole words or lines. | |
524 | * Cut/Paste Other App:: Transfering text between Emacs and other apps. | |
525 | * Secondary Selection:: Cutting without altering point and mark. | |
526 | * Clipboard:: Using the clipboard for selections. | |
527 | ||
8cf51b2c GM |
528 | International Character Set Support |
529 | ||
530 | * International Chars:: Basic concepts of multibyte characters. | |
531 | * Enabling Multibyte:: Controlling whether to use multibyte characters. | |
532 | * Language Environments:: Setting things up for the language you use. | |
533 | * Input Methods:: Entering text characters not on your keyboard. | |
534 | * Select Input Method:: Specifying your choice of input methods. | |
8cf51b2c GM |
535 | * Coding Systems:: Character set conversion when you read and |
536 | write files, and so on. | |
537 | * Recognize Coding:: How Emacs figures out which conversion to use. | |
538 | * Specify Coding:: Specifying a file's coding system explicitly. | |
539 | * Output Coding:: Choosing coding systems for output. | |
540 | * Text Coding:: Choosing conversion to use for file text. | |
541 | * Communication Coding:: Coding systems for interprocess communication. | |
542 | * File Name Coding:: Coding systems for file @emph{names}. | |
543 | * Terminal Coding:: Specifying coding systems for converting | |
544 | terminal input and output. | |
545 | * Fontsets:: Fontsets are collections of fonts | |
546 | that cover the whole spectrum of characters. | |
547 | * Defining Fontsets:: Defining a new fontset. | |
753ad1de | 548 | * Modifying Fontsets:: Modifying an existing fontset. |
8cf51b2c GM |
549 | * Undisplayable Characters::When characters don't display. |
550 | * Unibyte Mode:: You can pick one European character set | |
551 | to use without multibyte characters. | |
552 | * Charsets:: How Emacs groups its internal character codes. | |
553 | ||
554 | Major Modes | |
555 | ||
556 | * Choosing Modes:: How major modes are specified or chosen. | |
557 | ||
558 | Indentation | |
559 | ||
560 | * Indentation Commands:: Various commands and techniques for indentation. | |
561 | * Tab Stops:: You can set arbitrary "tab stops" and then | |
562 | indent to the next tab stop when you want to. | |
563 | * Just Spaces:: You can request indentation using just spaces. | |
564 | ||
565 | Commands for Human Languages | |
566 | ||
567 | * Words:: Moving over and killing words. | |
568 | * Sentences:: Moving over and killing sentences. | |
569 | * Paragraphs:: Moving over paragraphs. | |
570 | * Pages:: Moving over pages. | |
571 | * Filling:: Filling or justifying text. | |
572 | * Case:: Changing the case of text. | |
573 | * Text Mode:: The major modes for editing text files. | |
574 | * Outline Mode:: Editing outlines. | |
575 | * TeX Mode:: Editing input to the formatter TeX. | |
576 | * HTML Mode:: Editing HTML, SGML, and XML files. | |
577 | * Nroff Mode:: Editing input to the formatter nroff. | |
578 | * Formatted Text:: Editing formatted text directly in WYSIWYG fashion. | |
579 | * Text Based Tables:: Editing text-based tables in WYSIWYG fashion. | |
580 | ||
581 | Filling Text | |
582 | ||
583 | * Auto Fill:: Auto Fill mode breaks long lines automatically. | |
8cf51b2c GM |
584 | * Fill Commands:: Commands to refill paragraphs and center lines. |
585 | * Fill Prefix:: Filling paragraphs that are indented | |
586 | or in a comment, etc. | |
587 | * Adaptive Fill:: How Emacs can determine the fill prefix automatically. | |
753ad1de | 588 | * Refill:: Keeping paragraphs filled. |
8cf51b2c GM |
589 | * Longlines:: Editing text with very long lines. |
590 | ||
591 | Outline Mode | |
592 | ||
753ad1de GM |
593 | * Outline Format:: What the text of an outline looks like. |
594 | * Outline Motion:: Special commands for moving through | |
595 | outlines. | |
596 | * Outline Visibility:: Commands to control what is visible. | |
597 | * Outline Views:: Outlines and multiple views. | |
598 | * Foldout:: Folding means zooming in on outlines. | |
8cf51b2c GM |
599 | |
600 | @TeX{} Mode | |
601 | ||
753ad1de GM |
602 | * TeX Editing:: Special commands for editing in TeX mode. |
603 | * LaTeX Editing:: Additional commands for LaTeX input files. | |
604 | * TeX Print:: Commands for printing part of a file with TeX. | |
605 | * TeX Misc:: Customization of TeX mode, and related features. | |
8cf51b2c GM |
606 | |
607 | Editing Formatted Text | |
608 | ||
609 | * Requesting Formatted Text:: Entering and exiting Enriched mode. | |
610 | * Hard and Soft Newlines:: There are two different kinds of newlines. | |
611 | * Editing Format Info:: How to edit text properties. | |
753ad1de GM |
612 | * Format Faces:: Bold, italic, underline, etc. |
613 | * Format Colors:: Changing the color of text. | |
614 | * Format Indentation:: Changing the left and right margins. | |
615 | * Format Justification:: Centering, setting text flush with the | |
8cf51b2c | 616 | left or right margin, etc. |
753ad1de | 617 | * Format Properties:: The "special" text properties submenu. |
8cf51b2c GM |
618 | * Forcing Enriched Mode:: How to force use of Enriched mode. |
619 | ||
753ad1de GM |
620 | @c The automatic texinfo menu update inserts some duplicate items here |
621 | @c (faces, colors, indentation, justification, properties), because | |
622 | @c they are listed in two menus. But we already have them above, no | |
623 | @c need to list them twice. | |
624 | ||
8cf51b2c GM |
625 | Editing Text-based Tables |
626 | ||
627 | * Table Definition:: What is a text based table. | |
628 | * Table Creation:: How to create a table. | |
629 | * Table Recognition:: How to activate and deactivate tables. | |
630 | * Cell Commands:: Cell-oriented commands in a table. | |
631 | * Cell Justification:: Justifying cell contents. | |
632 | * Row Commands:: Manipulating rows of table cell. | |
633 | * Column Commands:: Manipulating columns of table cell. | |
634 | * Fixed Width Mode:: Fixing cell width. | |
635 | * Table Conversion:: Converting between plain text and tables. | |
636 | * Measuring Tables:: Analyzing table dimension. | |
637 | * Table Misc:: Table miscellany. | |
638 | ||
639 | Editing Programs | |
640 | ||
641 | * Program Modes:: Major modes for editing programs. | |
642 | * Defuns:: Commands to operate on major top-level parts | |
643 | of a program. | |
644 | * Program Indent:: Adjusting indentation to show the nesting. | |
645 | * Parentheses:: Commands that operate on parentheses. | |
646 | * Comments:: Inserting, killing, and aligning comments. | |
647 | * Documentation:: Getting documentation of functions you plan to call. | |
648 | * Hideshow:: Displaying blocks selectively. | |
649 | * Symbol Completion:: Completion on symbol names of your program or language. | |
650 | * Glasses:: Making identifiersLikeThis more readable. | |
651 | * Misc for Programs:: Other Emacs features useful for editing programs. | |
652 | * C Modes:: Special commands of C, C++, Objective-C, | |
653 | Java, and Pike modes. | |
654 | * Asm Mode:: Asm mode and its special features. | |
655 | * Fortran:: Fortran mode and its special features. | |
656 | ||
657 | Top-Level Definitions, or Defuns | |
658 | ||
659 | * Left Margin Paren:: An open-paren or similar opening delimiter | |
660 | starts a defun if it is at the left margin. | |
661 | * Moving by Defuns:: Commands to move over or mark a major definition. | |
662 | * Imenu:: Making buffer indexes as menus. | |
663 | * Which Function:: Which Function mode shows which function you are in. | |
664 | ||
665 | Indentation for Programs | |
666 | ||
667 | * Basic Indent:: Indenting a single line. | |
668 | * Multi-line Indent:: Commands to reindent many lines at once. | |
669 | * Lisp Indent:: Specifying how each Lisp function should be indented. | |
670 | * C Indent:: Extra features for indenting C and related modes. | |
671 | * Custom C Indent:: Controlling indentation style for C and related modes. | |
672 | ||
673 | Commands for Editing with Parentheses | |
674 | ||
675 | * Expressions:: Expressions with balanced parentheses. | |
676 | * Moving by Parens:: Commands for moving up, down and across | |
677 | in the structure of parentheses. | |
678 | * Matching:: Insertion of a close-delimiter flashes matching open. | |
679 | ||
680 | Manipulating Comments | |
681 | ||
682 | * Comment Commands:: Inserting, killing, and aligning comments. | |
683 | * Multi-Line Comments:: Commands for adding and editing multi-line comments. | |
684 | * Options for Comments::Customizing the comment features. | |
685 | ||
686 | Documentation Lookup | |
687 | ||
688 | * Info Lookup:: Looking up library functions and commands | |
689 | in Info files. | |
690 | * Man Page:: Looking up man pages of library functions and commands. | |
691 | * Lisp Doc:: Looking up Emacs Lisp functions, etc. | |
692 | ||
693 | C and Related Modes | |
694 | ||
695 | * Motion in C:: Commands to move by C statements, etc. | |
696 | * Electric C:: Colon and other chars can automatically reindent. | |
697 | * Hungry Delete:: A more powerful DEL command. | |
698 | * Other C Commands:: Filling comments, viewing expansion of macros, | |
699 | and other neat features. | |
700 | ||
753ad1de GM |
701 | Fortran Mode |
702 | ||
703 | * Fortran Motion:: Moving point by statements or subprograms. | |
704 | * Fortran Indent:: Indentation commands for Fortran. | |
705 | * Fortran Comments:: Inserting and aligning comments. | |
706 | * Fortran Autofill:: Auto fill support for Fortran. | |
707 | * Fortran Columns:: Measuring columns for valid Fortran. | |
708 | * Fortran Abbrev:: Built-in abbrevs for Fortran keywords. | |
709 | ||
710 | Fortran Indentation | |
711 | ||
712 | * ForIndent Commands:: Commands for indenting and filling Fortran. | |
713 | * ForIndent Cont:: How continuation lines indent. | |
714 | * ForIndent Num:: How line numbers auto-indent. | |
715 | * ForIndent Conv:: Conventions you must obey to avoid trouble. | |
716 | * ForIndent Vars:: Variables controlling Fortran indent style. | |
717 | ||
8cf51b2c GM |
718 | Compiling and Testing Programs |
719 | ||
720 | * Compilation:: Compiling programs in languages other | |
721 | than Lisp (C, Pascal, etc.). | |
722 | * Compilation Mode:: The mode for visiting compiler errors. | |
723 | * Compilation Shell:: Customizing your shell properly | |
724 | for use in the compilation buffer. | |
725 | * Grep Searching:: Searching with grep. | |
726 | * Flymake:: Finding syntax errors on the fly. | |
727 | * Debuggers:: Running symbolic debuggers for non-Lisp programs. | |
728 | * Executing Lisp:: Various modes for editing Lisp programs, | |
729 | with different facilities for running | |
730 | the Lisp programs. | |
731 | * Lisp Libraries:: Creating Lisp programs to run in Emacs. | |
732 | * Lisp Eval:: Executing a single Lisp expression in Emacs. | |
733 | * Lisp Interaction:: Executing Lisp in an Emacs buffer. | |
734 | * External Lisp:: Communicating through Emacs with a separate Lisp. | |
735 | ||
736 | Running Debuggers Under Emacs | |
737 | ||
738 | * Starting GUD:: How to start a debugger subprocess. | |
739 | * Debugger Operation:: Connection between the debugger and source buffers. | |
740 | * Commands of GUD:: Key bindings for common commands. | |
741 | * GUD Customization:: Defining your own commands for GUD. | |
742 | * GDB Graphical Interface:: An enhanced mode that uses GDB features to | |
743 | implement a graphical debugging environment through | |
744 | Emacs. | |
745 | ||
753ad1de GM |
746 | GDB Graphical Interface |
747 | ||
49f073bd NR |
748 | * GDB-UI Layout:: Control the number of displayed buffers. |
749 | * Source Buffers:: Use the mouse in the fringe/margin to | |
750 | control your program. | |
751 | * Breakpoints Buffer:: A breakpoint control panel. | |
752 | * Stack Buffer:: Select a frame from the call stack. | |
753 | * Other GDB-UI Buffers::Input/output, locals, registers, | |
754 | assembler, threads and memory buffers. | |
755 | * Watch Expressions:: Monitor variable values in the speedbar. | |
753ad1de | 756 | |
8cf51b2c GM |
757 | Maintaining Large Programs |
758 | ||
753ad1de | 759 | * Version Control:: Using version control systems. |
8cf51b2c | 760 | * Change Log:: Maintaining a change history for your program. |
4d120d6a | 761 | * Tags:: Go directly to any function in your program in one |
8cf51b2c GM |
762 | command. Tags remembers which file it is in. |
763 | * Emerge:: A convenient way of merging two versions of a program. | |
764 | ||
1963ba49 CY |
765 | Version Control |
766 | ||
767 | * Introduction to VC:: How version control works in general. | |
768 | * VC Mode Line:: How the mode line shows version control status. | |
769 | * Basic VC Editing:: How to edit a file under version control. | |
753ad1de | 770 | * Old Revisions:: Examining and comparing old versions. |
1963ba49 | 771 | * Secondary VC Commands:: The commands used a little less frequently. |
753ad1de | 772 | * VC Directory Mode:: Listing files managed by version control. |
1963ba49 CY |
773 | * Branches:: Multiple lines of development. |
774 | * Remote Repositories:: Efficient access to remote CVS servers. | |
753ad1de | 775 | * Revision Tags:: Symbolic names for revisions. |
1963ba49 CY |
776 | * Miscellaneous VC:: Various other commands and features of VC. |
777 | * Customizing VC:: Variables that change VC's behavior. | |
753ad1de GM |
778 | |
779 | Introduction to Version Control | |
780 | ||
781 | * Why Version Control?:: Understanding the problems it addresses. | |
782 | * Version Control Systems:: Supported version control back-end systems. | |
783 | * VCS Concepts:: Words and concepts related to version control. | |
784 | * Types of Log File:: The VCS log in contrast to the ChangeLog. | |
785 | ||
786 | Basic Editing under Version Control | |
787 | ||
788 | * VC With A Merging VCS:: Without locking: default mode for CVS. | |
789 | * VC With A Locking VCS:: RCS in its default mode, SCCS, and optionally CVS. | |
790 | * Advanced C-x v v:: Advanced features available with a prefix argument. | |
791 | * Log Buffer:: Features available in log entry buffers. | |
792 | ||
793 | The Secondary Commands of VC | |
794 | ||
795 | * Registering:: Putting a file under version control. | |
796 | * VC Status:: Viewing the VC status of files. | |
797 | * VC Undo:: Canceling changes before or after check-in. | |
798 | ||
799 | VC Directory Mode | |
800 | ||
801 | * VC Directory Buffer:: What the buffer looks like and means. | |
802 | * VC Directory Commands:: Commands to use in a VC directory buffer. | |
803 | ||
804 | Multiple Branches of a File | |
805 | ||
806 | * Switching Branches:: How to get to another existing branch. | |
807 | * Creating Branches:: How to start a new branch. | |
808 | * Merging:: Transferring changes between branches. | |
809 | * Multi-User Branching:: Multiple users working at multiple branches | |
810 | in parallel. | |
811 | ||
812 | Remote Repositories | |
813 | ||
814 | * Version Backups:: Keeping local copies of repository versions. | |
815 | * Local Version Control:: Using another version system for local editing. | |
816 | ||
817 | Revision Tags | |
818 | ||
819 | * Making Revision Tags:: The tag facilities. | |
820 | * Revision Tag Caveats:: Things to be careful of when using tags. | |
821 | ||
822 | Miscellaneous Commands and Features of VC | |
823 | ||
824 | * Change Logs and VC:: Generating a change log file from log entries. | |
825 | * Renaming and VC:: A command to rename both the source and master | |
826 | file correctly. | |
827 | * Version Headers:: Inserting version control headers into working files. | |
828 | ||
829 | Customizing VC | |
830 | ||
831 | * General VC Options:: Options that apply to multiple back ends. | |
832 | * RCS and SCCS:: Options for RCS and SCCS. | |
833 | * CVS Options:: Options for CVS. | |
834 | ||
835 | Change Logs | |
836 | ||
837 | * Change Log Commands:: Commands for editing change log files. | |
838 | * Format of ChangeLog:: What the change log file looks like. | |
1963ba49 | 839 | |
8cf51b2c GM |
840 | Tags Tables |
841 | ||
842 | * Tag Syntax:: Tag syntax for various types of code and text files. | |
843 | * Create Tags Table:: Creating a tags table with @code{etags}. | |
844 | * Etags Regexps:: Create arbitrary tags using regular expressions. | |
845 | * Select Tags Table:: How to visit a tags table. | |
846 | * Find Tag:: Commands to find the definition of a specific tag. | |
847 | * Tags Search:: Using a tags table for searching and replacing. | |
848 | * List Tags:: Listing and finding tags defined in a file. | |
849 | ||
753ad1de GM |
850 | Merging Files with Emerge |
851 | ||
852 | * Overview of Emerge:: How to start Emerge. Basic concepts. | |
853 | * Submodes of Emerge:: Fast mode vs. Edit mode. | |
854 | Skip Prefers mode and Auto Advance mode. | |
855 | * State of Difference:: You do the merge by specifying state A or B | |
856 | for each difference. | |
857 | * Merge Commands:: Commands for selecting a difference, | |
858 | changing states of differences, etc. | |
859 | * Exiting Emerge:: What to do when you've finished the merge. | |
860 | * Combining in Emerge:: How to keep both alternatives for a difference. | |
861 | * Fine Points of Emerge:: Miscellaneous issues. | |
862 | ||
8cf51b2c GM |
863 | Abbrevs |
864 | ||
865 | * Abbrev Concepts:: Fundamentals of defined abbrevs. | |
866 | * Defining Abbrevs:: Defining an abbrev, so it will expand when typed. | |
867 | * Expanding Abbrevs:: Controlling expansion: prefixes, canceling expansion. | |
868 | * Editing Abbrevs:: Viewing or editing the entire list of defined abbrevs. | |
869 | * Saving Abbrevs:: Saving the entire list of abbrevs for another session. | |
870 | * Dynamic Abbrevs:: Abbreviations for words already in the buffer. | |
871 | * Dabbrev Customization:: What is a word, for dynamic abbrevs. Case handling. | |
872 | ||
873 | @ifnottex | |
874 | Editing Pictures | |
875 | ||
876 | * Basic Picture:: Basic concepts and simple commands of Picture Mode. | |
877 | * Insert in Picture:: Controlling direction of cursor motion | |
878 | after "self-inserting" characters. | |
879 | * Tabs in Picture:: Various features for tab stops and indentation. | |
880 | * Rectangles in Picture:: Clearing and superimposing rectangles. | |
881 | @end ifnottex | |
882 | ||
883 | Sending Mail | |
884 | ||
885 | * Mail Format:: Format of the mail being composed. | |
753ad1de | 886 | * Mail Headers:: Details of some standard mail header fields. |
8cf51b2c GM |
887 | * Mail Aliases:: Abbreviating and grouping mail addresses. |
888 | * Mail Mode:: Special commands for editing mail being composed. | |
753ad1de | 889 | * Mail Amusements:: Distracting the NSA; adding fortune messages. |
8cf51b2c GM |
890 | * Mail Methods:: Using alternative mail-composition methods. |
891 | ||
753ad1de GM |
892 | Mail Mode |
893 | ||
894 | * Mail Sending:: Commands to send the message. | |
895 | * Header Editing:: Commands to move to header fields and edit them. | |
896 | * Citing Mail:: Copying all or part of a message you are replying to. | |
897 | * Mail Mode Misc:: Spell checking, signatures, etc. | |
898 | ||
8cf51b2c GM |
899 | Reading Mail with Rmail |
900 | ||
901 | * Rmail Basics:: Basic concepts of Rmail, and simple use. | |
902 | * Rmail Scrolling:: Scrolling through a message. | |
903 | * Rmail Motion:: Moving to another message. | |
904 | * Rmail Deletion:: Deleting and expunging messages. | |
905 | * Rmail Inbox:: How mail gets into the Rmail file. | |
906 | * Rmail Files:: Using multiple Rmail files. | |
907 | * Rmail Output:: Copying message out to files. | |
908 | * Rmail Labels:: Classifying messages by labeling them. | |
909 | * Rmail Attributes:: Certain standard labels, called attributes. | |
910 | * Rmail Reply:: Sending replies to messages you are viewing. | |
911 | * Rmail Summary:: Summaries show brief info on many messages. | |
912 | * Rmail Sorting:: Sorting messages in Rmail. | |
913 | * Rmail Display:: How Rmail displays a message; customization. | |
914 | * Rmail Coding:: How Rmail handles decoding character sets. | |
915 | * Rmail Editing:: Editing message text and headers in Rmail. | |
916 | * Rmail Digest:: Extracting the messages from a digest message. | |
8cf51b2c GM |
917 | * Rmail Rot13:: Reading messages encoded in the rot13 code. |
918 | * Movemail:: More details of fetching new mail. | |
753ad1de GM |
919 | * Remote Mailboxes:: Retrieving mail from remote mailboxes. |
920 | * Other Mailbox Formats:: Retrieving mail from local mailboxes in | |
921 | various formats. | |
922 | ||
923 | Summaries | |
924 | ||
925 | * Rmail Make Summary:: Making various sorts of summaries. | |
926 | * Rmail Summary Edit:: Manipulating messages from the summary. | |
8cf51b2c GM |
927 | |
928 | Dired, the Directory Editor | |
929 | ||
930 | * Dired Enter:: How to invoke Dired. | |
753ad1de | 931 | * Dired Navigation:: Special motion commands in the Dired buffer. |
8cf51b2c GM |
932 | * Dired Deletion:: Deleting files with Dired. |
933 | * Flagging Many Files:: Flagging files based on their names. | |
934 | * Dired Visiting:: Other file operations through Dired. | |
935 | * Marks vs Flags:: Flagging for deletion vs marking. | |
936 | * Operating on Files:: How to copy, rename, print, compress, etc. | |
937 | either one file or several files. | |
938 | * Shell Commands in Dired:: Running a shell command on the marked files. | |
939 | * Transforming File Names:: Using patterns to rename multiple files. | |
940 | * Comparison in Dired:: Running `diff' by way of Dired. | |
941 | * Subdirectories in Dired:: Adding subdirectories to the Dired buffer. | |
942 | * Subdir Switches:: Subdirectory switches in Dired. | |
943 | * Subdirectory Motion:: Moving across subdirectories, and up and down. | |
944 | * Hiding Subdirectories:: Making subdirectories visible or invisible. | |
945 | * Dired Updating:: Discarding lines for files of no interest. | |
946 | * Dired and Find:: Using `find' to choose the files for Dired. | |
947 | * Wdired:: Operating on files by editing the Dired buffer. | |
753ad1de | 948 | * Image-Dired:: Viewing image thumbnails in Dired. |
8cf51b2c GM |
949 | * Misc Dired Features:: Various other features. |
950 | ||
951 | The Calendar and the Diary | |
952 | ||
953 | * Calendar Motion:: Moving through the calendar; selecting a date. | |
954 | * Scroll Calendar:: Bringing earlier or later months onto the screen. | |
955 | * Counting Days:: How many days are there between two dates? | |
956 | * General Calendar:: Exiting or recomputing the calendar. | |
957 | * Writing Calendar Files:: Writing calendars to files of various formats. | |
958 | * Holidays:: Displaying dates of holidays. | |
959 | * Sunrise/Sunset:: Displaying local times of sunrise and sunset. | |
960 | * Lunar Phases:: Displaying phases of the moon. | |
961 | * Other Calendars:: Converting dates to other calendar systems. | |
962 | * Diary:: Displaying events from your diary. | |
963 | * Appointments:: Reminders when it's time to do something. | |
964 | * Importing Diary:: Converting diary events to/from other formats. | |
965 | * Daylight Saving:: How to specify when daylight saving time is active. | |
966 | * Time Intervals:: Keeping track of time intervals. | |
967 | * Advanced Calendar/Diary Usage:: Advanced Calendar/Diary customization. | |
968 | ||
969 | Movement in the Calendar | |
970 | ||
971 | * Calendar Unit Motion:: Moving by days, weeks, months, and years. | |
972 | * Move to Beginning or End:: Moving to start/end of weeks, months, and years. | |
973 | * Specified Dates:: Moving to the current date or another | |
974 | specific date. | |
975 | ||
976 | Conversion To and From Other Calendars | |
977 | ||
978 | * Calendar Systems:: The calendars Emacs understands | |
979 | (aside from Gregorian). | |
980 | * To Other Calendar:: Converting the selected date to various calendars. | |
981 | * From Other Calendar:: Moving to a date specified in another calendar. | |
982 | * Mayan Calendar:: Moving to a date specified in a Mayan calendar. | |
983 | ||
984 | The Diary | |
985 | ||
986 | * Displaying the Diary:: Viewing diary entries and associated calendar dates. | |
987 | * Format of Diary File:: Entering events in your diary. | |
988 | * Date Formats:: Various ways you can specify dates. | |
989 | * Adding to Diary:: Commands to create diary entries. | |
990 | * Special Diary Entries:: Anniversaries, blocks of dates, cyclic entries, etc. | |
991 | ||
753ad1de GM |
992 | Customizing the Calendar and Diary |
993 | ||
994 | * Calendar Customizing:: Calendar layout and hooks. | |
995 | * Holiday Customizing:: Defining your own holidays. | |
996 | * Date Display Format:: Changing the format. | |
997 | * Time Display Format:: Changing the format. | |
998 | * Diary Customizing:: Defaults you can set. | |
999 | * Non-Gregorian Diary:: Diary entries based on other calendars. | |
806642d4 GM |
1000 | * Diary Display:: A choice of ways to display the diary. |
1001 | * Fancy Diary Display:: Sorting diary entries, using included diary files. | |
1002 | * Sexp Diary Entries:: More flexible diary entries. | |
753ad1de GM |
1003 | |
1004 | Document Viewing | |
3f6db393 CY |
1005 | |
1006 | * Navigation:: Navigation inside DocView buffers. | |
1007 | * Searching:: Searching inside documents. | |
753ad1de | 1008 | * Slicing:: Specifying which part of pages should be displayed. |
fa687b02 | 1009 | * Conversion:: Influencing and triggering conversion. |
3f6db393 | 1010 | |
8cf51b2c GM |
1011 | Gnus |
1012 | ||
1013 | * Buffers of Gnus:: The group, summary, and article buffers. | |
1014 | * Gnus Startup:: What you should know about starting Gnus. | |
1015 | * Summary of Gnus:: A short description of the basic Gnus commands. | |
1016 | ||
1017 | Running Shell Commands from Emacs | |
1018 | ||
1019 | * Single Shell:: How to run one shell command and return. | |
1020 | * Interactive Shell:: Permanent shell taking input via Emacs. | |
1021 | * Shell Mode:: Special Emacs commands used with permanent shell. | |
1022 | * Shell Prompts:: Two ways to recognize shell prompts. | |
1023 | * Shell History:: Repeating previous commands in a shell buffer. | |
1024 | * Directory Tracking:: Keeping track when the subshell changes directory. | |
1025 | * Shell Options:: Options for customizing Shell mode. | |
1026 | * Terminal emulator:: An Emacs window as a terminal emulator. | |
1027 | * Term Mode:: Special Emacs commands used in Term mode. | |
1028 | * Paging in Term:: Paging in the terminal emulator. | |
1029 | * Remote Host:: Connecting to another computer. | |
37e5d54a | 1030 | * Serial Terminal:: Connecting to a serial port. |
8cf51b2c | 1031 | |
753ad1de GM |
1032 | Shell Command History |
1033 | ||
1034 | * Shell Ring:: Fetching commands from the history list. | |
1035 | * Shell History Copying::Moving to a command and then copying it. | |
1036 | * History References:: Expanding @samp{!}-style history references. | |
1037 | ||
8cf51b2c GM |
1038 | Using Emacs as a Server |
1039 | ||
e670e599 CY |
1040 | * Invoking emacsclient:: Connecting to the Emacs server. |
1041 | * emacsclient Options:: Emacs client startup options. | |
8cf51b2c GM |
1042 | |
1043 | Printing Hard Copies | |
1044 | ||
1045 | * PostScript:: Printing buffers or regions as PostScript. | |
1046 | * PostScript Variables:: Customizing the PostScript printing commands. | |
1047 | * Printing Package:: An optional advanced printing interface. | |
1048 | ||
1049 | Hyperlinking and Navigation Features | |
1050 | ||
1051 | * Browse-URL:: Following URLs. | |
60d8d164 | 1052 | * Goto Address mode:: Activating URLs. |
8cf51b2c GM |
1053 | * FFAP:: Finding files etc. at point. |
1054 | ||
1055 | Customization | |
1056 | ||
753ad1de | 1057 | * Minor Modes:: Each minor mode is a feature you can turn on |
8cf51b2c | 1058 | independently of any others. |
753ad1de | 1059 | * Easy Customization:: Convenient way to browse and change settings. |
8cf51b2c GM |
1060 | * Variables:: Many Emacs commands examine Emacs variables |
1061 | to decide what to do; by setting variables, | |
1062 | you can control their functioning. | |
1063 | * Key Bindings:: The keymaps say what command each key runs. | |
1064 | By changing them, you can "redefine keys". | |
1065 | * Syntax:: The syntax table controls how words and | |
1066 | expressions are parsed. | |
1067 | * Init File:: How to write common customizations in the | |
1068 | @file{.emacs} file. | |
1069 | ||
753ad1de GM |
1070 | Easy Customization Interface |
1071 | ||
1072 | * Customization Groups:: How settings are classified in a structure. | |
1073 | * Browsing Custom:: Browsing and searching for settings. | |
1074 | * Changing a Variable:: How to edit an option's value and set the option. | |
1075 | * Saving Customizations:: Specifying the file for saving customizations. | |
1076 | * Face Customization:: How to edit the attributes of a face. | |
1077 | * Specific Customization:: Making a customization buffer for specific | |
1078 | variables, faces, or groups. | |
1079 | * Custom Themes:: How to define collections of customized options | |
1080 | that can be loaded and unloaded together. | |
1081 | ||
8cf51b2c GM |
1082 | Variables |
1083 | ||
1084 | * Examining:: Examining or setting one variable's value. | |
1085 | * Hooks:: Hook variables let you specify programs for parts | |
1086 | of Emacs to run on particular occasions. | |
1087 | * Locals:: Per-buffer values of variables. | |
1088 | * File Variables:: How files can specify variable values. | |
753ad1de GM |
1089 | * Directory Variables:: How variable values can be specified by directory. |
1090 | ||
1091 | Local Variables in Files | |
1092 | ||
1093 | * Specifying File Variables:: Specifying file local variables. | |
1094 | * Safe File Variables:: Making sure file local variables are safe. | |
8cf51b2c GM |
1095 | |
1096 | Customizing Key Bindings | |
1097 | ||
1098 | * Keymaps:: Generalities. The global keymap. | |
1099 | * Prefix Keymaps:: Keymaps for prefix keys. | |
1100 | * Local Keymaps:: Major and minor modes have their own keymaps. | |
1101 | * Minibuffer Maps:: The minibuffer uses its own local keymaps. | |
1102 | * Rebinding:: How to redefine one key's meaning conveniently. | |
1103 | * Init Rebinding:: Rebinding keys with your init file, @file{.emacs}. | |
f049d162 | 1104 | * Modifier Keys:: Using modifier keys in key bindings. |
8cf51b2c GM |
1105 | * Function Keys:: Rebinding terminal function keys. |
1106 | * Named ASCII Chars:: Distinguishing @key{TAB} from @kbd{C-i}, and so on. | |
1107 | * Mouse Buttons:: Rebinding mouse buttons in Emacs. | |
1108 | * Disabling:: Disabling a command means confirmation is required | |
1109 | before it can be executed. This is done to protect | |
1110 | beginners from surprises. | |
1111 | ||
1112 | The Init File, @file{~/.emacs} | |
1113 | ||
1114 | * Init Syntax:: Syntax of constants in Emacs Lisp. | |
1115 | * Init Examples:: How to do some things with an init file. | |
1116 | * Terminal Init:: Each terminal type can have an init file. | |
1117 | * Find Init:: How Emacs finds the init file. | |
1118 | * Init Non-ASCII:: Using non-@acronym{ASCII} characters in an init file. | |
1119 | ||
1120 | Dealing with Emacs Trouble | |
1121 | ||
1122 | * DEL Does Not Delete:: What to do if @key{DEL} doesn't delete. | |
1123 | * Stuck Recursive:: `[...]' in mode line around the parentheses. | |
1124 | * Screen Garbled:: Garbage on the screen. | |
1125 | * Text Garbled:: Garbage in the text. | |
1126 | * Memory Full:: How to cope when you run out of memory. | |
1127 | * After a Crash:: Recovering editing in an Emacs session that crashed. | |
1128 | * Emergency Escape:: Emergency escape--- | |
1129 | What to do if Emacs stops responding. | |
1130 | * Total Frustration:: When you are at your wits' end. | |
1131 | ||
1132 | Reporting Bugs | |
1133 | ||
1134 | * Bug Criteria:: Have you really found a bug? | |
1135 | * Understanding Bug Reporting:: How to report a bug effectively. | |
1136 | * Checklist:: Steps to follow for a good bug report. | |
1137 | * Sending Patches:: How to send a patch for GNU Emacs. | |
1138 | ||
1139 | Command Line Arguments for Emacs Invocation | |
1140 | ||
1141 | * Action Arguments:: Arguments to visit files, load libraries, | |
1142 | and call functions. | |
1143 | * Initial Options:: Arguments that take effect while starting Emacs. | |
1144 | * Command Example:: Examples of using command line arguments. | |
1145 | * Resume Arguments:: Specifying arguments when you resume a running Emacs. | |
1146 | * Environment:: Environment variables that Emacs uses. | |
1147 | * Display X:: Changing the default display and using remote login. | |
1148 | * Font X:: Choosing a font for text, under X. | |
1149 | * Colors:: Choosing display colors. | |
1150 | * Window Size X:: Start-up window size, under X. | |
1151 | * Borders X:: Internal and external borders, under X. | |
1152 | * Title X:: Specifying the initial frame's title. | |
1153 | * Icons X:: Choosing what sort of icon to use, under X. | |
1154 | * Misc X:: Other display options. | |
1155 | ||
1156 | Environment Variables | |
1157 | ||
1158 | * General Variables:: Environment variables that all versions of Emacs use. | |
753ad1de | 1159 | * Misc Variables:: Certain system-specific variables. |
8cf51b2c GM |
1160 | * MS-Windows Registry:: An alternative to the environment on MS-Windows. |
1161 | ||
1162 | X Options and Resources | |
1163 | ||
1164 | * Resources:: Using X resources with Emacs (in general). | |
1165 | * Table of Resources:: Table of specific X resources that affect Emacs. | |
1166 | * Face Resources:: X resources for customizing faces. | |
1167 | * Lucid Resources:: X resources for Lucid menus. | |
1168 | * LessTif Resources:: X resources for LessTif and Motif menus. | |
1169 | * GTK resources:: Resources for GTK widgets. | |
1170 | ||
753ad1de GM |
1171 | GTK resources |
1172 | ||
1173 | * GTK widget names:: How widgets in GTK are named in general. | |
1174 | * GTK Names in Emacs:: GTK widget names in Emacs. | |
1175 | * GTK styles:: What can be customized in a GTK widget. | |
1176 | ||
e93bc142 | 1177 | Emacs and Mac OS / GNUstep |
8cf51b2c | 1178 | |
753ad1de GM |
1179 | * Mac / GNUstep Basics:: Basic Emacs usage under GNUstep or Mac OS. |
1180 | * Mac / GNUstep Customization:: Customizations under GNUstep or Mac OS. | |
1181 | * Mac / GNUstep Events:: How window system events are handled. | |
1182 | * GNUstep Support:: Details on status of GNUstep support. | |
8cf51b2c GM |
1183 | |
1184 | Emacs and Microsoft Windows/MS-DOS | |
1185 | ||
1186 | * Text and Binary:: Text files use CRLF to terminate lines. | |
1187 | * Windows Files:: File-name conventions on Windows. | |
1188 | * ls in Lisp:: Emulation of @code{ls} for Dired. | |
1189 | * Windows HOME:: Where Emacs looks for your @file{.emacs}. | |
1190 | * Windows Keyboard:: Windows-specific keyboard features. | |
1191 | * Windows Mouse:: Windows-specific mouse features. | |
1192 | * Windows Processes:: Running subprocesses on Windows. | |
1193 | * Windows Printing:: How to specify the printer on MS-Windows. | |
753ad1de | 1194 | * Windows Fonts:: Specifying fonts on MS-Windows. |
8cf51b2c GM |
1195 | * Windows Misc:: Miscellaneous Windows features. |
1196 | * MS-DOS:: Using Emacs on MS-DOS (otherwise known as @dfn{MS-DOG}). | |
753ad1de GM |
1197 | |
1198 | Emacs and MS-DOS | |
1199 | ||
1200 | * MS-DOS Keyboard:: Keyboard conventions on MS-DOS. | |
1201 | * MS-DOS Mouse:: Mouse conventions on MS-DOS. | |
1202 | * MS-DOS Display:: Fonts, frames and display size on MS-DOS. | |
1203 | * MS-DOS File Names:: File name conventions on MS-DOS. | |
1204 | * MS-DOS Printing:: Printing specifics on MS-DOS. | |
1205 | * MS-DOS and MULE:: Support for internationalization on MS-DOS. | |
1206 | * MS-DOS Processes:: Running subprocesses on MS-DOS. | |
1207 | ||
8cf51b2c GM |
1208 | @end detailmenu |
1209 | @end menu | |
1210 | ||
1211 | @iftex | |
1212 | @unnumbered Preface | |
1213 | ||
1214 | This manual documents the use and simple customization of the Emacs | |
1215 | editor. Simple Emacs customizations do not require you to be a | |
1216 | programmer, but if you are not interested in customizing, you can | |
1217 | ignore the customization hints. | |
1218 | ||
1219 | This is primarily a reference manual, but can also be used as a | |
1220 | primer. If you are new to Emacs, we recommend you start with | |
753ad1de | 1221 | the integrated, learn-by-doing tutorial, before reading the manual. To |
8cf51b2c GM |
1222 | run the tutorial, start Emacs and type @kbd{C-h t}. The tutorial |
1223 | describes commands, tells you when to try them, and explains the | |
1224 | results. | |
1225 | ||
1226 | On first reading, just skim chapters 1 and 2, which describe the | |
1227 | notational conventions of the manual and the general appearance of the | |
1228 | Emacs display screen. Note which questions are answered in these | |
1229 | chapters, so you can refer back later. After reading chapter 4, you | |
1230 | should practice the commands shown there. The next few chapters | |
1231 | describe fundamental techniques and concepts that are used constantly. | |
1232 | You need to understand them thoroughly, so experiment with them | |
1233 | until you are fluent. | |
1234 | ||
1235 | Chapters 14 through 19 describe intermediate-level features that are | |
1236 | useful for many kinds of editing. Chapter 20 and following chapters | |
1237 | describe optional but useful features; read those chapters when you | |
1238 | need them. | |
1239 | ||
753ad1de GM |
1240 | Read the Common Problems chapter if Emacs does not seem to be |
1241 | working properly. It explains how to cope with several common | |
1242 | problems (@pxref{Lossage}), as well as when and how to report Emacs | |
1243 | bugs (@pxref{Bugs}). | |
8cf51b2c GM |
1244 | |
1245 | To find the documentation of a particular command, look in the index. | |
1246 | Keys (character commands) and command names have separate indexes. | |
1247 | There is also a glossary, with a cross reference for each term. | |
1248 | ||
1249 | This manual is available as a printed book and also as an Info file. | |
753ad1de GM |
1250 | The Info file is for use with the Info program, which is the principal |
1251 | means of accessing on-line documentation in the GNU system. Both the | |
1252 | Emacs Info file and an Info reader are included with GNU Emacs. The | |
1253 | Info file and the printed book contain substantially the same text and | |
1254 | are generated from the same source files, which are also distributed | |
1255 | with GNU Emacs. | |
8cf51b2c GM |
1256 | |
1257 | GNU Emacs is a member of the Emacs editor family. There are many | |
1258 | Emacs editors, all sharing common principles of organization. For | |
1259 | information on the underlying philosophy of Emacs and the lessons | |
1260 | learned from its development, see @cite{Emacs, the Extensible, | |
1261 | Customizable Self-Documenting Display Editor}, available from | |
1262 | @url{ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-519A.pdf}. | |
1263 | ||
1264 | This edition of the manual is intended for use with GNU Emacs | |
7c2fb837 | 1265 | installed on GNU and Unix systems. GNU Emacs can also be used on |
8cf51b2c | 1266 | MS-DOS (also called MS-DOG), Microsoft Windows, and Macintosh systems. |
7c2fb837 DN |
1267 | Those systems use different file name syntax; in addition |
1268 | MS-DOS does not support all GNU Emacs features. @xref{Microsoft | |
8cf51b2c | 1269 | Windows}, for information about using Emacs on Windows. |
6b5a97b2 | 1270 | @xref{Mac OS / GNUstep}, for information about using Emacs on |
753ad1de | 1271 | Macintosh (and GNUstep). |
8cf51b2c GM |
1272 | @end iftex |
1273 | ||
1274 | @node Distrib, Intro, Top, Top | |
1275 | @unnumbered Distribution | |
1276 | ||
1277 | GNU Emacs is @dfn{free software}; this means that everyone is free to | |
1278 | use it and free to redistribute it on certain conditions. GNU Emacs | |
1279 | is not in the public domain; it is copyrighted and there are | |
1280 | restrictions on its distribution, but these restrictions are designed | |
1281 | to permit everything that a good cooperating citizen would want to do. | |
1282 | What is not allowed is to try to prevent others from further sharing | |
1283 | any version of GNU Emacs that they might get from you. The precise | |
1284 | conditions are found in the GNU General Public License that comes with | |
1285 | Emacs and also appears in this manual@footnote{This manual is itself | |
f43a822c KB |
1286 | covered by the GNU Free Documentation License (see the reverse title |
1287 | page in the printed manual or view the full source for online formats | |
1288 | to see the precise conditions). This license is similar in spirit to | |
1289 | the General Public License, but is more suitable for documentation. | |
1290 | @xref{GNU Free Documentation License}.}. @xref{Copying}. | |
8cf51b2c GM |
1291 | |
1292 | One way to get a copy of GNU Emacs is from someone else who has it. | |
1293 | You need not ask for our permission to do so, or tell any one else; | |
1294 | just copy it. If you have access to the Internet, you can get the | |
1295 | latest distribution version of GNU Emacs by anonymous FTP; see | |
1296 | @url{http://www.gnu.org/software/emacs} on our website for more | |
1297 | information. | |
1298 | ||
1299 | You may also receive GNU Emacs when you buy a computer. Computer | |
1300 | manufacturers are free to distribute copies on the same terms that apply to | |
1301 | everyone else. These terms require them to give you the full sources, | |
1302 | including whatever changes they may have made, and to permit you to | |
1303 | redistribute the GNU Emacs received from them under the usual terms of the | |
1304 | General Public License. In other words, the program must be free for you | |
1305 | when you get it, not just free for the manufacturer. | |
1306 | ||
753ad1de | 1307 | @c FIXME no longer true? |
8cf51b2c GM |
1308 | You can also order copies of GNU Emacs from the Free Software |
1309 | Foundation. This is a convenient and reliable way to get a copy; it is | |
1310 | also a good way to help fund our work. We also sell hardcopy versions | |
1311 | of this manual and @cite{An Introduction to Programming in Emacs Lisp}, | |
753ad1de GM |
1312 | by Robert J. Chassell. You can visit our online store at |
1313 | @url{http://shop.fsf.org/}. For further information, | |
8cf51b2c GM |
1314 | write to |
1315 | ||
1316 | @display | |
1317 | Free Software Foundation | |
1318 | 51 Franklin Street, Fifth Floor | |
1319 | Boston, MA 02110-1301 | |
1320 | USA | |
1321 | @end display | |
1322 | ||
753ad1de GM |
1323 | The income from sales goes to support the foundation's purpose: the |
1324 | development of new free software, and improvements to our existing | |
1325 | programs including GNU Emacs. | |
8cf51b2c | 1326 | |
753ad1de | 1327 | @c FIXME you can't order a CD any more. |
8cf51b2c GM |
1328 | If you find GNU Emacs useful, please @strong{send a donation} to the |
1329 | Free Software Foundation to support our work. Donations to the Free | |
1330 | Software Foundation are tax deductible in the US. If you use GNU Emacs | |
1331 | at your workplace, please suggest that the company make a donation. If | |
1332 | company policy is unsympathetic to the idea of donating to charity, you | |
1333 | might instead suggest ordering a CD-ROM from the Foundation | |
1334 | occasionally, or subscribing to periodic updates. | |
1335 | ||
1336 | @iftex | |
1337 | @node Acknowledgments, Intro, Distrib, Top | |
1338 | @unnumberedsec Acknowledgments | |
1339 | ||
1340 | Contributors to GNU Emacs include Jari Aalto, Per Abrahamsen, Tomas | |
8353da9c GM |
1341 | Abrahamsson, Jay K.@: Adams, Michael Albinus, Nagy Andras, Ralf Angeli, |
1342 | Joe Arceneaux, Miles Bader, David Bakhash, Juanma Barranquero, Eli | |
276bbe96 GM |
1343 | Barzilay, Thomas Baumann, Steven L.@: Baur, Jay Belanger, Alexander L.@: |
1344 | Belikoff, Boaz Ben-Zvi, Karl Berry, Anna M.@: Bigatti, Ray Blaak, Jim | |
1345 | Blandy, Johan Bockg@aa{}rd, Lennart Borgman, Per Bothner, Terrence | |
1346 | Brannon, Frank Bresz, Peter Breton, Emmanuel Briot, Kevin Broadey, | |
1347 | Vincent Broman, David M.@: Brown, Georges Brun-Cottan, Joe Buehler, | |
1348 | W@l{}odek Bzyl, Bill Carpenter, Per Cederqvist, Hans Chalupsky, Chong | |
1349 | Yidong, Chris Chase, Bob Chassell, Andrew Choi, Sacha Chua, James Clark, | |
1350 | Mike Clarkson, Glynn Clements, Daniel Colascione, Andrew Csillag, Baoqiu | |
83d60c79 GM |
1351 | Cui, Doug Cutting, Mathias Dahl, Satyaki Das, Vivek Dasmohapatra, |
1352 | Michael DeCorte, Gary Delp, Matthieu Devin, Eri Ding, Jan Dj@"{a}rv, | |
1353 | Carsten Dominik, Scott Draves, Benjamin Drieu, Viktor Dukhovni, Dmitry | |
1354 | Dzhus, John Eaton, Rolf Ebert, Paul Eggert, Stephen Eglen, Torbj@"orn | |
1355 | Einarsson, Tsugutomo Enami, Hans Henrik Eriksen, Michael Ernst, Ata | |
1356 | Etemadi, Frederick Farnbach, Oscar Figueiredo, Fred Fish, Karl Fogel, | |
1357 | Gary Foster, Romain Francoise, Noah Friedman, Andreas Fuchs, Hallvard | |
1358 | Furuseth, Keith Gabryelski, Peter S.@: Galbraith, Kevin Gallagher, Kevin | |
1359 | Gallo, Juan Le@'{o}n Lahoz Garc@'{@dotless{i}}a, Howard Gayle, Daniel | |
1360 | German, Stephen Gildea, Julien Gilles, David Gillespie, Bob Glickstein, | |
1361 | Deepak Goel, Boris Goldowsky, Michelangelo Grigni, Odd Gripenstam, Kai | |
276bbe96 | 1362 | Gro@ss{}johann, Michael Gschwind, Bastien Guerry, Henry Guillaume, Doug |
5cca97ad GM |
1363 | Gwyn, Ken'ichi Handa, Lars Hansen, Chris Hanson, K. Shane Hartman, John |
1364 | Heidemann, Jon K.@: Hellan, Jesper Harder, Magnus Henoch, Markus | |
1365 | Heritsch, Karl Heuer, Manabu Higashida, Anders Holst, Jeffrey C.@: | |
1366 | Honig, Tassilo Horn, Kurt Hornik, Tom Houlder, Joakim Hove, Denis Howe, | |
276bbe96 GM |
1367 | Lars Ingebrigtsen, Andrew Innes, Seiichiro Inoue, Philip Jackson, Pavel |
1368 | Janik, Paul Jarc, Ulf Jasper, Michael K. Johnson, Kyle Jones, Terry | |
1369 | Jones, Simon Josefsson, Arne J@o{}rgensen, Tomoji Kagatani, Brewster | |
1370 | Kahle, Tokuya Kameshima, Lute Kamstra, David Kastrup, David Kaufman, | |
1371 | Henry Kautz, Taichi Kawabata, Howard Kaye, Michael Kifer, Richard King, | |
1372 | Peter Kleiweg, Shuhei Kobayashi, Pavel Kobiakov, Larry K.@: Kolodney, | |
1373 | David M.@: Koppelman, Koseki Yoshinori, Robert Krawitz, Sebastian | |
1374 | Kremer, Ryszard Kubiak, Geoff Kuenning, David K@aa{}gedal, Daniel | |
1375 | LaLiberte, Karl Landstrom, Mario Lang, Aaron Larson, James R.@: Larus, | |
1376 | Vinicius Jose Latorre, Werner Lemberg, Frederic Lepied, Peter | |
1377 | Liljenberg, Lars Lindberg, Chris Lindblad, Anders Lindgren, Thomas Link, | |
1378 | Juri Linkov, Francis Litterio, Emilio C. Lopes, K@'{a}roly L@H{o}rentey, | |
1379 | Dave Love, Sascha L@"{u}decke, Eric Ludlam, Alan Mackenzie, Christopher | |
1380 | J.@: Madsen, Neil M.@: Mager, Ken Manheimer, Bill Mann, Brian Marick, | |
1381 | Simon Marshall, Bengt Martensson, Charlie Martin, Thomas May, Roland | |
1382 | McGrath, Will Mengarini, David Megginson, Ben A. Mesander, Wayne Mesard, | |
1383 | Brad Miller, Lawrence Mitchell, Richard Mlynarik, Gerd Moellmann, Stefan | |
1384 | Monnier, Morioka Tomohiko, Keith Moore, Jan Moringen, Glenn Morris, | |
1385 | Diane Murray, Sen Nagata, Erik Naggum, Thomas Neumann, Thien-Thi Nguyen, | |
1386 | Mike Newton, Jurgen Nickelsen, Dan Nicolaescu, Hrvoje Niksic, Jeff | |
1387 | Norden, Andrew Norman, Alexandre Oliva, Bob Olson, Michael Olson, | |
1388 | Takaaki Ota, Pieter E.@: J.@: Pareit, Ross Patterson, David Pearson, | |
1389 | Jeff Peck, Damon Anton Permezel, Tom Perrine, William M.@: Perry, Per | |
1390 | Persson, Jens Petersen, Daniel Pfeiffer, Richard L.@: Pieri, Fred | |
1391 | Pierresteguy, Christian Plaunt, David Ponce, Francesco A.@: Potorti, | |
1392 | Michael D. Prange, Mukesh Prasad, Ken Raeburn, Marko Rahamaa, Ashwin | |
1393 | Ram, Eric S. Raymond, Paul Reilly, Edward M. Reingold, Alex Rezinsky, | |
1394 | Rob Riepel, David Reitter, Adrian Robert, Nick Roberts, Roland B.@: | |
1395 | Roberts, John Robinson, Danny Roozendaal, Sebastian Rose, William | |
1396 | Rosenblatt, Guillermo J.@: Rozas, Martin Rudalics, Ivar Rummelhoff, | |
1397 | Jason Rumney, Wolfgang Rupprecht, Kevin Ryde, James B. Salem, Masahiko | |
1398 | Sato, Jorgen Schaefer, Holger Schauer, William Schelter, Ralph | |
1399 | Schleicher, Gregor Schmid, Michael Schmidt, Ronald S. Schnell, Philippe | |
1400 | Schnoebelen, Jan Schormann, Alex Schroeder, Stephen Schoef, Raymond | |
1401 | Scholz, Eric Schulte, Andreas Schwab, Randal Schwartz, Oliver Seidel, | |
1402 | Manuel Serrano, Hovav Shacham, Stanislav Shalunov, Marc Shapiro, Richard | |
1403 | Sharman, Olin Shivers, Espen Skoglund, Rick Sladkey, Lynn Slater, Chris | |
1404 | Smith, David Smith, Paul D.@: Smith, Andre Spiegel, Michael Staats, | |
1405 | William Sommerfeld, Michael Staats, Reiner Steib, Sam Steingold, Ake | |
1406 | Stenhoff, Peter Stephenson, Ken Stevens, Andy Stewart, Jonathan | |
1407 | Stigelman, Martin Stjernholm, Kim F.@: Storm, Steve Strassman, Olaf | |
1408 | Sylvester, Naoto Takahashi, Steven Tamm, Jean-Philippe Theberge, Jens | |
1409 | T.@: Berger Thielemann, Spencer Thomas, Jim Thompson, Luc Teirlinck, | |
1410 | David O'Toole, Tom Tromey, Enami Tsugutomo, Eli Tziperman, Daiki Ueno, | |
55381962 GM |
1411 | Masanobu Umeda, Rajesh Vaidheeswarran, Neil W.@: Van Dyke, Didier Verna, |
1412 | Joakim Verona, Ulrik Vieth, Geoffrey Voelker, Johan Vromans, Inge | |
1413 | Wallin, John Paul Wallington, Colin Walters, Barry Warsaw, Morten | |
1414 | Welinder, Joseph Brian Wells, Rodney Whitby, John Wiegley, Ed Wilkinson, | |
1415 | Mike Williams, Bill Wohler, Steven A. Wood, Dale R.@: Worley, Francis | |
1416 | J.@: Wright, Felix S. T. Wu, Tom Wurgler, Katsumi Yamaoka, Yamamoto | |
1417 | Mitsuharu, Masatake Yamato, Jonathan Yavner, Ryan Yeske, Ilya | |
1418 | Zakharevich, Milan Zamazal, Victor Zandy, Eli Zaretskii, Jamie Zawinski, | |
276bbe96 GM |
1419 | Shenghuo Zhu, Piotr Zielinski, Ian T.@: Zimmermann, Reto Zimmermann, |
1420 | Neal Ziring, Teodor Zlatanov, and Detlev Zundel. | |
8cf51b2c GM |
1421 | @end iftex |
1422 | ||
1423 | @node Intro, Glossary, Distrib, Top | |
1424 | @unnumbered Introduction | |
1425 | ||
1426 | You are reading about GNU Emacs, the GNU incarnation of the | |
1427 | advanced, self-documenting, customizable, extensible editor Emacs. | |
1428 | (The `G' in `GNU' is not silent.) | |
1429 | ||
332b5b9a CY |
1430 | We call Emacs @dfn{advanced} because it can do much more than simple |
1431 | insertion and deletion of text. It can control subprocesses, indent | |
753ad1de | 1432 | programs automatically, show multiple files at once, and more. |
332b5b9a CY |
1433 | Emacs editing commands operate in terms of characters, words, lines, |
1434 | sentences, paragraphs, and pages, as well as expressions and comments | |
1435 | in various programming languages. | |
1436 | ||
1437 | @dfn{Self-documenting} means that at any time you can use special | |
1438 | commands, known as @dfn{help commands}, to find out what your options | |
867d4bb3 | 1439 | are, or to find out what any command does, or to find all the |
332b5b9a CY |
1440 | commands that pertain to a given topic. @xref{Help}. |
1441 | ||
1442 | @dfn{Customizable} means that you can easily alter the behavior of | |
1443 | Emacs commands in simple ways. For instance, if you use a programming | |
1444 | language in which comments start with @samp{<**} and end with | |
1445 | @samp{**>}, you can tell the Emacs comment manipulation commands to | |
1446 | use those strings (@pxref{Comments}). To take another example, you | |
1447 | can rebind the basic cursor motion commands (up, down, left and right) | |
1448 | to any keys on the keyboard that you find comfortable. | |
1449 | @xref{Customization}. | |
8cf51b2c GM |
1450 | |
1451 | @dfn{Extensible} means that you can go beyond simple customization | |
332b5b9a CY |
1452 | and create entirely new commands. New commands are simply programs |
1453 | written in the Lisp language, which are run by Emacs's own Lisp | |
1454 | interpreter. Existing commands can even be redefined in the middle of | |
1455 | an editing session, without having to restart Emacs. Most of the | |
1456 | editing commands in Emacs are written in Lisp; the few exceptions | |
8cf51b2c GM |
1457 | could have been written in Lisp but use C instead for efficiency. |
1458 | Writing an extension is programming, but non-programmers can use it | |
1459 | afterwards. @xref{Top, Emacs Lisp Intro, Preface, eintr, An | |
1460 | Introduction to Programming in Emacs Lisp}, if you want to learn Emacs | |
1461 | Lisp programming. | |
1462 | ||
8cf51b2c GM |
1463 | @include screen.texi |
1464 | @include commands.texi | |
1465 | @include entering.texi | |
1466 | @include basic.texi | |
1467 | @include mini.texi | |
1468 | @include m-x.texi | |
1469 | @include help.texi | |
1470 | @include mark.texi | |
1471 | @include killing.texi | |
1472 | @include regs.texi | |
1473 | @include display.texi | |
1474 | @include search.texi | |
1475 | @include fixit.texi | |
1476 | @include kmacro.texi | |
753ad1de | 1477 | @c Includes arevert-xtra. |
8cf51b2c GM |
1478 | @include files.texi |
1479 | @include buffers.texi | |
1480 | @include windows.texi | |
1481 | @include frames.texi | |
1482 | @include mule.texi | |
1483 | @include major.texi | |
1484 | @include indent.texi | |
1485 | @include text.texi | |
753ad1de | 1486 | @c Includes fortran-xtra. |
8cf51b2c GM |
1487 | @include programs.texi |
1488 | @include building.texi | |
753ad1de | 1489 | @c Includes vc1-xtra, emerge-xtra. |
8cf51b2c GM |
1490 | @include maintaining.texi |
1491 | @include abbrevs.texi | |
1492 | @ifnottex | |
1493 | @include picture-xtra.texi | |
1494 | @end ifnottex | |
1495 | @include sending.texi | |
1496 | @include rmail.texi | |
753ad1de | 1497 | @c Includes dired-xtra. |
8cf51b2c | 1498 | @include dired.texi |
753ad1de | 1499 | @c Includes cal-xtra. |
8cf51b2c GM |
1500 | @include calendar.texi |
1501 | @include misc.texi | |
1502 | @include custom.texi | |
1503 | @include trouble.texi | |
1504 | ||
1505 | @node Copying, GNU Free Documentation License, Service, Top | |
1506 | @appendix GNU GENERAL PUBLIC LICENSE | |
1507 | @include gpl.texi | |
1508 | ||
1509 | @node GNU Free Documentation License, Emacs Invocation, Copying, Top | |
1510 | @appendix GNU Free Documentation License | |
1511 | @include doclicense.texi | |
1512 | ||
1513 | @include cmdargs.texi | |
1514 | @include xresources.texi | |
1515 | ||
1516 | @include anti.texi | |
1517 | @include macos.texi | |
753ad1de | 1518 | @c Includes msdog-xtra. |
8cf51b2c GM |
1519 | @include msdog.texi |
1520 | @include gnu.texi | |
1521 | @include glossary.texi | |
1522 | @ifnottex | |
1523 | @include ack.texi | |
1524 | @end ifnottex | |
1525 | ||
1526 | @c The Option Index is produced only in the on-line version, | |
1527 | @c because the index entries related to command-line options | |
1528 | @c tend to point to the same pages and all begin with a dash. | |
1529 | @c This, and the need to keep the node links consistent, are | |
1530 | @c the reasons for the funky @iftex/@ifnottex dance below. | |
1531 | @c The Option Index is _not_ before Key Index, because that | |
1532 | @c would require changes in the glossary.texi's @node line. | |
1533 | @c It is not after Concept Index for similar reasons. | |
1534 | ||
1535 | @iftex | |
1536 | @node Key Index, Command Index, Glossary, Top | |
1537 | @unnumbered Key (Character) Index | |
1538 | @printindex ky | |
1539 | @end iftex | |
1540 | ||
1541 | @ifnottex | |
1542 | @node Key Index, Option Index, Glossary, Top | |
1543 | @unnumbered Key (Character) Index | |
1544 | @printindex ky | |
1545 | ||
1546 | @node Option Index, Command Index, Key Index, Top | |
1547 | @unnumbered Command-Line Options Index | |
1548 | @printindex op | |
1549 | ||
1550 | @node Command Index, Variable Index, Option Index, Top | |
1551 | @unnumbered Command and Function Index | |
1552 | @printindex fn | |
1553 | @end ifnottex | |
1554 | ||
1555 | @iftex | |
1556 | @node Command Index, Variable Index, Key Index, Top | |
1557 | @unnumbered Command and Function Index | |
1558 | @printindex fn | |
1559 | @end iftex | |
1560 | ||
1561 | @node Variable Index, Concept Index, Command Index, Top | |
1562 | @unnumbered Variable Index | |
1563 | @printindex vr | |
1564 | ||
1565 | @node Concept Index, Acknowledgments, Variable Index, Top | |
1566 | @unnumbered Concept Index | |
1567 | @printindex cp | |
1568 | ||
1569 | @bye | |
1570 | ||
1571 | @ignore | |
1572 | arch-tag: ed48740a-410b-46ea-9387-c9a9252a3392 | |
1573 | @end ignore |