Seems to work over here. At least it didn't show up anymore when
I tried to reproduce it. :)

Kind regards,
raichoo


On Wed, Jul 3, 2013 at 2:02 PM, Bram Moolenaar <b...@moolenaar.net> wrote:

>
> Raichoo wrote:
>
> > I'm experiencing a reproducible crash in vim when using nerdtree.
> >
> > I start vim, open a file with nerdtree, hide the tree with
> nerdtreetoggle and
> > open a split window. This leads to either an infinite loop or a crash in
> this
> > portion of window.c:4080
> >
> >       for (wp = tp->tp_firstwin; wp != NULL; wp = wp->w_next)
> >           if (wp == win)
> >               return tp;
> >
> > vim still uses the nerdtree window as the firstwin even though it has
> been
> > removed. I'm currently using this workaround:
>
> Thanks.  However, it's known that tp_firstwin is invalid for the current
> tab page.  Instead of trying to make it valid, the loop you quote above
> should be changed.  I'll make a patch for that, please verify it solves
> the problem.
>
>
> --
> Proofread carefully to see if you any words out.
>
>  /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net
> \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/\\\
> \\\  an exciting new programming language -- http://www.Zimbu.org
>  ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org
>  ///
>

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui