On 19/07/09 13:15, Nicolas Aggelidis wrote:
>
>>
>> As a first attempt, try (in a Vim with 'encoding' set to utf-8)
>>
>>         :args ~/vimfiles/doc/*.txt
>>         :argdo setlocal nobomb | update
>>
>> to remove all BOMs; then try
>>
>>         :helptags ~/vimfiles/doc
>>
>> again. Does it help?
>
> Thank you Tony, that did the trick. One little problem, when i try to
> install a new vimball.
> I will use as an example netrw.vim
> {http://www.vim.org/scripts/script.php?script_id=1075}
> For starters, i don't do:
>
> vim netrw.vba.gz
> :so %
>
> because i doesn't work, so i first gunzip the vimball, and i end doing:
>
> vim netrw.vba
> :so %
>
> now i get the following error :
>
> E670: Mix of file encodings within a language: $HOME\vimfiles\doc\pi_netrw.txt
>
> If i examine the file pi_netrw.txt i see that it has a bom... why
> this? Is it because of my settings?

Could be. What's the answer to

        :verbose setglobal bomb?

(with the question mark)?

>
> thanks again for your help!
> nicolas

My pleasure.

>
>
> PS: is there any way to "pipe" the output of a command (i.e vim
> netrw.vba) to a buffer? So that i can provide the exact error...

You can capture the messages into a file, a register or a variable. If 
you capture them into @+ (the clipoard) you can then paste that into 
your mailer.

see
        :help :redir

There is quite a lot of it; the last one (":redir END" to terminate 
redirection) is important.


Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
82. AT&T names you Customer of the Month for the third consecutive time.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to