 | Level: Intermediate Michael Stutz (stutz@dsl.org), Author, Consultant
17 Jul 2007 Take charge of your editing session within Emacs and use it to
your advantage. This tutorial is the
fourth
in a series,
and shows you three areas of Emacs that control some aspect of the editing session:
various command-line options, the register, and bookmark facilities for setting and
saving positions and data. Knowing how and when to use these features, and what
tricks are possible with them, are important topics in power editing.
In this tutorial
- Understand the Emacs runtime and display options
- Modify file operations
- Change the display properties
- Control the startup files
- Use options for Emacs Lisp execution
- Perform batch operations
- Table of command-line options
- Use Emacs registers
- Save a register
- View a register
- Jump to a register
- Restore a register
- Table of Emacs register commands
- Use Emacs bookmarks
- Set a bookmark
- List your bookmarks
- Jump to a bookmark
- Delete a bookmark
- Save your bookmarks
- Table of Emacs bookmark commands
Objectives
The primary objective of this tutorial is to show you how to use the
Emacs command-line options, register, and bookmark facilities. It assumes that
you've already taken the three
previous tutorials in this series and have a basic understanding of
text-editing techniques.
Prerequisites
This tutorial builds on several concepts introduced in the first three tutorials
in this series, so you should take them before attempting this tutorial. The practice file you made in the first tutorial and used in the third
tutorial is used again in the examples.
System requirements
This tutorial requires a user account on any UNIX-based system that has a
recent copy of Emacs installed. There are several varieties of Emacs; the original and most popular is GNU
Emacs, which is published online by the GNU Project. You should have a recent copy of GNU Emacs—one that is at version 20 or
greater. Versions 20 and 21 are the most commonly available, and development
snapshots of version 22 are also available. This tutorial works with any of
these versions for Emacs. If your system is running something older, it's time
to upgrade. To know what version of Emacs you have running, use the GNU-style
--version flag:
$ emacs --version
GNU Emacs 22.0.91.1
Copyright (C) 2006 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
$
|
Additionally, some parts of the tutorial showing graphical elements of Emacs
operation deal specifically with the X Window System. To go through these
sections, you should have an X server up and running.
Duration
2 hours
Formats html, pdf
|  | |  |