On Thu, 2 Sep 2021 08:43:22 -0400 "Perry E. Metzger" <perry@piermont.com> wrote:
Howdy! So I'm reasonably happy with the (kludgy) way I've handled my ad hoc
input method, but it doesn't work inside minibuffers because my magic keypress
is handed by a global keymap entry and that doesn't seem to cover the
minibuffer:
(define-key (current-global-map) (kbd "<f19>")
(lambda (n)
(interactive "p")
(setq unread-input-method-events
(append unread-input-method-events '(?¤)))))
Is there a keymap I can add this to which will also cover editing in
minibuffers, so I can use my weird input method in isearch and that sort of
thing as well?
I'm don't know about a keymap per se, but maybe this will do:
read-multilingual-string is a compiled Lisp function in
‘<emacs>/lisp/international/mule-cmds.el’.
(read-multilingual-string PROMPT &optional INITIAL-INPUT INPUT-METHOD)