Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary :foreground attribute for cursor #3

Open
lovelymono opened this issue May 22, 2022 · 1 comment
Open

Unnecessary :foreground attribute for cursor #3

lovelymono opened this issue May 22, 2022 · 1 comment

Comments

@lovelymono
Copy link

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 it1.

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.

Footnotes

  1. https://www.gnu.org/software/emacs/manual/html_node/emacs/Faces.html

@MetroWind
Copy link
Owner

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

@MetroWind MetroWind reopened this May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants