Closed jdevera closed 13 years ago
@jdevera, that's a good catch!
the ~/.vim-vundle/
dir is created when :BundleSearch
is run, but i mistakenly assumed it's always there )
Will fix that
@gmarik The prompt for :BundleClean
is 'Continute?'
@Taverius, hah, that's not correct! )
Tested In windows, don´t know if it happens in Linux too:
When I run the installer, the show the log, then run the installer again, I get "E21: cannot make changes, 'modifiable' is off", and the buffer goes blank. if I run BundleInstall
in that blank buffer then the installer runs again with no problems.
@jdevera how are you calling up the log? I can't reproduce by pressing l
then running BundleInstall
again (linux).
@rson :VundleLog
after installer.
@jdevera I don't get that right now but I've seen it. Cannot reproduce right now, which is odd ...
@gmarik In that testing however I noticed if I run the installer, then the log, then the installer and then the log, vim complains that the logfile .tmp has been modified.
@rson I am pressing l
after the installer. It happens consistently in my box.
hm, haven't been able to reproduce it yet...
I was able to reproduce on my linux box as well, seems weird that only I am seeing this, I'm going to try to minimize my config and see what happens.
I reduced my config to this:
set nocompatible
syntax on
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
filetype plugin indent on
I ran a BundleClean!
, then hit l
to see the log, then ran BundleInstall
and got this:
Error detected while processing function vundle#installer#clean..vundle#scripts#view:
line 11:
E21: Cannot make changes, 'modifiable' is off
I ran BundleInstall
and got no error.
I ran BundleInstall
, then hit l
to see the log, then ran BundleInstall
again:
Error detected while processing function vundle#installer#new..vundle#scripts#view:
line 11:
E21: Cannot make changes, 'modifiable' is off
Similar error, but not the same exactly.
Another way I can repro this is by opening any file in vim, e.g., my vimrc. then run BundleInstall
and close the installer window when it's done. Then try to run BundleInstall
again and bang!, there it is again.
Error detected while processing function vundle#installer#new..vundle#scripts#view:
line 11:
E21: Cannot make changes, 'modifiable' is off
I run BundleList
, then hit l
to see the log (empty, as expected) and then run BundleList
again, I get this:
Error detected while processing function vundle#installer#list..vundle#scripts#view:
line 11:
E21: Cannot make changes, 'modifiable' is off
There are probably more cases, sometimes the errors disappear very quickly, I'm using the :messages
command to see them.
@jdevera Maybe the old buffers are not being deleted properly after use?
Does adding set hidden
to your vimrc change the behaviour?
@Taverius yes, with set hidden
I get no errors. I did an ls
and you are right, buffers are left there, I guess that is the problem. Are you guys all using set hidden
? try turning it off maybe then you can repro this.
@jdevera Confirmed for the Install - Close - Install case.
I find :h hidden
to be fairly impenetrable in the implications, but I think the two cases here are either vundle uses bufhidden
to hide single buffers, which works even when hidden
is off, or, vundle cleans up its buffers on ... BufWinLeave
, I believe is the appropriate event.
@jdevera, thanks for awesome bugreport ) Will fix it
Alright, pushed to master. @jdevera, just realized i've not fixed issue you submitted...8) Will push ASAP
Closing this as part of 0.9's milestone.
All pending issues moved to #80
I'm testing the
nin
branch and found this issue.These are my bundles:
This is the Log:
So it seems the user part of the repo is getting lost and the default vim-script is being used.