On Sun, Apr 26, 2020 at 11:38 AM zimoun wrote: > Dear, > > 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 > > > > That's just... backwards. Also, it feels like as if the author of that > code sort > > of assumed that whoever runs the command is stupid enough not to be able > to deal > > with long output. I'm sure that it wasn't meant like that. > > The manual recommands to use "guix search" in combination with > 'recsels' (see [4] '--search' paragraph). > Good, I actually like that recommendation. > Thank you for sharing your opinion. > You're welcome. Regards, -- Jan Synacek Software Engineer, Red Hat