Common Lisp Package: CONIUM

README:

FUNCTION

Public

ACTIVATE-STEPPING (FRAME-NUMBER)

Prepare the frame FRAME-NUMBER for stepping.

ARGLIST (NAME)

Return the lambda list for the symbol NAME. NAME can also be a lisp function object, on lisps which support this. The result can be a list or the :not-available keyword if the arglist cannot be determined.

BUFFER-FIRST-CHANGE (FILENAME)

Called for effect the first time FILENAME's buffer is modified.

CALL-WITH-COMPILATION-HOOKS (FUNC)

Call FUNC with hooks to record compiler conditions.

CALL-WITH-DEBUGGER-HOOK (HOOK FUN)

Call FUN and use HOOK as debugger hook. HOOK should be called for both BREAK and INVOKE-DEBUGGER.

CALL-WITH-DEBUGGING-ENVIRONMENT (DEBUGGER-LOOP-FN)

Call DEBUGGER-LOOP-FN in a suitable debugging environment. This function is called recursively at each debug level to invoke the debugger loop. The purpose is to setup any necessary environment for other debugger callbacks that will be called within the debugger loop. For example, this is a reasonable place to compute a backtrace, switch to safe reader/printer settings, and so on.

CALL-WITH-SYNTAX-HOOKS (FN)

Call FN with hooks to handle special syntax.

CALL-WITH-USER-BREAK-HANDLER (HANDLER FUNCTION)

Install the break handler HANDLER while executing FUNCTION.

CALL-WITHOUT-INTERRUPTS (FN)

Call FN in a context where interrupts are disabled.

CALLS-WHO (FUNCTION-NAME)

Return the call sites of FUNCTION-NAME (a symbol). The results is a list ((DSPEC LOCATION) ...).

CHARACTER-COMPLETION-SET (PREFIX MATCHP)

Return a list of names of characters that match PREFIX.

CHECK-SLIME-INTERRUPTS

Execute pending interrupts if any. This should be called periodically in operations which can take a long time to complete. Return a boolean indicating whether any interrupts was processed.

COMPILER-MACROEXPAND (FORM &OPTIONAL ENV)

