Re: Race condition..., once again

2010-01-27 Fir de Conversatie Bram Moolenaar
Adam Osuchowski wrote: Some time ago I wrote here about race condition during file saving (http://groups.google.com/group/vim_dev/tree/browse_frm/month/2009-01/0049693b73a6a1e6). Some of you didn't share my opinion about this problem and said File systems is not databases with ACID

Patch 7.2.345

2010-01-27 Fir de Conversatie Bram Moolenaar
Patch 7.2.345 Problem:Tab line is not updated when the value of 'bt' is changed. Solution: Call redraw_titles(). (Lech Lorens) Files: src/option.c *** ../vim-7.2.344/src/option.c 2009-09-11 15:20:22.0 +0200 --- src/option.c2010-01-27 15:52:45.0 +0100

Patch 7.2.347

2010-01-27 Fir de Conversatie Bram Moolenaar
Patch 7.2.347 Problem:Crash when executing expr mapping redefines that same mapping. Solution: Save the values used before evaluating the expression. Files: src/getchar.c *** ../vim-7.2.346/src/getchar.c2009-11-11 16:23:37.0 +0100 --- src/getchar.c 2010-01-27

Patch 7.2.348 (after 7.2.330)

2010-01-27 Fir de Conversatie Bram Moolenaar
Patch 7.2.348 (after 7.2.330) Problem:Unicode double-width characters are not up-to date. Solution: Produce the double-width table like the others. Files: runtime/tools/unicode.vim, src/mbyte.c *** ../vim-7.2.347/runtime/tools/unicode.vim2010-01-12 19:48:57.0 +0100 ---

Patch 7.2.349

2010-01-27 Fir de Conversatie Bram Moolenaar
Patch 7.2.349 Problem:CTRL-W gf doesn't put the new tab in the same place as tab split and gf. (Tony Mechelynck) Solution: Store the tab number in cmdmod.tab. Files: src/window.c *** ../vim-7.2.348/src/window.c 2009-06-24 17:31:27.0 +0200 --- src/window.c

[PATCH] EUC-JP Hankaku Katakana character in 'listchars'

2010-01-27 Fir de Conversatie kikuchan
Hello. When I want to use EUC-JP Hankaku Katakana character in 'listchars', It doesn't work. The 'listchars' accepts the EUC-JP Hankaku Katakana character (0x8e 0xNN), because it has a single width on screen. (dbcs_char2cells returns 1 for the Katakana, because the first byte is 0x8e) But in

Re: Race condition..., once again

2010-01-27 Fir de Conversatie Adam Osuchowski
Adam Osuchowski wrote: fd = open(file); read(fd, buffer, size); close(fd); copy(file, file~); [...here user edits file...] fd = open(file.tmp, O_WRONLY|O_CREAT|O_TRUNC); write(fd, new content of file); close(fd); chmod(file.swp, mode);

Re: Patch 7.2.349

2010-01-27 Fir de Conversatie Tony Mechelynck
On 27/01/10 20:27, Bram Moolenaar wrote: Patch 7.2.349 Problem:CTRL-W gf doesn't put the new tab in the same place as tab split and gf. (Tony Mechelynck) Solution: Store the tab number in cmdmod.tab. Files: src/window.c The credit should go to Ryan J M (but what's that

Re: [PATCH] EUC-JP Hankaku Katakana character in 'listchars'

2010-01-27 Fir de Conversatie Tony Mechelynck
On 27/01/10 21:10, kikuc...@uranus.dti.ne.jp wrote: Hello. When I want to use EUC-JP Hankaku Katakana character in 'listchars', It doesn't work. The 'listchars' accepts the EUC-JP Hankaku Katakana character (0x8e 0xNN), because it has a single width on screen. (dbcs_char2cells returns 1 for

[PATCH] syntaxcomplete.vim does not show last syntax group

2010-01-27 Fir de Conversatie hpnpwd
Hello. I'm using vim 7.2, and .vimrc as follows. au FileType * set omnifunc=syntaxcomplete#Complete However, the last syntax group in :syn list does not show in completion menu. I wrote a patch to fix this problem. Regards, hpnpwd. diff -r 01c5b19eaee0 -r 0ebd175912bd runtime/autoload/

Re: Patch 7.2.347

2010-01-27 Fir de Conversatie Patrick Texier
On Wed, 27 Jan 2010 17:32:09 +0100, Bram Moolenaar wrote: Patch 7.2.347 Problem:Crash when executing expr mapping redefines that same mapping. Solution: Save the values used before evaluating the expression. Files:src/getchar.c I can't compile this patch using Windows BCC