warren@pluto.UUCP (Warren Burstein) (01/13/86)
I'm trying to bring up GNU Emacs for the first time. temacs is built. The makefile now wants to run ./temacs -batch -l inc-vers ./temacs -batch -l loadup dump I suppose that this is supposed to create xemacs. Well the first command prints > Loading inc-vers... > New Emacs version will be 17.36.1 > ^GSymbol's value as variable is void: nil and the second prints > Loading loadup... > Loading subr... > Loading simple... > ^GSymbol's value as variable is void: nil Both read the tty. Printing chars are echoed, control chars ring the bell, control-D ends the program. I guess temacs wants me to tell it something. What is it, and what piece of documentation did I miss reading? Please reply by mail, I'll post the solution. thanks warren
warren@pluto.UUCP (Warren Burstein) (01/15/86)
A few days ago I posted a problem I was having with GNU Emacs on a Pyramid, the gist of it is that "nil" had come unbound. Well I found it, the compiler doesn't properly compile a line in init_obarray in lread.c. The old line was /* Intern nil in the obarray */ XVECTOR (Vobarray)->contents[hash_string("nil", 3) % OBARRAY_SIZE] = Qnil; The code generated did not store Qnil into the "contents" array. I broke the expression up and it works. You have to declare: int hash; Lisp_Object *ptr; And replace the line with: /* Intern nil in the obarray */ hash = hash_string("nil", 3) % OBARRAY_SIZE; ptr = &XVECTOR (Vobarray)->contents[hash]; *ptr = Qnil; Anyone who wants to know more about the gory details of the assembler code can contact me by mail. We are running OSX 3.2.1 Of course all the source code in this message is copywrited by RMS so don't go selling it. -- The Maxwell R. Mayhem Institute for Quandary Requiem and Maternal Sciamachy Accept no substitutes.