Repetitively call `compiler-macroexpand-1'.

COMPILER-MACROEXPAND-1 (FORM &OPTIONAL ENV)

Call the compiler-macro for form. If FORM is a function call for which a compiler-macro has been defined, invoke the expander function using *macroexpand-hook* and return the results and T. Otherwise, return the original form and NIL.

COMPUTE-BACKTRACE (START END)

Returns a backtrace of the condition currently being debugged, that is an ordered list consisting of frames. ``Ordered list'' means that an integer I can be mapped back to the i-th frame of this backtrace. START and END are zero-based indices constraining the number of frames returned. Frame zero is defined as the frame which invoked the debugger. If END is nil, return the frames from START to the end of the stack.

CONDITION-EXTRAS (CONDITION)

Return a list of extra for the debugger. The allowed elements are of the form: (:SHOW-FRAME-SOURCE frame-number) (:REFERENCES &rest refs)

DEFAULT-DIRECTORY

Return the default directory.

DEFAULT-READTABLE-ALIST

Return a suitable initial value for SWANK:*READTABLE-ALIST*.

DESCRIBE-DEFINITION (NAME TYPE)

Describe the definition NAME of TYPE. TYPE can be any value returned by DESCRIBE-SYMBOL-FOR-EMACS. Return a documentation string, or NIL if none is available.

DESCRIBE-PRIMITIVE-TYPE (OBJECT)

Return a string describing the primitive type of object.

DESCRIBE-SYMBOL-FOR-EMACS (SYMBOL)

Return a property list describing SYMBOL. The property list has an entry for each interesting aspect of the symbol. The recognised keys are: :VARIABLE :FUNCTION :SETF :SPECIAL-OPERATOR :MACRO :COMPILER-MACRO :TYPE :CLASS :ALIEN-TYPE :ALIEN-STRUCT :ALIEN-UNION :ALIEN-ENUM The value of each property is the corresponding documentation string, or :NOT-DOCUMENTED. It is legal to include keys not listed here (but slime-print-apropos in Emacs must know about them). Properties should be included if and only if they are applicable to the symbol. For example, only (and all) fbound symbols should include the :FUNCTION property. Example: (describe-symbol-for-emacs 'vector) => (:CLASS :NOT-DOCUMENTED :TYPE :NOT-DOCUMENTED :FUNCTION "Constructs a simple-vector from the given objects.")

DISASSEMBLE-FRAME (FRAME-NUMBER)

Disassemble the code for the FRAME-NUMBER. The output should be written to standard output. FRAME-NUMBER is a non-negative integer.

EVAL-IN-FRAME (FORM FRAME-NUMBER)

Evaluate a Lisp form in the lexical context of a stack frame in the debugger. FRAME-NUMBER must be a positive integer with 0 indicating the frame which invoked the debugger. The return value is the result of evaulating FORM in the appropriate context.

FILENAME-TO-PATHNAME (FILENAME)

Return a pathname for FILENAME. A filename in Emacs may for example contain asterisks which should not be translated to wildcards.

FIND-DEFINITIONS (NAME)

Return a list ((DSPEC LOCATION) ...) for NAME's definitions. NAME is a "definition specifier". DSPEC is a "definition specifier" describing the definition, e.g., FOO or (METHOD FOO (STRING NUMBER)) or (DEFVAR FOO). LOCATION is the source location for the definition.

FIND-EXTERNAL-FORMAT (CODING-SYSTEM)

Return a "external file format designator" for CODING-SYSTEM. CODING-SYSTEM is Emacs-style coding system name (a string), e.g. "latin-1-unix".

FIND-SOURCE-LOCATION (OBJECT)

Returns the source location of OBJECT, or NIL. That is the source location of the underlying datastructure of OBJECT. E.g. on a STANDARD-OBJECT, the source location of the respective DEFCLASS definition is returned, on a STRUCTURE-CLASS the respective DEFSTRUCT definition, and so on.

FORMAT-SLDB-CONDITION (CONDITION)

Format a condition for display in SLDB.

FORMAT-STRING-EXPAND (CONTROL-STRING)

Expand the format string CONTROL-STRING.

FRAME-CATCH-TAGS (FRAME-NUMBER)

Return a list of catch tags for being printed in a debugger stack frame.

FRAME-LOCALS (FRAME-NUMBER)

Return a list of ((&key NAME ID VALUE) ...) where each element of the list represents a local variable in the stack frame associated to FRAME-NUMBER. NAME, a symbol; the name of the local variable. ID, an integer; used as primary key for the local variable, unique relatively to the frame under operation. value, an object; the value of the local variable.

FRAME-RESTARTABLE-P (FRAME)

Is the frame FRAME restartable?. Return T if `restart-frame' can safely be called on the frame.

FRAME-SOURCE-LOCATION-FOR-EMACS (FRAME-NUMBER)

Return the source location for the frame associated to FRAME-NUMBER.

FRAME-VAR-VALUE (FRAME-NUMBER VAR-ID)

Return the value of the local variable associated to VAR-ID relatively to the frame associated to FRAME-NUMBER.

FUNCTION-NAME (FUNCTION)

Return the name of the function object FUNCTION. The result is either a symbol, a list, or NIL if no function name is available.

GETPID

Return the (Unix) process ID of this superior Lisp.

GUESS-EXTERNAL-FORMAT (PATHNAME)

Detect the external format for the file with name pathname. Return nil if the file contains no special markers.

HASH-TABLE-WEAKNESS (HASHTABLE)

Return nil or one of :key :value :key-or-value :key-and-value

INSTALL-DEBUGGER-GLOBALLY (FUNCTION)

