Harley Hahn
Home Page

About Harley

Send a Message
to Harley


Harley Hahn's
Emacs Field
Guide...

Home Page

List of Chapters
and Appendixes

Detailed Table
of Contents

Buying the Book

Endorsements

Lists of Command
Summaries

Indexes
• Important topics
• General
• Key sequences
• Variables and
Functions

• Unix: Keys, Files
and Commands

Errors and
Corrections

INDEXES
0. Most Important Topics
1. General Index
2. Emacs Key Sequences
3. Emacs Variables and Functions
4. Unix: Keys, Files and Commands

General Index

80 characters/line (IBM punch cards)
132 characters/line (IBM 1403 printer)

Acknowledgments
Alphameric
Archive (see Installing Unix Software: archive)
Argument
ASCII code
ASCII text
Asimov, Isaac
AT&T (see also Unix: History)

Bash (see Shell: Bash)
Brooks, Walter R. (see Freddy the Pig: Walter R. Brooks)
Bucky Bits
Buffers
   *Buffer List* buffer
   *Choices* buffer
   *Completions* buffer
   *Help* buffer
   *info* buffer
   *scratch* buffer
   *Shell Command Output* buffer
   *shell* buffer
   change to another buffer
   commands to control buffers
   compared to windows
   creating
   creating just for shell commands
   definition
   deleting
   display list of buffers
   major mode, each buffer has only one
   minor modes, each buffer can have as many as you want
   multiple buffers using the same file
   point, each buffer has its own
   read a file into a buffer
   read-only
   scrolling through
   using
Case
   case insensitive
   case sensitive
   convert text to lowercase
   convert text to uppercase
   lowercase
   searching, upper- and lower case
   Unix commands
   uppercase
Cicero, Marcus Tullius
CLI (see User interfaces: command-line interface)
Command line (see User interfaces: command-line interface)
Command line editing
   history list
   key combinations to use
   starting Emacs (see Starting Emacs: from the command line)
   two different meanings
   with Microsoft Windows
   with OS X
   with Unix and Linux
Command-line interface (see User interfaces: command-line interface)
Command processor (see Shell)
Command summaries (see Appendix B on page 231)
Compiling files (see Installing Unix Software: compiling files)
Completion
   commands
   completion list
   definition
   importance of
   modes, used to set
   search and replace commands, minimum sequences
Computer paper
Correcting text (see Text editing: correcting and modifying)
Current directory (see Unix filesystem: current directory)

Dedication
Deleting text (see Text editing: deleting text)
Delimiter
Desktop environment (see User interfaces)
Dired (Emacs file manager)
   commands
   reference card
   starting
Disabled commands (see Emacs commands: disabled)
Distribution
DMG file (see Installing Emacs: using OS X)
Dmitry Shkatov (see Shkatov, Dmitry)
Dotfiles (see Unix filesystem: file names)

Echo area (see Windows: echo area)
Editing (see Text editing)
Editor (see Text editor)
.emacs initialization file
   auto-fill-mode, set when using text-mode
   default mode, how to set
   suggested customizations
Emacs
   basic design
   buffer (see Buffer)
   command, definition of
   compared to vi/Vim
   completion (see Completion)
   correcting text (see Text editing: correcting and modifying text)
   definition
   deleting text (see Text editing: deleting text)
   entering text (see Text editing: entering text)
   games (see Emacs games)
   GNU Emacs
   help (see Help facility)
   importance of teaching yourself
   installing
   key sequences (see Emacs key sequences)
   keys (see Emacs keys)
   learning, strategy for
   meaning of name "Emacs"
   modes (see also Major modes, Minor modes)
   modifying text (see Text editing: correcting and modifying text)
   origin
   overview
   practicing
   read-only
   recovering data after system failure
   starting (see Starting Emacs)
   stopping
   three comprehensive help systems
   tools (see Emacs tools)
   versions
   windows (see Windows)
   working environment
Emacs commands
   canceling a command
   command summaries (see Appendix B on page 231)
   correcting
   disabled
   echoing
   enabled
   input event
   key bindings
   long names, why?
   practicing
   redoing a command
   repeating a command
   typing
   undoing a command
