GNU bug report logs - #55668
Extending the `C-x 8' map to include macrons

Previous Next

Package: emacs;

Reported by: Tor Kringeland <tor.kringeland <at> ntnu.no>

Date: Fri, 27 May 2022 01:04:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tor Kringeland <tor.kringeland <at> ntnu.no>
Cc: 55668 <at> debbugs.gnu.org, kevin.legouguec <at> gmail.com
Subject: bug#55668: Extending the `C-x 8' map to include macrons
Date: Fri, 27 May 2022 16:16:38 +0300
> Cc: "55668 <at> debbugs.gnu.org" <55668 <at> debbugs.gnu.org>
> From: Tor Kringeland <tor.kringeland <at> ntnu.no>
> Date: Fri, 27 May 2022 12:49:40 +0000
> 
> Kévin Le Gouguec <kevin.legouguec <at> gmail.com> 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"   . [?ȳ])
     ("*>"   . [?»])
     (">"    . [?»])
     ("*?"   . [?¿])




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

Previous Next


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