mutated_ocaml / ocamlspot / INSTALL-ocamlspot.txt

The branch 'default' does not exist.
Full commit
1. Check-out a cvs version of ocaml compiler
1.1 Follow the login information at

1.2 Check-out

  Check the repository:

    cvs -d co -r release311 -D 2008-11-05 ocaml

  Beware, it will overwrite your ocaml directory if you have.

1.3 Fix a small bug
  The version of ocaml has a small bug:

    chmod +x ocaml/build/

2. Apply the patch 

  cd ocaml
  tar zxvf ocamlspot-VERSION.tgz
  patch -p1 < ocamlspot.diff

3. Usual build procedure
3.1 ./configure
3.2 make world
3.3 make opt opt.opt ...
3.4 make install (if you dare)

4. set-up emacs

  Make install does not install ocamlspot related files at this moment.
  Write the following into your .emacs:

  ; load path
  (setq load-path (cons "???/ocaml/ocamlspot/") load-path))
  ; the place of the ocamlspot binary
  (setq ocamlspot-path "???/ocaml/ocamlspot/ocamlspot")
  (autoload 'ocamlspot-query "ocamlspot" "OCamlSpot")
  ; use caml-mode-hook instead, if you use caml-mode
  (add-hook 'tuareg-mode-hook 
  	  '(lambda ()
  	     (local-set-key "\C-c\C-t" 'caml-types-show-type)
  	     (local-set-key "\C-c;" 'ocamlspot-query)))

5. bug report

  Please report bugs to jun.furuse at gmail.