Benji Fisher wrote:

> On Sun, Apr 16, 2006 at 05:56:19PM +0200, Nikolai Weibull wrote:
> > On 4/16/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> > >
> > > Nikolai Weibull wrote:
> > 
> > > > :x.
> > > >
> > > > and again position the cursor over/at the trailing space.  Again execute
> > > >
> > > > :echo expand('<cWORD>')
> > > >
> > > > The expansion will be ':x.'.
> > >
> > > I don't see this, the result is empty both times.  Are you sure the
> > > cursor wasn't on the "."?
> > 
> > Yes.  Perhaps this was an issue in
> > 
> > VIM - Vi IMproved 7.0b BETA (2006 Mar 24, compiled Mar 26 2006 13:06:54)
> > 
> > so I guess I should upgrade...
> > 
> > If you don't see it then hopefully everything is fine :-).
> 
>      I just compiled vim 7.0e (Normal features, default "make" on FC2
> Linux) and I see the same thing that Nikolai described.  Note that his
> first trial has leading and trailing spaces; the second trial only a
> trailing one.  I also tried the line
> 
> :x. :y. 
> 
> and carefully placed the cursor on the trailing space.  I got ":x."
> again!  With the cursor on the first space, I get ":y.", which seems
> reasonable.

Very strange.  When at the trailing space I get nothing.  You must have
some setting at a different value...

Oh wait, with 'encoding' set to "utf-8" I can see the problem.  Now I
can fix it.

-- 
hundred-and-one symptoms of being an internet addict:
107. When using your phone you forget that you don't have to use your
     keyboard.

 /// 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://www.ICCF.nl         ///

Reply via email to