[net.emacs] .elisp_init file

dms@mit-hermes.ARPA (David M. Siegel) (11/13/84)

Does anyone know how to get the .elisp_init file for CCA emacs to work?
When I include an .elisp_init file to define some mode hooks, emacs
doesn't start at all.  It reads the .elisp_init file and then
terminates.  I don't think bugs in the elisp code were causing the
problem.

-Dave

-- 
					Arpa:	dms@mit-hermes.arpa
					Usenet:	mit-eddie!mit-hermes!dms

mab@ttidcb.UUCP (Michael A. Bloom) (11/17/84)

In article <> dms@mit-hermes.ARPA (David M. Siegel) writes:
>Does anyone know how to get the .elisp_init file for CCA emacs to work?
>When I include an .elisp_init file to define some mode hooks, emacs
>doesn't start at all.  It reads the .elisp_init file and then
>terminates.  I don't think bugs in the elisp code were causing the
>problem.
>

No they are not.  There are two problems here. First is an error in e_init.c
which reads:

	if (!access(catname(varbuf, homedir, homelisp))) {
		xcnum = binsrch("Load Elisp File", (char *)comtab, NCOMS, sizeof(struct key));
		(*comtab[n].func)(1, -1, varbuf);
	}

That last line should say: 	(*comtab[xcnum].func)(1, -1, varbuf);

I find it hard to believe they sent it out this way, but they did.

When you have fixed that it still won't work.  If you then make a link to
your .elisp_init called .elisp_init.l then it will.

I've tried calling them about this, and sent them mail.  So far my calls
have not been returned.  The mail has also not been answered, but to be
fair, they may not have received it due to the random nature of uucp.
Also, on the occasions that I have spoke to them, they (especially one
individual, J. P. Massar) have been very helpful.
-- 

--    Michael Bloom 	---  {philabs,trwrb,cadovax,randvax}!ttidca!mab