Emacs games
   Animate (moving text birthday greeting)
   Blackbox (puzzle game)
   Bubbles (colored bubbles game)
   Doctor (acts like a psychotherapist)
   Dunnet (text-based exploration game)
   Game of Life (two-dimensional grid-like universe)
   Gomoku (board game using markers)
   Landmark (watch simple neuro-network robot)
   Multiplication Puzzle (alphameric math puzzle)
   Peg Solitaire (board with holes and pegs)
   Pong Video Game (simulated ping-pong game)
   Snake (the Snake video game)
   Spook (generate subversive-sounding words)
   starting a program
   Tetris (the Tetris video game)
   Towers of Hanoi (visual recursive puzzle)
   Yow (acts like Zippy the Pinhead)
Emacs key sequences (see also Emacs keys)
   correcting mistakes
   display information about a specific key sequence
   fixing <Alt-Ctrl-S> problem with Unity desktop environment
   key sequence, definition
   M-SPC key problems within a terminal window
   M-x, using to execute a specific command
   Macintosh keyboard, using
   Meta key problems within a terminal window
   prefix argument
   related to early Unix terminals
   searching (see Searching)
   strange key sequences, why so many?
   strategies for learning
   writing C- for <Ctrl>
   writing C-M- for <Ctrl>+<Meta>
   writing M- for <Meta>
   writing M-C- for <Meta>+<Ctrl>
Emacs keys (see also Emacs key sequences)
   <Option> (Macintosh keyboard)
   Knight keyboard
   Meta key, history of
   Sail keyboard
   Symbolics keyboard
Emacs Lisp
   comments (;)
   documentation lookup
   evaluates functions
   expressions
   function names that end in ".el" 
   functions
   functions that define modes
   functions, display information about
   functions, display key bindings
   macro defun
   macros
   recursive programming
   used in .emacs initialization file
   variables
Emacs tools
   Calendar (calendar and diary)
   Customize (change user options)
   Dired (see Dired (Emacs file manager))
   Emacs Web browser
   Info documentation
   learning how to use a program
   Simple Emacs Spreadsheet (create/edit spreadsheet files)
   starting a program
   stopping a program
Emacs tutorial
Enabled commands (see Emacs commands: enabled)

Files (see also Unix files and Unix filesystem)
   ASCII File
   commands to work with files
   compared to buffers
   definition
   read file contents into buffer
   save buffer to file
   switch to buffer containing specific file
   text File
   visiting a file
Fortran, history
Freddy the Pig
   books
   Boomschmidt's Stupendous and Unexcelled Circus
   Centerboro, New York
   Freddy and the Men From Mars
   Ignormus
   Leo the lion
   Martians
   Walter R. Brooks (author)
Free Software Foundation (FSF)
   GNU (see GNU)
FSF (see Free Software Foundation)

Games (see Emacs games)
GCC
Gnome (see User interfaces)
GNU
   General Public License
   history of
   Manifesto
   meaning of name "GNU"
   Project, The
GNU compiler collection (see GCC)
GNU Emacs (see Emacs)
GPL (see GNU: General Public License)
Graphical user interface (see User interfaces)
Graphics
GUI (see User interfaces)

Hackers
Hahn, Harley (see Harley Hahn)
Hardware
Harley Hahn
   "Everything we teach you is true..."
   "Here is a way to make a bit of money for yourself..."
   "Much of what I know about human nature..."
   "What are the best things in life?"
   "When computer experts need to talk..."
   biography
   early books
   personal note from
   Why I went to graduate school in San Diego.
   Why I wrote this book.
Harley Hahn's Guide to Unix and Linux
Heffalump
Help facility
   buffer
   C-h to access the Emacs help facility
   display "hello" in many different languages
   display information about a Lisp function
   display information about a specific key sequence
   display information about current major and minor modes
   display key binding for a specific function
   Emacs tutorial (see Emacs tutorial)
   help options, display summary
   help window, maximizing
   Info facility (see Info facility)
   key bindings, display
   reference manuals (see Info facility)
   starting
