Previous Next
How the Emacs integration works

Emacs need not be changed to work in the SNiFF+ environment. An Emacs-Lisp configuration file supplied with the SNiFF+ distribution tells Emacs how to:

This file is called
sniff-mode.el and is located in your $SNIFF_DIR/config directory. To use the file, simply load it into Emacs. Once the file is loaded, a new SNiFF+ mode is available in Emacs. Then, execute the function sniff-connect to connect Emacs to your current SNiFF+ session.
You also have to tell SNiFF+ to use Emacs as the main editor. When you do so, SNiFF+ uses Emacs for displaying and editing source code.
User interface examples
The following figure shows Emacs connected to SNiFF+:

Click for full size, then use Back button