Slippery Snippets

Sunday, September 30, 2007

The Usual Suspect

The usual problem has cropped up - line endings. A new version will be posted shortly. There also seems to be a problem with the version of Vimball which ships with the Windows version of Vim. Those viewing the file will have some nice folds to aid navigation around the file; unfortunately, under *nix the fold markers get added to the file name. Not very useful.

An interesting point made in the comments:

Your latest vimball has DOS line endings, and svn is still at the last version :(
The reason SVN is the last version is that bzr-svn was not able to push the latest changes up to Google Code. Now I'd like to point out that this is most likely my fault; I noticed that the author of bzr-svn linked to one of my posts about how the plugin didn't work under Windows. Just to clarify - this was due to my lack of effort more than anything else.

I've also enjoyed using bzr and so I'm considering moving to a bzr hosting environment. I'm going to investigate Launchpad but I'd welcome any other suggestions.

8 Comments:

At 11:13 PM, Blogger sean said...

Just to clarify - it was the version of vimball that shipped with Ubuntu 7.04 (Feisty), not Windows, that was giving me the problem with the filenames.

I installed the latest version of vimball into ~/.vim and the filename problem was resolved.

Regarding project hosting, FWIW I rather like Google Code - it's clean, fast, and I don't have to create yet another account on yet another site to use it :)

 
At 11:07 AM, Blogger Felix said...

>Regarding project hosting, FWIW I
>rather like Google Code - it's >clean, fast, and I don't have to
>create yet another account on yet
>another site to use it :)

True. I'll have to look into how to migrate from bzr to svn so I can keep my history.

 
At 11:15 AM, Blogger Tud said...

Using SnippetsEmu with SuperTab these errors are shown:

Error detected while processing function <SNR>18_SetupSupertab..<SNR>18_GetSuperTabSNR:
line 7:
E684: list index out of range: -1
E116: Invalid arguments for function split(split(matchstr(funclist,'.SNR.\{-}SuperTab(command)'),'\n')[-1])[1]
E15: Invalid expression: split(split(matchstr(funclist,'.SNR.\{-}SuperTab(command)'),'\n')[-1])[1]
line 8:
E121: Undefined variable: func
E116: Invalid arguments for function matchlist(func, '\(.*\)S')[1]
E15: Invalid expression: matchlist(func, '\(.*\)S')[1]

Thanks

 
At 12:14 PM, Blogger Felix said...

Hi Tud. I can't seem to recreate the error. Could you post a bug report on the tracker?

 
At 12:46 PM, Blogger Tud said...

done
http://code.google.com/p/snippetsemu/issues/detail?id=79

Thanks for your great plugin :)

 
At 4:40 AM, Blogger Travis Jeffery said...

This post has been removed by the author.

 
At 4:41 AM, Blogger Travis Jeffery said...

Link I posted an issue over at Google code can you give me a hand?

 
At 7:39 PM, Blogger Peteris Krumins said...

why are you using vimballs in the first place?

 

Post a Comment

<< Home