1. Yaron Minsky
  2. js-elisp

Source

js-elisp /

Filename Size Date modified Message
bin
doc
elisp
obsolete
ocaml
ocp-indent
test
todo
tuareg-bugs
75 B
test 1
904 B
Tweaked ChangeLog format to work with jane-elisp.
2.6 KB
ocaml/contrib/ocp-indent: git pull git://github.com/OCamlPro/ocp-indent master
2.7 KB
Added tag 2013-02-22-roll-test for changeset 6c9755fa548f
33.0 KB
Noted roll.
11.1 KB
Release under the same Apache license used for the Core release.
10 B
huge merge
2.3 KB
Checked and updated Jane Street build instructions in README.
1.6 KB
updated patch to the latest ocaml-core-external
-*- org -*-

Jane Street Emacs utilities

Linux note: I couldn't get omake to install with FAM support
via opam or from source.  The only way it worked was via apt.

* Usage

** Normal usage at the office

Everyone should add one of the following lines to their .emacs file.

      (load "/j/office/app/emacs/prod/jane-elisp/elisp/jane/jane-defaults")
        loads libraries, sets variables according to our coding
        standards, and sets standard defaults which many users find
        useful.

      (load "/j/office/app/emacs/prod/jane-elisp/elisp/jane/jane-common")
        leaves discretionary settings to the user.

** Beta testers

Beta-testers (thank you!) should add:

      (load "/j/office/app/emacs/dev/jane-elisp/elisp/jane/jane-defaults")

or:

      (load "/j/office/app/emacs/dev/jane-elisp/elisp/jane/jane-common")

These are analogous to the above, but with the next release.

** At home

For use at home:
  - Choose a site-lisp directory S.
  - Clone the BitBucket repo into S/jane.
  - Add one of the following to .emacs:

      (load "S/jane/elisp/jane/jane-defaults")
      (load "S/jane/elisp/jane/jane-common")

[You will also need to build omake_server.exe to use Omake.compile.]

* Development

** At the office

To build omake_server.exe:

    hg clone https://bitbucket.org/seanmcl/ocaml-core-external
    cd ocaml-core-external
    hg clone ssh://hg2//hg/jane-elisp/test
    patch -p1 < test/ocaml-core-external.patch # CentOS 5 compat
    cd test # this directory
    PATH=/janelibs/ocaml-4.00.1+jane3+with-fp/bin:$PATH
    jomake -j 8 .DEFAULT runtest

You can clone ocaml-core-external with ssh://hg@bitbucket.org rather
than https://bitbucket.org after you create an account and Sean gives
you access to his repo.  See
https://confluence.atlassian.com/display/BITBUCKET/Using+the+SSH+protocol+with+bitbucket
about setting up keys.

** Opam release

Our repo for opam is  https://seanmcl@bitbucket.org/seanmcl/omake-mode.

Workflow:
- Work on omake-mode in https://seanmcl@bitbucket.org/seanmcl/js-elisp.
- When we're ready for a major release, copy from there to https://seanmcl@bitbucket.org/seanmcl/omake-mode.
- Create a new version in opam-repository/packages/omake-mode.N.N in our fork of opam-repository
  https://github.com/seanmcl/opam-repository.git
- Issue a pull request to ocamlpro