[Top][All Lists]

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

Guix search, colors and INSIDE_EMACS

From: Pierre Neidhardt
Subject: Guix search, colors and INSIDE_EMACS
Date: Tue, 04 Feb 2020 16:23:43 +0100


I just discovered the existence of the INSIDE_EMACS variable (thank you,
Zimoun!) which disable the funky characters in `guix describe`,
etc. when run from Eshell or Emacs' M-x shell.

Sadly, it also disables colours.

On a related topic, I think we should disable the
--8<---------------cut here---------------start------------->8---
hint: Run `guix search ... | less' to view all the results.
--8<---------------cut here---------------end--------------->8---

feature when run inside Emacs, since Emacs is its own pager.

To sum up, I suggest to send a patch to fix the following:

- Rename it to GUIX_INSIDE_EMACS?
- Document the existence of INSIDE_EMACS.
- Leave colors on when inside Emacs.
- Disable the pager hint and display all research result when inside


Pierre Neidhardt

Attachment: signature.asc
Description: PGP signature

reply via email to

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