I think Eric is correct. There is also another reason. If you edit the source blocks with C-', then any escaping needed (such as putting a ',' before '*') will also be automatically handled, plus of course you get all the programing mode goodness.
Fraga, Eric <e.fr...@ucl.ac.uk> writes: > On Monday, 2 Sep 2019 at 09:01, garj...@garjola.net wrote: >> I am using typo-mode (https://github.com/jorgenschaefer/typoel) in my >> org buffers (actually with a hook for text-mode), but I would like to >> disable it in source code blocks. >> >> I have been unable to find a hook to do so (I understand that >> org-src-mode-hook is used when editing with ‘C-c '’ but not in the org >> buffer). > > I am not entirely sure what you want here. If it is that you want to > turn off typo-mode when point moves into a src block but while still in > the whole org buffer, then you cannot do this AFAIK. The best approach > is to always edit src blocks using C-c ' (org-edit-special) and then you > can use org-src-mode-hook to do what you want. -- Tim Cross