unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dima Kogan <dima@secretsauce.net>
To: Chong Yidong <cyd@gnu.org>
Cc: 12792@debbugs.gnu.org
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	[thread overview]
Message-ID: <20121103110828.6ace2ff8@shorty.local> (raw)
In-Reply-To: <87zk2z6in9.fsf@gnu.org>

> On Sat, 03 Nov 2012 19:16:42 +0800
> Chong Yidong <cyd@gnu.org> wrote:
>
> Dima Kogan <dima@secretsauce.net> 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.





  reply	other threads:[~2012-11-03 18:08 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-03  8:55 bug#12792: 24.2.50; shell-mode renders all its output in a yellow face Dima Kogan
2012-11-03 11:16 ` Chong Yidong
2012-11-03 18:08   ` Dima Kogan [this message]
2012-11-03 15:37 ` Wolfgang Jenkner
2012-11-03 16:32   ` Eli Zaretskii
2012-11-03 17:59     ` Wolfgang Jenkner
2012-11-04  3:27       ` Wolfgang Jenkner
2012-11-04  7:45         ` Dima Kogan
2012-11-04 13:49           ` Wolfgang Jenkner
2012-11-04 20:24             ` Dima Kogan
2012-11-04 23:39               ` Wolfgang Jenkner
2012-11-05  3:23                 ` Dima Kogan
2012-11-05 15:00                   ` Wolfgang Jenkner
2012-11-05 15:25                     ` Wolfgang Jenkner
2012-11-05 23:57                     ` Dima Kogan
2012-11-06  1:24                       ` Wolfgang Jenkner
2012-11-06  1:31                         ` Dima Kogan
2012-11-09  1:50                           ` Wolfgang Jenkner
2012-11-09 17:30                             ` Stefan Monnier
2012-11-09 18:20                               ` Wolfgang Jenkner
2012-11-09 20:37                                 ` Stefan Monnier
2012-11-17 15:21 ` Paul Eggert

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20121103110828.6ace2ff8@shorty.local \
    --to=dima@secretsauce.net \
    --cc=12792@debbugs.gnu.org \
    --cc=cyd@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).