From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: cothrige Newsgroups: gmane.emacs.help Subject: Emacs colors in terminals Date: Sun, 18 Jul 2010 00:07:49 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291847474 25899 80.91.229.12 (8 Dec 2010 22:31:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 22:31:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 23:31:10 2010 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.69) (envelope-from ) id 1PQSXV-0000zu-Fv for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 23:31:09 +0100 Original-Received: from localhost ([127.0.0.1]:37180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQSXU-0006ts-Pa for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 17:31:08 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!216.196.98.152.MISMATCH!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 18 Jul 2010 00:07:49 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Pan/0.133 (House of Butterflies) Original-Lines: 15 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-gZ74JiVrJPJz8LhUobUnb1/jeKgtjCFutXp8a879Hmz0WJyLGmsmwjzubaIfzQzLFVD5GXfpmVzbFiY!FHjenrYfPg5bbi2wmKL9LLJ99byLg7pjSfeyMl+Jr5WepYi2FvOAOvPysJdafCzaD/cf+acQtmCe Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: usenet.stanford.edu gnu.emacs.help:179822 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:76134 Archived-At: If I open a gnome-terminal and type the command 'emacs -nw' it opens without any complaint or problem, and the colours I see are those specified in the init file. However, if I instead start emacs using the command 'gnome-terminal -e "emacs -nw"' the colours are wrong. The mode- line colours are reversed, and everything else is just wrong in seemingly random ways. This also happens if emacs is started by any app started in the same way. For instance, if I start mutt using 'gnome-terminal -e mutt' the emacs session it in turn starts for composing or editing will have the wrong colours just as if emacs had been started that way. I have also found this same behaviour in xfce4-terminal and xterm. I am wondering if there is some obvious cause for this behaviour, and is there a way I can convince emacs to behave normally when started in ways other than a direct command typed in at the prompt of the terminal it is running in?