Hi Philip!

On Sa, 14 Apr 2012, Philip Morant wrote:

> Hi,
> 
> I use BufExplorer.vim plugin with VIm 7.  After years of faithful
> service it suddenly developed a fault for no obvious reason.  I have
> traced the cause:  Vim is triggering the SessionLoadPost autocmd
> whenever I press Return in the BufExplorer window in order to switch
> to a new buffer.  It shouldn't do this  (it never used to).
> 
> I can reproduce this on my machine.  I start Vim with the command line
> "gvim -S /home/philip/tmp/vim2.session 2>/dev/null &".  I invoke
> BufExplorer with \bewww.  I select a different buffer and press
> Return.  I get that buffer on-screen but BufExplorer's BEReset()
> method has been called because of the spurious SessionLoadPost
> autocmd, and that call to BEReset resets the MRU list.
> 
> I have two session files both of which exhibit the same problem.  So I
> assume that the problem is not with the session files.
> 
> I'm happy to try things on my machine if you have suggestions for
> getting debug clues.

I can't reproduce this. What version is this? Could it be, that your 
session file contains the definition for the spurious autocommand?

regards,
Christian
-- 

-- 
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

Raspunde prin e-mail lui