From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: multiple Emacs versions on w32 Date: Thu, 16 Mar 2006 17:22:41 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1142529968 14969 80.91.229.2 (16 Mar 2006 17:26:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Mar 2006 17:26:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 16 18:26:07 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FJwEB-0006LS-Hw for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Mar 2006 18:25:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJwEA-0000h5-8V for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Mar 2006 12:25:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!0847253b!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 61 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 4.159.32.166 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread3.news.atl.earthlink.net 1142529761 4.159.32.166 (Thu, 16 Mar 2006 09:22:41 PST) Original-NNTP-Posting-Date: Thu, 16 Mar 2006 09:22:41 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:138218 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33827 Archived-At: "Eli Zaretskii" wrote in message news:mailman.73.1142450879.9686.help-gnu-emacs@gnu.org... > > From: "B. T. Raven" > > Date: Wed, 15 Mar 2006 15:59:37 GMT > > > > I am using both 21.3 and 22.0.50.1 on the same machine (w32-msw98). > > Autoexec.bat has "set HOME=d:\emacs"; emacs 21.3 is in d:\emacs\emacs21.3 > > and the cvs version is in e:\emacs\emacs. Both start with --debug-init > > which doesn't report any problems. Since the .emacs is in the home > > directory, the two versions are stomping all over each other. > > Why would you need two versions of Emacs on the same machine? If > that's because the CVS version crashes, then (a) report the crashes, > and (b) don't use the CVS version until the crashes are fixed. i. I want to start learning 22.0 whether it works perfectly or not. ii. I tried to report bugs to the address published in emacs itself (emacs-devel@gnu.org), but nothing happened and then to the ng gnu.emacs.bugs but my posting didn't appear there either. Finally Eli had to send me instructions on how to install an msw version of gdb so that I could start emacs in that environment. The bottom line is that I don't know enough yet to start reporting bugs. This msw98 os seems to be held together with spit and string and my reporting of symptoms would be too nebulous to be of any help to the developers. All I know is that the system either bluescreens or blackscreens about 10 times more frequently with 22 running than with 21. iii. emacs-build-time for ver. 22 is (17372 40543 497000) if that's any help. > > > Is there any way that I can parameterize the invocation of the two > > versions or at least set them up so as to allow each one to load its > > own separate version of the dotemacs? > > One way to do that is to have 2 batch files that set HOME (each one to > a different place) before they run runemacs.exe. > > > For now I use the cvs version only for its more complete > > documentation and for tutorial purposes since it won't run for > > longer than a couple of hours without causing a segmentation fault. > > I use the CVS version exclusively, and it runs for weeks without > crashing. So please report the crashes (to emacs-devel@gnu.org), > because they shouldn't happen. Thanks again Eli, Phillip, Lennart, and Peter. Eli's solution worked at about the 90th percentile. I have emacs1.bat and emacs2.bat with Set HOME=.... and then a runemacs --debug-init called with an absolute path to the respective bin subdirectories. The only (maybe) thing that doesn't work is the working directory specified in the shortcut to the emacs2.bat file. default-directory is set to HOME rather than this document subdirectory. emac1.bat works correctly it even uses use-file-dialog correctly, which 22.0.50.1 doesn't do. Ed.