Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 376193

Summary: app-vim/colorschemes-20110506 are not launching due ^M errors
Product: Gentoo Linux Reporter: Samuel Bauer <samuel.bauer>
Component: New packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Samuel Bauer 2011-07-24 11:31:38 UTC
The jhdark and jhlight colorschemes are slightly buggy when used with app-editors/vim-7.3.189

Reproducible: Always

Steps to Reproduce:
1. Launch vim
2. :colorscheme jhdark
Actual Results:  
The colorschemes are not launching complaining about a lot of ^M

Expected Results:  
Those "buggy" colorschemes are fixed at the cost of a simple dos2unix command, or sed 's/^M//' colorscheme.
The second solution seems to me better as it cost no further dependency to fix the ebuild.

As you can see from the following screenshot the theme developper is (was? I hope) not using vim under an unix OS

http://blog.planetxml.de/archives/5-Farbschema-fuer-VIM.html

That's where the pain comes from
Comment 1 Tim Harder gentoo-dev 2011-07-25 18:36:54 UTC
I clearly forgot to fix this when I was packaging the release.

Fixed in the latest revbump in CVS. Note that I copied over stable keywords to the new revision since the fix is pretty trivial.