[Omake] bug with ocamldep?

Anastasia Gornostaeva ermine at ermine.pp.ru
Wed Jun 20 10:41:27 PDT 2007


On Wed, Jun 20, 2007 at 10:37:24AM -0400, Christopher L Conway wrote:
>  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:

Yes, i want the compilation and linking to error locations.
But such command shoul depend on which makefile used in current directory -
Makefile or OMakefile. Could you append some lines for it for .emacs?

ermine


More information about the Omake mailing list