[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Postfix input methods and read-char
From: |
Eli Zaretskii |
Subject: |
Re: Postfix input methods and read-char |
Date: |
Tue, 07 Jan 2025 15:35:32 +0200 |
> From: Gautier Ponsinet <gautier@gautierponsinet.xyz>
> Date: Tue, 07 Jan 2025 13:51:00 +0100
>
> 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?
You need to type something after it. For example, SPC.
Another method is to type "a C-\ C-\", i.e. type C-\ twice after
typing your ASCII character.