Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old versions of vim hang on start unless $VIMBLACKLIST is non empty #118

Closed
marknsikora opened this issue Apr 1, 2014 · 8 comments
Closed

Comments

@marknsikora
Copy link

Bug was introduced in commit 9a40364. When the VIMBLACKLIST env var is empty, startup hangs indefinitely in the pathogen#is_disabled function. Only seems to be an issue in old versions of vim. Version 7.0.237 has this problem but 7.4 series does not.

@tpope tpope closed this as completed in bff90d7 Apr 2, 2014
@tpope
Copy link
Owner

tpope commented Apr 2, 2014

I can reproduce, and also get weird error dumps if I poke at it. No idea what the root cause is but it's easy enough to work around.

@tpope
Copy link
Owner

tpope commented Apr 2, 2014

7.0.305 was my test case, for future reference.

@ameidatou
Copy link

This still doesn't work in my vim:
VIM - Vi IMproved 7.0 (2006 May 7, compiled Nov 12 2010 05:24:19)
Included patches: 1, 3-4, 7-9, 11, 13-17, 19-26, 29-31, 34-44, 47, 50-56, 58-64, 66-73, 75, 77-92, 94-107, 109, 202, 234-237
Modified by bugzilla@redhat.com
Compiled by bugzilla@redhat.com
Huge version without GUI. Features included (+) or not (-):

As a workaround I'm running vim with the below command:
$ VIMBLACKLIST='Y' vim

@tpope
Copy link
Owner

tpope commented Oct 9, 2015

Are you using the latest from GitHub? The workaround has not made it into a stable release.

@ameidatou
Copy link

Yes I'm using the latest, and I checked the commit that closed the issue and it's in the version I'm using but vim still hangs.

@LeoGalleguillos
Copy link

Using pathogen with Vim 7.0 also hangs for me. The solution, as mentioned above, was:

export VIMBLACKLIST=Y
vim

I'm on CentOS 5, so Vim 7.0 is the latest version of Vim available for now. We'll upgrade to CenOS 6 or 7 sometime during 2016.

Any chance we could get a patch for this in the meantime?

@tpope
Copy link
Owner

tpope commented Nov 27, 2015

Yes, please do send a patch.

@nschley
Copy link

nschley commented Nov 3, 2016

With all due respect to @LeoGalleguillos, I think his solution is somewhat shallow, especially as this ticket is remaining open so for all intelligent civilization to review. I propose the following revision, to incorporate a little valuation.

export VIMBLACKLIST=TIM.P_ROCKS
vim

Thanks for sharing your work, Tim!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants