Ben Fritz wrote:

> On May 24, 8:13=A0am, Bram Moolenaar <[email protected]> wrote:
> > I wonder if this is the right way to solve it. =A0Perhaps when reloading =
> a
> > buffer we should "lock" the folding? =A0In fact all window-local stuff
> > should be locked.
> >
> > The ultimate solution would be to stop using an arbitrary window for
> > executing the buffer autocommands.  Unfortunately one can write
> > autocommands that break when using some kind of hidden window.
> >
> 
> So is this a related problem to this thread?
> 
> http://groups.google.com/group/vim_dev/browse_thread/thread/8fef0e8b1d135de9/a0e26140be70c8fe
> 
> If so, it sounds more insidious than I thought!

Yes, that's related.  It basically means it's very easy to write bad
autocommands.

-- 
Your company is doomed if your primary product is overhead transparencies.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui