[quoted text reordered]
jinxjinx wrote:
A.J.Mechelynck wrote:
jinxjinx wrote:
when i do a save and then a make, for somereason my file gets scrambled.
vim
adds a colum of letters. and i get all these compile errors. so i quit
without saving, and the extra letters go away! what could be going on
here?
here is my vimrc
syn region myFold start="{" end="}" transparent fold
syn sync fromstart
set foldmethod=syntax
set nowrap
set mouse=a
also when i get into vim i do :syntax on
What are the first 3 or 4 lines of the reply to ":version" [until and
including "Features included (+) or not (-):"]? (To copy the whole
":version"
output to the clipboard, use:
:set nomore
:redir @*
:version
:redir END
:set more
:let @+ = @*
[the last line above is not necessary on Windows]. You can trim the result
after pasting it into an email.)
What does Vim answer to the following? (entered with the question marks,
and
with the problematic source file, not some help file, being current)
:verbose set makeprg? makeef? autowrite? autowriteall?
:verbose setlocal filetype?
:echo current_compiler
What does that "column of letters" look like? Any recognizable pattern?
Could
you paste an example into an email? (To copy the whole editfile to the
clipboard, use [in Normal mode] ggVG followed by "+y -- assuming that your
version of Vim has access to the clipboard).
Best regards,
Tony.
> :verbose set makeprg? makeef? autowrite? autowriteall?
> makeprg=make
> makeef=
> noautowrite
> noautowriteall
>
> :verbose setlocal filetype?
> filetype=c
> Las set from /usr/share/vim/vim64/filetype.vim
>
> :version
> VIM - Vi IMproved 6.4 (2005 Oct 15, compiled May 23 2006 12:03:57)
> Included patches: 1-6
> Compiled by [EMAIL PROTECTED]
> Big version without GUI. Features included (+) or not (-):
[...]
> :echo current_compiler did not work
>
> the scrambled colum is a column of characters that match what ever character
> is next to it
> or sometimes just copys of text from other parts of the file.
>
> thanks for the responce
My pleasure.
At first sight, I can't really tell what went wrong here. Someone suggested a
termcap problem, did you follow that track?
I notice that you are using Vim version 6.4.006. Maybe you could try a recent
build of Vim 7? See my HowTo page,
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm (for Unix/Linux).
Best regards,
Tony.