>
> I use tup in vim, no problem.  Vim is just scraping the output for error 
> strings that are output by your ~compiler, not your build system.  The only 
> annoyance I've had is that I usually have to hit enter an extra time for 
> some reason I don't understand.
>

That's kind of ok for small projects. However, there are fairly severe 
problems with using tup this way for larger projects:

** current directory ** 

Vim has no way of knowing about tup changing directories. This means that 
in a multi project build, the compler outputs error messages with _project 
relative paths_ in them. Vim (understandably) cannot find the file since 
tup will almost always be invoked from a different location. (make uses 
lines of the form 'make: Entering directory '/code/Source', etc to keep 
sync)


** Parallel **

I haven't even tried this yet, but to work, I think tup would need to do 
one of the following to ensure "changing directory" messages are consistent:
* buffer and collate compiler output (seems like tup already has code for 
child communication over sockets?)
* only execute one tupfile at a time (my least favourite solution)
* execute all commands with full paths from the tup root.

Thoughts?

Stephen.



If someone knows more than me, I get "Press ENTER or type a command to 
> continue", which is generated by vim... so this is probably a bug in how I 
> set mp (makeprg)...
>

I believe ":help shortmess" may help somewhat. IIRC I gave up on that an 
just set "cmdheight" to 2 which fixed it for me.
 

> In Eclipse you can define your own "error parser" that will catch tup 
>> error messages and link them to file/line mentioned in the error. I've done 
>> such "error parser" but only partially - it just catches all the tup output 
>> and ignores that. The next step is to actually parse the messages that are 
>> useful (if that's possible).
>
>
Thanks for that. I see you've encountered the same problems as outlined 
above.

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to