all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tor Kringeland <tor.kringeland@ntnu.no>
Cc: 55668@debbugs.gnu.org, kevin.legouguec@gmail.com
Subject: bug#55668: Extending the `C-x 8' map to include macrons
Date: Fri, 27 May 2022 16:16:38 +0300	[thread overview]
Message-ID: <834k1bnmix.fsf@gnu.org> (raw)
In-Reply-To: <m2o7zj3zto.fsf@ntnu.no> (message from Tor Kringeland on Fri, 27 May 2022 12:49:40 +0000)

> Cc: "55668@debbugs.gnu.org" <55668@debbugs.gnu.org>
> From: Tor Kringeland <tor.kringeland@ntnu.no>
> Date: Fri, 27 May 2022 12:49:40 +0000
> 
> Kévin Le Gouguec <kevin.legouguec@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"   . [?ȳ])
     ("*>"   . [?»])
     (">"    . [?»])
     ("*?"   . [?¿])





  reply	other threads:[~2022-05-27 13:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-27  1:03 bug#55668: Extending the `C-x 8' map to include macrons Tor Kringeland
2022-05-27  5:51 ` Eli Zaretskii
2022-05-27  6:03 ` Kévin Le Gouguec
2022-05-27 10:56   ` Lars Ingebrigtsen
2022-05-27 12:49   ` Tor Kringeland
2022-05-27 13:16     ` Eli Zaretskii [this message]
2022-05-27 13:40       ` Tor Kringeland
2022-05-27 15:42         ` Eli Zaretskii
2022-05-28  1:46           ` Phil Sainty
2022-06-06  9:53             ` Robert Pluim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834k1bnmix.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=55668@debbugs.gnu.org \
    --cc=kevin.legouguec@gmail.com \
    --cc=tor.kringeland@ntnu.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.