From debbugs-submit-bounces@debbugs.gnu.org Mon May 11 17:48:47 2020 Received: (at 41183-done) by debbugs.gnu.org; 11 May 2020 21:48:47 +0000 Received: from localhost ([127.0.0.1]:53544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYGI3-0004Ow-0G for submit@debbugs.gnu.org; Mon, 11 May 2020 17:48:47 -0400 Received: from mail-qv1-f67.google.com ([209.85.219.67]:39376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYGI1-0004Oh-Nr for 41183-done@debbugs.gnu.org; Mon, 11 May 2020 17:48:46 -0400 Received: by mail-qv1-f67.google.com with SMTP id d1so859094qvl.6 for <41183-done@debbugs.gnu.org>; Mon, 11 May 2020 14:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=0WUiAZS6B6bidZW+srAtYvukSbimIDdNrjfM6jiLfdE=; b=Ybh5/Clwb0hRbm0YtyqsX6tX6elpdDsov7it6f8iRKH+3i6QkfAbb1YAwaTpf2Ck1o qxXP566c1PN/HWntvjBHu55vvxB90XTc7QD2KsftCaumjziECMdR+vazvZ0plufICHFD wiua7sivTWvJnYM4MkS5IqMPTWf79G7dbZtRDYHVSk92+AuGFlzNtPaV8ZK0LT8dxQz6 3YhoHGWeGPGhEkJ/Y5BdF9KLMrZGMdGWEXU3ePVW8scRlMaO37IvMRKntm1ooT8/I8ct GpwS7HcTs71vR4ORxdMaFa9R5sIoraOzSkrhE+GKAWFzWdbC3fuYRnJqPC0PJZnEWW++ oMuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=0WUiAZS6B6bidZW+srAtYvukSbimIDdNrjfM6jiLfdE=; b=Uj5eWl8e4FuHfRSS9B/KDmjmKN95zTNpozb0cesP0XmOB0j/DEihdIatKuAgtoB8BN 8HXVth7ygjsK14kUp7laXozKlEd+rZO1Oek7r2oIzZkJ7bKS7Bkxfn8cn8MpnVhBhIvI YoRLdB4+JiXXxNJ9gsO1h79sCcu3G9BbXUWtnBxLsHqMF2DJjtkdMD4vp1X9lpOcyd8G pgYM9pCVGpbqQISIswtUAjtAG2/U7NbMsyhpvN4Uz2jYAQdFhb8WbriPRAJt46SE8N77 U8VVVRaKkDOaeqVkB66ALhYbJE/j7DFQ8iIOSAcuHyuM3xKB5SxwL+vAfHAgPbb5NlaA jf9A== X-Gm-Message-State: AOAM532+Pu+PSDfEHahPNCYySHguWcEPnLMWcOcxp/R4kp9GT1KgxuMA q/iC/1msgkScwvIDlEwABckSOI/MpWDKqakL9kE0Zw== X-Google-Smtp-Source: ABdhPJxoVH6NSw2f8dB8l26cgM9mvX4NJLLABcQ8MbQukLoI87OujuiyK/K2R9lmDhfum1UQ/LvQYGcveYlS9Fioq/I= X-Received: by 2002:a0c:ee64:: with SMTP id n4mr374094qvs.246.1589233719924; Mon, 11 May 2020 14:48:39 -0700 (PDT) MIME-Version: 1.0 References: <20200510233747.13155-1-zimon.toutoune@gmail.com> <20200510234044.14251-1-zimon.toutoune@gmail.com> <87ftc6fcc6.fsf@gnu.org> In-Reply-To: <87ftc6fcc6.fsf@gnu.org> From: zimoun Date: Mon, 11 May 2020 23:48:28 +0200 Message-ID: Subject: Re: [bug#41183] [PATCH] guix package, show: Support multiple queries. To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41183-done Cc: 41183-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, On Mon, 11 May 2020 at 22:25, Ludovic Court=C3=A8s wrote: > Yay, applied! Thank you! > > It is already how '--search' works and has been extended to '--show'. = Does it > > need to be documented in the manua? > > Weirdness. I think we should improve all that rather than document it, > addressing also some of the issues raised in > . Expected weirdness. :-) It is because of the use of 'assoc-ref' on 'opts' which returns the first match, so the first in the alist, so the last in the command-line. This behaviour is a feature. ;-) Well, thanks for the reminder on #40549. Now I have a better understanding (e.g., query vs action), I am going to revisit it. Cheers, simon