[Top][All Lists]

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

Re: Making a key binding work in minibuffer editing.

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

On 9/2/21 11:45, Stephen Berman wrote:
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

(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
(read-multilingual-string PROMPT &optional INITIAL-INPUT INPUT-METHOD)

That doesn't help me unfortunately. It's there to read a string from lisp code. It doesn't change the key maps that are active when I hit C-s or what have you.


reply via email to

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