[Omake] omake summary messages are not parsed by emacs

Aleksey Nogin nogin at metaprl.org
Tue Feb 24 12:29:11 PST 2009


Sam,

Do you actually need these summary messages under emacs? If not, you can
disable them using --no--output-at-end.

P.S. Sorry for being slow to respond, somehow I have not noticed your
message until today.

Aleksey

On 18.02.2009 12:46, Sam Steingold wrote:

> Hi,
> the final omake messages:
> 
> *** omake: blocked (7.54 sec, 16/1826 scans, 1086/8118 rules, 2143/80867 digests)
> *** omake: targets were not rebuilt because of errors:
>     a/b/c.cmi
>        depends on: a/b/c.ml
>     a/b/c.cmo
>        depends on: a/b/c.ml
>        - build news/tools c.cmo
>        + ocamlfind ocamlc ... -c c.ml
>        File "c.ml", line 219, characters 23-43:
>        Error: Unbound value Foo.bar
>     a/b/c.cmx
>        depends on: a/b/c.ml
>     a/b/c.o
>        depends on: a/b/c.ml
> *** omake: polling for filesystem changes
> 
> is not handled correctly by the emacs compilation mode because the error 
> message [[File "c.ml", line 219, characters 23-43:]] contains the local file 
> name while the "current directory" (as established by the "entering/leaving" 
> messages) is the top-level.
> the result is that when I click on "c.ml", emacs prompts me for the path 
> instead of opening "a/b/c.ml".
> (note that the running messages are handled correctly because of the 
> "entering/leaving" messages).
> 
> This could be fixed by either
> 1. adding the "entering/leaving" messages to the final omake report or
> 2. using full paths in the summary message, i.e.
>         File "a/b/c.ml", line 219, characters 23-43:
> or
>         File "/home/sds/src/a/b/c.ml", line 219, characters 23-43:
> 
> Thanks
> Sam.
> 
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
> 



More information about the Omake mailing list