emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making a key binding work in minibuffer editing.


From: Perry E. Metzger
Subject: Making a key binding work in minibuffer editing.
Date: Thu, 2 Sep 2021 08:43:22 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Thunderbird/92.0

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?


Perry




reply via email to

[Prev in Thread] Current Thread [Next in Thread]