tinted-theming / base16-emacs

Base16 themes for Emacs
MIT License
382 stars 77 forks source link

ansi-term-color-vector definitions in themes cause error in process filter: face-attribute: Invalid face: unspecified #4

Closed fgallina closed 2 years ago

fgallina commented 11 years ago

This is happens because in Emacs 24.3 ansi-term-color-vector changed to be a vector of font faces.

(defvar ansi-term-color-vector
  [term
   term-color-black
   term-color-red
   term-color-green
   term-color-yellow
   term-color-blue
   term-color-magenta
   term-color-cyan
   term-color-white])

I guess all themes can now redefine those faces and everything should be fine. Perhaps checking for (facep 'term) might help to detect between the new and old version of ansi-term-color-vector.

colonelpanic8 commented 9 years ago

This is still an issue for a bunch of themes.

chalk-dark is an example

mkaito commented 9 years ago

This issue needs to be fixed upstream. If I merge a fix here, it will just be overwritten next time I regenerate the templates.

bigos commented 4 years ago

I had this problem as well. To solve it I went to menu: Options/Customize Emacs/Top-level Customisation Group

In the Search fiels I typed: ansi-term-color-vector and pressed Enter.

I had a vector that started with unspecified and was followed by a series of symbols resembling HTML colors.

I have replaced it with: [term term-color-black term-color-red term-color-green term-color-yellow term-color-blue term-color-magenta term-color-cyan term-color-white] being inspired by post at the top.

The terminal seems to work now.

belak commented 2 years ago

I believe this is no longer an issue, but please feel free to comment if it is and I'll re-open this.