Go to the first, previous, next, last section, table of contents.


Current Lisp

To use VLS it is important to understand the concept of the Current Lisp and a Lisp Shell Buffer. When you run a Lisp Shell using VLS it creates a Lisp shell buffer, runs a Lisp executable as a process and then associates that Lisp process with that buffer. It also makes that buffer's Lisp process the Current Lisp. Whenever VLS sends any Lisp expressions it always sends them to the Current Lisp. So for example if you were to evaluate an expression in any Lisp file buffer it would send the expression to the Current Lisp process and would pop-up the Lisp Shell buffer associated with the Current Lisp process and print the returned value in that buffer.

If there are multiple VLS Lisp Shell buffers only one will be associated with the Current Lisp process. There are three ways to make a VLS Lisp Shell the current Lisp: 1. When you invoke that Lisp Shell for the first time. 2. While in a Lisp Shell buffer you execute any VLS command. 3. You manually make the Current Lisp Shell buffer the Current Lisp with the vls-make-current command, See section Shell Buffer Commands.

Note that when you invoke a Lisp Shell it will only become the Current Lisp on the initial invocation. All subsequent invocations will simply switch to that Lisp Shell buffer. This is so that you can easily switch between different Lisp process buffers to examine contents without worrying about changing the Current Lisp.


Go to the first, previous, next, last section, table of contents.