Roland Eggner wrote: > 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 ..).
my system (macosx-10.6.8) does provide utf8 locales.
> If
> there is at least one such vim-using system, I will try to support it,
> probably
> by just skipping test92.
i think there's an encoding problem in the test92.in file itself.
i downloaded patches from ftp.vim.org. it seems that 7.3.838 is
badly encoded. i've attached it. something like this has happened
before but only for patches on ftp.vim.org itself. other archives
weren't affected.
> test93 succeeds for you?
yes, it does.
> If you want to help further, please provide the output of
> :view src/testdir/test92.in
vim: set ft=vim fenc=utf-8:
Tests if :mksession saves cursor columns correctly in presence of tab
and
multibyte characters when fileencoding=utf-8.
STARTTEST
:so mbyte.vim
:if !has('mksession')
: e! test.ok
: wq! test.out
:endif
:set sessionoptions=buffers splitbelow fileencoding=utf-8
/^start:
:vsplit
j16|:split
j16|:split
j16|:split
j8|:split
j8|:split
j16|:split
j16|:split
j16|:wincmd l
/^start:
:set nowrap
j16|3zl:split
j016|3zl:split
j016|3zl:split
j08|3zl:split
j08|3zl:split
j016|3zl:split
j016|3zl:split
j016|3zl:split
:mksession! test.out
:new test.out
:v/\(^ *normal! 0\|^ *exe 'normal!\)/d
:w
:qa!
ENDTEST
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=utf-8,latin1
encoding=utf-8
fileencoding=utf-8
termencoding=utf-8
> :!locale
LANG="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_CTYPE="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_ALL=
> :!locale -a
i've skipped all of the non-english ones.
there are many.
en_AU
en_AU.ISO8859-1
en_AU.ISO8859-15
en_AU.US-ASCII
en_AU.UTF-8
en_CA
en_CA.ISO8859-1
en_CA.ISO8859-15
en_CA.US-ASCII
en_CA.UTF-8
en_GB
en_GB.ISO8859-1
en_GB.ISO8859-15
en_GB.US-ASCII
en_GB.UTF-8
en_IE
en_IE.UTF-8
en_NZ
en_NZ.ISO8859-1
en_NZ.ISO8859-15
en_NZ.US-ASCII
en_NZ.UTF-8
en_US
en_US.ISO8859-1
en_US.ISO8859-15
en_US.US-ASCII
en_US.UTF-8
C
POSIX
> 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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
7.3.838
Description: Binary data
