On 2013-04-17 Wednesday at 12:39 +1000 <[email protected]> wrote:
> macosx-10.6.8
> gcc-4.2.1
> vim-7.3.905
> 
> configure \
>         --disable-darwin \
>         --with-x \
>         --enable-gui=motif \
>         --enable-multibyte \
>         --with-mac-arch=current \
>         --with-features=huge \
>         --disable-acl
> 
> --- src/testdir/test92.ok     2013-04-17 12:19:36.000000000 +1000
> +++ src/testdir/test92.failed 2013-04-17 12:26:54.000000000 +1000
> @@ -4,7 +4,7 @@ normal! 016|
>  normal! 08|
>  normal! 08|
>  normal! 016|
> -normal! 016|
> +normal! 014|
>  normal! 016|
>    exe 'normal! ' . s:c . '|zs' . 16 . '|'
>    normal! 016|
> @@ -18,8 +18,8 @@ normal! 016|
>    normal! 08|
>    exe 'normal! ' . s:c . '|zs' . 16 . '|'
>    normal! 016|
> -  exe 'normal! ' . s:c . '|zs' . 16 . '|'
> -  normal! 016|
> +  exe 'normal! ' . s:c . '|zs' . 14 . '|'
> +  normal! 014|
>    exe 'normal! ' . s:c . '|zs' . 16 . '|'
>    normal! 016|
>    exe 'normal! ' . s:c . '|zs' . 16 . '|'
> 
> test test92.in file looks wrong here. perhaps multiply-encoded.
> i've attached it.

Hi <[email protected]>!

Thank you for your bugreport.

When Bram and I wrote test92, I verified it to work with all 3 of utf8, latin 
and C locale.  I did not take into account the case of a system providing no 
utf8-locale at all (would be considered a bit outdated in 21st century ..).  If 
there is at least one such vim-using system, I will try to support it, probably 
by just skipping test92.

test93 succeeds for you?

If you want to help further, please provide the output of
:view src/testdir/test92.in
:set fileencodings? encoding? fileencoding? termencoding?
:!locale
:!locale -a

The locale commands work on linux;  after having a look at http://raf.org/ 
I guess, you know if and how "locale" (list current locale environment) and 
"locale -a" (list all locales available on the system) need to be adjusted for 
your macosx system.

For comparison here are my settings:

:view src/testdir/test92.in
..
--x--[snip]--x--
start:
no multibyte chAracter
        one leaDing tab
    four leadinG spaces
two             consecutive tabs
two     tabs    in one line
one … multibyteCharacter
a “b” two multiByte characters
“c”1€ three mulTibyte characters

:set fileencodings? encoding? fileencoding? termencoding?
  fileencodings=ucs-bom,utf-8,default,latin1
  encoding=utf-8
  fileencoding=utf-8
  termencoding=

:!locale
LANG=de_DE.utf8
LC_CTYPE=de_DE.utf8
LC_NUMERIC=de_DE.utf8
LC_TIME=de_DE.utf8
LC_COLLATE=C
LC_MONETARY=de_DE.utf8
LC_MESSAGES=de_DE.utf8
LC_PAPER=de_DE.utf8
LC_NAME=de_DE.utf8
LC_ADDRESS=de_DE.utf8
LC_TELEPHONE=de_DE.utf8
LC_MEASUREMENT=de_DE.utf8
LC_IDENTIFICATION=de_DE.utf8
LC_ALL=

:!locale -a
C
POSIX
de_AT
de_AT.iso88591
de_AT.iso885915@euro
de_AT.utf8
de_AT@euro
de_DE
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
de_DE@euro
deutsch
en_GB
en_GB.iso88591
en_GB.iso885915
en_GB.utf8
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
german

-- 
Regards
Roland Eggner

Attachment: pgpv4ZGfPIa9A.pgp
Description: PGP signature

Raspunde prin e-mail lui