cga (?) wrote:

> > Weird.  I can't reproduce it.
> > 
> > What version of Vim?  
> 
> VIM - Vi IMproved 6.3 (2004 June 7, compiled Jul 30 2005 12:40:41)
> Included patches: 1-71, 81-82
> Compiled by [EMAIL PROTECTED]
[...]
> > What system?  
> 
> Linux turki 2.4.27.060305-2 #1 Sun Mar 5 03:40:55 EST 2006 i686 GNU/Linux
> 
> > Console or GUI?  
> 
> xterm (256 colors) + gnu/screen
> 
> Note: I was able to reproduce the same behavior under a plain 8/16
> color term (aterm) outside gnu/screen so these aspects are probably not
> relevant.
> 
> > What is 'encoding' set to?
> 
> set encoding?
> encoding=latin-1
> 
> Another example:
> 
> 1. abc
>    ---
> 
> 
> 1¬¬abc
> ¬¬¬---
> 
> What I did:
> 
> . 'o' to open a new empty line after 'example:' (I was in normal mode)
> . Escape and 'i' so vim 'forgets' about what I typed before.. then:
> 
> . I typed '1. abc' + Enter
> . I typed three spaces and three dashes
> . I hit Enter twice - cursor was indented to line up with the first dash
> . I hit Escape - the cursor was back in column 1
> . I hit '.'
> 
> Now an interesting side-effect of the above is that if I try to undo
> this by hitting 'u' twice, there remains one '¬' a couple of lines
> below my last 'sane' line ('Another example:').
> 
> Compare with:
> 
> abc
> ---
> 
> abc
> ---
> I used pretty much the same actions as in the first example - ('o' to
> open a new line, escape, 'i', typed abc, carriage return, three dashes,
> carriage return, carriage return, escape, followed by the '.' command.
> 
> In this instance everything appears to work as expected - so it's not
> the dash by itself - maybe the dot '.' has something to do with it..
> maybe it's because my dashes in the first example are indented.. not
> sure.

The description is clear, but I can't reproduce it.

You could at least upgrade to Vim 6.4, it includes many bug fixes.  Or
skip ahead to Vim 7, it's very close to a release.

I have seen weird things happen with gcc optimization, you could try
compiling without -O2.  This is just guessing though.

-- 
   [The rest of the ARMY stand around looking at a loss.]
INSPECTOR END OF FILM: (picks up megaphone) All right!  Clear off!  Go on!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

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