From unknown Sat Jun 21 03:30:38 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#65816 <65816@debbugs.gnu.org> To: bug#65816 <65816@debbugs.gnu.org> Subject: Status: 27.2, 28.2, 29.2; Quail-based Japanese conversion error Reply-To: bug#65816 <65816@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:30:38 +0000 retitle 65816 27.2, 28.2, 29.2; Quail-based Japanese conversion error reassign 65816 emacs submitter 65816 Hippo Man severity 65816 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 08 01:23:05 2023 Received: (at submit) by debbugs.gnu.org; 8 Sep 2023 05:23:05 +0000 Received: from localhost ([127.0.0.1]:41935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeTxQ-00011c-Bf for submit@debbugs.gnu.org; Fri, 08 Sep 2023 01:23:05 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeSe0-00075H-Q1 for submit@debbugs.gnu.org; Thu, 07 Sep 2023 23:58:57 -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 ) id 1qeSdt-0003On-9W for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 23:58:49 -0400 Received: from mail-yw1-x1136.google.com ([2607:f8b0:4864:20::1136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeSdq-0006qj-Jg for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 23:58:48 -0400 Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-58dfe2d5b9aso22439667b3.1 for ; Thu, 07 Sep 2023 20:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694145525; x=1694750325; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=BM1Qmq4NjvaaPDNPF/s8fzW00o8bWGDOFrWKxEg/YcM=; b=J2sii0fwumYJaRtihYaMILkY+n2GEfk+k9SGjm9RVPyF8CKdwKOp0l2ID4ISlag4wl 8eHmGIK42QyfaaUsgF36i4tPskBiV4yU+Qc8YXJDgwrjBzUsswjpELdTKjqEsgfVkUXy pHElvwKRzU7JLSx8tFKtuO8OVQ2F+uTamnh4oMK/PyCgtysbXIHigUIs4xMJus9sXh/q GOqtwbjlNDxR/s8MnCQvOLGCItodHVKFQwnnIrVNmc42BmbWDYsbiZzCgRT1nycUxFMq aATnT3/Ax6fkg/V788m2VS0QHf6ZJSHg94mIaDVxVpvdWv8DcrdvN1s18/1OKg8A3khw wlYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694145525; x=1694750325; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BM1Qmq4NjvaaPDNPF/s8fzW00o8bWGDOFrWKxEg/YcM=; b=ZOwAqDPmCj8dEg7x7HpPuRuwCtbNMlI/CW4joHFp8nLBLgWR+yO/lSK3sIqCcCGNIs Sk34Yiy2QfWdZH1HERK+wbjCcPYcGcDZQ0dXRi8FxOtCthgC5Zj84O2hMfg35VfwfLWP G9ea3Na2Ms7BMU6WJC0VrQVpqzxYEBMqyRrYNyPIk1HA717T76HwOX+r+Q2Ci2oE3H0u n9rbeoqIW7xJzUeghDLe3UEUXDGSeuK2U+rozNyOt1m65bN+inolLus5kr0vSCyOats0 C/otuJz1hsiJ+X5+tL62kE92AUaBvvVpavMNijqIO/iE2ZtJTdJTqeiaRK6lGbDVsWm0 5/EQ== X-Gm-Message-State: AOJu0YywhtArnnke0bs0dtOlEFHYAgMD3awM6qy4qaFNUBrEJoTOqWRZ eECHBgRQSTlT1Nkv/jo8j6VpciSpeLx4ikK+3HmND4p6g2M= X-Google-Smtp-Source: AGHT+IHCS+XeZXlchBkgOAWkUcT7R6SRjABjV/8J0DhCurc/tjpjeeK8RKHRu1nHPWFlSHrRvXTAv0Rm/KSid4QaN/Q= X-Received: by 2002:a0d:d5c4:0:b0:583:9db5:7e89 with SMTP id x187-20020a0dd5c4000000b005839db57e89mr1753686ywd.24.1694145524725; Thu, 07 Sep 2023 20:58:44 -0700 (PDT) MIME-Version: 1.0 From: Hippo Man Date: Thu, 7 Sep 2023 23:58:33 -0400 Message-ID: Subject: 27.2, 28.2, 29.2; Quail-based Japanese conversion error To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000032fcca0604d0fe33" Received-SPF: pass client-ip=2607:f8b0:4864:20::1136; envelope-from=hippoman@gmail.com; helo=mail-yw1-x1136.google.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --00000000000032fcca0604d0fe33 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 "=E3=81=BB=E3=81=A6=E3=82=8B", and then following that with "K= " switches it correctly to the katakana "=E3=83=9B=E3=83=86=E3=83=AB". And then following that again with "K" corre= ctly toggles it back to "=E3=81=BB=E3=81=A6=E3=82=8B". However, when the word contains an embedded hyphen, the "K" toggling does not work properly. For example, typing "ko-to" correctly yields the hiragana "=E3=81=93=E3=83= =BC=E3=81=A8", and then typing "K" correctly converts it to the katakana "=E3=82=B3=E3=83=BC=E3=83=88". But th= en, 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. --=20 hippoman@gmail.com Take a hippopotamus to lunch today. .---------, 0__0 / ( oo'---, / oo\ ,\ | | \ ,=3D__/ \ / / /------| /| |__|-' |__|' --00000000000032fcca0604d0fe33 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

