Path: utzoo!attcan!uunet!husc6!cs.utexas.edu!oakhill!abair From: abair@oakhill.UUCP (Alan Bair) Newsgroups: comp.emacs,gnu.emacs Subject: byte-compile errors in cl.el for 18.51 Keywords: 18.51 byte-compile cl.el Message-ID: <1371@turbinia.oakhill.UUCP> Date: 9 Jul 88 00:19:03 GMT Distribution: na Organization: Motorola Inc. Austin, Tx Lines: 55 I recently upgraded our emacs from version 18.47 to 18.51, using all the patches from the osu UUCP site osu-cis; 47-48, 48-49, 49-50 & 50-51. I only ran into some major problems on the 50-51 upgrade. Everything worked fine until I tried to byte-compile the new or changed lisp functions. The file cl.el fails early in the process with the message: Wrong type argument: symbolp, (ptr oldforms (cdr ptr)) I looked at the code and can see nothing wrong with it, but then I'm not a Lisp expert. Here is the code section where it dies: ;;; utilities ;;; ;;; pair-with-newsyms takes a list and returns a list of lists of the ;;; form (newsym form), such that a let* can then bind the evaluation ;;; of the forms to the newsyms. The idea is to guarantee correct ;;; order of evaluation of the subforms of a setf. It also returns a ;;; list of the newsyms generated, in the corresponding order. (defun pair-with-newsyms (oldforms) "PAIR-WITH-NEWSYMS OLDFORMS The top-level components of the list oldforms are paired with fresh symbols, the pairings list and the newsyms list are returned." (do ((ptr oldforms (cdr ptr)) (bindings '()) (newsyms '())) ((endp ptr) (values (nreverse bindings) (nreverse newsyms))) (let ((newsym (gentemp))) (setq bindings (cons (list newsym (car ptr)) bindings)) (setq newsyms (cons newsym newsyms))))) If anyone has a fix please let me know. I was able to finish the update by renaming the file and keeping the old .el & .elc files. Emacs seems to be working fine, I know of no users that are using the cl.el file, so its not a big hangup. -------- While I'm posting, I had previously asked a question but never got any response, so here it is again. I have built emacs to use suntools and we are starting to use X11R2. What I am wondering about, is whether I can build emacs to work under both window systems or do I need two separate versions. Its not clear from the installation docs if you can set all of the #defines at the same time. As I understand I would need: HAVE_SUN_WINDOWS, HAVE_X_WINDOWS & X11 Also how big does PURESIZE need to be then? Again, thanks for any help. Alan Bair SPS CAD Austin, TX Motorola, Inc. UUCP cs.utexas.edu!oakhill!turbinia!abair PH# (512) 440-2336