From: Jean Delvare <jdelvare@suse.de>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Michal Marek <mmarek@suse.cz>,
linux-kbuild@vger.kernel.org,
Roland Eggner <edvx1@systemanalysen.net>,
Wang YanQing <udknight@gmail.com>
Subject: Re: Wish: exact matches displayed first
Date: Mon, 06 May 2013 16:10:33 +0200 [thread overview]
Message-ID: <1367849433.4569.107.camel@chaos.site> (raw)
In-Reply-To: <20130506125459.GB3958@free.fr>
Salut Yann,
Le Monday 06 May 2013 à 14:54 +0200, Yann E. MORIN a écrit :
> Jean, All,
>
> On Mon, May 06, 2013 at 12:00:07PM +0200, Yann E. MORIN wrote:
> > On Mon, May 06, 2013 at 09:50:29AM +0200, Jean Delvare wrote:
> > > I wish a search in "make menuconfig" would return an exact match, if it
> > > exists, first in the list. At the moment, looking for "PCI", for
> > > example, returns several dozen entries (anything matching "PCI") and
> > > CONFIG_PCI is far away from the top. Ideally I would expect this query
> > > to return CONFIG_PCI first.
> >
> > Indeed, this has bugged me a few times, too.
> > I'll see what I can do.
>
> BTW, did you know that you can search using extended regular expressions?
> Searching for ^PCI$ will yield only the CONFIG_PCI symbol.
No, I didn't know. Thanks for the tip, it's very useful. If I can
remember it, that is ;)
> Otherwise, I have a patch (that I'll submit shortly) to sort the symbols
> by releveance.
I will be happy to test it!
--
Jean Delvare
Suse L3
next prev parent reply other threads:[~2013-05-06 14:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-06 7:50 Wish: exact matches displayed first Jean Delvare
2013-05-06 10:00 ` Yann E. MORIN
2013-05-06 12:54 ` Yann E. MORIN
2013-05-06 13:04 ` Thomas Petazzoni
2013-05-06 13:53 ` Yann E. MORIN
2013-05-06 14:19 ` Jean Delvare
2013-05-06 14:27 ` Yann E. MORIN
2013-05-06 14:36 ` Jean Delvare
2013-05-06 14:10 ` Jean Delvare [this message]
2013-05-06 13:02 ` [PATCH] kconfig: sort found symbols by relevance Yann E. MORIN
2013-05-06 15:28 ` Jean Delvare
2013-05-06 18:17 ` Yann E. MORIN
2013-05-07 1:35 ` Wang YanQing
2013-05-06 18:20 ` Yann E. MORIN
2013-05-06 19:36 ` Yann E. MORIN
2013-05-06 21:15 ` [PATCH v3] " Yann E. MORIN
2013-05-09 15:27 ` Wang YanQing
2013-05-09 16:12 ` Yann E. MORIN
2013-05-10 0:51 ` Wang YanQing
2013-05-10 10:12 ` Yann E. MORIN
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=1367849433.4569.107.camel@chaos.site \
--to=jdelvare@suse.de \
--cc=edvx1@systemanalysen.net \
--cc=linux-kbuild@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=udknight@gmail.com \
--cc=yann.morin.1998@free.fr \
/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