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.bugs Subject: bug#65816: 27.2, 28.2, 29.2; Quail-based Japanese conversion error Date: Fri, 08 Sep 2023 09:49:38 +0300 Message-ID: <83edj9xipp.fsf@gnu.org> References: Mime-Version: 1.0 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="35837"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65816@debbugs.gnu.org To: Hippo Man Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 08 08:50:26 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 1qeVJy-00098I-1Z for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Sep 2023 08:50:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeVJc-0005a3-UG; Fri, 08 Sep 2023 02:50: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 1qeVJY-0005Rr-7U for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 02:50: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 1qeVJX-0003qj-Tg for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 02:49:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeVJZ-0003Ur-VZ for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 02:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Sep 2023 06:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65816 X-GNU-PR-Package: emacs Original-Received: via spool by 65816-submit@debbugs.gnu.org id=B65816.169415579913423 (code B ref 65816); Fri, 08 Sep 2023 06:50:01 +0000 Original-Received: (at 65816) by debbugs.gnu.org; 8 Sep 2023 06:49:59 +0000 Original-Received: from localhost ([127.0.0.1]:42040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeVJX-0003UO-HA for submit@debbugs.gnu.org; Fri, 08 Sep 2023 02:49:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeVJV-0003U8-QN; Fri, 08 Sep 2023 02:49:58 -0400 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 1qeVJO-0003pq-B1; Fri, 08 Sep 2023 02:49:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=IYLDcZ+97ma3aCDG4qhGLzgUJ3u/utRb6WINHx1qsIA=; b=hPbxPAe+6fflTAlCfnAZ ZfaTZIjG7N+c6LLrMKj/mbrMKcHefAedhKis2RHhl2bWN6C7QXgLE3ABng7L/K4fG1rVUFhyislkR CffzdZHdExDGdN0vYrjA0VssGN62pYZGL/KLk4U1i2T5ypKkK+SLuyclYSYEuYfvAqSdzRmB7rwfh /gSHs73th/zTh95toYBSYSonWWA+CKBRTnM87D09RR1qHPkGxJwNSLyz7z9h5CR3y8iCSwSCmQnOP pSztCpJoU8O8+1FLCmL1dqXJrJKnwchYNzOsQ2MhHe1MaPWUe9JNNWViIJa6yNVvniGnC0XcEBsaC YQWgnCo65Kmyng==; In-Reply-To: (message from Hippo Man on Thu, 7 Sep 2023 23:58:33 -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:269729 Archived-At: merge 65816 65815 thanks > From: Hippo Man > Date: Thu, 7 Sep 2023 23:58:33 -0400 > > The following error that I am reporting appears in emacs-27.2, emacs-28.2, and emacs-29.2. > > This error report 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? You have reported 10 minutes ago an identical bug report with a different email address. I'm merging the two bugs.