GNU bug report logs - #37051
26.2.90; feature request: C-x 8 <SYMBOL> Prefix Command for letter with macron

Previous Next

Package: emacs;

Reported by: VanL <van <at> scratch.space>

Date: Fri, 16 Aug 2019 14:15:01 UTC

Severity: wishlist

Tags: fixed

Found in version 26.2.90

Fixed in version 26.3

Done: Robert Pluim <rpluim <at> gmail.com>

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 37051 in the body.
You can then email your comments to 37051 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#37051; Package emacs. (Fri, 16 Aug 2019 14:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to VanL <van <at> scratch.space>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 16 Aug 2019 14:15:02 GMT) Full text and rfc822 format available.

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

From: VanL <van <at> scratch.space>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.2.90;
 feature request: C-x 8 <SYMBOL> Prefix Command for letter with macron
Date: Sat, 17 Aug 2019 00:13:58 +1000
Hello,

There doesn't seem to be a Prefix Command for placing a macron over a small letter 'a'. [1]

Like typing `C-x 8 ^ a	â' to place a circumflex over a small letter a, I'd like to be able to type the 'a' and 'i' with macron in 'Cháng Xiāng Sī (Everlasting Longing) by Bai Juyi'.

--
[1] output from C-x 8 C-h follows

Key translations Starting With C-x 8:
key             binding
---             -------

C-x 8 SPC	 
C-x 8 !		¡
C-x 8 "		Prefix Command
C-x 8 $		¤
C-x 8 '		Prefix Command
C-x 8 *		Prefix Command
C-x 8 +		±
C-x 8 ,		Prefix Command
C-x 8 -		­
C-x 8 .		·
C-x 8 /		Prefix Command
C-x 8 1		Prefix Command
C-x 8 2		Prefix Command
C-x 8 3		Prefix Command
C-x 8 <		«
C-x 8 =		¯
C-x 8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x 8 1 +	†
C-x 8 1 /	Prefix Command

C-x 8 / /	÷
C-x 8 / =	≠
C-x 8 / A	Å
C-x 8 / E	Æ
C-x 8 / O	Ø
C-x 8 / a	å
C-x 8 / e	æ
C-x 8 / o	ø

C-x 8 , ,	¸
C-x 8 , C	Ç
C-x 8 , c	ç

C-x 8 ' SPC	'
C-x 8 ' '	´
C-x 8 ' A	Á
C-x 8 ' E	É
C-x 8 ' I	Í
C-x 8 ' O	Ó
C-x 8 ' U	Ú
C-x 8 ' Y	Ý
C-x 8 ' a	á
C-x 8 ' e	é
C-x 8 ' i	í
C-x 8 ' o	ó
C-x 8 ' u	ú
C-x 8 ' y	ý

C-x 8 " SPC	"
C-x 8 " "	¨
C-x 8 " A	Ä
C-x 8 " E	Ë
C-x 8 " I	Ï
C-x 8 " O	Ö
C-x 8 " U	Ü
C-x 8 " a	ä
C-x 8 " e	ë
C-x 8 " i	ï
C-x 8 " o	ö
C-x 8 " s	ß
C-x 8 " u	ü
C-x 8 " y	ÿ

C-x 8 * SPC	 
C-x 8 * !	¡
C-x 8 * "	″
C-x 8 * $	¤
C-x 8 * '	′
C-x 8 * *	•
C-x 8 * +	±
C-x 8 * -	­
C-x 8 * .	·
C-x 8 * <	«
C-x 8 * =	¯
C-x 8 * >	»
C-x 8 * ?	¿
C-x 8 * C	©
C-x 8 * E	€
C-x 8 * L	£
C-x 8 * P	¶
C-x 8 * R	®
C-x 8 * S	§
C-x 8 * Y	¥
C-x 8 * c	¢
C-x 8 * m	µ
C-x 8 * o	°
C-x 8 * u	µ
C-x 8 * x	×
C-x 8 * |	¦

C-x 8 3 / 4	¾

C-x 8 1 / 2	½
C-x 8 1 / 4	¼

Global Bindings Starting With C-x 8:
key             binding
---             -------

C-x 8 RET	insert-char

[forward]






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37051; Package emacs. (Mon, 19 Aug 2019 14:45:02 GMT) Full text and rfc822 format available.

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

From: Robert Pluim <rpluim <at> gmail.com>
To: VanL <van <at> scratch.space>
Cc: 37051 <at> debbugs.gnu.org
Subject: Re: bug#37051: 26.2.90; feature request: C-x 8 <SYMBOL> Prefix
 Command for letter with macron
Date: Mon, 19 Aug 2019 16:44:36 +0200
>>>>> On Sat, 17 Aug 2019 00:13:58 +1000, VanL <van <at> scratch.space> said:

    VanL> Hello,
    VanL> There doesn't seem to be a Prefix Command for placing a macron over a small letter 'a'. [1]

    VanL> Like typing `C-x 8 ^ a â' to place a circumflex over a small letter a,
    VanL> I'd like to be able to type the 'a' and 'i' with macron in 'Cháng
    VanL> Xiāng Sī (Everlasting Longing) by Bai Juyi'.

