From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 6E8B1BB9C for ; Thu, 19 Jan 2006 18:22:43 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k0JHMgKE020355 for ; Thu, 19 Jan 2006 18:22:42 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA10826 for ; Thu, 19 Jan 2006 18:22:42 +0100 (MET) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k0JHMfhW020352 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 19 Jan 2006 18:22:41 +0100 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1EzduF-00006Z-00; Thu, 19 Jan 2006 17:49:07 +0000 Date: Thu, 19 Jan 2006 17:49:07 +0000 To: Andrej Bauer Cc: Eric Stokes , Caml list Subject: Re: [Caml-list] toplevel with pre-installed printers Message-ID: <20060119174907.GA309@furbychan.cocan.org> References: <43CFBE3E.1090808@andrej.com> <43CFC776.3060801@andrej.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43CFC776.3060801@andrej.com> User-Agent: Mutt/1.5.9i From: Richard Jones X-Miltered: at concorde with ID 43CFCAE2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43CFCAE1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 toplevel:01 andrej:01 toplevel:01 ocaml:01 notepad:01 unix:01 wrote:01 wrote:01 arbitrary:01 evaluates:02 expressions:03 suggestion:03 shell:04 thu:05 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Thu, Jan 19, 2006 at 06:08:06PM +0100, Andrej Bauer wrote: > Eric Stokes wrote: > > When the toplevel starts up, it evaluates (on unix) ~/.ocamlinit, > > which can contain arbitrary ocaml expressions. > > Sorry, I was not clear enough. I know about .ocamlinit. I am going to > have several custom ocamltop's and they can't all share the same > .ocamlinit. What now? We tried to do the same thing and couldn't find a way. One rather nasty suggestion involved a surrounding shell script which would launch the right toplevel in the right directory with the right .ocamlinit. It's not pleasant. Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com