From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Perry E. Metzger" <perry@piermont.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Making a key binding work in minibuffer editing.
Date: Thu, 02 Sep 2021 15:28:02 -0400 [thread overview]
Message-ID: <jwveea6g4np.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <69a4241f-05cc-45d1-ab65-42f443b397bd@piermont.com> (Perry E. Metzger's message of "Thu, 2 Sep 2021 08:43:22 -0400")
> 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 '(?¤)))))
I'm not familiar with `unread-input-method-events`, but the `global-map`
is also used in the minibuffer, so I think you should first investigate
what makes you think your code "doesn't seem to cover the minibuffer".
Stefan
next prev parent reply other threads:[~2021-09-02 19:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-02 12:43 Making a key binding work in minibuffer editing Perry E. Metzger
2021-09-02 15:45 ` 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 [this message]
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=jwveea6g4np.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=perry@piermont.com \
/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.