From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: Eli Zaretskii Cc: fnasser@redhat.com, gdb@sources.redhat.com, vinschen@cygnus.com Subject: Re: [rfc] Completion tests failing Date: Thu, 27 Sep 2001 12:19:00 -0000 Message-id: <20010927151935.A28805@nevyn.them.org> References: <20010926211336.A31592@nevyn.them.org> <9743-Thu27Sep2001103949+0300-eliz@is.elta.co.il> <3BB314E8.77D93080@redhat.com> <20010927103401.B19151@nevyn.them.org> <1858-Thu27Sep2001173710+0300-eliz@is.elta.co.il> <20010927130026.A23757@nevyn.them.org> <7443-Thu27Sep2001210814+0300-eliz@is.elta.co.il> X-SW-Source: 2001-09/msg00262.html On Thu, Sep 27, 2001 at 09:08:14PM +0200, Eli Zaretskii wrote: > > Date: Thu, 27 Sep 2001 13:00:26 -0400 > > From: Daniel Jacobowitz > > > > On Thu, Sep 27, 2001 at 05:37:10PM +0200, Eli Zaretskii wrote: > > > > Date: Thu, 27 Sep 2001 10:34:01 -0400 > > > > From: Daniel Jacobowitz > > > > > > > > I wanted to get a name that I knew would complete unambiguously, so I > > > > tried using '"break.', which ought to complete to '"break.c"'. It > > > > completes instead to '"break.c ' - trailing space, no trailing quote. > > > > > > Try this twice, one after the other, and you will see that only the > > > first time fails. The second and all the successive times will > > > complete to `"break.c"'. > > > > What do you mean by twice? I can't get `"break.' to complete to `"break.c"' > > at all, no matter what I try. > > Sorry, I didn't realize the importance of starting with "break., > including the period. Anything else correctly completes to "break.c". (on the first try, best I can see) > The reason for this is that Readline only passes our completion > function the part after the period, so we never see the "break part. Well, that's not right either. It completes unambiguously to break.c. Oh, on the other hand I see that text contains the whole string and word contains only \0. This is definitely a guts-of-readline problem, as readline thinks that the "." is a word separator, which is not precisely correct. Oh, well. XFAIL for now, and we can poke at this some more later. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer