;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\302\301\303!\206\n @\"\207" [load-file-name load-path add-to-list file-name-directory] 4) #@269 Run ocamldebug on program FILE in buffer *ocamldebug-FILE*. The directory containing FILE becomes the initial working directory and source-file directory for ocamldebug. If you wish to change this, use the ocamldebug commands `cd DIR' and `directory'. (fn PGM-PATH) (autoload 'ocamldebug "ocamldebug" '(#$ . 193) t nil) (byte-code "\302\303\304\"\210\305\306\307\"\210\305\306\310\"\210\311\312\211\203& @\305\313\"\210 A\211\204*\312\207" [ext --dolist-tail-- defalias camldebug ocamldebug add-to-list auto-mode-alist ("\\.ml[ip]?\\'" . tuareg-mode) ("\\.eliomi?\\'" . tuareg-mode) (".cmo" ".cmx" ".cma" ".cmxa" ".cmi" ".annot" ".cmt" ".cmti") nil completion-ignored-extensions] 4) #@1471 Major mode for editing OCaml code. Dedicated to Emacs and XEmacs, version 21 and higher. Provides automatic indentation and compilation interface. Performs font/color highlighting using Font-Lock. It is designed for OCaml but handles Caml Light as well. The Font-Lock minor-mode is used according to your customization options. You have better byte-compile tuareg.el. For customization purposes, you should use `tuareg-mode-hook' (run for every file) or `tuareg-load-hook' (run once) and not patch the mode itself. You should add to your configuration file something like: (add-hook 'tuareg-mode-hook (lambda () ... ; your customization code )) For example you can change the indentation of some keywords, the `electric' flags, Font-Lock colors... Every customizable variable is documented, use `C-h-v' or look at the mode's source code. `dot-emacs.el' is a sample customization file for standard changes. You can append it to your `.emacs' or use it as a tutorial. `M-x ocamldebug' FILE starts the OCaml debugger ocamldebug on the executable FILE, with input and output in an Emacs buffer named *ocamldebug-FILE*. A Tuareg Interactive Mode to evaluate expressions in a REPL (aka toplevel) is included. Type `M-x tuareg-run-ocaml' or simply `M-x run-ocaml' or see special-keys below. Short cuts for the Tuareg mode: \{tuareg-mode-map} Short cuts for interactions with the REPL: \{tuareg-interactive-mode-map} (fn) (autoload 'tuareg-mode "tuareg" '(#$ . 894) t nil) #@61 Run an OCaml REPL process. I/O via buffer `*OCaml*'. (fn) (autoload 'tuareg-run-ocaml "tuareg" '(#$ . 2421) t nil) (byte-code "\300\301\302\"\210\303\304\305\"\210\303\304\306\"\207" [defalias run-ocaml tuareg-run-ocaml add-to-list interpreter-mode-alist ("ocamlrun" . tuareg-mode) ("ocaml" . tuareg-mode)] 3) #@40 Major mode to edit jbuild files. (fn) (autoload 'tuareg-jbuild-mode "tuareg-jbuild" '(#$ . 2739) t nil) (byte-code "\300\301\302\"\210\300\301\303\"\207" [add-to-list auto-mode-alist ("\\(?:\\`\\|/\\)jbuild\\(?:\\.inc\\)?\\'" . tuareg-jbuild-mode) ("\\.mly\\'" . tuareg-menhir-mode)] 3) #@56 Major mode to edit Menhir (and Ocamlyacc) files. (fn) (autoload 'tuareg-menhir-mode "tuareg-menhir" '(#$ . 3033) t nil) #@38 Major mode to edit opam files. (fn) (autoload 'tuareg-opam-mode "tuareg-opam" '(#$ . 3160) t nil) (add-to-list 'auto-mode-alist '("[./]opam_?\\'" . tuareg-opam-mode))