Closed gotgenes closed 12 years ago
It's a bug in Vim. Check out this link:
https://groups.google.com/group/vim_dev/browse_thread/thread/7bf380f7ccd4af31?pli=1
It's something that I can put in a work around for, but that's difficult since I don't have access to a 32-bit machine. Happy to accept a patch, though. :-)
The bug on the list has been fixed by some official patch(es). Maybe you have to patch and compile your own Vim.
Thanks for the information. I thought I was taking crazy pills, when really it is just a Vim bug. lillydjwg, do you have any links to the patches?
Here they are:
ftp://ftp.vim.org/pub/vim/patches/7.3/
The patches to fix this problem are around patch 100. You'd better just apply all the patches, though.
EDIT: bad idea, this will mess up versions of shared libraries.
You can avoid compiling vim by installing the version from Ubuntu 11.10: http://packages.ubuntu.com/oneiric/vim - it has all the required patches.
An easy but potentially risky way to do this is
sudo vim /etc/apt/sources.list
:%s/natty/oneiric/g
:wq
sudo apt-get update
sudo apt-get install vim
and then switch the sources back to natty.
That fixed the issue for me.
I believe Ubuntu now packages a version of Vim with the correct patch.
I have a perplexing bug. Since upgrading to Ubuntu 11.04 Natty Narwhal on one machine, my work desktop, LustyJuggler always complains "No other buffers" when I enter
<LEADER>lj
, even when I am editing multiple files, and:buffers
lists multiple open buffers. I do not experience this bug on my laptop.The only ideas I have are that LustyJuggler never starts running (
@running
is alwaysfalse
) or that$lj_buffer_stack
never gets any new elements pushed on to it, even when opening new files.I don't understand why this no longer works on my desktop but does on my laptop. The desktop is 32-bit Ubuntu while the laptop is 64-bit but I don't think that's relevant. They both claim to have Ruby-enabled Vim. Running
:echo eval(has("ruby"))
returns 1. I don't know how to get LustyJuggler to be more verbose (e.g., dump the contents of$lj_buffer_stack
). If you have any insight, I'd love the help. It's very annoying to lose one of my favorite plugins.I have also tried removing my
$HOME/.vim
and$HOME/.vimrc
files and adding the plugin fresh. Still the same issue.