lab-theme icon indicating copy to clipboard operation
lab-theme copied to clipboard

Unnecessary `:foreground` attribute for `cursor`

Open lovelymono opened this issue 2 years ago • 1 comments

I tried customizing cursor face to make it more readable, but couldn't figure out why the cursor foreground changes when selecting things. It turns out that Emacs doesn't support customizing it^1.

On graphical displays, the background color of this face is used to draw the text cursor. None of the other attributes of this face have any effect; the foreground color for text under the cursor is taken from the background color of the underlying text.

So, it's not really a bug or anything... just wanted to let you know that it's not really necessary to set it, since it gets ignored anyway.

lovelymono avatar May 22 '22 14:05 lovelymono

Huh... so that's why :-/ Thank you for letting me know!

MetroWind avatar May 23 '22 17:05 MetroWind