Create both loadkeys definitions and emacs parsing function