GNU bug report logs -
#29831
25.2; ansi-term - more graceful error handling?
Previous Next
Reported by: Live System User <nyc4bos <at> aol.com>
Date: Sun, 24 Dec 2017 06:28:01 UTC
Severity: wishlist
Tags: moreinfo, wontfix
Found in version 25.2
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: Live System User <nyc4bos <at> aol.com>
> Date: Sun, 24 Dec 2017 01:26:50 -0500
>
> I'm wondering if ansi-term could handle the following
> error more gracefully:
>
> Debugger entered--Lisp error: (error "Invalid face" unspecified)
> internal-get-lisp-face-attribute(unspecified :foreground nil)
> face-attribute(unspecified :foreground nil default)
> face-foreground(unspecified nil default)
> term-handle-colors-array(1)
> term-handle-ansi-escape(#<process *ansi-term*> 109)
> term-emulate-terminal(#<process *ansi-term*>
> "[1;33mliveuser <at> localhost[0m:[1;32m~ [0m$ ")
This sounds like a bug, but can you help me understand how did that
'unspecified' come into existence? It looks like it comes from this
code:
(face-foreground
(elt ansi-term-color-vector term-ansi-current-color)
nil 'default)
but ansi-term-color-vector doesn't include any 'unspecified', and in
fact there's no "unspecified" anywhere in term.el. What am I missing?
Does it help to customize term-default-fg-color to some non-nil value?
This bug report was last modified 6 years and 134 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.