From: Glenn Morris <rgm@gnu.org>
To: "Øyvind Stegard" <oyvinst@ifi.uio.no>
Cc: 13337@debbugs.gnu.org
Subject: bug#13337: 24.3.50; Slow display in term mode (M-x term)
Date: Thu, 03 Jan 2013 01:39:12 -0500 [thread overview]
Message-ID: <cay5gazs6n.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87623fptfi.fsf.rednorrock@ifi.uio.no> ("Øyvind Stegard"'s message of "Wed, 02 Jan 2013 15:10:09 +0100")
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
next prev parent reply other threads:[~2013-01-03 6:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-02 14:10 bug#13337: 24.3.50; Slow display in term mode (M-x term) Øyvind Stegard
2013-01-03 6:39 ` Glenn Morris [this message]
2013-01-03 10:09 ` Øyvind Stegard
2013-01-03 18:32 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cay5gazs6n.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=13337@debbugs.gnu.org \
--cc=oyvinst@ifi.uio.no \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.