unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Michael Hoffman <b3i4old02@sneakemail.com>
Cc: 11785@debbugs.gnu.org
Subject: bug#11785: 24.1; term-mode doesn't respect first color change from a process
Date: Tue, 26 Jun 2012 16:28:46 -0400	[thread overview]
Message-ID: <5vd34lom0x.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <5fpq8mplv9.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 26 Jun 2012 03:34:34 -0400")


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"





  reply	other threads:[~2012-06-26 20:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-26  0:37 bug#11785: 24.1; term-mode doesn't respect first color change from a process Michael Hoffman
2012-06-26  7:34 ` Glenn Morris
2012-06-26 20:28   ` Glenn Morris [this message]
2012-07-06  2:07     ` Glenn Morris
2012-07-06 21:31       ` Stefan Monnier
2012-09-27  7:07         ` Glenn Morris

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=5vd34lom0x.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=11785@debbugs.gnu.org \
    --cc=b3i4old02@sneakemail.com \
    /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).