caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* no syntax highlighting with emacs
@ 2007-08-22  9:58 Colonna Francois
  2007-08-23  2:16 ` [Caml-list] " Jacques Garrigue
  0 siblings, 1 reply; 2+ messages in thread
From: Colonna Francois @ 2007-08-22  9:58 UTC (permalink / raw)
  To: caml-list

Hello

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 ?

Thanks for helping

Francois Colonna


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] no syntax highlighting with emacs
  2007-08-22  9:58 no syntax highlighting with emacs Colonna Francois
@ 2007-08-23  2:16 ` Jacques Garrigue
  0 siblings, 0 replies; 2+ messages in thread
From: Jacques Garrigue @ 2007-08-23  2:16 UTC (permalink / raw)
  To: colonna; +Cc: caml-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-23  2:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-22  9:58 no syntax highlighting with emacs Colonna Francois
2007-08-23  2:16 ` [Caml-list] " Jacques Garrigue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).