[Omake] bug with ocamldep?
Christopher L Conway
cconway at cs.nyu.edu
Wed Jun 20 07:37:24 PDT 2007
Anastasia,
What do you mean by "integrate"? An omake-mode with syntax and
indentation support? Or a function that will invoke omake for you from
within emacs? If you mean the former, you're out of luck. If you mean
the latter, here's a really cut-rate emacs hack for you:
(setq-default compile-command "omake")
Now "M-x compile" will invoke omake instead of make. You can also put
do this at a buffer-local level, which is what I typically do. E.g.,
put the following at the end of an OCaml source file:
(* Emacs *)
(* Local Variables: *)
(* mode: tuareg *)
(* compile-command: "omake" *)
(* indent-tabs-mode: nil *)
(* End: *)
Regards,
Chris
On 6/20/07, Anastasia Gornostaeva <ermine at ermine.pp.ru> wrote:
> On Tue, Jun 19, 2007 at 03:07:20PM -0700, Aleksey Nogin wrote:
> > On 19.06.2007 14:12, Anastasia Gornostaeva wrote:
> >
> > > + ocamlfind ocamldep -syntax camlp4o -modules xmlstring.ml
> > > | Shell.ocamldep-postproc()
> > > ocamlfind: When using -syntax, the META variable 'preprocessor' must be set
> > [...]
> > > The problem is that here is not used OCAMLPACKS.
> >
> > Thanks for reporting this. I've added the missing OCAMLPACKS stuff in rev
> > 11026 of the 0.9.8.4 branch (_not_ the 0.9.8.x branch just yet). Could you
> > please test whether this fixes your problem?
>
> Yes, now it works as expected. Thanks.
>
> I would like to know how to integrate omake with emacs...
> i'm not emacs/elisp guru. Is there a piece of .emacs config that does it?
>
> ermine
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
>
>
More information about the Omake
mailing list