Date: Tue, 29 Aug 2000 10:13:55 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Nimrod Abing cc: djgpp AT delorie DOT com Subject: Re: CVS 1.10 (under DJGPP) quirks In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 29 Aug 2000, Nimrod Abing wrote: > >Perhaps installing CVS somehow defined your (fake) username, and Emacs > >was trying to find your home directory as ~user or something. Try > >evaluating (user-real-login-name) and (user-login-name), and see what > >they print. > > C-h v user-real-login-name returns ``dosuser''. How do I change this? Set the value of the environment variable USER (``dosuser'' comes from djgpp.env). What does (user-login-name) yield? If it's not the same value as (user-real-login-name), you will be in trouble. > Anyway, shouldn't Emacs be looking for $HOME/_emacs first? In general, yes, but the algorithm is complex and makes sense on Unix only; problems such as different user names from different function calls can easily break it. See startup.el for the gory details. > I have dual-boot Red Hat Gnu/Linux and Windows 9x computer. I also have > sources for Emacs 20 packaged as an RPM. Is it possible to build it > with DJGPP? Emacs builds with DJGPP out of the box. Assuming that the RPMs contain the complete Emacs source distribution, you need these two commands to build Emacs with DJGPP (after unpacking the sources): config msdos make install > Oops. I didn't say I had a problem with CVSEDITOR in the previous post > now did I? But CVS was having a problem finding CVSEDITOR. I don't know > why. Perhaps a bug in CVS. I always use EDITOR (since I want Emacs to be the default editor for all programs, not only for CVS).