The following error that I am reporting appears in emacs-27.2, =
emacs-28.2, and emacs-29.2.

This error re=
port is written under the assumption that the reader is familiar wit=
h Quail
and with Japanese syllabary. When using (set-language-environment "Japanese") and (set-input-method = "japanese") with Quail,
when we type romaji, the displayed tex= t 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 wil= l correctly toggle back to hiragana. In most cases, this indeed works correctly. For example, typing "hoter= u" correctly yields
the hiragana "=E3=81=BB=E3=81=A6=E3=82=8B&= quot;, and then following that with "K" switches it correctly to = the katakana
"=E3=83=9B=E3=83=86=E3=83=AB". And then following= that again with "K" correctly toggles it back to "=E3=81=BB= =E3=81=A6=E3=82=8B". However, when the word contains an embedded hyphen, the "K" toggl= ing does not work properly. For example, typing "ko-to" correctly yields the hiragana "= =E3=81=93=E3=83=BC=E3=81=A8", and then typing "K"
correct= ly converts it to the katakana "=E3=82=B3=E3=83=BC=E3=83=88"
. 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 p= revents that text from being
toggled from katakana to hiragana when &quo= t;K" is typed. Can anyone suggest a way that this incorrect behavior can be fixed? Thank you in advance.
--
=C2=A0hippoman@gmail.com
=C2=A0= Take a hippopotamus to lunch today.

=C2=A0=C2=A0=C2=A0 .---------, 0__0
=C2=A0=C2=A0 /= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (=C2=A0 oo'= ;---,
=C2=A0 /=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 oo\
=C2=A0,\= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |
=C2=A0| \=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 ,=3D__/
=C2=A0=C2=A0=C2=A0 \=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /
=C2=A0=C2=A0=C2=A0 /=C2=A0 = /------|=C2=A0 /|
=C2=A0=C2=A0=C2=A0 |__|-'=C2=A0=C2=A0=C2=A0 |__|&#= 39;

--00000000000032fcca0604d0fe33-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 08 02:49:59 2023 Received: (at 65816) by debbugs.gnu.org; 8 Sep 2023 06:49:59 +0000 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 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 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==; Date: Fri, 08 Sep 2023 09:49:38 +0300 Message-Id: <83edj9xipp.fsf@gnu.org> From: Eli Zaretskii To: Hippo Man In-Reply-To: (message from Hippo Man on Thu, 7 Sep 2023 23:58:33 -0400) Subject: Re: bug#65816: 27.2, 28.2, 29.2; Quail-based Japanese conversion error References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65816 Cc: 65816@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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.