Install FUNCTION as the debugger for all threads/processes. This usually involves setting *DEBUGGER-HOOK* and, if the implementation permits, hooking into BREAK as well.

INSTALL-SIGINT-HANDLER (FUNCTION)

Call FUNCTION on SIGINT (instead of invoking the debugger). Return old signal handler.

LABEL-VALUE-LINE (LABEL VALUE &KEY (NEWLINE T))

Create a control list which prints "LABEL: VALUE" in the inspector. If NEWLINE is non-NIL a `(:newline)' is added to the result.

LISP-IMPLEMENTATION-TYPE-NAME

Return a short name for the Lisp implementation.

LIST-CALLEES (FUNCTION-NAME)

List the functions called by FUNCTION-NAME. See LIST-CALLERS for a description of the return value.

LIST-CALLERS (FUNCTION-NAME)

List the callers of FUNCTION-NAME. This function is like WHO-CALLS except that it is expected to use lower-level means. Whereas WHO-CALLS is usually implemented with special compiler support, LIST-CALLERS is usually implemented by groveling for constants in function objects throughout the heap. The return value is as for WHO-CALLS.

MACROEXPAND-ALL (FORM)

Recursively expand all macros in FORM. Return the resulting form.

MAKE-INPUT-STREAM (READ-STRING)

Return a new character input stream. The stream calls READ-STRING when input is needed.

MAKE-OUTPUT-STREAM (WRITE-STRING)

Return a new character output stream. The stream calls WRITE-STRING when output is ready.

MAKE-WEAK-KEY-HASH-TABLE (&REST ARGS)

Like MAKE-HASH-TABLE, but weak w.r.t. the keys.

MAKE-WEAK-VALUE-HASH-TABLE (&REST ARGS)

Like MAKE-HASH-TABLE, but weak w.r.t. the values.

PATHNAME-TO-FILENAME (PATHNAME)

Return the filename for PATHNAME.

PROFILE (FNAME)

Marks symbol FNAME for profiling.

PROFILE-PACKAGE (PACKAGE CALLERS-P METHODS)

Wrap profiling code around all functions in PACKAGE. If a function is already profiled, then unprofile and reprofile (useful to notice function redefinition.) If CALLERS-P is T names have counts of the most common calling functions recorded. When called with arguments :METHODS T, profile all methods of all generic functions having names in the given package. Generic functions themselves, that is, their dispatch functions, are left alone.

PROFILE-REPORT

Prints profile report.

PROFILE-RESET

Resets profile counters.

PROFILED-FUNCTIONS

Returns a list of profiled functions.

QUIT-LISP

Exit the current lisp image.

RESTART-FRAME (FRAME-NUMBER)

Restart execution of the frame FRAME-NUMBER with the same arguments as it was called originally.

RETURN-FROM-FRAME (FRAME-NUMBER FORM)

Unwind the stack to the frame FRAME-NUMBER and return the value(s) produced by evaluating FORM in the frame context to its caller. Execute any clean-up code from unwind-protect forms above the frame during unwinding. Return a string describing the error if it's not possible to return from the frame.

SAVE-IMAGE (FILENAME &OPTIONAL RESTART-FUNCTION)

Save a heap image to the file FILENAME. RESTART-FUNCTION, if non-nil, should be called when the image is loaded.

SET-DEFAULT-DIRECTORY (DIRECTORY)

Set the default directory. This is used to resolve filenames without directory component.

SET-DEFAULT-INITIAL-BINDING (VAR FORM)

Initialize special variable VAR by default with FORM. Some implementations initialize certain variables in each newly created thread. This function sets the form which is used to produce the initial value.

SLDB-BREAK-AT-START (SYMBOL)

Set a breakpoint on the beginning of the function for SYMBOL.

SLDB-BREAK-ON-RETURN (FRAME-NUMBER)

Set a breakpoint in the frame FRAME-NUMBER.

SLDB-STEP-INTO

Step into the current single-stepper form.

SLDB-STEP-NEXT

Step to the next form in the current function.

SLDB-STEP-OUT

Stop single-stepping temporarily, but resume it once the current function returns.

SLDB-STEPPER-CONDITION-P (CONDITION)

Return true if SLDB was invoked due to a single-stepping condition, false otherwise.

SWANK-COMPILE-FILE (INPUT-FILE OUTPUT-FILE LOAD-P EXTERNAL-FORMAT)

Compile INPUT-FILE signalling COMPILE-CONDITIONs. If LOAD-P is true, load the file after compilation. EXTERNAL-FORMAT is a value returned by find-external-format or :default. Should return OUTPUT-TRUENAME, WARNINGS-P and FAILURE-p like `compile-file'

