unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Gautier Ponsinet <gautier@gautierponsinet.xyz>
Cc: emacs-devel@gnu.org
Subject: Re: Postfix input methods and read-char
Date: Tue, 07 Jan 2025 15:35:32 +0200	[thread overview]
Message-ID: <86ttaa4uhn.fsf@gnu.org> (raw)
In-Reply-To: <87r05elrd7.fsf@gautierponsinet.xyz> (message from Gautier Ponsinet on Tue, 07 Jan 2025 13:51:00 +0100)

> 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.



  parent reply	other threads:[~2025-01-07 13:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-07 12:51 Postfix input methods and read-char Gautier Ponsinet
2025-01-07 13:13 ` tomas
2025-01-07 13:29   ` Gautier Ponsinet
2025-01-07 13:35 ` Eli Zaretskii [this message]
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=86ttaa4uhn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=gautier@gautierponsinet.xyz \
    /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).