Alpha_1 Programmers's Manual


Using Gnu Emacs for Alpha_1 Programming

This page is under construction...

alpha1.el

There is an Emacs setup file named "$a$aem/alpha1.el" that all Alpha_1 programmers load in their .emacs files. It sets up the Emacs environment with a number of features which are convenient for Alpha_1 programming, including

Navigating the Alpha_1 sources under Emacs using Tags

You can use the tags databases to rapidly navigate through the Alpha_1 sources. These are the main default tags function bindings found in $a$cmds/alpha1.el :
; Bind fast-tags keys to their defaults and set fast-tags to autoload.
(global-set-key "\e." 	 'fast-goto-tag)
(global-set-key "\e,"	 'goto-tag-expr)
(global-set-key "\^C\^V" 'fast-visit-function)
Fast-goto-tag (M-.) prompts for a string tag, which can be the prefix of a set of tags to find. Goto-tag-expr (M-,) prompts for a regular expression tag. A simple string argument can be anywhere in the tags that it will match, and more complicated expressions can include character classes and so on. Both of them will step to the next tag in the set if given a ^U prefix argument.

Fast-visit-function (^C-^V) is like fast-goto-tag, but takes the word under or before the cursor as the tag, and pushes a recursive-edit level. So you can descend down through the definitions, and return using C-M-c.

Using CVS on Alpha_1 sources under Emacs

using CVS on Alpha_1

PCL-CVS ...

Compiling Alpha_1 programs under Emacs

...

Debugging Alpha_1 programs under Emacs

Stepping through scripts under Emacs ...
Alpha_1 Documentation, comments to: a1-doc@gr.cs.utah.edu