GNU bug report logs - #11785
24.1; term-mode doesn't respect first color change from a process

Previous Next

Package: emacs;

Reported by: Michael Hoffman <b3i4old02 <at> sneakemail.com>

Date: Tue, 26 Jun 2012 01:03:01 UTC

Severity: normal

Tags: patch

Merged with 5355

Found in versions 23.2, 23.3, 23.4, 24.1

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 11785 <at> debbugs.gnu.org, Michael Hoffman <b3i4old02 <at> sneakemail.com>
Subject: bug#11785: 24.1; term-mode doesn't respect first color change from a process
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?




This bug report was last modified 12 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.