From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 1BAD8BC69 for ; Thu, 23 Aug 2007 04:16:54 +0200 (CEST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l7N2Gpe7010621 for ; Thu, 23 Aug 2007 04:16:53 +0200 Received: from localhost (orion [130.54.16.5]) by kurims.kurims.kyoto-u.ac.jp (8.13.8/8.13.8) with ESMTP id l7N2GdhC009940; Thu, 23 Aug 2007 11:16:40 +0900 (JST) Date: Thu, 23 Aug 2007 11:16:23 +0900 (JST) Message-Id: <20070823.111623.185912847.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 From: Jacques Garrigue In-Reply-To: <1187776739.3127.5.camel@asus> References: <1187776739.3127.5.camel@asus> X-Mailer: Mew version 4.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Miltered: at concorde with ID 46CCEE13.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; syntax:01 emacs:01 ocaml:01 emacs:01 ocaml:01 syntax:01 usr:01 site-lisp:01 camldebug:01 camldebug:01 elc:01 elc:01 caml-help:01 caml-help:01 inf-caml:01 From: Colonna Francois > 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=FB 22 11:56 caml-compat.el > -rw-r--r-- 1 root root 33119 ao=FB 22 11:56 camldebug.el > -rw-r--r-- 1 root root 24580 ao=FB 22 11:56 camldebug.elc > -rw-r--r-- 1 root root 72169 ao=FB 22 11:56 caml.el > -rw-r--r-- 1 root root 52521 ao=FB 22 11:56 caml.elc > -rw-r--r-- 1 root root 1868 ao=FB 22 11:56 caml-emacs.el > -rw-r--r-- 1 root root 1768 ao=FB 22 11:56 caml-emacs.elc > -rw-r--r-- 1 root root 5365 ao=FB 22 11:56 caml-font.el > -rw-r--r-- 1 root root 31185 ao=FB 22 11:56 caml-help.el > -rw-r--r-- 1 root root 19396 ao=FB 22 11:56 caml-help.elc > -rw-r--r-- 1 root root 2655 ao=FB 22 11:56 caml-hilit.el > -rw-r--r-- 1 root root 22844 ao=FB 22 11:56 caml-types.el > -rw-r--r-- 1 root root 13557 ao=FB 22 11:56 caml-types.elc > -rw-r--r-- 1 root root 2074 ao=FB 22 11:56 caml-xemacs.el > -rw-r--r-- 1 root root 1943 ao=FB 22 11:56 caml-xemacs.elc > -rw-r--r-- 1 root root 13869 ao=FB 22 11:56 inf-caml.el > -rw-r--r-- 1 root root 8967 ao=FB 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