I'm a beginner at OCaml.I'd like to write an OCaml program in Emacs, but how should I set the emacs mode in ocaml?
I tried the following settings in package.el, but I couldn't find ocaml in the list you can see in package-list-packages.
http://emacs-jp.github.io/packages/package-management/package-el.html
(require'package)
(add-to-list 'package-archives' ("melpa". "http://melpa.org/packages/")t)
(add-to-list 'package-archives' ("melpa-stable". "http://stable.melpa.org/packages/")t)
(add-to-list 'package-archives' ("marmalade". "http://marmalade-repo.org/packages/")t)
(add-to-list 'package-archives' ("org". "http://orgmode.org/elpa/")t)
(package-initialize)
The environment is as follows:
OS: Ubuntu 14.04, Emacs 24.3.1
Since it's Ubuntu, you can add tuareg-mode
from Synaptic etc.
I can't find any settings for ocaml in my init.el, so I should be able to use them as they are.
© 2024 OneMinuteCode. All rights reserved.