ex QuickFix window after make

1 view
Skip to first unread message

Nathan Huesken

unread,
Oct 2, 2009, 12:11:20 PM10/2/09
to exVim
Hi,

I can see that make is invoked so that the output goes to error.err.

But I can not find the error.err aftwerwards nor do I know how to open
the quickfix window with it ...

Regards,
Nathan

Wu Jie

unread,
Oct 2, 2009, 9:46:43 PM10/2/09
to exVim
There are 3 ways to start up exQuickFix window:
1:
Use :QF command, the command need a parameter to specify the error
file you want to open by exQuickFix. For example:
:QF error.err

2:
After making, refresh the exProject if your error output is still
under the directory. Then find the output file in exProject window,
open it there. The exProject will trigger exQuickFix to open the file
if the file suffix is .err

3:
Use :GMake to compile your project. when use :GMake, after
compiling the exQuickFix window will be opened automatically. But you
have to follow the rule to config makefile for compiling by :GMake.

On Oct 3, 12:11 am, Nathan Huesken <nathan.hues...@googlemail.com>
wrote:

Nathan Huesken

unread,
Oct 3, 2009, 7:40:43 AM10/3/09
to exVim
Hi,

About 1: When I type :make, I see that an error.err file should be
created. But after the command finishes, I can not find it. a find -
name error.err in the root directory of the project does not reveal
it. Where is it?

About 3: I thing for now I prefer my own makefile.

So if I somehow can the error.err, I could bind a key to :make<CR>:QF
error.err<QF> but it is just not there ...

Wu Jie

unread,
Oct 3, 2009, 10:00:47 PM10/3/09
to exVim
The exVim only change make option when use :GMake command, so
the :make should have the same behavior no matter you install exVim or
not.

The only problem I doubt should let you don't get your error.err, is
because exVim force to set the current-work-directory to the directory
that you open the vimentry file. So you can find if the error.err is
output in the vimentry file directory.

By the way, you can use
:set makeef
to check if your default output error file still be "error.err"
Here is the description of makeef option I found in vim, may be this
can help you to locate the problem

'makeef' Errorfile to be used for ":make". "##" is replaced with a
unique number. Avoids that two Vim sessions overwrite each
others errorfile. The Unix default is "/tmp/vim##.err"; for
Amiga "t:vim##.Err, for others "vim##.err".

Any progress let me know :)

On Oct 3, 7:40 pm, Nathan Huesken <nathan.hues...@googlemail.com>

Nathan Huesken

unread,
Oct 4, 2009, 4:38:49 AM10/4/09
to exVim
Hi,

The error.err is definitly not created!
makeef was set to error.err. I tried to set it to ./error.err and /
<projectdir>/error.err.

I did a find -name error.err in /, not error.err was found ...

But the problem also exist, if exVim is not installed.
I will ask in the vim mailing list!

Regards,
Nathan

Nathan Huesken

unread,
Oct 4, 2009, 9:34:48 AM10/4/09
to exVim
Here the solution:

set makeprg=make\ 2>&1\\\|tee\ errors.err

On Oct 4, 10:38 am, Nathan Huesken <nathan.hues...@googlemail.com>

Wu Jie

unread,
Oct 4, 2009, 10:11:38 PM10/4/09
to exVim
O~~~K~~~, so is that mean you solve it? Cause I don't find anywhere
exVim re-write this option (makeprg).
Anyway, happy to hear that.

On Oct 4, 9:34 pm, Nathan Huesken <nathan.hues...@googlemail.com>
Reply all
Reply to author
Forward
0 new messages