Home directory (see Unix filesystem: home directory)
Host

IBM compatible computers
IBM PC
IDE (integrated development environment)
Ignormus (See Freddy the Pig: Ignormus)
Info facility
   commands to read a node
   commands to select a node
   definition
   Emacs reference manual
   Emacs reference manual compared to Emacs Help facility
   Info reference manual (describes Info itself)
   learning
   nodes
   starting
   stopping
Input event (see Emacs commands: input event)
Inserting text (see Text editing: inserting text)
Installing Emacs
   overview
   using a Linux manual installation
   using a package manager
   using Linux package manager APT
   using Linux package manager RPM
   using Microsoft Windows
   using OS X
Installing Unix Software
   archive
   binary files
   compare packages to consumer apps
   compiling files
   extracting files
   important concepts
   metadata within an archive
   package
   package manager
   package managers for BSD
   package managers for Linux
   repository
   source file
   tarball
   zip file
Investing, psychology of 

John McCarthy (see McCarthy, John)
John Socha (see Socha, John)
Joy, Bill

Kajsa Anka
Kernel
Key binding (see Emacs commands: key binding)
Killing text (see Text editing: killing text)
King Solomon
Knights of the Lambda Calculus (see Lisp: hackers, Knights of the Lambda Calculus)

Line Numbers (see Text editing: line numbers)
Linus Torvalds (see Torvalds, Linus)
Linux
   Harley Hahn's Guide to Unix and Linux
   Debian
   distribution
   history
   installing Emacs (see Installing Emacs)
   Mint
   terminal emulators
   terminal windows (see Terminal wimdows)
   Ubuntu
   Ubuntu Dash
   Ubuntu Launcher
   Ubuntu Terminal program
   Ubuntu Unity desktop environment
   Unity desktop environment
   virtual terminals (see Virtual terminals: using with Linux)
Lisp
   at MIT
   at Stanford University
   comments (;)
   computers
   evaluates functions
   expressions
   first homoiconic programming language
   functions
   hackers, Knights of the Lambda Calculus
   history
   keyboard
   macro defun
   reasons to learn
   recursive programming
   variables
Lisp, Emacs (see Emacs Lisp)
Lisp machine

macOS (see Operating systems: OS X)
Major modes
   buffer has only one major mode
   comprehensive list of major modes
   current major mode name displayed on mode line
   default, setting your
   Fundamental mode family
   Independent major modes
   parent mode (used to derive other modes)
   Prog mode family
   purpose: to edit particular type of text
   Special mode family
   Text mode family
   used to edit particular type of text
   which major mode to when not sure
Man page (see Unix manual)
Marked-up text
McCarthy, John
Microsoft Windows (see Operating systems: Microsoft Windows)
Midnight Commander, TUI-based fine manager
Minibuffer
Minix
Minor modes
   buffer can have multiple minor modes
   comphensive list of important minor modes
   purpose: to turn features on and off
Mode line (see Windows: mode line)
Modes
   all modes, display names 
   all modes, display summary
   current major and modes, display information
   defined by Emacs Lisp functions
   definition of major and minor modes
   describe specific mode
   display information about a specific mode
   learning about
   major mode, definition
   names end in "-mode"
   setting
   setting, using completion
Modifying text (see Text editing: correcting and modifying text)
Money, secret way to make
Multiuser system

Norton, Peter

Operating systems
   Linux (see Linux)
   Microsoft Windows
   Microsoft Windows commands
   Microsoft Windows filenames
   OS X
   OS X filenames
   Unix (see Unix)
   Xinu
   XNU kernel
OS X (see Operating systems: OS X)
   installing Emacs (see Installing Emacs: using OS X)

Package (see Installing Unix Software: package; repository)
Package management system (see Installing Unix Software: package manager)
Pathname (see Unix filesystem: pathname)
Personal notes
Peter Norton (see Norton, Peter)
Point (see Region: point)

Queen of Sheba

