Subject: Re: bug#11785: 24.1; term-mode doesn't respect first color change from a process

From: Glenn Morris <[email-masked]>
Date: Thu, 05 Jul 2012 22:07:45 -0400

Glenn Morris wrote:

> More specifically, this seems to fix your problem.
> I haven't checked yet if it has other consequences though:
>
> *** lisp/term.el	2012-06-20 16:21:57 +0000
> --- lisp/term.el	2012-06-26 20:26:20 +0000
> ***************
> *** 961,967 ****
>     (setq term-ansi-current-reverse nil)
>     (setq term-ansi-current-color 0)
>     (setq term-ansi-current-invisible nil)
> !   (setq term-ansi-face-already-done t)
>     (setq term-ansi-current-bg-color 0))
>   
>   (define-derived-mode term-mode fundamental-mode "Term"
> --- 961,967 ----
>     (setq term-ansi-current-reverse nil)
>     (setq term-ansi-current-color 0)
>     (setq term-ansi-current-invisible nil)
> !   (setq term-ansi-face-already-done nil)
>     (setq term-ansi-current-bg-color 0))
>   
>   (define-derived-mode term-mode fundamental-mode "Term"

Stefan, you have some comments in term.el saying that
term-ansi-face-already-done should perhaps be t in more places.
Maybe this example shows why it shouldn't be?