From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Postfix input methods and read-char Date: Tue, 07 Jan 2025 15:35:32 +0200 Message-ID: <86ttaa4uhn.fsf@gnu.org> References: <87r05elrd7.fsf@gautierponsinet.xyz> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30891"; 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:36:49 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 1tV9lJ-0007ro-2j for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Jan 2025 14:36:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tV9kc-0002S1-0z; Tue, 07 Jan 2025 08:36:06 -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 1tV9kY-0002Rf-DV for emacs-devel@gnu.org; Tue, 07 Jan 2025 08:36:03 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tV9kW-0003Nu-TK; Tue, 07 Jan 2025 08:36:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=w2AzBzUMslXYF6eU6Nk9t4fZuYVyiNYWkxFmeIKc48U=; b=dkUlReqKK3av sPDdI0v1k1LsIkjMjjlkm5eoIKshDEpNRxccL0NUOY0NCJCE7kpl3l/uQ/hpjGu6m+qe4fBw7GDWJ TrCApRruuo0kluL8uo2JCLWoTStKNxVCbUnJy1H1JTGDVoGEcoxjtRVe4T9McNfWHXX/DA4lkRwgM b0xw6OmVen+5tdDTU/veKewn155Zhc2hN6uXkBzq8Cnde6lnXG0cTjfcpHPUbqpWNugLpwwiMenjZ F8g8VTJDszrl30wMzKgKjoZA+gI4sNvG9wLCt5UEBZBmIANAT/JDxZUsvTRBRhrAmL9xE2XG5LNEw 3jg7qOiI8GfNTBm5DK23+Q==; In-Reply-To: <87r05elrd7.fsf@gautierponsinet.xyz> (message from Gautier Ponsinet on Tue, 07 Jan 2025 13:51:00 +0100) 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:327767 Archived-At: > From: Gautier Ponsinet > 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 > - M-: (read-char "Prompt: " t) > - 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.