NOTE: This Technical Note has been retired. Please see the Technical Notes page for current documentation.

Technical Note PT525
Macintosh Common LISP Q&As

CONTENTS

This Technical Note contains a collection of archived Q&As relating to a specific topic--questions sent the Developer Support Center (DSC) along with answers from the DSC engineers. Current Q&A's can be found on the Macintosh Technical Q&A's web site.

[Oct 01 1990]






MCL technical support

Date Written: 3/30/93

Last reviewed: 7/2/93

How can I get answers to my Macintosh Common Lisp questions?

Macintosh Common Lisp technical support is available on the Internet at the following addresses (add "@internet#" for the corresponding AppleLink addresses):

  • bug-mcl@cambridge.apple.com, which reaches the MCL team
  • info-mcl@cambridge.apple.com, which reaches MCL users at large You can join the info-mcl list in one of the following ways:
  • Contact info-mcl-request@cambridge.apple.com on the Internet to add your address to the list.
  • Join INFO.MCL$ on AppleLink by contacting ST.CLAIR.
  • Check comp.lang.lisp.mcl on Internet netnews.
  • MCL utilities and sample source code are available in these places:
  • on the MCL 2.01 CD-ROM (available through APDA)
  • on the Developer CD Series disc (Tool Chest edition) and the develop Bookmark CD
  • on the Internet, by anonymous ftp from the location cambridge.apple.com:/pub/MCL2/contrib

Highlighting Macintosh Common LISP table dialog strings

Date Written: 8/13/91

Last reviewed: 8/1/92

I have defined a table dialog with "sequence dialog items" in the form of a list like

How can I highlight the strings so that they are highlighted when the table dialog appears on the screen?

Create the window with (... :WINDOW-SHOW NIL ...), highlight cells with CELL-SELECT, and then ask the window to (WINDOW-SHOW).

MCL 2.0 heap allocation

Date Written: 5/18/92

Last reviewed: 7/13/92

I have Macintosh Common LISP (MCL) v2.0b1. How do I repartition my memory so that I can enlarge the application heap, without enlarging the LISP heap? In other words, I would like to keep the LISP heap the same size and give my application heap a little more room. I'm trying to allocate large blocks of memory using _NewPtr and am running short on memory.

OK, here's the story. In MCL 2.0b1 the only way to change the heap split (app/LISP) is to define the values in the LSIC resource. There's a template in the application, so if you drag the application over ResEdit you should see this resource with a template. In this one you are able to specify the application heap min/max and median values (defined in bytes). So the trick is to increase the min value which will take more heap space from the LISP environment. Be careful, though, because the stack is also using this application heap. By monitoring Using (room) you might see the values during runtime.

In MCL 2.0 final there's a parameter in save-application which defines the application heap usage. Even better, the application heap grows and takes space from the LISP heap if needed. However, the heap values don't shrink, because the MCL team didn't want to rewrite the whole Toolbox Memory Manager.


Back to top

Downloadables

Acrobat gif

Acrobat version of this Note (34K).

Download



Developer Documentation | Technical Q&As | Development Kits | Sample Code