From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/2 v2] complete: add device name complete support
Date: Mon, 6 Jun 2011 12:33:55 +0200 [thread overview]
Message-ID: <20110606103355.GF11298@game.jcrosoft.org> (raw)
In-Reply-To: <20110606095813.GE23771@pengutronix.de>
On 11:58 Mon 06 Jun , Sascha Hauer wrote:
> On Mon, Jun 06, 2011 at 11:11:23AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> > ---
> > common/complete.c | 24 ++++++++++++++++++++++++
> > 1 files changed, 24 insertions(+), 0 deletions(-)
>
> Sorry, this does not work. Pressing eth<TAB> on an empty command
> line expands to
>
> ethact (correct, this is a command)
> eth0 (almost correct, it misses the '=')
>
> 'ls <TAB>' expands to
>
> ls env/ (correct, this is a directory)
> ls eth0 (incorrect, no valid expansion)
>
> 'ls n<TAB> expands to
>
> ls nand0 (incorrect, this is a device name and can't be used here=
> ls nfsroot= (incorrect, no valid expansion)
>
> Please check the context in which you are calling the different complete
> functions like I suggested in my comment to the last patch.
if devinfo it's valid
for the var evaluation we can use them when we want
ok I check
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2011-06-06 10:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-06 9:11 Jean-Christophe PLAGNIOL-VILLARD
2011-06-06 9:11 ` [PATCH 2/2] complete: add var and device param " Jean-Christophe PLAGNIOL-VILLARD
2011-06-06 9:58 ` [PATCH 1/2 v2] complete: add device name " Sascha Hauer
2011-06-06 10:33 ` Jean-Christophe PLAGNIOL-VILLARD [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=20110606103355.GF11298@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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