GNU bug report logs - #52264
28.0.90; M-x describe-input-method for chinese-cns-quick is missing K key

Previous Next

Package: emacs;

Reported by: Van Ly <van.ly <at> sdf.org>

Date: Fri, 3 Dec 2021 19:51:02 UTC

Severity: normal

Found in version 28.0.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52264 in the body.
You can then email your comments to 52264 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#52264; Package emacs. (Fri, 03 Dec 2021 19:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Van Ly <van.ly <at> sdf.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 03 Dec 2021 19:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Van Ly <van.ly <at> sdf.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.90; M-x describe-input-method for chinese-cns-quick is missing
 K key
Date: Fri, 3 Dec 2021 18:26:33 +0000 (UTC)
[Message part 1 (text/plain, inline)]
The input method description is missing the K key in following input 
methods.

  M-x set-input-method
* chinese-cns-quick
* chinese-cns-tsangchi
* chinese-b5-quick
* chinese-b5-tsangchi

The K key is expected in the key sequence H J K L for QWERTY keyboard 
as shown in the *Help* buffer after invoking

  M-x describe-input-method

This is what it looks like, the K key is missing:
    [A 日] [S 尸] [D 木] [F 火] [G 土] [H 竹] [J 十] [L 中]

This is what a K key looks like inserted in the above key row:
    [A 日] [S 尸] [D 木] [F 火] [G 土] [H 竹] [J 十] [K 大] [L 中]

-- 
vl

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52264; Package emacs. (Fri, 03 Dec 2021 20:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 52264 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Van Ly <van.ly <at> sdf.org>, Christian Wittern <wittern <at> iis.sinica.edu.tw>
Cc: 52264 <at> debbugs.gnu.org
Subject: Re: bug#52264: 28.0.90;
 M-x describe-input-method for chinese-cns-quick is missing K key
Date: Fri, 03 Dec 2021 22:16:28 +0200
> Date: Fri, 3 Dec 2021 18:26:33 +0000 (UTC)
> From: Van Ly <van.ly <at> sdf.org>
> 
> The input method description is missing the K key in following input 
> methods.
> 
>    M-x set-input-method
> * chinese-cns-quick
> * chinese-cns-tsangchi
> * chinese-b5-quick
> * chinese-b5-tsangchi

These input methods are auto-generated from files in MISC-DIC.  So I
wonder what should be added there, and why the K key is missing form
there?  maybe we should talk to the author, who seems to be Christian
Wittern <wittern <at> iis.sinica.edu.tw> (CC'ed)?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52264; Package emacs. (Fri, 03 Dec 2021 20:20:01 GMT) Full text and rfc822 format available.

Message #11 received at 52264 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Christian Wittern <cwittern <at> gmail.com>
Cc: 52264 <at> debbugs.gnu.org, van.ly <at> sdf.org, wittern <at> iis.sinica.edu.tw
Subject: Re: bug#52264: 28.0.90;
 M-x describe-input-method for chinese-cns-quick is missing K key
Date: Fri, 03 Dec 2021 22:19:43 +0200
> Date: Fri, 03 Dec 2021 22:16:28 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 52264 <at> debbugs.gnu.org
> 
> > Date: Fri, 3 Dec 2021 18:26:33 +0000 (UTC)
> > From: Van Ly <van.ly <at> sdf.org>
> > 
> > The input method description is missing the K key in following input 
> > methods.
> > 
> >    M-x set-input-method
> > * chinese-cns-quick
> > * chinese-cns-tsangchi
> > * chinese-b5-quick
> > * chinese-b5-tsangchi
> 
> These input methods are auto-generated from files in MISC-DIC.  So I
> wonder what should be added there, and why the K key is missing form
> there?  maybe we should talk to the author, who seems to be Christian
> Wittern <wittern <at> iis.sinica.edu.tw> (CC'ed)?

That address bounced; trying the latest one we have in Git.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52264; Package emacs. (Thu, 09 Dec 2021 08:31:01 GMT) Full text and rfc822 format available.

Message #14 received at 52264 <at> debbugs.gnu.org (full text, mbox):

From: Cameron Desautels <camdez <at> gmail.com>
To: 52264 <at> debbugs.gnu.org
Subject: [PATCH] M-x describe-input-method for chinese-cns-quick is missing K
 key
Date: Thu, 9 Dec 2021 00:29:55 -0800
[Message part 1 (text/plain, inline)]
I can confirm that what Van is saying is correct.

The input methods do /work/ correctly, so just the docs are wrong.  And
that particular chart is hardcoded (i.e. not generated).  I did a bit of
git spelunking and it seems to have been wrong from the start; probably
just an accidental omission.

Without diving into a full explanation of how these input methods work,
if you select any one of these input methods and type any of the QWERTY
keys in the chart (and press SPACE to finalize the selection), you'll
see the corresponding Chinese character appear in the buffer.  K does,
in fact, produce 大, as a person familiar with Cangjie would expect.
Wikipedia has a decent page[1] if you want to learn more.

I hope that's helpful.  Patch attached.

[1]: https://en.wikipedia.org/wiki/Cangjie_input_method

-- 
Cameron Desautels <camdez <at> gmail.com>
[0001-Add-missing-K-key-documentation-for-Cangjie-input-me.patch (application/octet-stream, attachment)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 09 Dec 2021 11:05:01 GMT) Full text and rfc822 format available.

Notification sent to Van Ly <van.ly <at> sdf.org>:
bug acknowledged by developer. (Thu, 09 Dec 2021 11:05:02 GMT) Full text and rfc822 format available.

Message #19 received at 52264-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Cameron Desautels <camdez <at> gmail.com>
Cc: 52264-done <at> debbugs.gnu.org
Subject: Re: bug#52264: [PATCH] M-x describe-input-method for
 chinese-cns-quick is missing K key
Date: Thu, 09 Dec 2021 13:04:16 +0200
> From: Cameron Desautels <camdez <at> gmail.com>
> Date: Thu, 9 Dec 2021 00:29:55 -0800
> 
> I can confirm that what Van is saying is correct.
> 
> The input methods do /work/ correctly, so just the docs are wrong.  And
> that particular chart is hardcoded (i.e. not generated).  I did a bit of
> git spelunking and it seems to have been wrong from the start; probably
> just an accidental omission.
> 
> Without diving into a full explanation of how these input methods work,
> if you select any one of these input methods and type any of the QWERTY
> keys in the chart (and press SPACE to finalize the selection), you'll
> see the corresponding Chinese character appear in the buffer.  K does,
> in fact, produce 大, as a person familiar with Cangjie would expect.
> Wikipedia has a decent page[1] if you want to learn more.
> 
> I hope that's helpful.  Patch attached.

Thanks, I installed this on the emacs-28 branch, and I'm closing the
bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 06 Jan 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 104 days ago.

Previous Next


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