3.4 Customizing the environment

3.4.4 Specifying a package

If you are working in a particular package, you can adjust the current tool to display its symbols as you would refer to them from that package -- that is, as the package sees them. This can also make symbol listings clearer.

Do this by selecting the top item in the Customize menu. The name of this option will vary, but always takes the form Package: package-name, where package-name is the name of the window's current package. Selecting this option displays a dialog box which allows you to enter a new package name.

As an example, imagine you are looking at a list of symbols in the Inspector. You are working in the package FOO, and some of the symbols in the Inspector are in package BAZ. To change the inspector's current package to FOO, follow the instructions below:

1. Choose Customize from the Works menu

The top menu item is called Package: cl-user, indicating that CL-USER is the current package in this window.

2. Choose Package: cl-user

A dialog box appears, allowing you to change the current package.

3. In the dialog box, delete the string CL-USER and type FOO

In the Inspector, all the symbols available from FOO appear without the package prefix FOO, while all others have an appropriate package prefix.


FreeLisp User's Guide - 5 FEB 1996

Generated with Harlequin WebMaker