Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!lll-crg!seismo!rochester!bullwinkle!uw-beaver!ssc-vax!bcsaic!michaelm From: michaelm@bcsaic.UUCP (michael maxwell) Newsgroups: net.lang.lisp Subject: Changing syntax of characters in Franz Message-ID: <555@bcsaic.UUCP> Date: Thu, 29-May-86 18:30:56 EDT Article-I.D.: bcsaic.555 Posted: Thu May 29 18:30:56 1986 Date-Received: Mon, 2-Jun-86 16:55:29 EDT Organization: Boeing Computer Services AI Center, Seattle Lines: 29 This is on Franz Lisp (v38.91) under BSD 4.2 on a Sun II... (1) I would like to set a control character to do a (return) from a break level, using 'setsyntax.' It doesn't work; Lisp says No prog to return from (Nor can a function called from the break level itself call (return)--same error msg.) Likewise, you can't set a control character to do a (retbrk) from a break level with 'setsyntax'; the error message in this case is: apply: Undefined Function retbrk However, you can set a control character to do a (reset). Short of creating my own break loop, is there another way I can get a control character to do a return? i.e. to continue the function in which break was called, not reset to the top level... (2) Some characters seem to be impossible to reset as vmacros using 'setsyntax.' I can understand why you can't reset ^Y, etc., but why not ^R? According to 'getsyntax', the syntax of ^R has been reset, but the reader seems to ignore it. (3) Assuming a character's syntax has been reset as a "vmacro," how can you find out exactly what function the character has been set to (short of typing it and observing what Lisp does)? Is there a way for a program to find out? (4) Finally, has anyone had any luck in changing the readtable in compiled code? (I think I've asked this before, w/o luck.) -- Mike Maxwell Boeing Artificial Intelligence Center ...uw-beaver!uw-june!bcsaic!michaelm