SWANK-COMPILE-STRING (STRING &KEY BUFFER POSITION FILENAME POLICY)

Compile source from STRING. During compilation, compiler conditions must be trapped and resignalled as COMPILER-CONDITIONs. If supplied, BUFFER and POSITION specify the source location in Emacs. Additionally, if POSITION is supplied, it must be added to source positions reported in compiler conditions. If FILENAME is specified it may be used by certain implementations to rebind *DEFAULT-PATHNAME-DEFAULTS* which may improve the recording of source information. If POLICY is supplied, and non-NIL, it may be used by certain implementations to compile with a debug optimization quality of its value. Should return T on successfull compilation, NIL otherwise.

TOGGLE-TRACE (SPEC)

Toggle tracing of the function(s) given with SPEC. SPEC can be: (setf NAME) ; a setf function (:defmethod NAME QUALIFIER... (SPECIALIZER...)) ; a specific method (:defgeneric NAME) ; a generic function with all methods (:call CALLER CALLEE) ; trace calls from CALLER to CALLEE. (:labels TOPLEVEL LOCAL) (:flet TOPLEVEL LOCAL)

UNPROFILE (FNAME)

Marks symbol FNAME as not profiled.

UNPROFILE-ALL

Marks all currently profiled functions as not profiled.

WAIT-FOR-INPUT (STREAMS &OPTIONAL TIMEOUT)

Wait for input on a list of streams. Return those that are ready. STREAMS is a list of streams TIMEOUT nil, t, or real number. If TIMEOUT is t, return those streams which are ready immediately, without waiting. If TIMEOUT is a number and no streams is ready after TIMEOUT seconds, return nil. Return :interrupt if an interrupt occurs while waiting.

WHO-BINDS (VARIABLE-NAME)

Return the locations where VARIABLE-NAME (a symbol) is bound. See WHO-CALLS for a description of the return value.

WHO-CALLS (FUNCTION-NAME)

Return the call sites of FUNCTION-NAME (a symbol). The results is a list ((DSPEC LOCATION) ...).

WHO-MACROEXPANDS (MACRO-NAME)

Return the locations where MACRO-NAME (a symbol) is expanded. See WHO-CALLS for a description of the return value.

WHO-REFERENCES (VARIABLE-NAME)

Return the locations where VARIABLE-NAME (a symbol) is referenced. See WHO-CALLS for a description of the return value.

WHO-SETS (VARIABLE-NAME)

Return the locations where VARIABLE-NAME (a symbol) is set. See WHO-CALLS for a description of the return value.

WHO-SPECIALIZES (CLASS-NAME)

Return the locations where CLASS-NAME (a symbol) is specialized. See WHO-CALLS for a description of the return value.

Undocumented

LOCATION-BUFFER (STRUCTURE)

SETFLOCATION-BUFFER (NEW-VALUE STRUCTURE)

LOCATION-P (G908)

LOCATION-POSITION (STRUCTURE)

SETFLOCATION-POSITION (NEW-VALUE STRUCTURE)

POSITION-P (G1116)

POSITION-POS (STRUCTURE)

SETFPOSITION-POS (NEW-VALUE STRUCTURE)

