Jamie -

    I tried this new startup.el but was unable to rebuild Emacs as a result.
Here's what I did :

    1. Replaced ../src/lemacs19.3/lisp/prim/startup.el and byte-compiled it

    2. Removed ../src/lemacs19.3/src/{temacs,xemacs,emacs-19.3.1-Lucid}

    3. Hit make :

mira: make
cd etc; make  all
cd src; make  all
make  -f xmakefile  all
ld   -e __start -Bstatic  -L/flint/tool/X11r5/lib -L/usr/apl/tool/lib/gcc-lib -L/usr/apl/tool/lib/gcc-lib/'sparc-sun-sunos4.1'/2.2.2 -L/flint/tool/lib  -L. -L./lwlib -o temacs crt0.o dispnew.o screen.o scroll.o xdisp.o window.o  events.o event-alloc.o event-stream.o  term.o cm.o xterm.o xfns.o xselect.o xutils.o event-Xt.o menubar.o   emacs.o keyboard.o macros.o keymap.o sysdep.o  buffer.o filelock.o insdel.o marker.o  minibuf.o fileio.o dired.o filemode.o  cmds.o casetab.o casefiddle.o indent.o search.o r
egex.o undo.o  alloc.o data.o doc.o editfns.o callint.o  eval.o floatfns.o fns.o print.o lread.o  abbrev.o syntax.o font_lock.o unexec.o mocklisp.o bytecode.o  process.o callproc.o environ.o  doprnt.o extents.o faces.o elhash.o hash.o tparam.o lastfile.o gmalloc.o vm-limit.o ScreenWidget.o ColumnWidget.o EmacsShell.o sunOS-fix.o strcmp.o strcpy.o  ./lwlib/liblw.a -lXm -lXaw -lXext -lXt -lXmu -lX11   -ltermcap  -lg -lgcc -lm -lc
rm -f ../etc/DOC
./etc/make-docfile dispnew.o screen.o scroll.o xdisp.o window.o  events.o event-alloc.o event-stream.o  term.o cm.o xterm.o xfns.o xselect.o xutils.o event-Xt.o menubar.o   emacs.o keyboard.o macros.o keymap.o sysdep.o  buffer.o filelock.o insdel.o marker.o  minibuf.o fileio.o dired.o filemode.o  cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o  alloc.o data.o doc.o editfns.o callint.o  eval.o floatfns.o fns.o print.o lread.o  abbrev.o syntax.o font_lock.o unexec.o mocklisp.o bytecode.o  pro
cess.o callproc.o environ.o  doprnt.o extents.o faces.o elhash.o hash.o ../lisp/version.el ../lisp/paths.el  ../lisp/prim/loadup.el ../lisp/prim/subr.elc  ../lisp/prim/faces.elc ../lisp/prim/loaddefs.el  ../lisp/prim/simple.elc ../lisp/prim/help.elc  ../lisp/prim/files.elc ../lisp/prim/indent.elc  ../lisp/prim/window.elc ../lisp/prim/startup.elc  ../lisp/prim/lisp.elc ../lisp/prim/page.elc  ../lisp/prim/register.elc ../lisp/prim/iso8859-1.elc  ../lisp/prim/paragraphs.elc ..!
/lisp/mode/modes/text-mode.elc ../
lisp/prim/fill.elc  ../lisp/modes/c-mode.elc ../lisp/prim/isearch-mode.elc  ../lisp/prim/replace.elc ../lisp/modes/abbrev.elc  ../lisp/packages/buff-menu.elc ../lisp/prim/userlock.elc  ../lisp/bytecomp/bytecomp-runtime.elc  ../lisp/prim/float-sup.elc ../lisp/prim/screen.elc ../lisp/prim/menubar.elc ../lisp/prim/menubar.elc ../lisp/x11/x-faces.elc ../lisp/x11/x-iso8859-1.elc ../lisp/x11/x-mouse.elc ../lisp/prim/mouse.elc ../lisp/prim/mode-motion.elc ../lisp/x11/xselect.elc  ../lisp/packages/tags.elc ../lisp
/packages/compile.elc ../lisp/rmail/rmail.elc ../lisp/rmail/rmailsum.elc ../lisp/rmail/rmailedit.elc ../lisp/packages/apropos.elc ../lisp/version.el > \
  ../etc/DOC
./temacs -batch -l inc-vers
Loading inc-vers...
Loading startup...
*** Segmentation fault
make: Fatal error: Command failed for target `release'
Current working directory /usr/apl/tool/src/lemacs-19.3/src
*** Error code 1
make: Fatal error: Command failed for target `doall'
Current working directory /usr/apl/tool/src/lemacs-19.3/src
*** Error code 1
make: Fatal error: Command failed for target `src'
mira:

   It all worked again when I put back the original version of startup.{el,elc}

--
Regards, David
x-gateway: rodan.UU.NET from bug-lucid-emacs to alt.lucid-emacs.bug; Thu, 5 Nov 1992 22:16:14 EST
Date: Thu, 5 Nov 1992 19:11:12 PST
X-Windows: It could happen to you.
From: jwz@lucid.com (Jamie Zawinski)
Subject: Re: Xserver lock?
Newsgroups: alt.lucid-emacs.bug