Christian Brabandt <[email protected]> wrote:

> Hi
>
> On Di, 01 Mai 2012, Axel wrote:
>
>> When using the spell correction feature ("set spelllang=de_de spell") a word 
>> containing a german "ß" (0xDF) is displayed incorrectly if it is found to be 
>> misspelled:
>>
>> Wir wohnen nicht in der >>>Georgenkirchstraße<<<, sondern in der 
>> >>>Hauptstraße<<<.
>>
>> In this sample "Georgenkirchstraße" is flagged as misspelled (as opposed to 
>> "Hauptstraße") - which would be ok - but the "ß" in the flagged word is not 
>> considered as a valid word character; hence the word cannot be directly 
>> added (w/o creating a selection) to the exception list with e.g. "zg".
>>
>
> While I can't say anything about it, I noticed that this crashes my vim
> with a slight variation of the above sentence:
>
> gdb --args ./vim -u NONE -U NONE -N -c ":put ='Wir wohnen nicht in der 
> >>>Georgenkirch straße<<<, sondern in der >>>Hauptstraße<<<'" -c 'set spell 
> spelllang=de
>
> [Vim starts and puts that sentence in the buffer]
> :norm! fsz=
>
>  SIGSEGV, Segmentation fault.

...snip...

I also see the German eszett not being highlighted by the
spelling checker (bug). However, I don't see any crash using
Linux x86 or Linux x86_64 with Vim-7.3.515.  I used the latest
German dictionary which Vim downloaded automatically
when setting ':set spelllang=de'.

-- Dominique

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