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 BE56ABB81 for ; Fri, 24 Dec 2004 12:23:08 +0100 (CET) Received: from hedwig1.umh.ac.be (hedwig2.umh.ac.be [193.190.193.73]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iBOBN8sc007934 for ; Fri, 24 Dec 2004 12:23:08 +0100 Received: from abel.swapping.umh.ac.be (mail@abel.swapping.umh.ac.be [10.102.100.72]) by hedwig1.umh.ac.be (8.13.1/8.13.1) with ESMTP id iBOBPpfw1736778; Fri, 24 Dec 2004 12:25:51 +0100 Received: from abel.swapping.umh.ac.be ([127.0.0.1] helo=localhost ident=trch) by abel.swapping.umh.ac.be with esmtp (Exim 3.36 #1 (Debian)) id 1ChnX4-000156-00; Fri, 24 Dec 2004 12:22:54 +0100 Date: Fri, 24 Dec 2004 12:22:48 +0100 (CET) Message-Id: <20041224.122248.01050133.Christophe.Troestler@umh.ac.be> To: phl@leledy.org Cc: Caml-list@yquem.inria.fr Subject: Re: [Caml-list] Wishes for an easy install of Ocaml From: Christophe TROESTLER In-Reply-To: <41CBDA52.9040608@leledy.org> References: <41CBDA52.9040608@leledy.org> Organization: Universite de Mons-Hainaut (http://math.umh.ac.be/an/) X-Spook: basement corporate security BROMURE MD2 Nazi MDA cypherpunk defense information warfare morse Bletchley Park X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum X-Operating-System: GNU/Linux (http://www.linux.org/) X-Mailer-URL: http://www.mew.org/ X-Mailer: Mew version 4.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.1 (www dot roaringpenguin dot com slash mimedefang) X-Miltered: at concorde with ID 41CBFC1C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 christophe:01 troestler:01 christophe:01 troestler:01 umh:01 wrote:01 macos:01 usr:01 lib:01 ocaml:01 ocamlc:01 -where:01 setq:01 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: On Fri, 24 Dec 2004, Philippe Lelédy wrote: > > I am a French teacher who give to my students their first course in > Computer Science, which include learning Caml (as the first language). > I give them strong advice to install an Unix-like OS on their own > computer, with some success (Linux, MacOS X). Sounds great! > '(tuareg-library-path "/usr/lib/ocaml/3.08") > > That last line is not release independant. I am no expert in elisp, but this works: (with-temp-buffer (progn (call-process "ocamlc" nil t nil "-where") (let ((path (buffer-string))) ;; get rid of the final '\n' (setq tuareg-library-path (substring path 0 -1)) ))) > (setq tuareg-manual-url The manual is available in info form (C-h i d m ocaml RETURN). This is in the ocaml-doc package under Debian. > Also more lines in .emacs are necessary to make Emacs behave more > like a non Unix geek would expect. In my view, this is optional -- we point our students to e.g. http://www.cua.dk/cua.html but do not provide it ourselves. > Making a ocaml-goodies-for-newbies package which would include all > this customizations ? Yes. Your package could depend on ocaml and tuareg-mode for easy install. my 0.2¤, ChriS