From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Phillip Lord" Newsgroups: gmane.emacs.help Subject: RE: multiple Emacs versions on w32 Date: Wed, 15 Mar 2006 16:14:00 -0000 Message-ID: <6942EE35B530F84EAD432959F5E4DAB501EADBB1@largo.campus.ncl.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1142439277 22822 80.91.229.2 (15 Mar 2006 16:14:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2006 16:14:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 15 17:14: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 1FJYdj-0006SX-Ls for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Mar 2006 17:14:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJYdi-0008Vi-V8 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Mar 2006 11:14:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FJYdT-0008Vd-54 for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 11:14:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FJYdR-0008Ul-Hn for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 11:14:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJYdR-0008Uf-Fx for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 11:14:05 -0500 Original-Received: from [128.240.234.65] (helo=cheviot3.ncl.ac.uk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FJYht-0006kF-Ij for help-gnu-emacs@gnu.org; Wed, 15 Mar 2006 11:18:41 -0500 Original-Received: from largo.campus.ncl.ac.uk (largo.ncl.ac.uk [10.8.234.184]) by cheviot3.ncl.ac.uk (8.13.1/8.13.1) with ESMTP id k2FGE1N2007444; Wed, 15 Mar 2006 16:14:01 GMT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: multiple Emacs versions on w32 Thread-Index: AcZISZ8UPA4b1EMLSnarMyX9MwZq3QAAVqEA Original-To: "B. T. Raven" , X-Newcastle-MailScanner-Information: Please contact Postmaster@newcastle.ac.uk for more information X-Newcastle-MailScanner: Found to be clean X-Newcastle-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 1) X-Newcastle-MailScanner-From: npl25@cpx.ncl.ac.uk X-NCL-Spam-Status: No 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:33797 Archived-At: B. T. Raven wrote: > I am using both 21.3 and 22.0.50.1 on the same machine (w32-msw98). > Autoexec.bat has "set HOME=3Dd:\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. For example,even if I hide the versions from each > other they seem to update the .emacs in different ways (probably due > to subtle changes in the side effects of functions or in the use of > built in variables. display-time, iswitchb, and recentf-mode work > 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.=20 >=20 There are a couple of options.=20 Either launch emacs with "-q -l ~/.emacs.22" (or what ever file you want to use).=20 Or alternatively you could use the emacs-version variable, and=20 have your .emacs work appropriately. You'd need check that your `custom-file' is being set appropriately.=20 Incidentally, emacs should not seg fault after a couple of hours.=20 I'm using the emacs-w32 from here.=20 http://ourcomments.org/Emacs/EmacsW32.html I use the unpatched version without the W32 integration layer.=20 This works well for me. I think I got it to core dump once, but not repeatedly.=20 Cheers Phil