Re: Stuff in testdir

2008-09-14 Fir de Conversatie Bram Moolenaar
Bill McCarthy wrote: There is a `testdir' located in $VIMRUNTIME/src. There doesn't appear to be any documentation of this, but there is a set of tests that run from within various make files. I'm running in Windows.using Mingw. The makefile for windows is apparently Make_dos.mak.

Patch 7.2.016

2008-09-14 Fir de Conversatie Bram Moolenaar
Patch 7.2.016 Problem:The pattern being completed may be in freed memory when the command line is being reallocated. (Dominique Pelle) Solution: Keep a pointer to the expand_T in the command line structure. Don't use S-Tab as CTRL-P when there are no results. Clear

Patch 7.2.017

2008-09-14 Fir de Conversatie Bram Moolenaar
Patch 7.2.017 Problem:strlen() used on text that may not end in a NUL. (Dominique Pelle) Pasting a very big selection doesn't work. Solution: Use the length passed to the XtSelectionCallbackProc() function. After getting the SelectionNotify event continue

Re: Stuff in testdir

2008-09-14 Fir de Conversatie Bill McCarthy
On Sun 14-Sep-08 6:21am -0600, Bram Moolenaar wrote: Bill McCarthy wrote: There is a `testdir' located in $VIMRUNTIME/src. There doesn't appear to be any documentation of this, but there is a set of tests that run from within various make files. I'm running in Windows.using Mingw. The

Re: ANNC: Relative Numbering plugin

2008-09-14 Fir de Conversatie Rhialto
On Mon 18 Aug 2008 at 16:15:10 -0400, Charles Campbell wrote: Hello! I've issued a new plugin on my website: http://mysite.verizon.net/astronaut/vim/index.html#RLTVNMBR . It uses The link you have there,

Re: ANNC: Relative Numbering plugin

2008-09-14 Fir de Conversatie Tony Mechelynck
On 14/09/08 20:57, Rhialto wrote: On Mon 18 Aug 2008 at 16:15:10 -0400, Charles Campbell wrote: Hello! I've issued a new plugin on my website: http://mysite.verizon.net/astronaut/vim/index.html#RLTVNMBR . It uses The link you have there,

Patch 7.2.018

2008-09-14 Fir de Conversatie Bram Moolenaar
Patch 7.2.018 Problem:Memory leak when substitute is aborted. Solution: Free the buffer allocated for the new text. (Dominique Pelle) Files: src/ex_cmds.c *** ../vim-7.2.017/src/ex_cmds.cWed Aug 6 15:03:07 2008 --- src/ex_cmds.c Sun Sep 14 13:45:03 2008

Re: Stuff in testdir

2008-09-14 Fir de Conversatie Bram Moolenaar
Bill McCarthy wrote: You are correct that Mingw is not a complete package. One needs to download the various unix utilities separately. But one usually gets sh.exe also - I also got zsh.exe in one of my downloads of unix utilities. [They don't all play well with Windows, so one

Patch to try out: v:oldfiles

2008-09-14 Fir de Conversatie Bram Moolenaar
Now and then I start editing a file and want to go back to a file I edited in a previous edit session. But the name doesn't appear in the marks or buffer list. Still, I know the file name is in the viminfo file. There are plugins for this, but I thought it would be nice if Vim could retrieve

Bug in exception handling with :return

2008-09-14 Fir de Conversatie Matt Wozniski
These two functions ought to behave identically, but don't... For some reason, the :catch never gets triggered for the Broken one. function! Working() try let y = x return y catch /^Vim\%((\a\+)\)\=:E121/ Handle 'Undefined variable' errors return 42 endtry endfunction

Problem with CursorMoved AutoCommand when Editing Files on a Remote WIndows Share

2008-09-14 Fir de Conversatie David Kotchan
Hello fellow Vimmers I've discovered a problem with Vim 7.2 when using the CursorMoved autocommand under Windows. The problem is only evident when editing files on a Windows share, rather than editing a file on the local machine. (Presumably the same issue is occurring even when editing on