Would you consider using the chinese-sisheng input method? That has
mappings for all of those. In fact, digging some more, thereʼs the
hawaiian-prefix method as well, which has far fewer mappings, so
shouldn't interfere too much with normal typing.

Otherwise it could be added to the C-x 8 map, but Iʼm having a hard
time finding a prefix thatʼs both free and reasonably mnemonic for
MACRON, unless we want to turn 'C-x 8 =' into a prefix map, with
'C-x 8 = =' meaning 'insert MACRON'.

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37051; Package emacs. (Tue, 20 Aug 2019 14:06:01 GMT) Full text and rfc822 format available.

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

From: VanL <van <at> scratch.space>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 37051 <at> debbugs.gnu.org
Subject: Re: bug#37051: 26.2.90;
 feature request: C-x 8 <SYMBOL> Prefix Command for letter with macron
Date: Wed, 21 Aug 2019 00:05:11 +1000
> On 20 Aug 2019, at 00:44, Robert Pluim <rpluim <at> gmail.com> wrote:
> 
>    VanL> I'd like to be able to type the 'a' and 'i' with macron in 'Cháng
>    VanL> Xiāng Sī (Everlasting Longing) by Bai Juyi'.
> 
> Would you consider using the chinese-sisheng input method? That has
> mappings for all of those. In fact, digging some more, thereʼs the
> hawaiian-prefix method as well, which has far fewer mappings, so
> shouldn't interfere too much with normal typing.
> 
> Otherwise it could be added to the C-x 8 map, but Iʼm having a hard
> time finding a prefix thatʼs both free and reasonably mnemonic for
> MACRON, unless we want to turn 'C-x 8 =' into a prefix map, with
> 'C-x 8 = =' meaning 'insert MACRON'.

How about a C-u before `C-x 8 -		­' for to `insert MACRON'?

I fail to find instructions to use chinese-sisheng in [1] and the listings from describe-mode, describe-bindings don't have `ī' in them, for example.

C-x <RET> C-\ h <TAB> ; has no hawaiian-prefix method completion but hebrew.

-- [1]
  info:emacs#Input Methods
  info:emacs#Select Input Method
  info:emacs#International





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37051; Package emacs. (Tue, 20 Aug 2019 15:06:01 GMT) Full text and rfc822 format available.

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

From: Robert Pluim <rpluim <at> gmail.com>
To: VanL <van <at> scratch.space>
Cc: 37051 <at> debbugs.gnu.org
Subject: Re: bug#37051: 26.2.90; feature request: C-x 8 <SYMBOL> Prefix
 Command for letter with macron
Date: Tue, 20 Aug 2019 17:04:57 +0200
>>>>> On Wed, 21 Aug 2019 00:05:11 +1000, VanL <van <at> scratch.space> said:

    >> On 20 Aug 2019, at 00:44, Robert Pluim <rpluim <at> gmail.com> wrote:
    >> 
    VanL> I'd like to be able to type the 'a' and 'i' with macron in 'Cháng
    VanL> Xiāng Sī (Everlasting Longing) by Bai Juyi'.
    >> 
    >> Would you consider using the chinese-sisheng input method? That has
    >> mappings for all of those. In fact, digging some more, thereʼs the
    >> hawaiian-prefix method as well, which has far fewer mappings, so
    >> shouldn't interfere too much with normal typing.
    >> 
    >> Otherwise it could be added to the C-x 8 map, but Iʼm having a hard
    >> time finding a prefix thatʼs both free and reasonably mnemonic for
    >> MACRON, unless we want to turn 'C-x 8 =' into a prefix map, with
    >> 'C-x 8 = =' meaning 'insert MACRON'.

    VanL> How about a C-u before `C-x 8 -		­' for to `insert MACRON'?

