Friday, June 15, 2012

Re: VIM 7.2/7.3 on Win32: QuickFix does jump to line with error in C/C++/ASM, but not in Pascal

On 14 Jun 2012 at 17:05, Ben Fritz wrote:
> > set efm=%f\(%l\):\ Error\ %n:\ %m
>
> You shouldn't need to escape the parentheses, this isn't a regex.
>
> Probably you also need to tell it the type. Try this:
>
> set efm=%f(%l):\ %trror\ %n:\ %m
>
...etc lots of useful stuff snipped...

Thanks a lot for your tips Mr. Fritz, this is going to be useful -
someday later if not today.

I was wondering if maybe the parentheses were yielding a "sub-match",
that's why I was trying to escape them... but after Juergen Kraemer's
explanation I know where the problem is :-) Now only if I could find
an easy solution...

Frank Rysanek

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment