From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: hint: Run `guix search ... | less' to view all the results Date: Mon, 27 Apr 2020 11:29:51 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33004) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT05U-0000Nc-H5 for guix-devel@gnu.org; Mon, 27 Apr 2020 05:30:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT05U-0001oM-4N for guix-devel@gnu.org; Mon, 27 Apr 2020 05:30:04 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:45455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jT05T-0001oF-Mt for guix-devel@gnu.org; Mon, 27 Apr 2020 05:30:03 -0400 Received: by mail-qt1-x82e.google.com with SMTP id 71so13644277qtc.12 for ; Mon, 27 Apr 2020 02:30:03 -0700 (PDT) In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Jan Synacek Cc: Guix Devel Dear, On Mon, 27 Apr 2020 at 08:12, Jan Synacek wrote: > On Sun, Apr 26, 2020 at 11:38 AM zimoun wrote: >> On Sun, 26 Apr 2020 at 10:35, Jan Synacek wrote: >> > Seriously? Are you seriously forcing your users to either run emacs (or at least >> > to set the env variable) or use pipes to get the entire search result? >> >> It is "known" that Guix should respect the PAGER variable [1,2] and it >> is already a feature request [3]. >> > Why do you want to make things complicated? What's wrong with *just showing the entire output*? And let users decide if they want to use a pager, recsel, emacs or redirect the output somewhere else. > > I mean you run a command and the command shows its output. It makes me kind of sad that there even has to be a discussion about this. > >> [1] https://lists.gnu.org/archive/html/guix-devel/2020-02/msg00039.html >> [2] https://lists.gnu.org/archive/html/help-guix/2020-02/msg00150.html >> [3] https://lists.gnu.org/archive/html/help-guix/2020-02/msg00154.html I do not have a strong opinion. Personally, I do not find the default behaviour really handy and I (almost) always pipe with 'recsel -C -P name' because I do not find handy neither to display all the package fields by default. Well, taste and colour. :-) And my answer was just to point you that it is not an arbitrary choice. And all choices can be discussed. ;-) All the best, simon