From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Random832 Newsgroups: gmane.emacs.help Subject: Re: Commands like ls(1) does not emits color sequences in 25.0.50.1 Date: Tue, 8 Sep 2015 13:57:21 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1441727916 22056 80.91.229.3 (8 Sep 2015 15:58:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2015 15:58:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 08 17:58:22 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZZLHk-0002GA-Ef for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Sep 2015 17:58:16 +0200 Original-Received: from localhost ([::1]:35379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZLHk-0001Ep-AI for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Sep 2015 11:58:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZJP5-0002I4-GX for help-gnu-emacs@gnu.org; Tue, 08 Sep 2015 09:57:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZJOz-0001Qy-KO for help-gnu-emacs@gnu.org; Tue, 08 Sep 2015 09:57:43 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:51311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZJOz-0001QH-Dx for help-gnu-emacs@gnu.org; Tue, 08 Sep 2015 09:57:37 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZZJOv-0002Ub-OY for help-gnu-emacs@gnu.org; Tue, 08 Sep 2015 15:57:33 +0200 Original-Received: from calumetspecialty.com ([216.84.102.233]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Sep 2015 15:57:33 +0200 Original-Received: from random832 by calumetspecialty.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Sep 2015 15:57:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 216.84.102.233 (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107087 Archived-At: Stefan Monnier iro.umontreal.ca> writes: > >> function. You can test for the EMACS environment variable in your shell > > That's been deprecated for ages. I don't know how I would have discovered that - there's no documentation for this function, which I found by searching for "TERM". There's no documentation of that fact anywhere inside comint.el. It's mentioned in the manual at https://www.gnu.org/software/emacs/manual/html_node/emacs/Interactive-Shell.html , but that page doesn't come up for any reasonable search on how Emacs sets TERM. > And that won't work in Emacs-25 any more. > You want to use $INSIDE_EMACS instead (whose value is not just "t", either).