GNU bug report logs - #65815
27.2, 28.2, 29.2; Quail-based Japanese conversion error

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Lloyd Zusman <hippoman@HIDDEN>; merged with #65816; dated Fri, 8 Sep 2023 05:24:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 65815 65816. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Sep 2023 05:23:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 08 01:23:04 2023
Received: from localhost ([127.0.0.1]:41929 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qeTxM-00010o-Ub
	for submit <at> debbugs.gnu.org; Fri, 08 Sep 2023 01:23:04 -0400
Received: from lists.gnu.org ([2001:470:142::17]:43356)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hippoman@HIDDEN>) id 1qeSVs-0006tb-Hc
 for submit <at> debbugs.gnu.org; Thu, 07 Sep 2023 23:50:36 -0400
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 <hippoman@HIDDEN>)
 id 1qeSVk-0002hX-Q6
 for bug-gnu-emacs@HIDDEN; Thu, 07 Sep 2023 23:50:24 -0400
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 <hippoman@HIDDEN>)
 id 1qeSVY-0004sC-Fw
 for bug-gnu-emacs@HIDDEN; Thu, 07 Sep 2023 23:50:24 -0400
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 <bug-gnu-emacs@HIDDEN>; Thu,  7 Sep 2023 23:50:03 -0400 (EDT)
Date: Thu, 07 Sep 2023 23:49:57 -0400
Message-ID: <87y1hhiasa.wl-hippoman@HIDDEN>
From: Lloyd Zusman <hippoman@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.2, 28.2, 29.2; Quail-based Japanese conversion error
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0
 (HANACHIRUSATO)
Organization: FreeBSD/Linux Hippopotamus Preserve
X-Motto: Take a hippopotamus to lunch today.
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=45.33.97.91; envelope-from=hippoman@HIDDEN;
 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-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 08 Sep 2023 01:22:59 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


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@HIDDEN

    .---------, 0__0
   /           (  oo'---,
  /                    oo\
 ,\                      |
 | \                ,=__/
    \              /
    /  /------|  /|
    |__|-'    |__|'






Acknowledgement sent to Lloyd Zusman <hippoman@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#65815; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 8 Sep 2023 07:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.