| [Top] | [Contents] | [Index] | [ ? ] |
Emacs is the extensible, customizable, self-documenting real-time display editor. This Info file describes how to edit with Emacs and some of how to customize it; it corresponds to GNU Emacs version 21.3.
If you never before used the Info documentation system, type h, and Emacs will take you on a guided tour through the Info commands.
For information on extending Emacs, see section `Top' in The Emacs Lisp Reference Manual.
| Distribution | How to get the latest Emacs distribution. | |
| GNU GENERAL PUBLIC LICENSE | The GNU General Public License gives you permission to redistribute GNU Emacs on certain terms; it also explains that there is no warranty. | |
| A. GNU Free Documentation License | The license for this documentation. | |
| Introduction | An introduction to Emacs concepts. | |
| Glossary | The glossary. | |
| AF. Emacs 20 Antinews | Information about Emacs version 20. | |
| AG. Emacs and the Mac OS | Using Emacs in the Mac. | |
| AH. Emacs and MS-DOS | Using Emacs on MS-DOS (otherwise known as "MS-DOG"). | |
| The GNU Manifesto | What's GNU? Gnu's Not Unix! | |
| AI. Acknowledgments | Major contributors to GNU Emacs. | |
| Indexes (nodes containing large menus) | ||
|---|---|---|
| Key (Character) Index | An item for each standard Emacs key sequence. | |
| Command and Function Index | An item for each command name. | |
| Variable Index | An item for each documented variable. | |
| Concept Index | An item for each concept. | |
| Command-Line Options Index | An item for every command-line option. | |
| Important General Concepts | ||
| B. The Organization of the Screen | How to interpret what you see on the screen. | |
| B.5 Kinds of User Input | Kinds of input events (characters, buttons, function keys). | |
| B.6 Keys | Key sequences: what you type to request one editing action. | |
| B.7 Keys and Commands | Named functions run by key sequences to do editing. | |
| B.8 Character Set for Text | Character set for text (the contents of buffers and strings). | |
| C. Entering and Exiting Emacs | Starting Emacs from the shell. | |
| C.1 Exiting Emacs | Stopping or killing Emacs. | |
| AE. Command Line Arguments | Hairy startup options. | |
| Fundamental Editing Commands | ||
| D. Basic Editing Commands | The most basic editing commands. | |
| E. The Minibuffer | Entering arguments that are prompted for. | |
| F. Running Commands by Name | Invoking commands by their names. | |
| G. Help | Commands for asking Emacs about its commands. | |
| Important Text-Changing Commands | ||
| H. The Mark and the Region | The mark: how to delimit a "region" of text. | |
| H.7 Deletion and Killing | Killing text. | |
| H.8 Yanking | Recovering killed text. Moving text. | |
| H.9 Accumulating Text | Other ways of copying text. | |
| H.10 Rectangles | Operating on the text inside a rectangle on the screen. | |
| I. Registers | Saving a text string or a location in the buffer. | |
| J. Controlling the Display | Controlling what text is displayed. | |
| K. Searching and Replacement | Finding or replacing occurrences of a string. | |
| L. Commands for Fixing Typos | Commands especially useful for fixing typos. | |
| Major Structures of Emacs | ||
| M. File Handling | All about handling files. | |
| N. Using Multiple Buffers | Multiple buffers; editing several files at once. | |
| O. Multiple Windows | Viewing two pieces of text at once. | |
| P. Frames and X Windows | Running the same Emacs session in multiple X windows. | |
| Q. International Character Set Support | Using non-ASCII character sets (the MULE features). | |
| Advanced Features | ||
| R. Major Modes | Text mode vs. Lisp mode vs. C mode ... | |
| S. Indentation | Editing the white space at the beginnings of lines. | |
| T. Commands for Human Languages | Commands and modes for editing English. | |
| U. Editing Programs | Commands and modes for editing programs. | |
| V. Compiling and Testing Programs | Compiling, running and debugging programs. | |
| W. Maintaining Programs | Features for maintaining large programs. | |
| X. Abbrevs | How to define text abbreviations to reduce the number of characters you must type. | |
| Y. Editing Pictures | Editing pictures made up of characters using the quarter-plane screen model. | |
| Z. Sending Mail | Sending mail in Emacs. | |
| AA. Reading Mail with Rmail | Reading mail in Emacs. | |
| AB. Dired, the Directory Editor | You can "edit" a directory to manage files in it. | |
| AC. The Calendar and the Diary | The calendar and diary facilities. | |
| AC.14 Gnus | How to read netnews with Emacs. | |
| AC.15 Running Shell Commands from Emacs | Executing shell commands from Emacs. | |
| AC.16 Using Emacs as a Server | Using Emacs as an editing server for mail, etc. | |
| AC.18 Hardcopy Output | Printing buffers or regions. | |
| AC.19 PostScript Hardcopy | Printing buffers or regions as PostScript. | |
| AC.20 Variables for PostScript Hardcopy | Customizing the PostScript printing commands. | |
| AC.21 Sorting Text | Sorting lines, paragraphs or pages within Emacs. | |
| AC.22 Narrowing | Restricting display and editing to a portion of the buffer. | |
| AC.23 Two-Column Editing | Splitting apart columns to edit them in side-by-side windows. | |
| AC.24 Editing Binary Files | Using Hexl mode to edit binary files. | |
| AC.25 Saving Emacs Sessions | Saving Emacs state from one session to the next. | |
| AC.26 Recursive Editing Levels | A command can allow you to do editing | |
| "within the command". This is called a | ||
| "recursive editing level". | ||
| AC.27 Emulation | Emulating some other editors with Emacs. | |
| AC.28 Hyperlinking and Navigation Features | Following links in buffers. | |
| AC.29 Dissociated Press | Dissociating text for fun. | |
| AC.30 Other Amusements | Various games and hacks. | |
| AD. Customization | Modifying the behavior of Emacs. | |
| Recovery from Problems | ||
| AD.8 Quitting and Aborting | Quitting and aborting. | |
| AD.9 Dealing with Emacs Trouble | What to do if Emacs is hung or malfunctioning. | |
| AD.10 Reporting Bugs | How and when to report a bug. | |
| AD.11 Contributing to Emacs Development | How to contribute improvements to Emacs. | |
| AD.12 How To Get Help with GNU Emacs | How to get help for your own Emacs needs. | |
| Here are some other nodes which are really inferiors of the ones | ||
| already listed, mentioned here so you can get to them in one step: | ||
| -- The Detailed Node Listing --- | ||
| The Organization of the Screen | ||
| B.1 Point | The place in the text where editing commands operate. | |
| B.2 The Echo Area | Short messages appear at the bottom of the screen. | |
| B.3 The Mode Line | Interpreting the mode line. | |
| B.4 The Menu Bar | How to use the menu bar. | |
| Basic Editing Commands | ||
| D.1 Inserting Text | Inserting text by simply typing it. | |
| D.2 Changing the Location of Point | How to move the cursor to the place where you want to change something. | |
| D.3 Erasing Text | Deleting and killing text. | |
| D.4 Undoing Changes | Undoing recent changes in the text. | |
| D.5 Files | Visiting, creating, and saving files. | |
| D.6 Help | Asking what a character does. | |
| D.7 Blank Lines | Commands to make or delete blank lines. | |
| D.8 Continuation Lines | Lines too wide for the screen. | |
| D.9 Cursor Position Information | What page, line, row, or column is point on? | |
| D.10 Numeric Arguments | Numeric arguments for repeating a command. | |
| The Minibuffer | ||
| E.1 Minibuffers for File Names | Entering file names with the minibuffer. | |
| E.2 Editing in the Minibuffer | How to edit in the minibuffer. | |
| E.3 Completion | An abbreviation facility for minibuffer input. | |
| E.4 Minibuffer History | Reusing recent minibuffer arguments. | |
| E.5 Repeating Minibuffer Commands | Re-executing commands that used the minibuffer. | |
| Help | ||
| G.1 Help Summary | Brief list of all Help commands. | |
| G.2 Documentation for a Key | Asking what a key does in Emacs. | |
| G.3 Help by Command or Variable Name | Asking about a command, variable or function name. | |
| G.4 Apropos | Asking what pertains to a given topic. | |
| G.5 Keyword Search for Lisp Libraries | Finding Lisp libraries by keywords (topics). | |
| G.6 Help for International Language Support | Help relating to international language support. | |
| G.8 Other Help Commands | Other help commands. | |
| The Mark and the Region | ||
| H.1 Setting the Mark | Commands to set the mark. | |
| H.2 Transient Mark Mode | How to make Emacs highlight the region-- when there is one. | |
| H.3 Operating on the Region | Summary of ways to operate on contents of the region. | |
| H.4 Commands to Mark Textual Objects | Commands to put region around textual units. | |
| H.5 The Mark Ring | Previous mark positions saved so you can go back there. | |
| H.6 The Global Mark Ring | Previous mark positions in various buffers. | |
| Deletion and Killing | ||
| H.7.1 Deletion | Commands for deleting small amounts of text and blank areas. | |
| H.7.2 Killing by Lines | How to kill entire lines of text at one time. | |
| H.7.3 Other Kill Commands | Commands to kill large regions of text and syntactic units such as words and sentences. | |
| Yanking | ||
| H.8.1 The Kill Ring | Where killed text is stored. Basic yanking. | |
| H.8.2 Appending Kills | Several kills in a row all yank together. | |
| H.8.3 Yanking Earlier Kills | Yanking something killed some time ago. | |
| Registers | ||
| I.1 Saving Positions in Registers | Saving positions in registers. | |
| I.2 Saving Text in Registers | Saving text in registers. | |
| I.3 Saving Rectangles in Registers | Saving rectangles in registers. | |
| I.4 Saving Window Configurations in Registers | Saving window configurations in registers. | |
| I.6 Keeping File Names in Registers | File names in registers. | |
| I.7 Bookmarks | Bookmarks are like registers, but persistent. | |
| Controlling the Display | ||
| J.6 Scrolling | Moving text up and down in a window. | |
| J.7 Horizontal Scrolling | Moving text left and right in a window. | |
| J.8 Follow Mode | Follow mode lets two windows scroll as one. | |
| J.9 Selective Display | Hiding lines with lots of indentation. | |
| J.10 Optional Mode Line Features | Optional mode line display features. | |
| J.11 How Text Is Displayed | How text is normally displayed. | |
| J.12 Customization of Display | Information on variables for customizing display. | |
| Searching and Replacement | ||
| K.1 Incremental Search | Search happens as you type the string. | |
| K.2 Nonincremental Search | Specify entire string and then search. | |
| K.3 Word Search | Search for sequence of words. | |
| K.4 Regular Expression Search | Search for match for a regexp. | |
| K.5 Syntax of Regular Expressions | Syntax of regular expressions. | |
| K.6 Searching and Case | To ignore case while searching, or not. | |
| K.7 Replacement Commands | Search, and replace some or all matches. | |
| K.8 Other Search-and-Loop Commands | Operating on all matches for some regexp. | |
| Replacement Commands | ||
| K.7.1 Unconditional Replacement | Replacing all matches for a string. | |
| K.7.2 Regexp Replacement | Replacing all matches for a regexp. | |
| K.7.3 Replace Commands and Case | How replacements preserve case of letters. | |
| K.7.4 Query Replace | How to use querying. | |
| Commands for Fixing Typos | ||
| L.1 Killing Your Mistakes | Commands to kill a batch of recently entered text. | |
| L.2 Transposing Text | Exchanging two characters, words, lines, lists... | |
| L.3 Case Conversion | Correcting case of last word entered. | |
| L.4 Checking and Correcting Spelling | Apply spelling checker to a word or a whole buffer. | |
| File Handling | ||
| M.1 File Names | How to type and edit file-name arguments. | |
| M.2 Visiting Files | Visiting a file prepares Emacs to edit the file. | |
| M.3 Saving Files | Saving makes your changes permanent. | |
| M.4 Reverting a Buffer | Reverting cancels all the changes not saved. | |
| M.5 Auto-Saving: Protection Against Disasters | Auto Save periodically protects against loss of data. | |
| M.6 File Name Aliases | Handling multiple names for one file. | |
| M.7 Version Control | Version control systems (RCS, CVS and SCCS). | |
| M.8 File Directories | Creating, deleting, and listing file directories. | |
| M.9 Comparing Files | Finding where two files differ. | |
| M.10 Miscellaneous File Operations | Other things you can do on files. | |
| M.11 Accessing Compressed Files | Accessing compressed files. | |
| M.13 Remote Files | Accessing files on other sites. | |
| M.14 Quoted File Names | Quoting special characters in file names. | |
| Saving Files | ||
| M.3.1 Backup Files | How Emacs saves the old version of your file. | |
| M.3.2 Protection against Simultaneous Editing | How Emacs protects against simultaneous editing of one file by two users. | |
| Version Control | ||
| M.7.1 Introduction to Version Control | How version control works in general. | |
| M.7.2 Version Control and the Mode Line | How the mode line shows version control status. | |
| M.7.3 Basic Editing under Version Control | How to edit a file under version control. | |
| M.7.4 Examining And Comparing Old Versions | Examining and comparing old versions. | |
| M.7.5 The Secondary Commands of VC | The commands used a little less frequently. | |
| M.7.6 Multiple Branches of a File | Multiple lines of development. | |
| M.7.8 Snapshots | Sets of file versions treated as a unit. | |
| M.7.9 Miscellaneous Commands and Features of VC | Various other commands and features of VC. | |
| M.7.10 Customizing VC | Variables that change VC's behavior. | |
| Using Multiple Buffers | ||
| N.1 Creating and Selecting Buffers | Creating a new buffer or reselecting an old one. | |
| N.2 Listing Existing Buffers | Getting a list of buffers that exist. | |
| N.3 Miscellaneous Buffer Operations | Renaming; changing read-onliness; copying text. | |
| N.4 Killing Buffers | Killing buffers you no longer need. | |
| N.5 Operating on Several Buffers | How to go through the list of all buffers and operate variously on several of them. | |
| N.6 Indirect Buffers | An indirect buffer shares the text of another buffer. | |
| Multiple Windows | ||
| O.1 Concepts of Emacs Windows | Introduction to Emacs windows. | |
| O.2 Splitting Windows | New windows are made by splitting existing windows. | |
| O.3 Using Other Windows | Moving to another window or doing something to it. | |
| O.4 Displaying in Another Window | Finding a file or buffer in another window. | |
| O.5 Forcing Display in the Same Window | Forcing certain buffers to appear in the selected window rather than in another window. | |
| O.6 Deleting and Rearranging Windows | Deleting windows and changing their sizes. | |
| Frames and X Windows | ||
| P.1 Mouse Commands for Editing | Moving, cutting, and pasting, with the mouse. | |
| P.2 Secondary Selection | Cutting without altering point and mark. | |
| P.3 Using the Clipboard | Using the clipboard for selections. | |
| P.4 Following References with the Mouse | Using the mouse to select an item from a list. | |
| P.5 Mouse Clicks for Menus | Mouse clicks that bring up menus. | |
| P.6 Mode Line Mouse Commands | Mouse clicks on the mode line. | |
| P.7 Creating Frames | Creating additional Emacs frames with various contents. | |
| P.8 Frame Commands | Iconifying, deleting, and switching frames. | |
| P.9 Making and Using a Speedbar Frame | How to make and use a speedbar frame. | |
| P.10 Multiple Displays | How one Emacs job can talk to several displays. | |
| P.11 Special Buffer Frames | You can make certain buffers have their own frames. | |
| P.12 Setting Frame Parameters | Changing the colors and other modes of frames. | |
| P.13 Scroll Bars | How to enable and disable scroll bars; how to use them. | |
| P.14 Scrolling With "Wheeled" Mice | Using mouse wheels for scrolling. | |
| P.15 Menu Bars | Enabling and disabling the menu bar. | |
| P.16 Tool Bars | Enabling and disabling the tool bar. | |
| P.17 Using Dialog Boxes | Controlling use of dialog boxes. | |
| J.1 Using Multiple Typefaces | How to change the display style using faces. | |
| J.2 Font Lock mode | Minor mode for syntactic highlighting using faces. | |
| J.3 Highlight Changes Mode | Using colors to show where you changed the buffer. | |
| J.4 Interactive Highlighting by Matching | Tell Emacs what text to highlight. | |
| J.5 Trailing Whitespace | Showing possibly-spurious trailing whitespace. | |
| P.18 Tooltips (or "Balloon Help") | Showing "tooltips", AKA "ballon help" for active text. | |
| P.19 Mouse Avoidance | Moving the mouse pointer out of the way. | |
| P.20 Non-Window Terminals | Multiple frames on terminals that show only one. | |
| P.21 Using a Mouse in Terminal Emulators | Using the mouse in an XTerm terminal emulator. | |
| International Character Set Support | ||
| Q.1 Introduction to International Character Sets | Basic concepts of multibyte characters. | |
| Q.2 Enabling Multibyte Characters | Controlling whether to use multibyte characters. | |
| Q.3 Language Environments | Setting things up for the language you use. | |
| Q.4 Input Methods | Entering text characters not on your keyboard. | |
| Q.5 Selecting an Input Method | Specifying your choice of input methods. | |
| Q.7 Coding Systems | Character set conversion when you read and write files, and so on. | |
| Q.8 Recognizing Coding Systems | How Emacs figures out which conversion to use. | |
| Q.9 Specifying a Coding System | Various ways to choose which conversion to use. | |
| Q.10 Fontsets | Fontsets are collections of fonts that cover the whole spectrum of characters. | |
| Q.11 Defining fontsets | Defining a new fontset. | |
| Q.13 Single-byte Character Set Support | You can pick one European character set to use without multibyte characters. | |
| Major Modes | ||
| R.1 How Major Modes are Chosen | How major modes are specified or chosen. | |
| Indentation | ||
| S.1 Indentation Commands and Techniques | Various commands and techniques for indentation. | |
| S.2 Tab Stops | You can set arbitrary "tab stops" and then indent to the next tab stop when you want to. | |
| S.3 Tabs vs. Spaces | You can request indentation using just spaces. | |
| Commands for Human Languages | ||
| T.1 Words | Moving over and killing words. | |
| T.2 Sentences | Moving over and killing sentences. | |
| T.3 Paragraphs | Moving over paragraphs. | |
| T.4 Pages | Moving over pages. | |
| T.5 Filling Text | Filling or justifying text. | |
| T.6 Case Conversion Commands | Changing the case of text. | |
| T.7 Text Mode | The major modes for editing text files. | |
| T.8 Outline Mode | Editing outlines. | |
| T.9 TeX Mode | Editing input to the formatter TeX. | |
| T.10 Nroff Mode | Editing input to the formatter nroff. | |
| T.11 Editing Formatted Text | Editing formatted text directly in WYSIWYG fashion. | |
| Filling Text | ||
| T.5.1 Auto Fill Mode | Auto Fill mode breaks long lines automatically. | |
| T.5.3 Explicit Fill Commands | Commands to refill paragraphs and center lines. | |
| T.5.4 The Fill Prefix | Filling paragraphs that are indented or in a comment, etc. | |
| T.5.5 Adaptive Filling | How Emacs can determine the fill prefix automatically. | |
| Editing Programs | ||
| U.1 Major Modes for Programming Languages | Major modes for editing programs. | |
| U.2 Top-Level Definitions, or Defuns | Commands to operate on major top-level parts of a program. | |
| U.3 Indentation for Programs | Adjusting indentation to show the nesting. | |
| U.5 Manipulating Comments | Inserting, killing, and aligning comments. | |
| U.4 Commands for Editing with Parentheses | Commands that operate on parentheses. | |
| U.6 Documentation Lookup | Getting documentation of functions you plan to call. | |
| U.7 Hideshow minor mode | Displaying blocks selectively. | |
| U.8 Completion for Symbol Names | Completion on symbol names of your program or language. | |
| U.9 Glasses minor mode | Making identifiersLikeThis more readable. | |
| U.10 Other Features Useful for Editing Programs | Other Emacs features useful for editing programs. | |
| U.11 C and Related Modes | Special commands of C, C++, Objective-C, Java, and Pike modes. | |
| U.12 Fortran Mode | Fortran mode and its special features. | |
| U.13 Asm Mode | Asm mode and its special features. | |
| Top-Level Definitions, or Defuns | ||
| U.2.1 Left Margin Convention | An open-paren or similar opening delimiter starts a defun if it is at the left margin. | |
| U.2.2 Moving by Defuns | Commands to move over or mark a major definition. | |
| U.2.3 Imenu | Making buffer indexes as menus. | |
| U.2.4 Which Function Mode | Which Function mode shows which function you are in. | |
| Indentation for Programs | ||
| U.3.1 Basic Program Indentation Commands | Indenting a single line. | |
| U.3.2 Indenting Several Lines | Commands to reindent many lines at once. | |
| U.3.3 Customizing Lisp Indentation | Specifying how each Lisp function should be indented. | |
| U.3.4 Commands for C Indentation | Extra features for indenting C and related modes. | |
| U.3.5 Customizing C Indentation | Controlling indentation style for C and related modes. | |
| Commands for Editing with Parentheses | ||
| U.4.1 Expressions with Balanced Parentheses | Expressions with balanced parentheses. | |
| U.4.2 Moving in the Parenthesis Structure | Commands for moving up, down and across in the structure of parentheses. | |
| U.4.3 Automatic Display Of Matching Parentheses | Insertion of a close-delimiter flashes matching open. | |
| Manipulating Comments | ||
| U.5.1 Comment Commands | Inserting, killing, and indenting comments. | |
| U.5.2 Multiple Lines of Comments | Commands for adding and editing multi-line comments. | |
| U.5.3 Options Controlling Comments | Customizing the comment features. | |
| Documentation Lookup | ||
| U.6.1 Info Documentation Lookup | Looking up library functions and commands in Info files. | |
| U.6.2 Man Page Lookup | Looking up man pages of library functions and commands. | |
| U.6.3 Emacs Lisp Documentation Lookup | Looking up Emacs Lisp functions, etc. | |
| C and Related Modes | ||
| U.11.1 C Mode Motion Commands | Commands to move by C statements, etc. | |
| U.11.2 Electric C Characters | Colon and other chars can automatically reindent. | |
| U.11.3 Hungry Delete Feature in C | A more powerful DEL command. | |
| U.11.4 Other Commands for C Mode | Filling comments, viewing expansion of macros, and other neat features. | |
| U.11.5 Comments in C Modes | Options for customizing comment style. | |
| Fortran Mode | ||
| U.12.1 Motion Commands | Moving point by statements or subprograms. | |
| U.12.2 Fortran Indentation | Indentation commands for Fortran. | |
| U.12.3 Fortran Comments | Inserting and aligning comments. | |
| U.12.4 Fortran Auto Fill Mode | Auto fill minor mode for Fortran. | |
| U.12.5 Checking Columns in Fortran | Measuring columns for valid Fortran. | |
| U.12.6 Fortran Keyword Abbrevs | Built-in abbrevs for Fortran keywords. | |
| Compiling and Testing Programs | ||
| V.1 Running Compilations under Emacs | Compiling programs in languages other than Lisp (C, Pascal, etc.). | |
| V.3 Compilation Mode | The mode for visiting compiler errors. | |
| V.4 Subshells for Compilation | Customizing your shell properly for use in the compilation buffer. | |
| V.5 Running Debuggers Under Emacs | Running symbolic debuggers for non-Lisp programs. | |
| V.6 Executing Lisp Expressions | Various modes for editing Lisp programs, with different facilities for running the Lisp programs. | |
| V.7 Libraries of Lisp Code for Emacs | Creating Lisp programs to run in Emacs. | |
| V.9 Lisp Interaction Buffers | Executing Lisp in an Emacs buffer. | |
| V.8 Evaluating Emacs-Lisp Expressions | Executing a single Lisp expression in Emacs. | |
| V.10 Running an External Lisp | Communicating through Emacs with a separate Lisp. | |
| Running Debuggers Under Emacs | ||
| V.5.1 Starting GUD | How to start a debugger subprocess. | |
| V.5.2 Debugger Operation | Connection between the debugger and source buffers. | |
| V.5.3 Commands of GUD | Key bindings for common commands. | |
| V.5.4 GUD Customization | Defining your own commands for GUD. | |
| Maintaining Programs | ||
| W.1 Change Logs | Maintaining a change history for your program. | |
| W.2 Tags Tables | Go direct to any function in your program in one command. Tags remembers which file it is in. | |
| W.3 Merging Files with Emerge | A convenient way of merging two versions of a program. | |
| Tags Tables | ||
| W.2.1 Source File Tag Syntax | Tag syntax for various types of code and text files. | |
| W.2.2 Creating Tags Tables | Creating a tags table with etags. | |
| W.2.4 Selecting a Tags Table | How to visit a tags table. | |
| W.2.5 Finding a Tag | Commands to find the definition of a specific tag. | |
| W.2.6 Searching and Replacing with Tags Tables | Using a tags table for searching and replacing. | |
| W.2.7 Tags Table Inquiries | Listing and finding tags defined in a file. | |
| Merging Files with Emerge | ||
| W.3.1 Overview of Emerge | How to start Emerge. Basic concepts. | |
| W.3.2 Submodes of Emerge | Fast mode vs. Edit mode. Skip Prefers mode and Auto Advance mode. | |
| W.3.3 State of a Difference | You do the merge by specifying state A or B for each difference. | |
| W.3.4 Merge Commands | Commands for selecting a difference, changing states of differences, etc. | |
| W.3.5 Exiting Emerge | What to do when you've finished the merge. | |
| W.3.6 Combining the Two Versions | How to keep both alternatives for a difference. | |
| W.3.7 Fine Points of Emerge | Misc. | |
| Abbrevs | ||
| X.1 Abbrev Concepts | Fundamentals of defined abbrevs. | |
| X.2 Defining Abbrevs | Defining an abbrev, so it will expand when typed. | |
| X.3 Controlling Abbrev Expansion | Controlling expansion: prefixes, canceling expansion. | |
| X.4 Examining and Editing Abbrevs | Viewing or editing the entire list of defined abbrevs. | |
| X.5 Saving Abbrevs | Saving the entire list of abbrevs for another session. | |
| X.6 Dynamic Abbrev Expansion | Abbreviations for words already in the buffer. | |
| Editing Pictures | ||
| Y.1 Basic Editing in Picture Mode | Basic concepts and simple commands of Picture Mode. | |
| Y.2 Controlling Motion after Insert | Controlling direction of cursor motion after "self-inserting" characters. | |
| Y.3 Picture Mode Tabs | Various features for tab stops and indentation. | |
| Y.4 Picture Mode Rectangle Commands | Clearing and superimposing rectangles. | |
| Sending Mail | ||
| Z.1 The Format of the Mail Buffer | Format of the mail being composed. | |
| Z.2 Mail Header Fields | Details of permitted mail header fields. | |
| Z.3 Mail Aliases | Abbreviating and grouping mail addresses. | |
| Z.4 Mail Mode | Special commands for editing mail being composed. | |
| Z.5 Mail Amusements | Distract the NSA's attention; add a fortune to a msg. | |
| Z.6 Mail-Composition Methods | Using alternative mail-composition methods. | |
| Reading Mail with Rmail | ||
| AA.1 Basic Concepts of Rmail | Basic concepts of Rmail, and simple use. | |
| AA.2 Scrolling Within a Message | Scrolling through a message. | |
| AA.3 Moving Among Messages | Moving to another message. | |
| AA.4 Deleting Messages | Deleting and expunging messages. | |
| AA.5 Rmail Files and Inboxes | How mail gets into the Rmail file. | |
| AA.6 Multiple Rmail Files | Using multiple Rmail files. | |
| AA.7 Copying Messages Out to Files | Copying message out to files. | |
| AA.8 Labels | Classifying messages by labeling them. | |
| AA.9 Rmail Attributes | Certain standard labels, called attributes. | |
| AA.10 Sending Replies | Sending replies to messages you are viewing. | |
| AA.11 Summaries | Summaries show brief info on many messages. | |
| AA.12 Sorting the Rmail File | Sorting messages in Rmail. | |
| AA.13 Display of Messages | How Rmail displays a message; customization. | |
| AA.15 Editing Within a Message | Editing message text and headers in Rmail. | |
| AA.16 Digest Messages | Extracting the messages from a digest message. | |
| AA.17 Converting an Rmail File to Inbox Format | Converting an Rmail file to mailbox format. | |
| AA.18 Reading Rot13 Messages | Reading messages encoded in the rot13 code. | |
AA.19 movemail and POP | More details of fetching new mail. | |
| Dired, the Directory Editor | ||
| AB.1 Entering Dired | How to invoke Dired. | |
| AB.2 Navigation in the Dired Buffer | How to move in the Dired buffer. | |
| AB.3 Deleting Files with Dired | Deleting files with Dired. | |
| AB.4 Flagging Many Files at Once | Flagging files based on their names. | |
| AB.5 Visiting Files in Dired | Other file operations through Dired. | |
| AB.6 Dired Marks vs. Flags | Flagging for deletion vs marking. | |
| AB.7 Operating on Files | How to copy, rename, print, compress, etc. either one file or several files. | |
| AB.8 Shell Commands in Dired | Running a shell command on the marked files. | |
| AB.9 Transforming File Names in Dired | Using patterns to rename multiple files. | |
| AB.10 File Comparison with Dired | Running `diff' by way of Dired. | |
| AB.11 Subdirectories in Dired | Adding subdirectories to the Dired buffer. | |
| AB.12 Moving Over Subdirectories | Moving across subdirectories, and up and down. | |
| AB.13 Hiding Subdirectories | Making subdirectories visible or invisible. | |
| AB.14 Updating the Dired Buffer | Discarding lines for files of no interest. | |
AB.15 Dired and find | Using `find' to choose the files for Dired. | |
| The Calendar and the Diary | ||
| AC.1 Movement in the Calendar | Moving through the calendar; selecting a date. | |
| AC.2 Scrolling in the Calendar | Bringing earlier or later months onto the screen. | |
| AC.3 Counting Days | How many days are there between two dates? | |
| AC.4 Miscellaneous Calendar Commands | Exiting or recomputing the calendar. | |
| AC.5 LaTeX Calendar | Print a calendar using LaTeX. | |
| AC.6 Holidays | Displaying dates of holidays. | |
| AC.7 Times of Sunrise and Sunset | Displaying local times of sunrise and sunset. | |
| AC.8 Phases of the Moon | Displaying phases of the moon. | |
| AC.9 Conversion To and From Other Calendars | Converting dates to other calendar systems. | |
| AC.10 The Diary | Displaying events from your diary. | |
| AC.11 Appointments | Reminders when it's time to do something. | |
| AC.12 Daylight Savings Time | How to specify when daylight savings time is active. | |
| Movement in the Calendar | ||
| AC.1.1 Motion by Standard Lengths of Time | Moving by days, weeks, months, and years. | |
| AC.1.2 Beginning or End of Week, Month or Year | Moving to start/end of weeks, months, and years. | |
| AC.1.3 Specified Dates | Moving to the current date or another specific date. | |
| Conversion To and From Other Calendars | ||
| AC.9.1 Supported Calendar Systems | The calendars Emacs understands | |
| (aside from Gregorian). | ||
| AC.9.2 Converting To Other Calendars | Converting the selected date to various calendars. | |
| AC.9.3 Converting From Other Calendars | Moving to a date specified in another calendar. | |
| AC.9.4 Converting from the Mayan Calendar | Moving to a date specified in a Mayan calendar. | |
| The Diary | ||
| AC.10.1 Commands Displaying Diary Entries | Viewing diary entries and associated calendar dates. | |
| AC.10.2 The Diary File | Entering events in your diary. | |
| AC.10.3 Date Formats | Various ways you can specify dates. | |
| AC.10.4 Commands to Add to the Diary | Commands to create diary entries. | |
| AC.10.5 Special Diary Entries | Anniversaries, blocks of dates, cyclic entries, etc. | |
| GNUS | ||
| AC.14.1 Gnus Buffers | The group, summary, and article buffers. | |
| AC.14.2 When Gnus Starts Up | What you should know about starting Gnus. | |
| AC.14.3 Summary of Gnus Commands | A short description of the basic Gnus commands. | |
| Running Shell Commands from Emacs | ||
| AC.15.1 Single Shell Commands | How to run one shell command and return. | |
| AC.15.2 Interactive Inferior Shell | Permanent shell taking input via Emacs. | |
| AC.15.3 Shell Mode | Special Emacs commands used with permanent shell. | |
| AC.15.4 Shell Command History | Repeating previous commands in a shell buffer. | |
| AC.15.6 Shell Mode Options | Options for customizing Shell mode. | |
| AC.15.10 Remote Host Shell | Connecting to another computer. | |
| Customization | ||
| AD.1 Minor Modes | Each minor mode is one feature you can turn on independently of any others. | |
| AD.2 Variables | Many Emacs commands examine Emacs variables to decide what to do; by setting variables, you can control their functioning. | |
| AD.3 Keyboard Macros | A keyboard macro records a sequence of keystrokes to be replayed with a single command. | |
| AD.4 Customizing Key Bindings | The keymaps say what command each key runs. By changing them, you can "redefine keys". | |
| AD.5 Keyboard Translations | If your keyboard passes an undesired code for a key, you can tell Emacs to substitute another code. | |
| AD.6 The Syntax Table | The syntax table controls how words and expressions are parsed. | |
| AD.7 The Init File, `~/.emacs' | How to write common customizations in the | |
| `.emacs' file. | ||
| Variables | ||
| AD.2.1 Examining and Setting Variables | Examining or setting one variable's value. | |
| AD.2.2 Easy Customization Interface | Convenient and easy customization of variables. | |
| AD.2.3 Hooks | Hook variables let you specify programs for parts of Emacs to run on particular occasions. | |
| AD.2.4 Local Variables | Per-buffer values of variables. | |
| AD.2.5 Local Variables in Files | How files can specify variable values. | |
| Keyboard Macros | ||
| AD.3.1 Basic Use | Defining and running keyboard macros. | |
| AD.3.2 Naming and Saving Keyboard Macros | Giving keyboard macros names; saving them in files. | |
| AD.3.3 Executing Macros with Variations | Making keyboard macros do different things each time. | |
| Customizing Key Bindings | ||
| AD.4.1 Keymaps | Generalities. The global keymap. | |
| AD.4.2 Prefix Keymaps | Keymaps for prefix keys. | |
| AD.4.3 Local Keymaps | Major and minor modes have their own keymaps. | |
| AD.4.4 Minibuffer Keymaps | The minibuffer uses its own local keymaps. | |
| AD.4.5 Changing Key Bindings Interactively | How to redefine one key's meaning conveniently. | |
| AD.4.6 Rebinding Keys in Your Init File | Rebinding keys with your init file, `.emacs'. | |
| AD.4.7 Rebinding Function Keys | Rebinding terminal function keys. | |
| AD.4.8 Named ASCII Control Characters | Distinguishing TAB from C-i, and so on. | |
| AD.4.10 Rebinding Mouse Buttons | Rebinding mouse buttons in Emacs. | |
| AD.4.11 Disabling Commands | Disabling a command means confirmation is required before it can be executed. This is done to protect beginners from surprises. | |
| The Init File, `~/.emacs' | ||
| AD.7.1 Init File Syntax | Syntax of constants in Emacs Lisp. | |
| AD.7.2 Init File Examples | How to do some things with an init file. | |
| AD.7.3 Terminal-specific Initialization | Each terminal type can have an init file. | |
| AD.7.4 How Emacs Finds Your Init File | How Emacs finds the init file. | |
| Dealing with Emacs Trouble | ||
| AD.9.1 If DEL Fails to Delete | What to do if DEL doesn't delete. | |
| AD.9.2 Recursive Editing Levels | `[...]' in mode line around the parentheses. | |
| AD.9.3 Garbage on the Screen | Garbage on the screen. | |
| AD.9.4 Garbage in the Text | Garbage in the text. | |
| AD.9.5 Spontaneous Entry to Incremental Search | Spontaneous entry to incremental search. | |
| AD.9.6 Running out of Memory | How to cope when you run out of memory. | |
| AD.9.8 Emergency Escape | Emergency escape--- What to do if Emacs stops responding. | |
| AD.9.9 Help for Total Frustration | When you are at your wits' end. | |
| Reporting Bugs | ||
| AD.10.1 When Is There a Bug | Have you really found a bug? | |
| AD.10.2 Understanding Bug Reporting | How to report a bug effectively. | |
| AD.10.3 Checklist for Bug Reports | Steps to follow for a good bug report. | |
| AD.10.4 Sending Patches for GNU Emacs | How to send a patch for GNU Emacs. | |
| Command Line Options and Arguments | ||
| AE.1 Action Arguments | Arguments to visit files, load libraries, and call functions. | |
| AE.2 Initial Options | Arguments that take effect while starting Emacs. | |
| AE.3 Command Argument Example | Examples of using command line arguments. | |
| AE.4 Resuming Emacs with Arguments | Specifying arguments when you resume a running Emacs. | |
| AE.5 Environment Variables | Environment variables that Emacs uses. | |
| AE.6 Specifying the Display Name | Changing the default display and using remote login. | |
| AE.7 Font Specification Options | Choosing a font for text, under X. | |
| AE.8 Window Color Options | Choosing colors, under X. | |
| AE.9 Options for Window Geometry | Start-up window size, under X. | |
| AE.10 Internal and External Borders | Internal and external borders, under X. | |
| AE.11 Frame Titles | Specifying the initial frame's title. | |
| AE.12 Icons | Choosing what sort of icon to use, under X. | |
| AE.13 X Resources | Advanced use of classes and resources, under X. | |
| AE.14 Lucid Menu X Resources | X resources for Lucid menus. | |
| AE.15 LessTif Menu X Resources | X resources for LessTif and Motif menus. | |
| Environment Variables | ||
| AE.5.1 General Variables | Environment variables that all versions of Emacs use. | |
| AE.5.2 Miscellaneous Variables | Certain system specific variables. | |
| MS-DOS and Windows 95/98/NT | ||
| AH.1 Keyboard and Mouse on MS-DOS | Keyboard and mouse usage on MS-DOS. | |
| AH.2 Display on MS-DOS | Fonts, frames and display size on MS-DOS. | |
| AH.3 File Names on MS-DOS | File-name conventions on MS-DOS. | |
| AH.4 Text Files and Binary Files | Text files on MS-DOS use CRLF to separate lines. | |
| AH.5 Printing and MS-DOS | How to specify the printer on MS-DOS. | |
| AH.7 Subprocesses on MS-DOS | Running subprocesses on MS-DOS. | |
| AH.8 Subprocesses on Windows 9X/ME and Windows NT/2K | Running subprocesses on Windows. | |
| AH.9 Using the System Menu on Windows | Controlling what the ALT key does. | |