synchrony / smsn-mode

Emacs client for Semantic Synchrony knowledge graphs
GNU General Public License v3.0
11 stars 6 forks source link

User input not always black #18

Open JeffreyBenjaminBrown opened 7 years ago

JeffreyBenjaminBrown commented 7 years ago

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

joshsh commented 7 years ago

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 commented 7 years ago

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

joshsh commented 7 years ago

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

(setq text-property-default-nonsticky '((foreground . t)))
JeffreyBenjaminBrown commented 7 years ago

lol

JeffreyBenjaminBrown commented 7 years ago

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 commented 7 years ago

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