Mikolaj Machowski wrote:

> > > Vim 7.1b on Windows XP doesn't properly recognizes words. It does not
> > > count Polish diacritics in, so each one is treated as separate word.
> > > 
> > > This is serious bug and with taking into account that Windows users can
> > > have problems with getting patched versions it is IMO showstopper.
> > > 
> > > In its nature it may be similar to bug fixed by 6.3.052 - not proper
> > > recognition of non ASCII characters (but inserting works).
> > > 
> > > On Linux everything works OK.
> > > 
> > > gvim7.1b from ftp.vim.org
> > > v:lang = PL
> > > v:lc_time = Polish_Poland.1250
> > > &encoding = cp1250
> > 
> > What do you mean with recognizing a word?  What commands do you use?
> 
> Eg. diw
> 
> For example when using diw on '³±ka' (meadow) on 1st character it 
> removes only first two characters, the same for 2nd character, when 
> using on 3rd or 4th char it removes last 2 chars.
> 
> > 
> > What version of Vim (console/GUI/...)?  Did you compile yourself or use
> > one of the distributed binaries?  What is the ":version" output?
> 
> *G*vim binaries from ftp.vim.org
> 
> VIM - Vi IMproved 7.1b BETA (2007 May 10, compiled May 10 2007 17:57:09)
> MS-Windows 32 bit GUI version
> Compiled by [EMAIL PROTECTED]
> Big version with GUI.  Features included (+) or not (-):
[...]
>  
> > What is 'iskeyword' set to and where was it set?
> When started normally
> @,48-57,_,128-167,224-235
> When -U NONE
> @,48-57,_

That "@" means that Vim uses the library function isalpha().  Apparently
your environment is not setup properly for isalpha() to work with your
encoding cp1250.  Thus that is a problem with your
library/system/environment.

You can fix it by manually setting 'iskeyword'.  Vim has no other way to
find out what are word characters in your language and encoding.

Or you can use 'encoding' set to "utf-8", because then Vim knows which
characters are word characters.

-- 
hundred-and-one symptoms of being an internet addict:
96. On Super Bowl Sunday, you followed the score by going to the
    Yahoo main page instead of turning on the TV.

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

Reply via email to