home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Environments / AllegroCL11 / ccl-doc / inspect.text < prev    next >
Encoding:
Text File  |  1987-08-02  |  1.9 KB  |  41 lines  |  [TEXT/CCL ]

  1. INSPECT is meant to be deep yet intuitive to use.
  2. But there ARE some non-obvious short cuts to invoking
  3. INSPECT.
  4.  
  5. • Choosing INSPECT from the Lisp menu presents the main INSPECT control dialog.
  6.  Some of the items are:
  7.   - "Choose Inspect Window" selects an existing inspect window.
  8.   - "Inspect History" presents a menu of the the forms inspected
  9.      from top level [ie. from control-x-control-i or from selecting
  10.         "Type in" from the INSPECT control menu.] It does not include forms
  11.      inspected via choosing items from other Inspect windows.
  12.   - "Print Top Window Form" pretty prints the form of the top Inspect window
  13.      into the listener. This permits you to edit it, then inspect the result
  14.      with control-x-control-i.
  15.   - "Close Unmoved Windows"
  16.      Closes all Inspect windows that are positioned
  17.      against the upper right corner of the screen [the default position].
  18.      To save a window from this fate, simple move it by dragging its title bar.
  19.  
  20.  
  21. • control-x-control-i from a FRED buffer.
  22.   - If a region is selected, the test from that region will
  23.     appear in a dialog box that allows you to edit it
  24.     before it is read and passed to inspect.
  25.   - If no region is selected, the current expression
  26.     is passed to inspect.
  27.   - If there is no region or current expression, a dialog box
  28.     pops up and allows you to type in a string to inspect.
  29.  
  30.   - From the Listener, control-x-control-i behaves similarly
  31.     to its behavior in FRED except that if there is no 
  32.     selection or current expression [such as when it is 
  33.     waiting for input], the value of * will be passed to
  34.     INSPECT. * is a Common Lisp variable bound to the value of the last form
  35.     evaluated in the Listener.
  36.  
  37. -  (top-inspect-form)  returns the form that the top inspect window is 
  38.    inspecting. For certain kinds of inspect windows, such forms don't make
  39.    sense so this function isn't perfectly consistent.
  40.  
  41.