Read-only (see Emacs: read-only)
Recovering data after system failure (see Emacs: recovering data after system failure)
Region
   case, change
   count lines and characters
   cursor position
   definition
   format
   kill (erase)
   mark, definition
   mark, setting
   operating on
   point
   point, definition
   region, defining
   region, defining as entire buffer
   region, exchange mark and point
   setting and using
   shell command, use contents of region as data
   sort
Regular expressions
   case sensitive
   characters to use
   definition
   range of characters
   searching for
Richard Stallman (see Stallman, Richard)
Ritchie, Dennis
Root directory (see Unix filesystem)

Scrolling (see Text editing: scrolling)
Searching
   append kill ring entry to search string
   append word after point to search string
   corrections
   incremental search
   keys to use during a search
   keys to use during a search and replace
   non-incremental search
   practicing
   recursive editing, putting search and replace on hold
   recursive editing, when to use
   regular expressions (see Regular expressions)
   search and replace
   search for word in buffer without typing the word
   search string
   upper- and lower case
   word searching
Shell
   Bash
   Bash configuration files
   Bash history
   commands (see Shell commands)
   default
   definition
   Korn Shell
   new shell, start from within Emacs
   script
   shell prompt (see Shell prompt)
Shell commands
   create sorted list of all the Emacs commands
   multiple buffer just for shell commands
   prefix argument to indicate replace data with output
   single buffer just for shell commands
   sort all the lines in a buffer
   use contents of region as data
   using contents of region as data
   using without leaving Emacs
Shell prompt
   # (Unix superuser shell prompt)
   $ (shell identifier)
   $ (Unix Bash shell prompt)
   % (Unix C-Shell prompt)
   ~ (home directory)
   ~ (Unix home directory within shell prompt)
   delimiter
Shkatov, Dmitry (technical reviewer)
Socha, John
Software
   free
   open source
   proprietary
Source files (see Installing Unix software: binary file)
Source files (see Installing Unix software: source file)
Stallman, Richard
Starting Emacs
   & (using at end of command)
   -f option, using
   -nw option, using
   -Q option, using
   .emacs initialization file (see .emacs initialization file)
   alias, using
   from a terminal window
   from the command line
   read-only editor, as
   specifying a file to edit
   without specifying a document
Stevenson, Robert Louis
Stopping Emacs (see Emacs: stopping)
Sun Microsystems

Tannenbaum, Andrew
Tarball (see Installing Unix software: tarball)
TECO text editor
Terminal emulators
   virtual terminal (see Virtual terminals)
   UXterm
   VT100
   Xterm
Terminal windows
   M-SPC problems
   Meta key problems
   starting Emacs (see Starting Emacs: from a terminal window)
Terminals
   emulators (see Terminal emulators)
   graphics
   in the 1970s
   printing
   text
   using with Linux
   using with Unix
   video display
   VT100
   VT52
Terminals, real (see Terminals)
Terminals, virtual (see Virtual terminals)
Text
Text editing
   appending to kill ring entry
   blank line
   buffer, scrolling through
   case, changing
   character, counting
   characters, working with
   correcting and modifying text
   cursor, moving the
   deleting compared to killing
   deleting text
   entering text
   erasing text (see Text editing: killing text, Text editing: deleting text)
   filling text
   indentation
   inserting text
   kill ring
   kill ring entry
   killing compared to deleting
   killing text
   line numbers, displaying
   line numbers, jumping to
   lines, counting
   lines, joining two into one
   lines, working with
   major modes, which ones to use
   mode-less editor
   next window, scrolling through
   numeric argument
   paragraph definition
   paragraphs, working with
   practicing
   prefix argument
   redisplaying the screen
   reformatting text
   repeating a command multiple times
   searching (see Searching)
   scrolling
   sentence definition
   sentences, working with
   spelling mistakes, correcting
   spelling, checking
   transposing characters, words, lines
   whitespace
   words, counting
   yanking text
Text editor
Text-based user interface (see User interfaces)
Thompson, Ken
Time travel
Time-sharing system
Tools (see Emacs tools)
Torvalds, Linus
TUI (see User interfaces)
Typing mistakes (see Text editing: correcting and modifying text)

