tags 276005 + patch pending forwarded 276005 [EMAIL PROTECTED] thanks David Riebenbauer <[EMAIL PROTECTED]> wrote: > As said in the subject :make doesn't jump to the right files with > warnings or errors if it is used with the -C option like: > > :make -C /path/to/the/makefile
This happen because the default errorformat parser lines like: make[1]: Entering directory `/some/path' make[1]: Leaving directory `/some/path' but not lines like: make: Entering directory `/home/zack/dati/HELM/cvs/helm/ocaml/cic' make: Leaving directory `/home/zack/dati/HELM/cvs/helm/ocaml/cic' The second kind of lines is output when make is directly (i.e. not by another Makefile) invoked with -C. Attached you will find a patch for option.h which changes the default so that both kinds of lines are recognized. BTW, the patch fixes also the errorformat string used by the ocaml ftplugin. Bram, could you please apply the patch (only for option.h) to next vim version? In the meantime I added the patch to the vim debian package (I'm thus tagging the bug pending). Thanks for the report. Cheers. -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy [EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!-
diff -urN vim63/src/option.h vim63.new/src/option.h --- vim63/src/option.h 2004-05-05 11:43:49.000000000 +0200 +++ vim63.new/src/option.h 2005-05-08 00:53:15.000000000 +0200 @@ -38,7 +38,7 @@ # ifdef EBCDIC #define DFLT_EFM "%*[^ ] %*[^ ] %f:%l%*[ ]%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%DMaking %*\\a in %f" # else -#define DFLT_EFM "%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%DMaking %*\\a in %f" +#define DFLT_EFM "%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%D%*\\a: Entering directory `%f',%X%*\\a: Leaving directory `%f',%DMaking %*\\a in %f" # endif # endif # endif diff -urN vim63/runtime/ftplugin/ocaml.vim vim63.new/runtime/ftplugin/ocaml.vim --- vim63/runtime/ftplugin/ocaml.vim 2005-05-08 00:56:59.000000000 +0200 +++ vim63.new/runtime/ftplugin/ocaml.vim 2005-05-08 00:56:39.000000000 +0200 @@ -52,6 +52,8 @@ \%C%m, \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', + \%D%*\\a:\ Entering\ directory\ `%f', + \%X%*\\a:\ Leaving\ directory\ `%f', \%DMaking\ %*\\a\ in\ %f " Add mappings, unless the user didn't want this.
signature.asc
Description: Digital signature