On 4/14/2012 6:56 AM, 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 have also run into this, though it only happens when I create the
session with SessionMan
(http://www.vim.org/scripts/script.php?script_id=2010) instead of the
built in Vim command:mksession.
I am also working on all the little kinks with the plugin logic to
address the issue and and working with Jeff (BufExplorer) author to
include the changes in his next release.
Dave
--
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