all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Igrishin <dmitigr@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Commands like ls(1) does not emits color sequences in 25.0.50.1
Date: Mon, 7 Sep 2015 21:57:02 +0300	[thread overview]
Message-ID: <CAAfz9KOCXTKQR9g6_ZvZku+x369XtaQcUTYgzCw8+ad_uz9-PA@mail.gmail.com> (raw)

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.


             reply	other threads:[~2015-09-07 18:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-07 18:57 Dmitry Igrishin [this message]
2015-09-07 21:58 ` Commands like ls(1) does not emits color sequences in 25.0.50.1 Random832
2015-09-08  8:18   ` Dmitry Igrishin
2015-09-08 12:13     ` Stefan Monnier
2015-09-08 13:57       ` Random832

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAfz9KOCXTKQR9g6_ZvZku+x369XtaQcUTYgzCw8+ad_uz9-PA@mail.gmail.com \
    --to=dmitigr@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.