Re: Filename completion broken in Vim 7.1.82

2007-08-19 Fir de Conversatie Bram Moolenaar
Martin Toft wrote: > On Sun, Aug 19, 2007 at 09:11:41PM +0200, Bram Moolenaar wrote: > > Good catch with "]". By itself it's not recognized, only the matching > > "[" is. > > > > How about making a bit cleaner: You are overwriting the string and > > restoring the character in four places. If

Re: Filename completion broken in Vim 7.1.82

2007-08-19 Fir de Conversatie Martin Toft
On Sun, Aug 19, 2007 at 09:11:41PM +0200, Bram Moolenaar wrote: > Good catch with "]". By itself it's not recognized, only the matching > "[" is. > > How about making a bit cleaner: You are overwriting the string and > restoring the character in four places. If we make a > vim_isfilec_or_wc() f

Re: Filename completion broken in Vim 7.1.82

2007-08-19 Fir de Conversatie Bram Moolenaar
Martin Toft wrote: > On Sun, Aug 19, 2007 at 05:52:56PM +0200, Bram Moolenaar wrote: > > My proposal is that you fix it :-) We have mch_has_wildcard(), but it > > applies to a whole string, so you need to do some more work. > > Okidoki :-) > > I'm sorry to be slow, but my parents suddenly dec

Re: Filename completion broken in Vim 7.1.82

2007-08-19 Fir de Conversatie Martin Toft
On Sun, Aug 19, 2007 at 05:52:56PM +0200, Bram Moolenaar wrote: > My proposal is that you fix it :-) We have mch_has_wildcard(), but it > applies to a whole string, so you need to do some more work. Okidoki :-) I'm sorry to be slow, but my parents suddenly decided to pay me a visit, and you don'

Re: Filename completion broken in Vim 7.1.82

2007-08-19 Fir de Conversatie Bram Moolenaar
Martin Toft wrote: > On Sat, Aug 18, 2007 at 10:29:04PM -0700, Yegappan Lakshmanan wrote: > > Hi all, > > > > It looks like filename completion in the command-line mode is broken > > in Vim 7.1.82. I am running Vim 7.1.82 on Linux and see the following > > issue. > > > > $ cd vim7/src > >

Re: Filename completion broken in Vim 7.1.82

2007-08-19 Fir de Conversatie Bram Moolenaar
Yegappan Lakshmanan wrote: > It looks like filename completion in the command-line mode is broken > in Vim 7.1.82. I am running Vim 7.1.82 on Linux and see the following > issue. > > $ cd vim7/src > $ vim > :edit *unix* > > When I press to complete the name of files containing the

Re: Filename completion broken in Vim 7.1.82

2007-08-19 Fir de Conversatie Martin Toft
On Sat, Aug 18, 2007 at 10:29:04PM -0700, Yegappan Lakshmanan wrote: > Hi all, > > It looks like filename completion in the command-line mode is broken > in Vim 7.1.82. I am running Vim 7.1.82 on Linux and see the following > issue. > > $ cd vim7/src > $ vim > :edit *unix* > > When I

Filename completion broken in Vim 7.1.82

2007-08-18 Fir de Conversatie Yegappan Lakshmanan
Hi all, It looks like filename completion in the command-line mode is broken in Vim 7.1.82. I am running Vim 7.1.82 on Linux and see the following issue. $ cd vim7/src $ vim :edit *unix* When I press to complete the name of files containing the string "unix" in them, it completes a