Generic FunctionPackage: common-graphicsToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

pretty-printer

Arguments: development-configuration

Returns the value of the pretty-printer property of development-configuration. The current configuration is the value of (configuration *system*) (see configuration and *system*).

This property determines whether to re-wrap lines of text when re-indenting (by choosing Edit | Reindent). The value can be :reindent and :pretty-print.

If the value is :reindent, the indentation of each line will be adjusted without rearranging words onto different lines.

If the value is :pretty-print, the whole expression will be re-pretty-printed, which may change which words are grouped together on the same line. Warning: when the value is :pretty-print, any internal comments in a top-level form will be lost whenever the Edit | Reindent command is used on it, because this option causes the form to be read and then pretty-printed anew into the editor window.

This value can be set on the Editor tab on the Options dialog (displayed with Tools | Options).

You can examine and change configuration options in general with the inspector. Choose Tools | Inspect System Data | Configuration Options.

Suppose you have this form in an editor:

(defun foo (a
     b
         c)  ;; args are a b c
          (+ a b 
      c))

If pretty-printer is :reindent, choosing Edit | Reindent while the form is selected produces:

(defun foo (a
            b
            c)  ;; args are a b c
   (+ a b 
      c)

If pretty-printer is :pretty-print, choosing Edit | Reindent while the form is selected produces (notice that the comment has disappeared):

(defun foo (a b c) (+ a b c))

Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1