Menu

scEmacs Overview & Introdution

scEmacs reads text files into memory Buffers where they can be displayed and edited. It can have many such buffers at a given time and they can be displayed and manipulated independently. Buffers are displayed in Panes on windows called Frames (to avoid confusion with OS terms). There can be many frames (windows) at the same time, each showing one or more panes, and each pane will display the contents of its single buffer. However, multiple panes can display the very same buffer, as illustrated by the two below:

Hello1.sc run from scEmacs.

At any given time, there can be only a single active pane and it will reside in the frontmost frame window. Every pane always shows its cursor, as it is impossible to move it off the visible area. But only the one active pane has a solid (blinking) cursor, all other panes (on all other frames) show an empty cursor outline instead. Every pane also has a Mode line that names its buffer, shows the display mode (Script in this case), as well as other information. Only the active pane (top pane above) gets a highlighted (dark gray) mode line. Each frame window also has an Echo line on the bottom to display feedback and enter commands.

The whole purpose of scEmacs is to allow fast and efficient manipulation of text directly from the keyboard, without having to use the mouse. Control and Meta (alt on modern keyboards) key combos (used like shift keys) are employed to issue commands. For example, Control-f (C-f) is a command to move the cursor forward one character. Similarly, Meta-f (M-f) will move it forward one word.

These keyboard commands are really bindings for internal functions that can also be invoked by name. While some internal functions are not bound to any key combinations, all must have a name! So M-f is bound to forward-word and can also be called by typing M-x forward-word (always lowercase). Actually M-x itself just calls exec-named-cmd which places the cursor in the bottom echo line for entry of command names. This echo line also provides auto-completion. Simply hit Tab after typing a few letters and scEmacs tries to automatically resolve the function name (or as much of it as it can).

There are many function names that start with f so M-x f followed by Tab yields no progress while M-x fo followed by Tab will complete to M-x forward-. Subsequently typing w followed by another Tab will yield M-x forward-word!

scEmacs Specifications

Hello1.sc run from scEmacs.

Starting Up

When launched, scEmacs brings up a single frame window with a single pane, displaying *Temp-1* buffer. This buffer can be immediately deleted, but then scEmacs will create *Temp-2* as it requires at least one buffer for operation.