From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#13337: 24.3.50; Slow display in term mode (M-x term) Date: Thu, 03 Jan 2013 01:39:12 -0500 Message-ID: References: <87623fptfi.fsf.rednorrock@ifi.uio.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1357195210 21484 80.91.229.3 (3 Jan 2013 06:40:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2013 06:40:10 +0000 (UTC) Cc: 13337@debbugs.gnu.org To: =?UTF-8?Q?=C3=98yvind?= Stegard Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 03 07:40:26 2013 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 1TqeTZ-0006mM-O7 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jan 2013 07:40:25 +0100 Original-Received: from localhost ([::1]:35257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqeTK-0003nO-N5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jan 2013 01:40:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqeTH-0003ko-3D for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 01:40:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqeTE-0002xp-Go for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 01:40:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqeTE-0002wC-ED for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 01:40:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TqeTC-000612-0C for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 01:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Jan 2013 06:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13337 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13337-submit@debbugs.gnu.org id=B13337.135719515923056 (code B ref 13337); Thu, 03 Jan 2013 06:40:01 +0000 Original-Received: (at 13337) by debbugs.gnu.org; 3 Jan 2013 06:39:19 +0000 Original-Received: from localhost ([127.0.0.1]:40918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TqeSU-0005zo-8N for submit@debbugs.gnu.org; Thu, 03 Jan 2013 01:39:18 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:40798) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TqeSQ-0005zd-Hi for 13337@debbugs.gnu.org; Thu, 03 Jan 2013 01:39:15 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TqeSO-00045v-Oi; Thu, 03 Jan 2013 01:39:12 -0500 X-Spook: Ansar al-Islam Echelon Capricorn Clinton NASA BATF X-Ran: +Uq=fj[v(`du$#Ot+C'BK{N{H(g6Rr[[3a_(23x6kN<@{p{>LI%8UuXoJx$VMWsXtLR/.X X-Hue: green X-Attribution: GM In-Reply-To: <87623fptfi.fsf.rednorrock@ifi.uio.no> ("=?UTF-8?Q?=C3=98yvind?= Stegard"'s message of "Wed, 02 Jan 2013 15:10:09 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:69322 Archived-At: Does this patch help with performance? It should at least make the "Invalid face attribute" messages go away. *** lisp/term.el 2013-01-03 06:33:25 +0000 --- lisp/term.el 2013-01-03 06:37:25 +0000 *************** *** 3216,3233 **** (let ((color (if term-ansi-current-reverse (face-foreground ! (elt ansi-term-color-vector term-ansi-current-color)) (face-background ! (elt ansi-term-color-vector term-ansi-current-bg-color))))) (setq term-current-face (list :background color :foreground color)) ) ;; No need to bother with anything else if it's invisible. (setq term-current-face (list :foreground ! (face-foreground (elt ansi-term-color-vector term-ansi-current-color)) :background ! (face-background (elt ansi-term-color-vector term-ansi-current-bg-color)) :inverse-video term-ansi-current-reverse)) (when term-ansi-current-bold --- 3216,3239 ---- (let ((color (if term-ansi-current-reverse (face-foreground ! (elt ansi-term-color-vector term-ansi-current-color) ! nil 'default) (face-background ! (elt ansi-term-color-vector term-ansi-current-bg-color) ! nil 'default)))) (setq term-current-face (list :background color :foreground color)) ) ;; No need to bother with anything else if it's invisible. (setq term-current-face (list :foreground ! (face-foreground ! (elt ansi-term-color-vector term-ansi-current-color) ! nil 'default) :background ! (face-background ! (elt ansi-term-color-vector term-ansi-current-bg-color) ! nil 'default) :inverse-video term-ansi-current-reverse)) (when term-ansi-current-bold