Use the Mode Lock (= Scroll Lock) key to enable Emacs mode. But allow that to be switched off in local.mk.
Indicate that mode with second LED, if there is one. Similarly allow choosing LEDs in local.mk.
Add updated version of [X]Emacs macros.