From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Guix search, colors and INSIDE_EMACS Date: Thu, 13 Feb 2020 10:35:56 +0100 Message-ID: References: <87blqeml4w.fsf@ambrevar.xyz> <87tv46qqlf.fsf@elephly.net> <878slamdzp.fsf@ambrevar.xyz> <87r1z13ap2.fsf@ambrevar.xyz> <87v9od2oyw.fsf@gnu.org> <87ftfhkxzt.fsf@ambrevar.xyz> <87k14rzzzj.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45675) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2Aur-0005wh-2C for guix-devel@gnu.org; Thu, 13 Feb 2020 04:36:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2Aum-0003EB-9L for guix-devel@gnu.org; Thu, 13 Feb 2020 04:36:12 -0500 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:37333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2Aum-0003Dq-5g for guix-devel@gnu.org; Thu, 13 Feb 2020 04:36:08 -0500 Received: by mail-qk1-x734.google.com with SMTP id c188so5028722qkg.4 for ; Thu, 13 Feb 2020 01:36:08 -0800 (PST) In-Reply-To: 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 On Wed, 12 Feb 2020 at 17:30, zimoun wrote: > 1. > By default with Emacs, *shell* is doing right and EShell not. Is it > coming from Emacs or other? Could the Emacs from Guix do always the > right thing? > > Other said, *shell* sets by default INSIDE_EMACS to "26.3,comint". And > EShell does nothing by default. Is it Guix specific or Emacs specific? It is expected because 'shell-mode' derives from 'comint-mode' and 'comint-mode' sets correctly INSIDE_EMACS; as the documentation claims. However, 'eshell' uses 'esh-mode' which derives from 'fundamental-mode' and INSIDE_EMACS is set nowhere (well, if it is, I miss where). Therefore, the culprit is the upstream 'eshell' and it is not Guix specific.