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 17:12:12 +0100 Message-ID: <87tv46qqlf.fsf@elephly.net> References: <87blqeml4w.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]:39951) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz0oJ-0002kn-4U for guix-devel@gnu.org; Tue, 04 Feb 2020 11:12:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz0oI-0001dk-3N for guix-devel@gnu.org; Tue, 04 Feb 2020 11:12:23 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iz0oG-0001Np-U3 for guix-devel@gnu.org; Tue, 04 Feb 2020 11:12:22 -0500 In-reply-to: <87blqeml4w.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 Hi Pierre, > - Rename it to GUIX_INSIDE_EMACS? > - Document the existence of INSIDE_EMACS. The variable is set by Emacs. As an Emacs feature we should not document it in Guix, nor should we rename it to GUIX_INSIDE_EMACS. > - Leave colors on when inside Emacs. Wouldn=E2=80=99t this mess with font lock in Emacs modes such as M-x shell?= My colour theme has no place for a garish green :) For prettier colours in Emacs we already have things like guix-build-log-mode. > - Disable the pager hint and display all research result when inside > Emacs. Isn=E2=80=99t it considered best practise to set PAGER=3Dcat when using Ema= cs as a shell? That=E2=80=99s what I do to show man pages (when I=E2=80=99m not us= ing M-x woman) or to have =E2=80=9Cgit log=E2=80=9D do the right thing. -- Ricardo