With respect to this answer, is there any way to enable syntax highlighting for the text printed in echo area by blink-matching-open? I am asking for something similar to what Lua Block mode does.


For reference, this is the current behaviour:

enter image description here

  • The very last line of blink-matching-open calls substring-no-properties on the text that is being printed. If you remove the call to that function then it'll work as you wish – Jules Jan 26 '17 at 23:00
  • @Jules: Please consider posting that as an answer (maybe showing the code). – Drew Jan 27 '17 at 3:04
  • @Jules Is there a better way of doing this than copying the function definition of blink-matching-open over to my init.el and modify it to redefine it? Since then it would put the onus on me to check if the function ever gets updated upstream. – strNOcat Jan 27 '17 at 8:35
  • @NamanDixit: I don't see any other way to add this behavior. I don't think advices wouldn't work in this case. The only other idea that I have would be to add a defcustom to the emacs master branch to toggle the behavior that you want, which may be more work than you were hoping for. For what its worth it doesn't seem like this function has changed significantly in a while... – Jules Jan 27 '17 at 21:47
  • @Drew: I didn't feel like having my comment be an answer because I didn't feel like spending too much time writing it up and I didn't think that it really solved the problem cleanly – Jules Jan 27 '17 at 21:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.