From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: multiple Emacs versions on w32 Date: Wed, 15 Mar 2006 17:54:55 +0100 Message-ID: <441846DF.1080506@student.lu.se> References: <6942EE35B530F84EAD432959F5E4DAB501EADBB1@largo.campus.ncl.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1142441739 1388 80.91.229.2 (15 Mar 2006 16:55:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2006 16:55:39 +0000 (UTC) Cc: "B. T. Raven" , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 15 17:55:35 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 1FJZHS-0000lf-Kp for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Mar 2006 17:55:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJZHR-0005g6-Vo for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Mar 2006 11:55:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FJZH8-0005g0-BG for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 11:55:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FJZH7-0005fh-F7 for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 11:55:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJZH7-0005fe-CM for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 11:55:05 -0500 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FJZLZ-0001pa-RC for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 11:59:42 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn2.hy.skanova.net (7.2.070) id 4405C1220035E7BB; Wed, 15 Mar 2006 17:54:56 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: Phillip Lord In-Reply-To: <6942EE35B530F84EAD432959F5E4DAB501EADBB1@largo.campus.ncl.ac.uk> 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:33800 Archived-At: Phillip Lord wrote: > B. T. Raven wrote: > >> I am using both 21.3 and 22.0.50.1 on the same machine (w32-msw98). >> ... >> differently. 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? 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. >> >> > > > > There are a couple of options. > > Either launch emacs with "-q -l ~/.emacs.22" (or what ever file > you want to use). > > Or alternatively you could use the emacs-version variable, and > have your .emacs work appropriately. You'd need check that your > `custom-file' is being set appropriately. > > Incidentally, emacs should not seg fault after a couple of hours. > I'm using the emacs-w32 from here. > http://ourcomments.org/Emacs/EmacsW32.html > > I use the unpatched version without the W32 integration layer. > This works well for me. I think I got it to core dump once, but > not repeatedly. > > Cheers > > Phil > I use something similar to this in my .emacs: (progn (cond ( (equal emacs-version "21.3.1") (setq custom-file "~/.emacs-cust-21.3.el")) ( t (setq custom-file "~/.emacs-cust-cvs.el"))) (when (file-exists-p custom-file) (load custom-file))) If you want to switch between different installed versions of Emacs you can use "usethis.exe" that comes with EmacsW32 and should be in the emacs\bin directory. This will change "emacs_dir" in the Registry so that gnuclient will select the one you have choosen. I am using the patched version of Emacs that is available on the site above. I do not think I have seen any core dumps at all. Have you tested that version? Do you see any crashes with this version? Do you have more information about the crashes? (See "Bugs" in the Emacs info.) -- lennart