From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Disable text conversion in map-ynp Date: Mon, 06 May 2024 20:46:16 +0800 Message-ID: <87pltz3y7b.fsf@yahoo.com> References: <86pltzb0v0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="971"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 06 14:48:53 2024 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 1s3xm1-000AZq-Ca for ged-emacs-devel@m.gmane-mx.org; Mon, 06 May 2024 14:48:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3xkP-00087X-Ai; Mon, 06 May 2024 08:47:13 -0400 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 1s3xk8-0007hi-Eb for emacs-devel@gnu.org; Mon, 06 May 2024 08:47:00 -0400 Original-Received: from sonic315-20.consmr.mail.ne1.yahoo.com ([66.163.190.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3xk3-0006np-IE for emacs-devel@gnu.org; Mon, 06 May 2024 08:46:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1714999609; bh=FV3mTf/m/W61xdcjzH+V9vWM0hqzqu/vsp4lwAQ+cm8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=ZagKE+i4D8g9G4++a1oOAWduRBdfivFlkB5qHkpV0OZbNUdaHgxv0Ku/7AfCpXRfRrW9SDljrgTLuPJnnNh7L95HAaTQQHeqvUpaHm6vXtudbMpBCvU1R+nkmxp8TSmSgReOo50FwX3rrPEITnIpLYN8shTMsuyncYqcwYlNPpH/C5rxQhVxhqgHwOEtLdqklUgubIzZUOzUaihrafo9c2iHXb6uGXqAjbhwDOnuMHPbpIy52QOJt3K7AnRWCSDaodX0eOCaMVjHJGc+x6vEL4l4SNY9V7KYUvI1jevd7FN7YFV3VvHqoDhCpNmDq2hHLqv8J6QUpul/FwBS7BtKBg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1714999609; bh=GLnl+rgY5j4u6qvO8wBYrXABKFVurwdh2yPJCpP0oFP=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=lhnwKwyDsirAqPgHaMuRxBY/BmdsxWa4uZQx8D6w4cpFTbH2I7Dia/skKBUqBzEPNA6t1kkVk48b7FfQ85dlkKnxapQzxa1jA/tvwaaDA9h4uk7dmJQH8dNJMhEWsT0riMzCUt35AZJfK3Y8Ro3K+nst7Mo5Bnkzqcz4kSzZmOPaUMHu5NcOKc9f4Yf6tToPWzq8qqDmtWVnJrU1JipC+d4FO0JvyXTtPq41wxsEkrPr4rNZR+pVVHECf9xiLFr5iwjRTt4w++LUTDX6TBun9ujc7jknOcg83GTwmmZJ8i/IJt6c4Y/LSL25KKx4llI90h6+AGCYKEHnLyCIxLknIQ== X-YMail-OSG: 6xUt_5sVM1m7hxvroApH5uxMl4XthBswlCBEPFe8H6pPqiyQtfuG2up_Xp.Cyd1 jDx61E30gGfRLZ._Dv.1T9ESUfT.698NdvZns09l5Je0WRQ14dv9SROHR7.o3pemIbKqve6g7gqj RAskP9TVl.PrxEK2iOuxPvsqtFvTVbwG2El7Sx_BlfyJ9Wq6tEcrcJTIu._Jq8rThIh9F6gJwEYh vQue_tn3VBaIm.I2vkrv0Ytyqk2ZitryXjAGm5s31Qpn8AplGiA1UPLV.aLmkMNW5TrPM7Ihhi_z gEhK8Z31zEdFqvzARgxSsnh.5nLNS6pu_EyZYFIOeULVtS94rDwjnvVDOzsyil0XeBVSOYWGAvIZ Zhm3SaX4t9.j7_zA3XGb141oMTA5z.UbXuYDvTHrS3yPWIUGzasEd2vHiLHoRVBJEy8meC0IHQdu ll2Op5xNF7ROW0CGSSK.3F3mQv2lWMrRipVQ3GVU8QVRjoYGno4HbtQIqfcsngL08oV5CWdNbzzn MJWky1H4HkbPA9O4jIwCnw5in.6AesnQwfDIs2x4SMXwaz1C6cF2KFOnXS._LVXDKPH5Gp3_Q7oA RcIy4ngKECLytNUT6_5UVEeE0Zc5sUaqh6BBqosMOynZ.AQhxVPn0vGON3dckx.4XS0Ug7hi5UWD BtJ_ude4t65U1Jm7IyW61T6M6K7BFeLACMb3Fjk4.sPE.gIO.i72QHNKdsrpDe5NqsHaxzHwcvXy DSKO0WD_Qtisx1SoTj6yI.DLsgiePwvMEqNv9tUfUOPbHbJ5.Pz9_6wtdGioyIPvQa46XS.pJ0GV qjrxNFA._S5DZW_T1mZvwTEU6V4klZCYDdfkkUkKU4 X-Sonic-MF: X-Sonic-ID: 7d84ad05-9034-4ed7-a5c7-3e5b7a8015c7 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Mon, 6 May 2024 12:46:49 +0000 Original-Received: by hermes--production-sg3-6f9f87bd85-kf2q6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a639551f9c78fb95b645d32eae33c450; Mon, 06 May 2024 12:46:42 +0000 (UTC) In-Reply-To: <86pltzb0v0.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 06 May 2024 15:06:59 +0300") X-Mailer: WebService/1.1.22256 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.146; envelope-from=luangruo@yahoo.com; helo=sonic315-20.consmr.mail.ne1.yahoo.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:318888 Archived-At: Eli Zaretskii writes: > I reverted the commit which replaced read-event with read-key in > map-y-or-n-p. Bitter experience has taught us that such replacements > cause trouble, so we should not make them without a thorough > discussion, including a good understanding of the issues and the > alternative solution. > > Feel free to continue this thread with an explanation of the problem, > and why using read-key instead of read-event solves it. read-event is supposed to signal to GUI input methods that they should not attempt to insert typed text directly into the current buffer, in the process called text conversion. Some user reported that map-ynp was not functional with read-key on Android and other systems where input methods are installed, and that substituting read-event sufficed, though read-key is meant to disable text conversion as well. (I had not the time to verify either theory for myself but I've also never had any occasion to doubt his feedback.)