unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: `guix search` feature or bug?
Date: Wed, 17 Jul 2019 23:31:21 +0200	[thread overview]
Message-ID: <87y30w73h2.fsf@gnu.org> (raw)
In-Reply-To: <CAJ3okZ0yuJFXDzWAGhUyzmmJ8r7gETAi+Xf3zMRJtQcWBPrr7w@mail.gmail.com> (zimoun's message of "Wed, 17 Jul 2019 15:40:29 +0200")

Hi,

zimoun <zimon.toutoune@gmail.com> skribis:

> An example describes better than words. :-)
>
>   guix package --show=tuxpaint
>
> And one can read the terms `software` in the synopsis and `tools` in
> the description.
> However, `guix search software tools` does not output the package `tuxpaint`.
>
>   guix search software tools | recsel -C -P name | sort
>
> From the function `relevance` in `guix/ui.scm`, if I understand well,
> it seems expected. Each field deals with the regexp and the terms
> `software` and `tools` does not appear both in only one field.
>
> Is this behaviour expected?

Not really!  It’s the result of commit
8874faaaac665100a095ef25e39c9a389f5a397f, but I agree that what you
expected would be nicer.  We should fix it.

Do you want to give it a try?  :-)

Thanks,
Ludo’.

  reply	other threads:[~2019-07-17 21:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-17 13:40 `guix search` feature or bug? zimoun
2019-07-17 21:31 ` Ludovic Courtès [this message]
2019-07-18 14:59   ` zimoun
2019-07-22 17:20   ` zimoun

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87y30w73h2.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=zimon.toutoune@gmail.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).