Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
To: colonna@ccr.jussieu.fr
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] no syntax highlighting with emacs
Date: Thu, 23 Aug 2007 11:16:23 +0900 (JST)	[thread overview]
Message-ID: <20070823.111623.185912847.garrigue@math.nagoya-u.ac.jp> (raw)
In-Reply-To: <1187776739.3127.5.camel@asus>

From: Colonna Francois <colonna@ccr.jussieu.fr>

> I installed OCaml 3.10.0 
> I also installed emacs .el files by running 
> make install    in the emacs/ directory of ocaml
> 
> I did not get the syntax highlighting 
> 
> Looking at /usr/share/emacs/21.4/site-lisp
> 
> -rw-r--r-- 1 root root  1687 aoû 22 11:56 caml-compat.el
> -rw-r--r-- 1 root root 33119 aoû 22 11:56 camldebug.el
> -rw-r--r-- 1 root root 24580 aoû 22 11:56 camldebug.elc
> -rw-r--r-- 1 root root 72169 aoû 22 11:56 caml.el
> -rw-r--r-- 1 root root 52521 aoû 22 11:56 caml.elc
> -rw-r--r-- 1 root root  1868 aoû 22 11:56 caml-emacs.el
> -rw-r--r-- 1 root root  1768 aoû 22 11:56 caml-emacs.elc
> -rw-r--r-- 1 root root  5365 aoû 22 11:56 caml-font.el
> -rw-r--r-- 1 root root 31185 aoû 22 11:56 caml-help.el
> -rw-r--r-- 1 root root 19396 aoû 22 11:56 caml-help.elc
> -rw-r--r-- 1 root root  2655 aoû 22 11:56 caml-hilit.el
> -rw-r--r-- 1 root root 22844 aoû 22 11:56 caml-types.el
> -rw-r--r-- 1 root root 13557 aoû 22 11:56 caml-types.elc
> -rw-r--r-- 1 root root  2074 aoû 22 11:56 caml-xemacs.el
> -rw-r--r-- 1 root root  1943 aoû 22 11:56 caml-xemacs.elc
> -rw-r--r-- 1 root root 13869 aoû 22 11:56 inf-caml.el
> -rw-r--r-- 1 root root  8967 aoû 22 11:56 inf-caml.elc
> -rw-r--r-- 1 root root   106 mar 24 07:11 subdirs.el
> 
> it seems that caml-hilit.elc is missing.
> Is that the reason why there is no syntax highlighting ?

No, you just have include caml-font (rather than caml-hilit) by hand:
   (if window-system (require 'caml-font))
as explained in the README file in the emacs directory.

Jacques Garrigue


      reply	other threads:[~2007-08-23  2:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22  9:58 Colonna Francois
2007-08-23  2:16 ` Jacques Garrigue [this message]

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=20070823.111623.185912847.garrigue@math.nagoya-u.ac.jp \
    --to=garrigue@math.nagoya-u.ac.jp \
    --cc=caml-list@yquem.inria.fr \
    --cc=colonna@ccr.jussieu.fr \
    /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