Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376193 - app-vim/colorschemes-20110506 are not launching due ^M errors
Summary: app-vim/colorschemes-20110506 are not launching due ^M errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-24 11:31 UTC by Samuel Bauer
Modified: 2011-07-25 18:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.