emacs-devel
[Top][All Lists]
Advanced

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

Re: Postfix input methods and read-char


From: tomas
Subject: Re: Postfix input methods and read-char
Date: Tue, 7 Jan 2025 14:13:40 +0100

On Tue, Jan 07, 2025 at 01:51:00PM +0100, Gautier Ponsinet wrote:
> 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?

It seems that just entering the next character (whenever it isn't one
of the possible postfixes) does the trick (the echo area tells you which
postfix chars, if any, are possible).

Or perhaps I misunderstood your question?

Cheers
-- 
tomás

Attachment: signature.asc
Description: PGP signature


reply via email to

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