[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 |
Hi!
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
Emacs.
Thoughts?
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature
- Guix search, colors and INSIDE_EMACS,
Pierre Neidhardt <=
- Re: Guix search, colors and INSIDE_EMACS, Ricardo Wurmus, 2020/02/04
- Re: Guix search, colors and INSIDE_EMACS, Pierre Neidhardt, 2020/02/04
- Re: Guix search, colors and INSIDE_EMACS, zimoun, 2020/02/04
- Re: Guix search, colors and INSIDE_EMACS, Ricardo Wurmus, 2020/02/04
- Re: Guix search, colors and INSIDE_EMACS, Ricardo Wurmus, 2020/02/04
- Re: Guix search, colors and INSIDE_EMACS, Pierre Neidhardt, 2020/02/06
- Re: Guix search, colors and INSIDE_EMACS, zimoun, 2020/02/13
- Re: Guix search, colors and INSIDE_EMACS, Alex Griffin, 2020/02/13
- Re: Guix search, colors and INSIDE_EMACS, zimoun, 2020/02/13
- Re: Guix search, colors and INSIDE_EMACS, Pierre Neidhardt, 2020/02/14