Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!pt.cs.cmu.edu!cadre!pitt!darth!investor!rbp From: rbp@investor.UUCP (Bob Peirce) Newsgroups: net.emacs Subject: Re: uEmacs doesn't handle multiple rc files Message-ID: <810@investor.UUCP> Date: Tue, 23-Sep-86 13:53:47 EDT Article-I.D.: investor.810 Posted: Tue Sep 23 13:53:47 1986 Date-Received: Wed, 24-Sep-86 05:07:27 EDT Distribution: net Organization: Cookson, Peirce & Co., Pittsburgh, PA Lines: 33 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