caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christophe TROESTLER <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
Date: Fri, 24 Dec 2004 12:22:48 +0100 (CET)	[thread overview]
Message-ID: <20041224.122248.01050133.Christophe.Troestler@umh.ac.be> (raw)
In-Reply-To: <41CBDA52.9040608@leledy.org>

On Fri, 24 Dec 2004, Philippe Lelédy <phl@leledy.org> 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


  parent reply	other threads:[~2004-12-24 11:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-24  8:58 Philippe Lelédy
2004-12-24 11:04 ` [Caml-list] " Stefano Zacchiroli
2004-12-24 11:36   ` skaller
2004-12-27 15:18   ` Ralf Treinen
2004-12-27 16:54     ` Sven Luther
2004-12-31 16:20       ` Richard Jones
2004-12-31 22:31         ` Sven Luther
2005-01-15 12:29           ` Lionel Elie Mamane
2005-01-02  1:21         ` Jacques Garrigue
2005-01-02 10:50           ` Richard Jones
2005-01-02 11:13             ` Janne Hellsten
2005-01-02 12:16             ` Jacques GARRIGUE
2005-01-02 15:44           ` tuareg-mode v.s. caml-mode (was: Wishes for an easy install of Ocaml) Christophe TROESTLER
2004-12-24 11:22 ` Christophe TROESTLER [this message]
2004-12-24 17:24 ` [Caml-list] Wishes for an easy install of Ocaml Sylvain LE GALL
2004-12-24 18:21 ` Matthew O'Connor
2004-12-27 16:35 ` Didier Remy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041224.122248.01050133.Christophe.Troestler@umh.ac.be \
    --to=christophe.troestler@umh.ac.be \
    --cc=Caml-list@yquem.inria.fr \
    --cc=phl@leledy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).