Unity (see User interfaces)
Unix
   A/UX (from Apple)
   account
   BSD
   command line (see User interfaces: command-line interface)
   files (see Unix files)
   filesystem (see Unix filesystem)
   Harley Hahn's Guide to Unix and Linux
   history
   in the 1970s
   manual (see Unix manual)
   password
   print (meaning "display")
   root userid
   signal, end of file (eof)
   signal, interrupt (intr)
   superuser
   system administrator
   terminal (see Terminals)
   userid
   vi/Vim text editor
   workstations
Unix commands
   case sensitive
   command line editing (see Command line editing)
   command summaries (see Appendix B on page 231)
   directory commands, list of most important
   echoing
   file commands, list of most important
   format
   history list (see Command line editing)
   installing Emacs (see Installing Emacs)
   long options
   making corrections
   pager programs
   short options
   syntax
   what happens when you enter a command?
Unix files
   device files
   directory
   file, definition
   folder
   named pipes
   ordinary file
   parent directory
   proc files
   pseudo files
   special files
   subdirectory
   subfolder
Unix filesystem
   .. (parent directory)
   . (current directory)
   ~ (home directory)
   current directory
   directories, list of most important
   directory commands, list of most important
   directory names 
   dotfiles
   file commands, list of most important
   file names 
   file permissions, read-only is not the same as Emacs read-only-mode
   filename
   Filesystem Hierarchy Standard (FHS)
   hier command to display hierarchy
   home directory
   home directory contains .emacs file
   number of files on a Ubuntu Linux system
   parent directory
   path
   pathname
   pathname, absolute
   pathname, relative
   root directory
   tree-structured filesystem
   working directory
Unix keys
   command line editing (see Command line editing)
   Macintosh keyboard
   making corrections
   sending the eof signal
   sending the intr signal
   writing ^ for <Ctrl>
Unix manual
Unix shell (see Shell)
Usenet
User interfaces
   command-line interface (CLI)
   desktop
   desktop environment
   focus
   Gnome desktop environment
   graphical user interface (GUI)
   KDE desktop environment
   text-based user interface (TUI)
   Unity desktop environment
Users
Utilities

vi/Vim text editor (see Unix: vi/Vim text editor)
Virtual console (see Virtual terminals)
Virtual terminals
Virtual, meaning of
Visit a file (see Files: visiting a file)

Walter R. Brooks (see Freddy the Pig: Walter R. Brooks)
Windows
   commands to control windows
   compared to buffers
   creating
   current window
   definition
   deleting
   echo area
   help window, maximizing
   mode line
   mode line shows current major mode
   mode line status characters
   mode line, [ ] characters, recursive editing
   moving
   next window
   next window, scrolling through
   selected window
   sizing
   splitting
   using
Windows, Microsoft (see Operating systems: Microsoft Windows)
   installing Emacs (see Installing Emacs: using Microsoft Windows)
Wisdom
   "Everything we teach you is true..." (Harley Hahn)
   "Here is a way to make a bit of money for yourself..." (Harley Hahn)
   "I have always thought of myself..." (Isaac Asimov)
   "Much of what I know about human nature..." (Harley Hahn)
   "My turn will come too, eventually..." (Isaac Asimov)
   "Perhaps writers are so self-absorbed..." (Isaac Asimov)
   "When computer experts need to talk..." (Harley Hahn)
   "Who said Emacs was for beginners?" (Harley Hahn)
   Emacs is a way of life.
   Emacs is good for your brain.
   Importance of teaching yourself Emacs.
   Our tools shape our minds.
   What are the best things in life?
   What to get your mother for her birthday.
   Why I wrote this book.
   Wonderful Mother's Day gift.
Working directory (see Unix filesystem: current directory)

X Window

Zip file (see Installing Unix software: zip file)
Zippy the Pinhead Talks to the Emacs Psychotherapist

INDEXES
0. Most Important Topics
1. General Index
2. Emacs Key Sequences
3. Emacs Variables and Functions
4. Unix: Keys, Files and Commands

Jump to top of page