From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: egor.shalashnikov@gmail.com Newsgroups: gmane.emacs.help Subject: emacs terminal colors Date: Thu, 2 Oct 2008 06:22:56 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222957430 7759 80.91.229.12 (2 Oct 2008 14:23:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 14:23:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 16:24:45 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KlP6X-0008Jd-Uk for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 16:24:34 +0200 Original-Received: from localhost ([127.0.0.1]:60716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlP5S-0002Nr-Tk for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 10:23:26 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!y21g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 212.248.26.3 Original-X-Trace: posting.google.com 1222953776 23526 127.0.0.1 (2 Oct 2008 13:22:56 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 2 Oct 2008 13:22:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y21g2000hsf.googlegroups.com; posting-host=212.248.26.3; posting-account=U5R4MwoAAAD20lQRuTFnGgOk7cqAxGTP User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.14) Gecko/20080404 Iceweasel/2.0.0.14 (Debian-2.0.0.14-2), gzip(gfe), gzip(gfe) X-HTTP-Via: 1.1 office.betline.ru (squid/3.0.STABLE7) Original-Xref: news.stanford.edu gnu.emacs.help:162947 X-Mailman-Approved-At: Thu, 02 Oct 2008 10:18:08 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58290 Archived-At: Hi!, I have a problem with emacs colors in terminal, spent all day on it. I'm connecting to a remote shell 1 (rhel): 'ssh ' And connecting from my computer to a remote shell 2 (solaris) 'ssh ' The settings are nearly the same, but emacs on displays many colors by default, and on by default are only 2 colors. How do enable --color=auto emacs switch by using only evn settings? (If I use emacs --color on emacs starts with many colors). Note: It's not a problem always use --color for emacs, but: I play with parameters in some functions into .emacs, so --color is the additional parameter and it breaks up logic into function when I use emacs as a diff utility (emacs -diff file1 file2: works, but emacs --color -diff file1 file 2: doesn't) env: TERM=xterm COLORTERM=gnome-terminal (mc works fine with color after I've added this env setting) .emacs: (global-font-lock-mode 1)