C-x 8 already uses the prefix argument to mean COUNT, so I donʼt think
that will work.

    VanL> I fail to find instructions to use chinese-sisheng in [1]
    VanL> and the listings from describe-mode, describe-bindings don't
    VanL> have `ī' in them, for example.

It doesnʼt appear to be documented in the manual, but itʼs easy enough
to use. Turn it on and type eg

Cha

You'll see "Cha[1234ino]" in the echo area. If you then type "1",
you'll get:

Chā

Similarly

Xia1 => Xiā
Si1 => Sī

and so on.

    VanL> C-x <RET> C-\ h <TAB> ; has no hawaiian-prefix method
    VanL> completion but hebrew.

Sorry, that was added in emacs-27, and youʼre on emacs-26.

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37051; Package emacs. (Thu, 22 Aug 2019 11:48:02 GMT) Full text and rfc822 format available.

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

From: VanL <van <at> scratch.space>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 37051 <at> debbugs.gnu.org
Subject: Re: bug#37051: 26.2.90;
 feature request: C-x 8 <SYMBOL> Prefix Command for letter with macron
Date: Thu, 22 Aug 2019 21:46:59 +1000
Robert Pluim <rpluim <at> gmail.com> writes:

> Would you consider using the chinese-sisheng input method?

Thanks Robert for the tip on how to make use of chinese-sisheng.  This
input method does exactly what I need in that situation.  I am trying to
use Emacs to write email and have lost track of your post this one is in
reply to.  So, discoverability in the docs for typing with macron in
Chinese poem titles as presented is what's needed.  When I next go past
emacs-27 I will definitely try the hawaiin input method.

© 2019 VanL
gpg using EEF2 37E9 3840 0D5D 9183  251E 9830 384E 9683 B835
          'If the bug bites don't fight it.' - Nancy S. Steinhardt




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37051; Package emacs. (Thu, 22 Aug 2019 13:06:01 GMT) Full text and rfc822 format available.

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

From: Robert Pluim <rpluim <at> gmail.com>
To: VanL <van <at> scratch.space>
Cc: eliz <at> gnu.org, 37051 <at> debbugs.gnu.org
Subject: Re: bug#37051: 26.2.90;
 feature request: C-x 8 <SYMBOL> Prefix Command for letter with macron
Date: Thu, 22 Aug 2019 15:04:55 +0200
>>>>> On Thu, 22 Aug 2019 21:46:59 +1000, VanL <van <at> scratch.space> said:

    VanL> Robert Pluim <rpluim <at> gmail.com> writes:
    >> Would you consider using the chinese-sisheng input method?

    VanL> Thanks Robert for the tip on how to make use of chinese-sisheng.  This
    VanL> input method does exactly what I need in that situation.  I am trying to
    VanL> use Emacs to write email and have lost track of your post this one is in
    VanL> reply to.  So, discoverability in the docs for typing with macron in
    VanL> Chinese poem titles as presented is what's needed.  When I next go past
    VanL> emacs-27 I will definitely try the hawaiin input method.

Something like the following, perhaps? Eli, can this still go into
emacs-26, given that weʼre at -rc1?

diff --git i/doc/emacs/mule.texi w/doc/emacs/mule.texi
index b3e7d218c6..4ed13b8787 100644
--- i/doc/emacs/mule.texi
+++ w/doc/emacs/mule.texi
@@ -497,6 +497,10 @@ Input Methods
 do the highlighting in the buffer showing the possible characters,
 rather than in the echo area.
 
+  To enter characters according to the @dfn{pīnyīn} transliteration
+method instead, use the @code{chinese-sisheng} input method.  This is
+a composition based method, where e.g. @kbd{pi1} results in @samp{pī}.
+
   In Japanese input methods, first you input a whole word using
 phonetic spelling; then, after the word is in the buffer, Emacs
 converts it into one or more characters using a large dictionary.  One




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37051; Package emacs. (Thu, 22 Aug 2019 13:37:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: van <at> scratch.space, 37051 <at> debbugs.gnu.org
Subject: Re: bug#37051: 26.2.90;
 feature request: C-x 8 <SYMBOL> Prefix Command for letter with macron
Date: Thu, 22 Aug 2019 16:36:56 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: 37051 <at> debbugs.gnu.org, eliz <at> gnu.org
> Date: Thu, 22 Aug 2019 15:04:55 +0200
> 
> Something like the following, perhaps? Eli, can this still go into
> emacs-26, given that weʼre at -rc1?

Too late, sorry.  Let's wait till 26.3 is released.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37051; Package emacs. (Wed, 04 Sep 2019 08:14:01 GMT) Full text and rfc822 format available.

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

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: van <at> scratch.space, 37051 <at> debbugs.gnu.org
Subject: Re: bug#37051: 26.2.90; feature request: C-x 8 <SYMBOL> Prefix
 Command for letter with macron
Date: Wed, 04 Sep 2019 10:13:16 +0200
>>>>> On Thu, 22 Aug 2019 16:36:56 +0300, Eli Zaretskii <eliz <at> gnu.org> said:

    >> From: Robert Pluim <rpluim <at> gmail.com>
    >> Cc: 37051 <at> debbugs.gnu.org, eliz <at> gnu.org
    >> Date: Thu, 22 Aug 2019 15:04:55 +0200
    >> 
    >> Something like the following, perhaps? Eli, can this still go into
    >> emacs-26, given that weʼre at -rc1?

    Eli> Too late, sorry.  Let's wait till 26.3 is released.

Pushed to emacs-26.

Iʼm not sure what to do with the bug, though. The OPs problem is
solved, so I guess we can close it?

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37051; Package emacs. (Wed, 04 Sep 2019 14:53:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: van <at> scratch.space, 37051 <at> debbugs.gnu.org
Subject: Re: bug#37051: 26.2.90; feature request: C-x 8 <SYMBOL> Prefix
 Command for letter with macron
Date: Wed, 04 Sep 2019 17:51:53 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: van <at> scratch.space,  37051 <at> debbugs.gnu.org
> Date: Wed, 04 Sep 2019 10:13:16 +0200
> 
> Pushed to emacs-26.
> 
> Iʼm not sure what to do with the bug, though. The OPs problem is
> solved, so I guess we can close it?

Yes, I think so.  Are there any reasons why we shouldn't?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37051; Package emacs. (Wed, 04 Sep 2019 14:59:01 GMT) Full text and rfc822 format available.

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

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: van <at> scratch.space, 37051 <at> debbugs.gnu.org
Subject: Re: bug#37051: 26.2.90; feature request: C-x 8 <SYMBOL> Prefix
 Command for letter with macron
Date: Wed, 04 Sep 2019 16:58:47 +0200
tags 37051 fixed
close 37051 26.3
quit

>>>>> On Wed, 04 Sep 2019 17:51:53 +0300, Eli Zaretskii <eliz <at> gnu.org> said:

    >> From: Robert Pluim <rpluim <at> gmail.com>
    >> Cc: van <at> scratch.space,  37051 <at> debbugs.gnu.org
    >> Date: Wed, 04 Sep 2019 10:13:16 +0200
    >> 
    >> Pushed to emacs-26.
    >> 
    >> Iʼm not sure what to do with the bug, though. The OPs problem is
    >> solved, so I guess we can close it?

    Eli> Yes, I think so.  Are there any reasons why we shouldn't?

Not that I can think of. Closing.

Robert




Added tag(s) fixed. Request was from Robert Pluim <rpluim <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 04 Sep 2019 14:59:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 26.3, send any further explanations to 37051 <at> debbugs.gnu.org and VanL <van <at> scratch.space> Request was from Robert Pluim <rpluim <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 04 Sep 2019 14:59:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 5 years and 343 days ago.

Previous Next


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