On Sun 19-Nov-06 12:04am -0600, Bill McCarthy wrote:

After building a VBA from one of Dr Chip's applications and
showing the results, I wrote:

> Notice that there is no starting header and a line
> containing "finish" has become the first line of the first
> file.
>
> Since I understand the format I can manually create the
> vimball from the broken one generated by MkVimball.  Can
> anyone actually create one with MkVimball?
>
> What am I doing wrong?

Nothing.

Looking through vimball.vim, I noticed many of the
substitute() calls had an invalid flag.  I replaced all 'e'
flags with '' and all 'ge' flags with 'g'.  I don't believe
that 'e' flag was causing a problem, but it is incorrect.

The reason the first two header records were getting
overwritten is an incorrect line of code.  Also fixed.

This worked for me - almost.  It was extracting the files
properly, but not tags file was being refreshed.

It turns out that if the user uses '\' in specifying the
files for vimball, the helptags command was not building the
help tags file.  Also fixed.

The diff file for patching version 20 of vimball.vim (in
autoload/) is attached.

-- 
Best regards,
Bill

Attachment: vimball.diff.gz
Description: GNU Zip compressed data

Reply via email to