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

User input not always black #18

Open
JeffreyBenjaminBrown opened this issue Mar 21, 2017 · 6 comments
Open

User input not always black #18

JeffreyBenjaminBrown opened this issue Mar 21, 2017 · 6 comments

Comments

@JeffreyBenjaminBrown
Copy link
Member

If unpushed text was always black, it would be visibly apparent whether a buffer has unpushed changes.

@joshsh
Copy link
Member

joshsh commented Mar 21, 2017

Emacs likes to extend the properties at point to new text typed after point. If we can disable this feature, it would indeed make changes more apparent.

@JeffreyBenjaminBrown
Copy link
Member Author

I googled for a while, found nothing, posted to stackoverflow.

@joshsh
Copy link
Member

joshsh commented Mar 21, 2017

Well, I have determined that the following does not help:

(setq text-property-default-nonsticky '((foreground . t)))

@JeffreyBenjaminBrown
Copy link
Member Author

lol

@JeffreyBenjaminBrown
Copy link
Member Author

JeffreyBenjaminBrown commented Mar 22, 2017

It's doable! Someone on Stackoverflow pointed to this. Each property's front- and rear-stickiness can be set. The easiest solution seems to be to make them all not sticky.

@joshsh
Copy link
Member

joshsh commented Mar 22, 2017

Yep. I saw that and tried what I mentioned. It didn't "stick". Possibly something to do with the scope of the variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants