Re: [patch] improved completion of :language command (added available locales)

2011-02-06 Fir de Conversatie Bram Moolenaar
Dominique Pelle wrote: Attached patch improves completion of Ex command :language by completing available locales. It works by running command locale -a to find available locales. I only have the environment to test it on Linux. Example: :language messages frCTRL-D fr_BE.utf8

Re: [PATCH] Fix a misuse of tmpnam()

2011-02-06 Fir de Conversatie Bram Moolenaar
Hong Xu wrote: tmpnam() might return a NULL pointer if it failed to generate a unique name. Vim doesn't handle it properly. Here's the patch to fix it. Thanks! -- hundred-and-one symptoms of being an internet addict: 196. Your computer costs more than your car. /// Bram Moolenaar --

Re: [PATCH] A temp file name generating problem on Windows

2011-02-06 Fir de Conversatie Bram Moolenaar
Hong Xu wrote: The comment in function vim_tempname says: GetTempPath() failed, use current dir. It use szTempFile[0] = NUL to do this, which makes szTempFile an empty string. szTempFile is going to be passed as a parameter to the function GetTempFileName. However, if we want to use

Re: [PATCH] A temp file name generating problem on Windows

2011-02-06 Fir de Conversatie H Xu
On 2011/2/6 20:21, Bram Moolenaar wrote: Hong Xu wrote: The comment in function vim_tempname says: GetTempPath() failed, use current dir. It use szTempFile[0] = NUL to do this, which makes szTempFile an empty string. szTempFile is going to be passed as a parameter to the function

Re: PATCH: v:register value with clipboard=unnamed,unnamedplus

2011-02-06 Fir de Conversatie Ingo Karkat
On 05-Feb-2011 15:34, Bram Moolenaar wrote: Agreed. This is the simplest and most straightforward solution. I concur. So, do you accept my two patches (v:register value with clipboard=unnamed,unnamedplus and Startup value for v:register), or is there anything left to do? -- regards, ingo --

Re: PATCH: v:register value with clipboard=unnamed,unnamedplus

2011-02-06 Fir de Conversatie Bram Moolenaar
Ingo Karkat wrote: On 05-Feb-2011 15:34, Bram Moolenaar wrote: Agreed. This is the simplest and most straightforward solution. I concur. So, do you accept my two patches (v:register value with clipboard=unnamed,unnamedplus and Startup value for v:register), or is there anything left

Re: PATCH: v:register value with clipboard=unnamed,unnamedplus

2011-02-06 Fir de Conversatie Ingo Karkat
On 06-Feb-2011 14:38, Bram Moolenaar wrote: They are in the todo list. Ah, okay. I had checked todo.txt in Mercurial and on ftp.vim.org, and they're both outdated: *todo.txt* For Vim version 7.3. Last change: 2011 Jan 07 Do you keep an up-to-date version anywhere online? I can

Re: PATCH: v:register value with clipboard=unnamed,unnamedplus

2011-02-06 Fir de Conversatie Bram Moolenaar
Ingo Karkat wrote: On 06-Feb-2011 14:38, Bram Moolenaar wrote: They are in the todo list. Ah, okay. I had checked todo.txt in Mercurial and on ftp.vim.org, and they're both outdated: *todo.txt* For Vim version 7.3. Last change: 2011 Jan 07 Do you keep an up-to-date version

Re: PATCH: v:register value with clipboard=unnamed,unnamedplus

2011-02-06 Fir de Conversatie H Xu
On 2011/2/7 4:45, Bram Moolenaar wrote: Ingo Karkat wrote: On 06-Feb-2011 14:38, Bram Moolenaar wrote: They are in the todo list. Ah, okay. I had checked todo.txt in Mercurial and on ftp.vim.org, and they're both outdated: *todo.txt* For Vim version 7.3. Last change: 2011 Jan