Tony Mechelynck wrote:

> Using latest Vim 7.3c, compiled 2010-07-31 21:22:42 +0200 immediately 
> after pulling.
> 
> Hitting ~ (tilde) on a letter + combining character gives faulty result.
> 
> 
> Reproducible: Always.
> 
> 
> Steps to reproduce(1):
> 1. Type text in some case-sensitive script (not Hebrew or Arabic) with 
> some combining characters in it (e.g. Russian with combining acute 
> accent(s)).
> 2. In Normal mode, move the cursor over a letter with combining accent 
> and hit ~ (tilde).
> 
> Expected result:
> The letter should change case and keep its combining accent.
> 
> Actual result:
> The accented letter is replaced by both its upper- and lower-case 
> variants, without the accent.

I'll fix this.  Note that for the example it's very useful to give the
actual text to reproduce it on.

> Steps to reproduce(2)
> 1. Like before, type text with some combining characters in it.
> 2. Select a section of text (I used V for single-line linewise-visual).
> 3. Hit the tilde.
> 
> Expected result:
> The text should change case, with the combining characters remaining 
> where they belong.
> 
> Actual result:
> - Accented characters become doubled, losing their accent.
> - At the end of the selection, the last characters (as many as there 
> were accents) are not case-toggled.

I can't reproduce doubling the characters.  Do you have 'delcombine' set
perhaps?

> Additional info:
> I haven't tested what happens with _several_ combining characters on a 
> single letter (e.g. non-precomposed Classical Greek with breathing, 
> accent and/or iota-subscript/adscript on the same vowel), or with 
> spacing and combining characters of different byte-length (Cyrillic 
> letters and combining-acute are all two bytes per codepoint in UTF-8). 
> Neither did I check that ~ in case-neutral text with combining 
> characters (such as vocalised Semitic text) is a no-op.

I have fixed one problem.  Please check if you can still reproduce the
others.  If so, please include the text.

-- 
Scientists decoded the first message from an alien civilization:
        SIMPLY SEND 6 TIMES 10 TO THE 50 ATOMS OF HYDROGEN TO THE STAR
SYSTEM AT THE TOP OF THE LIST, CROSS OFF THAT STAR SYSTEM, THEN PUT
YOUR STAR SYSTEM AT THE BOTTOM OF THE LIST AND SEND IT TO 100 OTHER
STAR SYSTEMS.  WITHIN ONE TENTH GALACTIC ROTATION YOU WILL RECEIVE
ENOUGH HYDROGREN TO POWER YOUR CIVILIZATION UNTIL ENTROPY REACHES ITS
MAXIMUM!  IT REALLY WORKS!

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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

Raspunde prin e-mail lui