From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Guix search, colors and INSIDE_EMACS Date: Tue, 04 Feb 2020 20:16:00 +0100 Message-ID: <87r1zaqi33.fsf@elephly.net> References: <87blqeml4w.fsf@ambrevar.xyz> <87tv46qqlf.fsf@elephly.net> <87d0aul354.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44996) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3gB-0002aY-Sq for guix-devel@gnu.org; Tue, 04 Feb 2020 14:16:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz3gA-0006AT-F2 for guix-devel@gnu.org; Tue, 04 Feb 2020 14:16:11 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21120) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iz3gA-00063M-1l for guix-devel@gnu.org; Tue, 04 Feb 2020 14:16:10 -0500 In-reply-to: <87d0aul354.fsf@ambrevar.xyz> 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: Pierre Neidhardt Cc: guix-devel@gnu.org Pierre Neidhardt writes: >> Isn=E2=80=99t it considered best practise to set PAGER=3Dcat when using = Emacs as a >> shell? That=E2=80=99s what I do to show man pages (when I=E2=80=99m not= using M-x >> woman) or to have =E2=80=9Cgit log=E2=80=9D do the right thing. > > --8<---------------cut here---------------start------------->8--- > env PAGER=3Dcat guix search emacs > --8<---------------cut here---------------end--------------->8--- > > or > > --8<---------------cut here---------------start------------->8--- > export PAGER=3Dcat > guix search emacs > --8<---------------cut here---------------end--------------->8--- > > still displays the hint for me in M-x shell or Eshell. That=E2=80=99s because Guix doesn=E2=80=99t yet respect the PAGER variable.= But it should. Shortly after the hint was introduced and the display was truncated by default there was a discussion about making Guix respect PAGER and only display the hint when it wasn=E2=80=99t set. -- Ricardo