guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guix search, colors and INSIDE_EMACS


From: Ricardo Wurmus
Subject: Re: Guix search, colors and INSIDE_EMACS
Date: Tue, 04 Feb 2020 20:16:00 +0100
User-agent: mu4e 1.2.0; emacs 26.3

Pierre Neidhardt <address@hidden> writes:

>> Isn’t it considered best practise to set PAGER=cat when using Emacs as a
>> shell?  That’s what I do to show man pages (when I’m not using M-x
>> woman) or to have “git log” do the right thing.
>
> --8<---------------cut here---------------start------------->8---
> env PAGER=cat guix search emacs
> --8<---------------cut here---------------end--------------->8---
>
> or
>
> --8<---------------cut here---------------start------------->8---
> export PAGER=cat
> guix search emacs
> --8<---------------cut here---------------end--------------->8---
>
> still displays the hint for me in M-x shell or Eshell.

That’s because Guix doesn’t 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’t set.

--
Ricardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]