From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#12792: 24.2.50; shell-mode renders all its output in a yellow face Date: Sat, 3 Nov 2012 11:08:28 -0700 Message-ID: <20121103110828.6ace2ff8@shorty.local> References: <871ugbxdyr.fsf@secretsauce.net> <87zk2z6in9.fsf@gnu.org> 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 1351966156 20611 80.91.229.3 (3 Nov 2012 18:09:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Nov 2012 18:09:16 +0000 (UTC) Cc: 12792@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 03 19:09:22 2012 Return-path: Envelope-to: geb-bug-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 1TUi9o-00008G-5I for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Nov 2012 19:09:20 +0100 Original-Received: from localhost ([::1]:48040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUi9f-0008Gx-Ec for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Nov 2012 14:09:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUi9c-0008Gh-SU for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 14:09:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TUi9b-0002on-Pd for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 14:09:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUi9b-0002oj-M4 for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 14:09:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TUiCQ-0006JI-Dx for bug-gnu-emacs@gnu.org; Sat, 03 Nov 2012 14:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dima Kogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Nov 2012 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12792-submit@debbugs.gnu.org id=B12792.135196629024214 (code B ref 12792); Sat, 03 Nov 2012 18:12:02 +0000 Original-Received: (at 12792) by debbugs.gnu.org; 3 Nov 2012 18:11:30 +0000 Original-Received: from localhost ([127.0.0.1]:47460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUiBt-0006IV-TO for submit@debbugs.gnu.org; Sat, 03 Nov 2012 14:11:30 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40698) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUiBr-0006IO-Tx for 12792@debbugs.gnu.org; Sat, 03 Nov 2012 14:11:28 -0400 Original-Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 9596920F3F; Sat, 3 Nov 2012 14:08:32 -0400 (EDT) Original-Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 03 Nov 2012 14:08:32 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=/KnI7r1YTR1/f1e+hC7i/7fdUaI=; b=EwQGPHBQUP+a1L+9VR98iIvCbqB7 2DnY10FZKMann2Dgn/RkcB18txltKvmfb8hGtcMvb2KQ9AyQKQaIXRV/+Z2Fx4eY Mw5hjl8ndCwsTjKW0T+2YeXXyqw7N7WX8+PKPgzOMy79/5tU7iNl7dkVO/WRQefe L+hV20fgiYQy41U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=/KnI7r1YTR1/f1e+hC7i/7 fdUaI=; b=BsBZxwdL454GY9X5ZTAcTq3/I6XhORJ673s6dCpH3aVe2KLvyhewuP WtpfUaP0kMYzsXmxcIIEuRk+yGBRZOQRP/u1mdeJwUDjUk97AirT3gLMLRXmL2GL lKvcgNZ5T2DzHzImvU3kJxklUz2YmhCfHDmTHolGBG4FIOIzHj5GE= X-Sasl-enc: h7YidyuY+Noh4At0rNxx5HRXgLcKqawRyegdIuGzjUNy 1351966112 Original-Received: from shorty.local (unknown [76.169.242.46]) by mail.messagingengine.com (Postfix) with ESMTPA id 151F94825E4; Sat, 3 Nov 2012 14:08:31 -0400 (EDT) In-Reply-To: <87zk2z6in9.fsf@gnu.org> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66401 Archived-At: > On Sat, 03 Nov 2012 19:16:42 +0800 > Chong Yidong wrote: > > Dima Kogan writes: > > > I'm using a very recent emacs snapshot. shell-mode no longer renders the > > ANSI-code colors correctly. Even with a relatively stock bash, All > > output is rendered in yellow except for the prompt line. The prompt > > isn't yellow, but it's wrong also > > I can't reproduce it with > > emacs -Q > M-x shell RET > ls --color RET > > The output of ls is colorized correctly. (Latest emacs-24 brach, > x86_64-unknown-linux-gnu, GTK+ Version 3.4.2.) Looking at it a bit more, what seems to be happening is that console output that has coloring (like ls --color) is colored correctly, while anything that is plain text is yellow. So if I do ls --color, the first few files don't have any particular colors applied to them, and thus appear yellow. The first directory is blue, as it should be, and the rest of the ls --color output is ok after that point. I.e. even the "normal" text appears black instead of yellow. When the ls is done and I get back to the prompt, things get yellow again. (describe-face) says that the yellow bits have a nil face. This sounds like the problem. Apparently I also see lots of "Invalid face reference: nil" complaints in the *Messages* buffer. The original bug report had a description of my emacs. It's a very recent build, and I do see the issue with emacs -Q.