From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: Postfix input methods and read-char Date: Tue, 7 Jan 2025 14:13:40 +0100 Message-ID: References: <87r05elrd7.fsf@gautierponsinet.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kFkuJxxr+pcl3vSi" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20330"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Gautier Ponsinet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 07 14:14:41 2025 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tV9Pr-00059V-Po for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Jan 2025 14:14:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tV9P4-0005Yw-09; Tue, 07 Jan 2025 08:13:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tV9P1-0005Yb-0a for emacs-devel@gnu.org; Tue, 07 Jan 2025 08:13:48 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tV9Oy-0008VD-Ih for emacs-devel@gnu.org; Tue, 07 Jan 2025 08:13:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=yjRrDRjl3BTKLUsyxHjEAcpgcrljzqbhHWhWzfjUv64=; b=t70QXBtnt1cM+64k145NOMQvOa ftLDDDHC+UCT4COOi86C1morhF6gPbzpNvG0oKK09e/3lfuvTBUzAm3lVHLWuCvBl/uE+HP/tHKe1 ium09kcHrUUHBE4rUt+DTDvHok0MpHSRHFo/+CescsEgY9JsRdlU83hq2uTnVzsru/9mTRcQD5XFX 5JKnFp2YrnBJxzx9T8yk6GPezWuKNVMDbhc8/27E+ub+t+8O529AIAPcOit9sgh+K+awiuj6c4ruz bW+TvZk5sV4ynXp3Krby0N7Knb5XHeaDuk61gtT0C5x7ZQWW8gLyz8uJySv4k7TdG6W3WvZjoIecg T+beGHTw==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1tV9Ov-0000dA-05; Tue, 07 Jan 2025 14:13:41 +0100 Content-Disposition: inline In-Reply-To: <87r05elrd7.fsf@gautierponsinet.xyz> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327764 Archived-At: --kFkuJxxr+pcl3vSi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 07, 2025 at 01:51:00PM +0100, Gautier Ponsinet wrote: > Hello everyone, >=20 > 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? >=20 > An example, in emacs -Q: > - C-u C-\ french-postfix > - M-: (read-char "Prompt: " t) > - a >=20 > 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 --=20 tom=C3=A1s --kFkuJxxr+pcl3vSi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ30ofQAKCRAFyCz1etHa RgZJAJ4114lbVJhPpvToAzTJUAwjeQbivACfZyAWrYaoWqX4cLcisnKn7zzS+AU= =AeG8 -----END PGP SIGNATURE----- --kFkuJxxr+pcl3vSi--