Ypo, > Additional problem: I don't know how to recover keys 1, 2 and 3 to > their normal functioning, right now I can't type 1, 2 or 3 on my > Emacs. xD
you have, e.g., > (define-key global-map (kbd "1") #'posicion1) > (define-key global-map (kbd "2") #'posicion2) > (define-key global-map (kbd "3") #'posicion3) but, that is in the global map. for a given mode, i sometimes do something like that: > (add-hook 'mh-show-mode-hook #'(lambda () > (local-set-key "q" 'mh-show-execute-commands))) or, closer to what you have, sometimes like > (define-key mh-letter-mode-map > (kbd "C-c s") > 'ggm-mh-sentaddrs-completion) i am no elisp expert, and so those are just random things i've found that work. but, hopefully this may give you a hint of a direction to follow. cheers, Greg