On 17/02/09 19:29, Martin Lange wrote:
> Hi there,
>
> I'm a little bit out of ideas. The usual suspects from vim's help over
> the online documentation, list archive 'til a full fetched googlifed
> investigation didn't provide a spark.
>
> First, some facts about my system:
> - the operating system is a Debian 5.0 "Lenny"
> - vim was installed with aptitude
> - vim has version 7.1 (with patches 1-314)
>
> I don't want to clutter this mail with the output of `vim --version`.
> So, I'll keep that back unless someone would like to see it.
>
> Ok, what happens? -- This:
>
> When running
>
> vim -u NONE
>
> and issuing the command
>
> :mkspell! spell/de de_DE.dic de_DE.aff
>
> I got a message
>
> "E755: Ungültige Region in de_DE.dic"
> (That's "E755: Invalid region in de_DE.dic")
>
> `echo $LANG` told me, my locale is "de_DE.iso88591",  `file de_DE.dic`
> told me, that file is ISO-8859 text, `file de_DE.aff` told me, that
> file is ISO-8859 English text and vim told me -- using `:set enc?
> fenc?` that "encoding=latin1" and "fileencoding="
>
> When I delete the flags in de_DE.dic -- changing that file to an
> ordinary wordlist -- and omit de_DE.aff, vim creates happily an
> SPL-file. But there is no region-flag -- that would be a number? -- in
> de_DE.dic.
>
> What would you recommend? Just use the SPL-file generated from the
> wordlist? Ignoring Debians software repository and build a new vim 7.2
> from the source? Twidle the frubnicator?
>
> As I said: I'm out of rope.
>
> Thank you!
> Martin

IIUC, the region flag is what distinguishes de_de, de_at, de_ch, de_19 
and de_20 spelling dictionaries from each other. See also ":help 
spell-german". As said not very far above that, region codes must always 
use lowercase in Vim.

Building from a recent source is always better. Vim 7.2 was released 
9-Aug-2008 and it has got 108 official bugfixes since then. See 
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm about how to 
compile it on Linux. About the differences between 7.2 and 7.1, see:
- http://ftp.vim.org/pub/vim/runtime/doc/version7.txt (and find the 
sections about 7.2)
- http://ftp.vim.org/pub/vim/patches/7.2/README (with a one-line summary 
for each patch from 7.2.001 to 7.2.108).

Best regards,
Tony.
-- 
Mohandas K. Gandhi often changed his mind publicly.  An aide once asked
him how he could so freely contradict this week what he had said just
last week.  The great man replied that it was because this week he knew
better.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to