On Mon 02-Sep-2019 at 20:26:22 +02, John Kitchin <jkitc...@andrew.cmu.edu> wrote: > You can use cursor-sensor mode for this if you have emacs 26ish. The idea is > you set cursor-sensor functions on a region that do something depending on > whether you enter or leave the region. Below, I tie into > the org font lock mechanisms to add these properties so that when you enter, > typo mode gets turned off, and when you leave it gets turned back on. I use a > similar approach to put src-block specific key maps > on src blocks. There are two examples of functions that are "lightly tested". > I can see why you would want this disabled in src blocks, it never puts the > right quote in! >
[…] Hi, Thanks for this! I will have to spend some time before I understand everything, but this is of great help. --