Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Eli Zaretskii <eliz@is.elta.co.il>
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	[thread overview]
Message-ID: <20010927151935.A28805@nevyn.them.org> (raw)
In-Reply-To: <7443-Thu27Sep2001210814+0300-eliz@is.elta.co.il>

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 <drow@mvista.com>
> > 
> > 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 <drow@mvista.com>
> > > > 
> > > > 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


      reply	other threads:[~2001-09-27 12:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-26 18:13 Daniel Jacobowitz
2001-09-26 18:26 ` Elena Zannoni
2001-09-26 18:42   ` Daniel Jacobowitz
2001-09-27  1:39 ` Eli Zaretskii
2001-09-27  5:05   ` Fernando Nasser
2001-09-27  7:29     ` Daniel Jacobowitz
2001-09-27  7:33     ` Daniel Jacobowitz
2001-09-27  8:34       ` Fernando Nasser
2001-09-27 10:01         ` Eli Zaretskii
2001-09-27 10:22         ` Daniel Jacobowitz
2001-09-27 12:08           ` Eli Zaretskii
2001-09-27 13:48             ` Fernando Nasser
2001-09-27 15:22               ` Daniel Jacobowitz
2001-09-27  8:36       ` Eli Zaretskii
2001-09-27 10:00         ` Daniel Jacobowitz
2001-09-27 12:07           ` Eli Zaretskii
2001-09-27 12:19             ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010927151935.A28805@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=eliz@is.elta.co.il \
    --cc=fnasser@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=vinschen@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox