On Thu, Feb 26, 2009 at 11:38 AM, Ben Fritz wrote:
>
> I would like to call :make from Vim and view the errors in the
> quickfix window, but also have the output saved for later use. Is
> there a way to do this?
>
> I though maybe 'makeef' would allow me to do this, except
> that :help :make says that the errorfile is deleted (item 8 in the
> described sequence).

Well, it's hardly elegant, but it's a quick hack that will work: Make
a quickfixcmdpre autocmd that calls tempname() twice, touches the
first name, and makes the second a link to it.  Set 'makeef' to the
second, vim writes through the link to the second one and then unlinks
it, leaving the first.  Hopefully.  I haven't tested that that works,
but hopefully it does...  If I just wanted a quick hack so that I
could use it and get back to work, that's what I'd try.

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to