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#55668: Extending the `C-x 8' map to include macrons Date: Fri, 27 May 2022 16:16:38 +0300 Message-ID: <834k1bnmix.fsf@gnu.org> References: <87ilprv7f6.fsf@gmail.com> 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="30898"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55668@debbugs.gnu.org, kevin.legouguec@gmail.com To: Tor Kringeland Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 27 15:17:31 2022 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 1nuZqL-0007pV-Ui for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 May 2022 15:17:30 +0200 Original-Received: from localhost ([::1]:52482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuZqK-0007hj-LZ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 May 2022 09:17:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuZpu-0007e0-By for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 09:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuZpu-0001CF-0O for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 09:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuZpt-0002Cf-Qu for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 09:17: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, 27 May 2022 13:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55668 X-GNU-PR-Package: emacs Original-Received: via spool by 55668-submit@debbugs.gnu.org id=B55668.16536574158453 (code B ref 55668); Fri, 27 May 2022 13:17:01 +0000 Original-Received: (at 55668) by debbugs.gnu.org; 27 May 2022 13:16:55 +0000 Original-Received: from localhost ([127.0.0.1]:33142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuZpn-0002CH-0F for submit@debbugs.gnu.org; Fri, 27 May 2022 09:16:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuZpi-0002C0-5M for 55668@debbugs.gnu.org; Fri, 27 May 2022 09:16:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuZpc-00017r-6Q; Fri, 27 May 2022 09:16:44 -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=VZcE8wPhl3mpFy1VwH+1I0M6C6LZG6E2ZmI5XBRQLRE=; b=jD7GM8CAlU68totRAE+Y CEZw89imY+FzNV7UxJxctEtXHzRZ28t5s4dx6x36VVlu8dFRUvEBWsCvCUc3hjgERccobpueq56w4 XikRLsgS3MMO0Jt8q1AIzO8OVS4HLcK8pjXrwi08+rAas/sSXRrNSpcNBjOLyCuQtIlfAqiqh6mGx iR6JRSqJMoW7Fw5fObp3/OVcadJh3LCTVLqmm3xjDMdUZ2o1/3aSccKioup1czweYCQDULWju045/ fbS7jJoHrLiytTgt0/7VcpzvcabBwA/UnjauUXhzdpa23Dx/0Vnb/G5Vl1gMohBKjPNnjngwsjJ1X OiYGmDSVnoFiQQ==; Original-Received: from [87.69.77.57] (port=2915 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuZpb-0003FA-2s; Fri, 27 May 2022 09:16:43 -0400 In-Reply-To: (message from Tor Kringeland on Fri, 27 May 2022 12:49:40 +0000) 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" Xref: news.gmane.io gmane.emacs.bugs:233196 Archived-At: > Cc: "55668@debbugs.gnu.org" <55668@debbugs.gnu.org> > From: Tor Kringeland > Date: Fri, 27 May 2022 12:49:40 +0000 > > Kévin Le Gouguec writes: > > > From the peanut gallery (I don't use macrons much in my writing, so > > please disregard if not helpful): if we are going to displace an > > existing binding, why not `C-x 8 ='? It's currently bound to ¯ > > (MACRON), and the = prefix is reminiscent of TeX, where \=o yields ō > > (which is usable right now with the TeX input method). > > Didn't know about this one. I think it'd be better to use it instead of > `C-x 8 -', then, since the change in behavior is not so different. Does the below fit the bill? diff --git a/lisp/international/iso-transl.el b/lisp/international/iso-transl.el index b90c065..bdfe9b1 100644 --- a/lisp/international/iso-transl.el +++ b/lisp/international/iso-transl.el @@ -134,7 +134,19 @@ iso-transl-char-map ("*<" . [?«]) ("<" . [?«]) ("*=" . [?¯]) - ("=" . [?¯]) + ("==" . [?¯]) + ("=A" . [?Ā]) + ("=a" . [?ā]) + ("=E" . [?Ē]) + ("=e" . [?ē]) + ("=I" . [?Ī]) + ("=i" . [?ī]) + ("=O" . [?Ō]) + ("=o" . [?ō]) + ("=U" . [?Ū]) + ("=u" . [?ū]) + ("=Y" . [?Ȳ]) + ("=y" . [?ȳ]) ("*>" . [?»]) (">" . [?»]) ("*?" . [?¿])