ethan-wspace icon indicating copy to clipboard operation
ethan-wspace copied to clipboard

`ethan-wspace-appropriate-face` fails if `frameprop` evaluates to ansi color

Open xhalo32 opened this issue 4 years ago • 1 comments
trafficstars

In my case the variable bg in ethan-wspace-appropriate-face is set to "color-235" which gets mapped to nil by color-values. ethan-wspace-alpha-blend then fails with wrong-type-argument number-or-marker-p nil as nil is set as the rgb argument.

The code should handle ansi color strings in frames.

xhalo32 avatar Jul 15 '21 08:07 xhalo32

Hi! Sorry for the delayed response. Can you tell me more about your setup? Are you running emacs in a terminal or in a GUI? color-235 seems like a valid color when I run emacs -nw, and (color-values "color-235") produces (9766 9766 9766) there.

glasserc avatar Jun 16 '22 18:06 glasserc