[net.emacs] uEmacs doesn't handle multiple rc files

rbp@investor.UUCP (Bob Peirce) (09/23/86)

In an earlier posinting I suggested uEmacs 3.7 should read both the
global and a personal .emacsrc file.  It was pointed out that failure
to do so was a feature and that one should include 'execute-file xxx' in
the personal rc file to read the global file.  I responded that
attempting this caused a core dump in the dobuf function.  I have now
had a chance to look at the code and discovered why.

Under Unix, emacs expects a file called "emacs_lib_path/.emacsrc" and a
personal file called "$HOME/.emacsrc".  If it finds the latter, it
doesn't read the former.  However, if the latter has the line

	execute-file emacs_lib_path/.emacsrc

the program tries to assign the same buffer name to both files and croaks.

The solution is to do the following:

	cd emacs_lib_path
	ln .emacsrc emacs.rc
	cd

	insert 'execute-file emacs_lib_path/emacs.rc' in .emacsrc

This causes the program to have different buffer names for the two files
and both are executed correctly.
-- 

	 	    Bob Peirce, Pittsburgh, PA
	    uucp: ...!{allegra, bellcore, cadre, idis}
	  	     !pitt!darth!investor!rbp
			    412-471-5320

	    NOTE:  Mail must be < 30K  bytes/message