emacs: fix kbd-layout + emacs23 compatibility
emacs: fixes