From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Igrishin Newsgroups: gmane.emacs.help Subject: Commands like ls(1) does not emits color sequences in 25.0.50.1 Date: Mon, 7 Sep 2015 21:57:02 +0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1441652240 28215 80.91.229.3 (7 Sep 2015 18:57:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2015 18:57:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 07 20:57:20 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 1ZZ1bO-00063v-Gu for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Sep 2015 20:57:14 +0200 Original-Received: from localhost ([::1]:58344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ1bO-0005h7-Gp for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Sep 2015 14:57:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ1bE-0005h0-3G for help-gnu-emacs@gnu.org; Mon, 07 Sep 2015 14:57:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZ1bD-0000Bd-9K for help-gnu-emacs@gnu.org; Mon, 07 Sep 2015 14:57:04 -0400 Original-Received: from mail-ig0-x22b.google.com ([2607:f8b0:4001:c05::22b]:38107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZ1bD-0000Az-4B for help-gnu-emacs@gnu.org; Mon, 07 Sep 2015 14:57:03 -0400 Original-Received: by igxx6 with SMTP id x6so1787507igx.1 for ; Mon, 07 Sep 2015 11:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uXbODEDNNnc+xMB/+LCPaRQ9OvrnQo823pOxw7Ea0sw=; b=rvHf+ygttayShHfKkShqhLeBHlIuo4GxpvBGT6tkgaUU2yMy9R5kL/ukiQimVEjQOe MLTKo3ZaRwFvvrvjktwVWVlG8pyJSLa2ahISOYMudP1kWVmIYznw7exbqS91t3Aqv2TD c/I3jKg0F0wNINLIQD0QlXNqba87rNIjvozLtwELBuGsea0OsyFYnsGG/t4vSdmJJ0Tp P8TQvGkCneFjjhaes8SpRgXo0JEosuKPpSlJHgJMJ4u5n63RjADgoy28AG/lJ0nf6eeA 4Fh/5l3ZcxsdierziIZ6IToZOwWKc4IL/uG1USpP5T0+ufEcI9/lnH897o2zRAzU7KZJ GCiw== X-Received: by 10.50.60.65 with SMTP id f1mr31259960igr.29.1441652222299; Mon, 07 Sep 2015 11:57:02 -0700 (PDT) Original-Received: by 10.79.72.131 with HTTP; Mon, 7 Sep 2015 11:57:02 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::22b X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:107069 Archived-At: Hello, Recently I've build Emacs 25.0.50.1 and noticed that ls(1) even with --colors=always option does not emits color sequences. Setting the environment variable XTERM to "ansi" directly from the inferior shell affects the behavior of ls(1) in this case and ls --colors works as expected in *shell* buffer. Is it new expected behavior for comint shell? To workaround this problem I've tried to add (setenv "TERM" "ansi") to the init.el, but Emacs resets the TERM variable to "dumb" upon the startup. Is this expected? Thanks! -- // Dmitry.