From: Gautier Ponsinet <gautier@gautierponsinet.xyz>
To: emacs-devel@gnu.org
Subject: Postfix input methods and read-char
Date: Tue, 07 Jan 2025 13:51:00 +0100 [thread overview]
Message-ID: <87r05elrd7.fsf@gautierponsinet.xyz> (raw)
Hello everyone,
The following question is motivated by the avy package
(https://github.com/abo-abo/avy) which relies on read-char. How to
select a character without accent via read-char with an active "postfix"
input method?
An example, in emacs -Q:
- C-u C-\ french-postfix <Enter>
- M-: (read-char "Prompt: " t) <Enter>
- a
Here, the minibuffer waits for a possible accent (^ or `). How can I
enter a simple "a" without accent?
All the best,
Gautier.
next reply other threads:[~2025-01-07 12:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-07 12:51 Gautier Ponsinet [this message]
2025-01-07 13:13 ` Postfix input methods and read-char tomas
2025-01-07 13:29 ` Gautier Ponsinet
2025-01-07 13:35 ` Eli Zaretskii
2025-01-07 14:02 ` Gautier Ponsinet
2025-01-07 14:21 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r05elrd7.fsf@gautierponsinet.xyz \
--to=gautier@gautierponsinet.xyz \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).