all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Perry E. Metzger" <perry@piermont.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Making a key binding work in minibuffer editing.
Date: Thu, 2 Sep 2021 08:43:22 -0400	[thread overview]
Message-ID: <69a4241f-05cc-45d1-ab65-42f443b397bd@piermont.com> (raw)

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	other threads:[~2021-09-02 12:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-02 12:43 Perry E. Metzger [this message]
2021-09-02 15:45 ` Making a key binding work in minibuffer editing Stephen Berman
2021-09-02 18:14   ` Perry E. Metzger
2021-09-02 15:48 ` [External] : " Drew Adams
2021-09-02 18:15   ` Perry E. Metzger
2021-09-02 19:05     ` Drew Adams
2021-09-02 19:28 ` Stefan Monnier
2021-09-02 20:25   ` [External] : " Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69a4241f-05cc-45d1-ab65-42f443b397bd@piermont.com \
    --to=perry@piermont.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.