@register(u'emacs-editing-mode')
def emacs_editing_mode(event):
 event.cli.editing_mode = EditingMode.EMACS

@ register ( u'emacs-editing-mode' ) def emacs_editing_mode ( event ) : event . cli . editing_mode = EditingMode . EMACS
switch to emacs editing mode .