An abbrev (abbreviation) is a user defined text string which, when typed into a buffer, may be expanded into another string using Abbrev Mode. Typing can therefore be saved by defining short strings to be expanded into frequently used longer words or phrases.
Abbrevs should not be confused with the abbreviated symbol completion implemented by the command Abbreviated Complete Symbol.
Abbrev mode is a minor mode which allows abbrevs to be automatically expanded when typed into a buffer.
Auto-fill mode is a minor mode which allows lines to be broken between words at the right margin automatically as the text is being typed. This means that
does not have to be pressed at the end of each line to simulate filling.
Auto-saving is the automatic, periodic backing-up of the file associated with the current buffer.
When a file is explicitly saved in the editor, a backup is automatically made by writing the old contents of the file to a backup before saving the new version of the file. The name of the backup file is that of the original file followed by a
A binding is made up of one or more key sequences . A command may have a default binding associated with it, which executes that command. Bindings provide a quick and easy way to execute commands.
A buffer is a temporary storage area used by the editor to hold the contents of a file while the process of editing is taking place.
Case conversion means changing the case of text from lower to upper case and vice versa.
Completion is the process of expanding a partial or abbreviated name into the full name. Completion can used for expanding symbols, editor command names, filenames and editor buffer names.
The Control key (
) is used as part of many key sequences.
must be held down while pressing the required character key.
See Control Key.
The adjective current is often used to describe a point, buffer, mark, paragraph, and similar regions of text, as being the text area or item on which relevant commands have an effect. For example, the current buffer is the buffer on which most editor commands operate.
The cursor is the rectangle (in Emacs emulation) or vertical bar (in other emulations) seen in a buffer which indicates the position of the current point within that buffer.
Customization means making changes to the way the editor works. The editor can be customized both in the short and long term to suit the users requirements. Short term customization involves altering the way the editor works for the duration of an editing session by using standard editor commands, while long term customization involves programming the editor.
A default is the value given to an argument if none is specified by the user.
Deleting means removing text from the buffer without saving it. The alternative is killing .
The Echo Area is a buffer used to display and input editor information. Commands are typed into this buffer and editor produced messages are displayed here.
The LispWorks Editor can behave like GNU Emacs, or like a typical editor on the KDE/Gnomeplatform. Keys, cursors, behavior with selected text and other functionality differs. We use the term KDE/GnomeEmulation to denote this alternate behavior.
The Escape key (
) has its own functionality but is mostly used in Emacs emulation in place of the
key when no such key exists on a keyboard.
must be typed
pressing the required character key.
Most editor commands can be invoked explicitly by using their full command
names, preceded by the
key sequence. A command issued in such a way is known as an extended command.
The fill prefix is a string which is ignored when filling takes place. For example, if the fill prefix is
, then these characters at the start of a line are skipped over when the text is re-formatted.
Filling involves re-formatting text so that each line extends as far to the right as possible without any words being broken or any text extending past a predefined right-hand column.
A global abbrev is an abbrev which can be expanded in all major modes.
The history ring records Echo Area commands so that they can easily be repeated.
An incremental search is a search which is started as soon as the first character of the search string is typed.
Indentation is the blank space at the beginning of a line. Lisp, like many other programming languages, has conventions for the indentation of code to make it more readable. The editor is designed to facilitate such indentation.
Insertion is the process of inputting text into a buffer.
A keyboard macro allows a sequence of editor commands to be turned into a single operation. Keyboard macros are only available for the duration of an editing session.
A key sequence is a sequence of characters used to issue, or partly issue, an editor command. A single key sequence usually involves holding down one of two specially defined modifier keys (that is
), while at the same time pressing another key.
Killing means removing text from a buffer and saving it in the kill ring, so that the text may be recovered at a later date. The alternative is deleting .
The kill ring stores text which has been killed, so that it may be recovered at a later date. Text can be re-inserted into a buffer by yanking . There is only one kill ring for all buffers so that text can be copied from one buffer to another.
Major modes govern how certain commands behave. They adapt a few editor commands so that their use is more appropriate to the text being edited. For example, the concept of indentation is radically different in Lisp mode and Fundamental mode. Each buffer is associated with one major mode.
A mark stores the location of a point so that it may be used for reference at a later date. More than one mark may be associated with a single buffer and saved in a mark ring .
The mark ring stores details of marks, so that previously defined marks can be accessed. The mark ring works like a stack, in that marks are pushed onto the ring and can only be popped off on a "last in first out" basis. Each buffer has its own mark ring.
On most PC keyboards this key is synonymous with the
key. However, there are many different types of keyboard, and the
key may not be marked with "Alt" or "Meta". It may be marked with a special character, such as a diamond, or it may be one of the function keys -- try
In Emacs emulation,
must be held down while pressing the required character key. As some keyboards do not have a
) key can be used in place of
On Cocoa, you can configure "Meta" by choosing Window > Window Preferences... > Emulation in the Editor or Listener tools.
The minor modes determine whether or not certain actions take place. For example, when abbrev mode is on, abbrevs are automatically expanded when typed into a buffer. Buffers may possess any number of minor modes.
Each buffer has two modes associated with it: a major mode and a minor mode. A buffer must have one major mode, but can have zero or more minor modes associated with it. Major modes govern how certain commands behave, while minor modes determine whether or not certain actions take place.
A mode abbrev is an abbrev which is expanded only in predefined major modes.
At the bottom of each buffer is a mode line that provides information concerning that buffer. The information displayed includes name of the buffer, major mode, minor mode and whether the buffer has been modified or not.
Newline is a whitespace character which terminates a line of text.
Overwrite mode is a minor mode which causes each character typed to replace an existing character in the text.
A page is the region of text between two page delimiters. The ASCII key sequence
constitutes a page delimiter (as it starts a new page on most line printers).
A pane is the largest portion of an editor window, used to display the contents of a buffer.
A paragraph is defined as the text within two paragraph delimiters. A blank line constitutes a paragraph delimiter. The following characters at the beginning of a line are also paragraph delimiters:
Space Tab @ - ' )
A prefix argument is an argument supplied to a command which sometimes alters the effect of that command, but in most cases indicates how many times that command is to be executed. This argument is known as a prefix argument as it is supplied before the command to which it is to be applied. Prefix arguments sometimes have no effect on a command.
A point is a location in a buffer where editor commands take effect. The c urrent point is generally the location between the character indicated by the cursor and the previous character (that is, it actually lies between two characters). Many types of commands (moving, inserting, deleting) operate with respect to the current point, and indeed move that point.
Recursive editing occurs when you are allowed to edit text while an editor command is executing.
A region is the area of text between the mark and the current point. Many editor commands affect only a specified region.
Registers are named slots in which locations and regions can be saved for later use.
Regular Expression Searching
A regular expression (regexp) allows the specification of a search string to include wild characters, repeated characters, ranges of characters, and alternatives. Strings which follow a specific pattern can be located, which makes regular expression searches very powerful.
Replacing means substituting one string for another.
Saving means copying the contents of a buffer to a file.
Scrolling means slightly shifting the text displayed in a pane either upwards or downwards, so that a different portion of the buffer is displayed.
Searching means moving the current point to the next occurrence of a specified string.
A sentence begins wherever a paragraph or previous sentence ends. The end of a sentence is defined as consisting of a sentence terminating character followed by two spaces or a newline. The following characters are sentence terminating characters:
. ? !
A tag file is one which contains information on the location of Lisp function definitions in one or more files. For each file in a defined system, the tag file contains a relevant file name entry, followed by names and positions of each defining form in that file. This information is produced by the editor and is required for some definition searches.
Transposition involves taking two units of text and swapping them round so that each occupies the others former position.
Commands that modify text in a buffer can be undone, so that the text reverts to its state before the command was invoked.
An undo ring is used to hold details of modifying commands so that they can be undone at a later date. The undo ring works like a stack, in that commands are pushed onto the ring and can only be popped off on a "last in first out" basis.
Editor variables are parameters which affect the way that certain commands operate.
Whitespace is any consecutive run of the whitespace characters
A window is an object used by the window manager to display data. When the editor is called up, an editor window is created and displayed.
A window ring is used to hold details of all windows currently open.
A word is a continuous string of alphanumeric characters (that is, the letters A-Z and numbers 0-9). In most modes, any character which is not alphanumeric is treated as a word delimiter.
Yanking means inserting a previously killed item of text from the kill ring at a required location. This is often known as pasting .