Re: ff fenc bin in modeline

2006-08-24 Thread A.J.Mechelynck
Bram Moolenaar wrote: Yasuhiro Matsumoto wrote: vim can't treat ff and fenc, bin option on modelines. We can specify 'fencs' for judging some encodings. But vim often mis-judge when opening a text file. If we can set 'fenc' on modeline, vim won't fail. I wrote a patch for this support.

Re: ff fenc bin in modeline

2006-08-24 Thread Bram Moolenaar
Yasuhiro Matsumoto wrote: vim can't treat ff and fenc, bin option on modelines. We can specify 'fencs' for judging some encodings. But vim often mis-judge when opening a text file. If we can set 'fenc' on modeline, vim won't fail. I wrote a patch for this support. Please check and

Re: ff fenc bin in modeline

2006-08-24 Thread Yasuhiro Matsumoto
Bram - vim can't treat ff and fenc, bin option on modelines. We can specify 'fencs' for judging some encodings. But vim often mis-judge when opening a text file. If we can set 'fenc' on modeline, vim won't fail. I wrote a patch for this support. Please check and include. #This patch include

folding error for C files

2006-08-24 Thread Gautam Iyer
Hi Bram, I noticed the following problem when typing C files: If you enter a { on the last line of a file, and press enter, then the last two lines become a closed fold *CONTAINING* the cursor. You can not see the cursor, or the { in the previous line, until you type some text. At that point the

Re: How to trigger a screen update from RealWaitForChar

2006-08-24 Thread Brad Beveridge
I have gathered together the network_io patch as best I can. The author is Jim Bailey, not me - however Jim is currently roaming about in the world and was unable to respond to my requests for permission to distribute this code. Jim did include the standard Vim license comments in his files,