I have defined some keymaps on org-mode src-blocks. If I click in the block with a mouse, I see the keymap is changed, e.g. the menu items change, and the new keybindings are active. However, if I use C-n or C-p to get into the block, the keymap is not changed. However, as soon as I edit the block, the keymap becomes active. The keymaps are added during font-lock via:
(add-text-properties
beg end `(local-map ,some-key-map))))
inside a function that is added to org-font-lock-hook.
Is there something different about mouse motion and cursor motion that would cause this difference?
org-src-fontify-natively
and/ororg-src-tab-acts-natively
set?