Christian Brabandt <[email protected]> wrote:

> Am 2015-10-15 06:50, schrieb Dominique Pellé:
>>
>> Hi
>>
>> Something looks wrong with Vim English spelling dictionary.
>>
>> If I put the cursor on the D in  "Director's" and press  z=
>> in command mode, I get those spelling suggestions:
>>
>>  1 "Directors'"
>>  2 "Director¿s"
>>  3 "Directors"
>> ...snip...
>>
>> The suggestion with inverted question mark is clearly wrong.
>>
>> I can reproduce it with:
>>
>> $ echo "Director's" | vim -u NONE -c 'set spell|norm z=' -
>>
>> It seems to happen for any words followed by apostrophe s.
>> Here are the suggestion for  "It's":
>>  1 "At's"
>>  2 "Id's"
>>  3 "It¿s"
>>  4 "Its"
>>
>> I'm using Vim-7.4.898 (huge) on xubuntu-14.04.3 with en_US.UTF-8
>> locale.
>>
>> Bug does not happen if I use Vim-7.4.52 shipped with xubuntu-14.04.3:
>>
>> Doing a bisection, I found that bug was introduced in this checkin:
>>
>>   commit ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
>>   Author: Bram Moolenaar <[email protected]>
>>   Date:   Fri Sep 25 20:34:21 2015 +0200
>>
>>       Update various runtime files.
>>
>> That change updated runtime/spell/en.utf-8.spl among other files,
>> but since no change was made to runtime/spell/en/main.aap,
>> it might be an older change in Vim that introduced the bug and
>> nobody noticed it until runtime/spell/en.utf-8.spl was recreated.
>>
>> I tried to re-create the English spelling dictionary myself but
>> the aap recipe fails to download the zip file:
>>
>>   $ cd vim/runtime/spell/en
>>   $ aap
>>   Aap: Attempting download of
>>
>> "http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_US.zip";
>>   Aap: Error in recipe "/home/pel/sb/vim/runtime/spell/en/main.aap"
>> line 60: fetch failed for "['en_US.zip']"
>>   Aap: All messages are in the logfile:
>> /home/pel/sb/vim/runtime/spell/en/AAPDIR/log
>>
>> So the location where to download the English dictionaries
>> needs to be updated.  I'm not sure which dictionary is meant
>> to be used here for English.  It also does not explain why the
>> English dictionary got broken by
>> ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
>> and why it was updated in the first place.
>
>
> A quick google search, indicates that the base URL might now be:
> http://download.services.openoffice.org/contrib/dictionaries/
>
> Best,
> Christian


It looks like an old snapshot, not updated any more.
The most recent dictionary in above link is from Feb 2009.

Regards
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

--- 
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/d/optout.

Raspunde prin e-mail lui