Private

BRIEF-COMPILER-MESSAGE-FOR-EMACS (CONDITION)

Briefly describe a compiler error for Emacs. When Emacs presents the message it already has the source popped up and the source form highlighted. This makes much of the information in the error-context redundant.

COMPILER-SOURCE-PATH (CONTEXT)

Return the source-path for the current compiler error. Returns NIL if this cannot be determined by examining internal compiler state.

COPY-BUFFER (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-ERROR (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-FILE (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-LOCATION (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-POSITION (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

DEFINITION-SPECIFIER (TYPE NAME)

Return a pretty specifier for NAME representing a definition of type TYPE.

FRAME-DEBUG-VARS (FRAME)

Return a vector of debug-variables in frame.

FUNCTION-DSPEC (FN)

Describe where the function FN was defined. Return a list of the form (NAME LOCATION).

GET-SOURCE-CODE (FILENAME CODE-DATE)

Return the source code for FILENAME as written on DATE in a string. If the exact version cannot be found then return the current one from disk.

HANDLE-FILE-COMPILER-TERMINATION (CONDITION)

Handle a condition that caused the file compiler to terminate.

HANDLE-NOTIFICATION-CONDITION (CONDITION)

Handle a condition caused by a compiler warning. This traps all compiler conditions at a lower-level than using C:*COMPILER-NOTIFICATION-FUNCTION*. The advantage is that we get to craft our own error messages, which can omit a lot of redundant information.

IMPORT-FROM (PACKAGE SYMBOL-NAMES &OPTIONAL (TO-PACKAGE *PACKAGE*))

Import the list of SYMBOL-NAMES found in the package PACKAGE.

LONG-COMPILER-MESSAGE-FOR-EMACS (CONDITION ERROR-CONTEXT)

Describe a compiler error for Emacs including context information.

MAKE-SOURCE-RECORDER (FN SOURCE-MAP)

Return a macro character function that does the same as FN, but additionally stores the result together with the stream positions before and after of calling FN in the hashtable SOURCE-MAP.

MAKE-SOURCE-RECORDING-READTABLE (READTABLE SOURCE-MAP)

Return a source position recording copy of READTABLE. The source locations are stored in SOURCE-MAP.

READ-AND-RECORD-SOURCE-MAP (STREAM)

Read the next object from STREAM. Return the object together with a hashtable that maps subexpressions of the object to stream positions.

READ-FILE (FILENAME)

Return the entire contents of FILENAME as a string.

READ-SNIPPET (STREAM &OPTIONAL POSITION)

Read a string of upto *SOURCE-SNIPPET-SIZE* characters from STREAM. If POSITION is given, set the STREAM's file position first.

READ-SOURCE-FORM (N STREAM)

Read the Nth toplevel form number with source location recording. Return the form and the source-map.

READ-UPTO-N-CHARS (STREAM N)

Return a string of upto N chars from STREAM.

REAL-CONDITION (CONDITION)

Return the encapsulated condition or CONDITION itself.

SOURCE-CACHE-ENTRY.DATE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

SOURCE-CACHE-ENTRY.TEXT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

SOURCE-CACHE-GET (FILENAME DATE)

Return the source code for FILENAME as written on DATE in a string. Return NIL if the right version cannot be found.

SOURCE-CACHED-P (FILENAME)

Is any version of FILENAME in the source cache?

SOURCE-PATH-SOURCE-POSITION (PATH FORM SOURCE-MAP)

Return the start position of PATH from FORM and SOURCE-MAP. All subforms along the path are considered and the start and end position of the deepest (i.e. smallest) possible form is returned.

SOURCE-PATH-STREAM-POSITION (PATH STREAM)

Search the source-path PATH in STREAM and return its position.

TEMP-FILE-NAME

Return a temporary file name to compile strings into.

WARN-UNIMPLEMENTED-INTERFACES

Warn the user about unimplemented backend features. The portable code calls this function at startup.

WITH-SYMBOL (NAME PACKAGE)

Generate a form suitable for testing with #+.

Undocumented

%SEARCH-CODING (STR START END)

BUFFER-NAME (STRUCTURE)

SETFBUFFER-NAME (NEW-VALUE STRUCTURE)

BUFFER-P (G1064)

CALL-WITH-DEBOOTSTRAPPING (FUN)

CHECK-SOURCE-PATH (PATH)

CODE-LOCATION-DEBUG-FUN-FUN (CODE-LOCATION)

CODE-LOCATION-DEBUG-SOURCE-CREATED (CODE-LOCATION)

CODE-LOCATION-DEBUG-SOURCE-NAME (CODE-LOCATION)

CODE-LOCATION-HAS-DEBUG-BLOCK-INFO-P (CODE-LOCATION)

CODE-LOCATION-SOURCE-LOCATION (CODE-LOCATION)

COMPILER-NOTE-LOCATION (CONDITION CONTEXT)

COMPILING-FROM-BUFFER-P (FILENAME)

COMPILING-FROM-FILE-P (FILENAME)

COMPILING-FROM-GENERATED-CODE-P (FILENAME SOURCE)

CONDITION-REFERENCES (CONDITION)

COPY-SOURCE-CACHE-ENTRY (INSTANCE)

DEBUG-VAR-VALUE (VAR FRAME LOCATION)

EMACS-BUFFER-SOURCE-LOCATION (CODE-LOCATION PLIST)

ENABLE-SIGIO-ON-FD (FD)

ERROR-MESSAGE (STRUCTURE)

SETFERROR-MESSAGE (NEW-VALUE STRUCTURE)

ERROR-P (G960)

EXTERNALIZE-REFERENCE (REF)

FALLBACK-SOURCE-LOCATION (CODE-LOCATION)

FEATURE-IN-LIST-P (FEATURE LIST)

FILE-NAME (STRUCTURE)

SETFFILE-NAME (NEW-VALUE STRUCTURE)

FILE-P (G1012)

FILE-SOURCE-LOCATION (CODE-LOCATION)

FUNCTION-SOURCE-LOCATION (FUNCTION &OPTIONAL NAME)

GET-COMPILER-POLICY (DEFAULT-POLICY)

GUESS-READTABLE-FOR-FILENAME (FILENAME)

IGNORED-XREF-FUNCTION-NAMES

LISP-SOURCE-LOCATION (CODE-LOCATION)

LOCATE-COMPILER-NOTE (FILE SOURCE-PATH SOURCE)

LOCATION-HINTS (STRUCTURE)

SETFLOCATION-HINTS (NEW-VALUE STRUCTURE)

MAKE-BUFFER (&KEY ((NAME DUM1065) NIL))

MAKE-DEFINITION-SOURCE-LOCATION (DEFINITION-SOURCE TYPE NAME)

MAKE-DSPEC (TYPE NAME SOURCE-LOCATION)

MAKE-ERROR (&KEY ((MESSAGE DUM961) NIL))

MAKE-FILE (&KEY ((NAME DUM1013) NIL))

MAKE-INVOKE-DEBUGGER-HOOK (HOOK)

MAKE-LOCATION (BUFFER POSITION &OPTIONAL (HINTS NIL))

MAKE-POSITION (&KEY ((POS DUM1117) NIL))

MAKE-SHARPDOT-READER (ORIG-SHARPDOT-READER)

MAKE-SOURCE-CACHE-ENTRY (TEXT DATE)

MAKE-SOURCE-LOCATION-SPECIFICATION (TYPE NAME SOURCE-LOCATION)

NTH-FRAME (INDEX)

PROCESS-FSPEC (FSPEC)

SAFE-FUNCTION-SOURCE-LOCATION (FUN NAME)

SAFE-SOURCE-LOCATION-FOR-EMACS (CODE-LOCATION)

SANITIZE-XREFS (XREFS)

SBCL-PACKAGE-P (PACKAGE)

SBCL-SOURCE-FILE-P (FILENAME)

SBCL-WITH-NEW-STEPPER-P

SBCL-WITH-RESTART-FRAME

SBCL-WITH-WEAK-HASH-TABLES

SBCL-WITH-XREF-P

SET-COMPILER-POLICY (POLICY)

SET-SIGIO-HANDLER

SHEBANG-READER (STREAM SUB-CHARACTER INFIX-PARAMETER)

SHEBANG-READTABLE

SIGIO-HANDLER (SIGNAL CODE SCP)

SIGNAL-COMPILER-CONDITION (CONDITION CONTEXT)

SKIP-COMMENTS-AND-WHITESPACE (STREAM)

SKIP-TOPLEVEL-FORMS (N STREAM)

SOURCE-CACHE-ENTRY-P (OBJECT)

SETFSOURCE-CACHE-ENTRY.DATE (NEW-VALUE INSTANCE)

SETFSOURCE-CACHE-ENTRY.TEXT (NEW-VALUE INSTANCE)

SOURCE-FILE-POSITION (FILENAME WRITE-DATE FORM-PATH CHARACTER-OFFSET)

SOURCE-FILE-SOURCE-LOCATION (CODE-LOCATION)

SOURCE-HINT-SNIPPET (FILENAME WRITE-DATE POSITION)

SOURCE-LOCATION-FOR-XREF-DATA (XREF-DATA)

SOURCE-PATH-FILE-POSITION (PATH FILENAME)

SOURCE-PATH-STRING-POSITION (PATH STRING)

STREAM-READABLE-P (STREAM)

STREAM-SOURCE-POSITION (CODE-LOCATION STREAM)

STRING-PATH-SNIPPET (STRING FORM-PATH POSITION)

STRING-SOURCE-POSITION (CODE-LOCATION STRING)

TMPNAM (DEST)

TOGGLE-TRACE-AUX (FSPEC &REST ARGS)

WAIT-FOR-ONE-STREAM (STREAM TIMEOUT)

WAIT-FOR-STREAMS (STREAMS TIMEOUT)

MACRO

Public

WITH-COMPILATION-HOOKS ((&REST IGNORE) &BODY BODY)

Execute BODY as in CALL-WITH-COMPILATION-HOOKS.

WITH-STRUCT ((CONC-NAME &REST NAMES) OBJ &BODY BODY)

Like with-slots but works only for structs.

Undocumented

LABEL-VALUE-LINE* (&REST LABEL-VALUES)

Private

DEFINTERFACE (NAME ARGS DOCUMENTATION &REST DEFAULT-BODY)

Define an interface function for the backend to implement. A function is defined with NAME, ARGS, and DOCUMENTATION. This function first looks for a function to call in NAME's property list that is indicated by 'IMPLEMENTATION; failing that, it looks for a function indicated by 'DEFAULT. If neither is present, an error is signaled. If a DEFAULT-BODY is supplied, then a function with the same body and ARGS will be added to NAME's property list as the property indicated by 'DEFAULT. Backends implement these functions using DEFIMPLEMENTATION.

Undocumented

DEFIMPLEMENTATION (NAME ARGS &BODY BODY)

DEFXREF (NAME)

WITH-DEBOOTSTRAPPING (&BODY BODY)

GENERIC-FUNCTION

Public

DECLARATION-ARGLIST (DECL-IDENTIFIER)

Return the argument list of the declaration specifier belonging to the declaration identifier DECL-IDENTIFIER. If the arglist cannot be determined, the keyword :NOT-AVAILABLE is returned. The different SWANK backends can specialize this generic function to include implementation-dependend declaration specifiers, or to provide additional information on the specifiers defined in ANSI Common Lisp.

EMACS-INSPECT (OBJECT)

Explain to Emacs how to inspect OBJECT. Returns a list specifying how to render the object for inspection. Every element of the list must be either a string, which will be inserted into the buffer as is, or a list of the form: (:value object &optional format) - Render an inspectable object. If format is provided it must be a string and will be rendered in place of the value, otherwise use princ-to-string. (:newline) - Render a \n (:action label lambda &key (refresh t)) - Render LABEL (a text string) which when clicked will call LAMBDA. If REFRESH is non-NIL the currently inspected object will be re-inspected after calling the lambda.

TYPE-SPECIFIER-ARGLIST (TYPESPEC-OPERATOR)

Return the argument list of the type specifier belonging to TYPESPEC-OPERATOR.. If the arglist cannot be determined, the keyword :NOT-AVAILABLE is returned. The different SWANK backends can specialize this generic function to include implementation-dependend declaration specifiers, or to provide additional information on the specifiers defined in ANSI Common Lisp.

Undocumented

LOCATION (CONDITION)

SETFLOCATION (NEW-VALUE CONDITION)

MESSAGE (CONDITION)

SETFMESSAGE (NEW-VALUE CONDITION)

ORIGINAL-CONDITION (CONDITION)

SETFORIGINAL-CONDITION (NEW-VALUE CONDITION)

REFERENCES (CONDITION)

SETFREFERENCES (NEW-VALUE CONDITION)

SEVERITY (CONDITION)

SETFSEVERITY (NEW-VALUE CONDITION)

SHORT-MESSAGE (CONDITION)

SETFSHORT-MESSAGE (NEW-VALUE CONDITION)

VARIABLE

Public

*INTERRUPT-QUEUED-HANDLER*

Function to call on queued interrupts. Interrupts get queued when an interrupt occurs while interrupt handling is disabled. Backends can use this function to abort slow operations.

Private

*CACHE-SOURCECODE*

When true complete source files are cached. The cache is used to keep known good copies of the source text which correspond to the loaded code. Finding definitions is much more reliable when the exact source is available, so we cache it in case it gets edited on disk later.

*DEBUG-DEFINITION-FINDING*

When true don't handle errors while looking for definitions. This is useful when debugging the definition-finding code.

*DEFINITION-TYPES*

Map SB-INTROSPECT definition type names to Slime-friendly forms

*INTERFACE-FUNCTIONS*

The names of all interface functions.

*PREVIOUS-COMPILER-CONDITION*

Used to detect duplicates.

*SIGIO-HANDLERS*

List of (key . fn) pairs to be called on SIGIO.

*SOURCE-FILE-CACHE*

Cache of source file contents. Maps from truename to source-cache-entry structure.

*SOURCE-SNIPPET-SIZE*

Maximum number of characters in a snippet of source code. Snippets at the beginning of definitions are used to tell Emacs what the definitions looks like, so that it can accurately find them by text search.

*UNIMPLEMENTED-INTERFACES*

List of interface functions that are not implemented. DEFINTERFACE adds to this list and DEFIMPLEMENTATION removes.

Undocumented

*BUFFER-NAME*

*BUFFER-SUBSTRING*

*DEBOOTSTRAP-PACKAGES*

*EXTERNAL-FORMAT-TO-CODING-SYSTEM*

*PHYSICAL-PATHNAME-HOST*

*SHEBANG-READTABLE*

*TRAP-LOAD-TIME-WARNINGS*

*TYPE-SPECIFIER-ARGLISTS*

CLASS

Private

Undocumented

SOURCE-CACHE-ENTRY

CONDITION

Public

SLDB-CONDITION

Wrapper for conditions that should not be debugged. When a condition arises from the internals of the debugger, it is not desirable to debug it -- we'd risk entering an endless loop trying to debug the debugger! Instead, such conditions can be reported to the user without (re)entering the debugger by wrapping them as `sldb-condition's.

Undocumented

COMPILER-CONDITION

CONDITION

CONSTANT

Private

Undocumented

+SIGINT+