From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.bugs Subject: bug#65815: 27.2, 28.2, 29.2; Quail-based Japanese conversion error Date: Thu, 07 Sep 2023 23:49:57 -0400 Organization: FreeBSD/Linux Hippopotamus Preserve Message-ID: <87y1hhiasa.wl-hippoman@potamus.net> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13227"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 (HANACHIRUSATO) To: 65815@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 08 07:24:24 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qeTyh-0003DD-Tf for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Sep 2023 07:24:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeTyP-0004hM-ET; Fri, 08 Sep 2023 01:24:05 -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 1qeTyK-0004h8-Gm for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 01:24:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeTyK-0008Qe-88 for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 01:24:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeTyM-00013U-1n for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 01:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lloyd Zusman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Sep 2023 05:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65815 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16941505843947 (code B ref -1); Fri, 08 Sep 2023 05:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Sep 2023 05:23:04 +0000 Original-Received: from localhost ([127.0.0.1]:41929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeTxM-00010o-Ub for submit@debbugs.gnu.org; Fri, 08 Sep 2023 01:23:04 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:43356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeSVs-0006tb-Hc for submit@debbugs.gnu.org; Thu, 07 Sep 2023 23:50:36 -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 1qeSVk-0002hX-Q6 for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 23:50:24 -0400 Original-Received: from kaba-otoko.co ([45.33.97.91]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeSVY-0004sC-Fw for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 23:50:24 -0400 Original-Received: from potamus.net (static-173-56-31-34.nycmny.fios.verizon.net [173.56.31.34]) by kaba-otoko.co (Postfix) with ESMTPSA id E9F2512C29B for ; Thu, 7 Sep 2023 23:50:03 -0400 (EDT) X-Motto: Take a hippopotamus to lunch today. Received-SPF: pass client-ip=45.33.97.91; envelope-from=hippoman@potamus.net; helo=kaba-otoko.co X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 08 Sep 2023 01:22:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269720 Archived-At: The following error that I am reporting appears in emacs-27.2, emacs-28.2, and emacs-29.2. This question is written under the assumption that the reader is familiar with Quail and with Japanese syllabary. When using (set-language-environment "Japanese") and (set-input-method "japanese") with Quail, when we type romaji, the displayed text is correctly converted to hiragana. If we want to convert the hiragana to katakana, we just follow the hiragana with "K", and the text display is correctly toggled to katakana. Typing "K" again will correctly toggle back to hiragana. In most cases, this indeed works correctly. For example, typing "hoteru" correctly yields the hiragana "ほてる", and then following that with "K" switches it correctly to the katakana "ホテル". And then following that again with "K" correctly toggles it back to "ほてる". However, when the word contains an embedded hyphen, the "K" toggling does not work properly. For example, typing "ko-to" correctly yields the hiragana "こーと", and then typing "K" correctly converts it to the katakana "コート". But then, if I type "K" again, the word does not get converted back to hiragana, and the katakana form remains. This erroneous behavior occurs with all katakana text which contains one or more embedded hyphens. The existence of a hyphen anywhere in the text prevents that text from being toggled from katakana to hiragana when "K" is typed. Can anyone suggest a way that this incorrect behavior can be fixed? Thank you in advance. -- Lloyd Zusman hippoman@potamus.net .---------, 0__0 / ( oo'---, / oo\ ,\ | | \ ,=__/ \ / / /------| /| |__|-' |__|'