On Wed, Jul 10, 2019 at 11:41 AM Lars Ingebrigtsen wrote: > > Alan Mackenzie writes: > > > That's fine for users of electric-pair-mode, but that's a minority > > sport. Many, likely most, users don't use that mode. For that > > majority, CC Mode no longer fontifies arbitrarily large pieces of code > > as a string. > > That sounds like a good thing to me. I'd be mostly OK with the purely visual fontification change, but if there is an accompanying change in syntax it breaks some of the tools available to fix the situation, that is a bad thing. > It feels... unfriendly... when Emacs marks most of the buffer as > suddenly invalid when you're just trying to write a string. Sure, and in languages such as elisp or ruby, CC-mode's approach would be useless: you would still see the blinking. In languages such as python and js even more complex to implement (some strings can be multi-line and some not). I do understand the suffering of those that don't use e-p-m. It's one of the reasons that I started using it. But if you don't want to for any reason, I posted a patch to jit-lock.el in the split thread that should reduce if not eliminate the blinking you suffer. I invite you (or anyone) to try it and post feedback. It will work for any major mode, and won't introduce any breakage in the C-M-stuff. João