From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#55668: Extending the `C-x 8' map to include macrons Date: Mon, 06 Jun 2022 11:53:29 +0200 Message-ID: <87czfmxgme.fsf@gmail.com> References: <87ilprv7f6.fsf@gmail.com> <834k1bnmix.fsf@gnu.org> <83y1ynm177.fsf@gnu.org> <5db961c542513ffc5a0ff256d4612004@webmail.orcon.net.nz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22092"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tor.kringeland@ntnu.no, eliz@gnu.org, 55668@debbugs.gnu.org, kevin.legouguec@gmail.com To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 06 12:00:44 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 1ny9XQ-0005Y8-Ch for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jun 2022 12:00:44 +0200 Original-Received: from localhost ([::1]:54140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ny9Wz-0005Ao-43 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jun 2022 06:00:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ny9Qw-00040Y-It for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2022 05:54:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ny9Qw-00007c-9V for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2022 05:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ny9Qw-0007Ru-6u for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2022 05:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jun 2022 09:54:02 +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.165450922028604 (code B ref 55668); Mon, 06 Jun 2022 09:54:02 +0000 Original-Received: (at 55668) by debbugs.gnu.org; 6 Jun 2022 09:53:40 +0000 Original-Received: from localhost ([127.0.0.1]:34429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ny9QZ-0007RH-Rm for submit@debbugs.gnu.org; Mon, 06 Jun 2022 05:53:40 -0400 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:34775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ny9QX-0007R2-Ag for 55668@debbugs.gnu.org; Mon, 06 Jun 2022 05:53:39 -0400 Original-Received: by mail-wr1-f50.google.com with SMTP id q26so8742343wra.1 for <55668@debbugs.gnu.org>; Mon, 06 Jun 2022 02:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=EZrY+EKkbWHBOnCy5Rn0X87FpfXDIhUtYsgj1uyXQNs=; b=Y94UELLJs3kTrtB56c6AYGrPWiQPAcI18S6Th+6nbpgNNiViKkqJK31MNKoubWMPhR DJqbUS5F2P6lGi5yDBaBCG+tRkLozpoxEli3GEDd0zSun3+hFz4Z4MfMXhgGD0/xlYJW xUXFnlkNFVML6dZPe01piPbzfHjsRQuwC+QiNFmQ5wbNG5i0s6Bp5x3ll3TmhzjB2CA2 B0ecb24Usqe+zgUVETyPwWJZwfW7kjaR+DdtshZkJWLD+v4mcGzpNbxlrcTy7nmiHhU2 oNNHOeuEdPgebRoETuajIRWccWmkSra4RMuiqgjaPvePrpS+lWhtuEocerY6e67AO65M 2DIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=EZrY+EKkbWHBOnCy5Rn0X87FpfXDIhUtYsgj1uyXQNs=; b=pPdF4Lwx0gzX8Wqdl+xdbKk6S76492uKGTkIfalK6mcSNPuahPbaQiVWCIkBUelpq4 Y6hHkYiRnRLmTv1byA3tYQ5/ieEufK+kUqQRdJ8KyW6yIINUhwI8I10p4VaQslc3CCaO AnKZO4pLcEFXWWbVnUDc7C0epfr6l4kA7WXnskq6IrzkVRWEu4dFFKZOxed6MNTQ+yJF +PShOtXAOq+VZJ0SIe9dlapnsRmQwa4tzG6NlYW0awXY+ZaTURva/XhEx2fYBc8SRSXk tWHhwr1YHT6GNHFJ7JLlSR2mIgo/vzYvvWXGW7wT+G4cIuVhTH7TLBZX1Jz5AaHb0Pon 14wA== X-Gm-Message-State: AOAM53023EkxKxFAdFfSkrj1HLGl1DA7itKOXs52JPEPLtEEs0hwNDcq yncSaJGnVfp1EjSs0BJoXxM= X-Google-Smtp-Source: ABdhPJxwIY1TTT/6N4ekXtxuTQORUBj/VrXBM2qP/hgaQy9yJB5zAUSfbT/sZ5C646+8fJbPWS1JFw== X-Received: by 2002:adf:d205:0:b0:213:b49a:9fc7 with SMTP id j5-20020adfd205000000b00213b49a9fc7mr18124133wrh.589.1654509211317; Mon, 06 Jun 2022 02:53:31 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:8495:bb9e:c4b6:bac]) by smtp.gmail.com with ESMTPSA id k7-20020a5d6d47000000b0020e5e906e47sm14638731wri.75.2022.06.06.02.53.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 02:53:30 -0700 (PDT) In-Reply-To: <5db961c542513ffc5a0ff256d4612004@webmail.orcon.net.nz> (Phil Sainty's message of "Sat, 28 May 2022 13:46:52 +1200") 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:233767 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable (what is it about Monday mornings and character rabbit holes?) >>>>> On Sat, 28 May 2022 13:46:52 +1200, Phil Sainty said: Phil> I find the latin-4-postfix input method good for entering macrons: Phil> | postfix | examples Phil> ------------+---------+---------- Phil> macron | - | a- -> =C4=81 Yep. There were a couple missing from latin-postfix and C-x 8, and they wer= e all missing from latin-prefix, so I came up with the below. If the AE stuff is overkill, I can remove it. Robert --=20 --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-Add-more-characters-with-macron-in-C-x-8-map-and-lat.patch Content-Transfer-Encoding: quoted-printable >From f685eaf33b7c323604aaa581a1848979045521f9 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Mon, 6 Jun 2022 11:46:55 +0200 Subject: [PATCH] Add more characters with macron in C-x 8 map and latin inp= ut methods To: emacs-devel@gnu.org * lisp/international/iso-transl.el (iso-transl-char-map): Add sequences for {AE,ae,G,g} with macron. * lisp/leim/quail/latin-post.el ("latin-postfix"): Add missing entries for {AE,ae,G,g} with macron. * lisp/leim/quail/latin-pre.el ("latin-prefix"): Add entries for 'letter with macron' for {A,a,E,e,AE,ae,I,I,O,o,U,u,Y,y} with macron. (Bug#55668) --- lisp/international/iso-transl.el | 6 ++++++ lisp/leim/quail/latin-post.el | 7 +++++++ lisp/leim/quail/latin-pre.el | 18 ++++++++++++++++++ 3 files changed, 31 insertions(+) diff --git a/lisp/international/iso-transl.el b/lisp/international/iso-tran= sl.el index 3be80e5e6a..5243293312 100644 --- a/lisp/international/iso-transl.el +++ b/lisp/international/iso-transl.el @@ -123,10 +123,12 @@ iso-transl-char-map ("/A" . [?=C3=85]) ("/L" . [?=C5=81]) ("/E" . [?=C3=86]) + ("/=3DE" . [?=C7=A2]) ("/O" . [?=C3=98]) ("/a" . [?=C3=A5]) ("/l" . [?=C5=82]) ("/e" . [?=C3=A6]) + ("/=3De" . [?=C7=A3]) ("/o" . [?=C3=B8]) ("1/2" . [?=C2=BD]) ("1/4" . [?=C2=BC]) @@ -139,6 +141,10 @@ iso-transl-char-map ("=3Da" . [?=C4=81]) ("=3DE" . [?=C4=92]) ("=3De" . [?=C4=93]) + ("=3D/E" . [?=C7=A2]) + ("=3D/e" . [?=C7=A3]) + ("=3DG" . [?=E1=B8=A0]) + ("=3Dg" . [?=E1=B8=A1]) ("=3DI" . [?=C4=AA]) ("=3Di" . [?=C4=AB]) ("=3DO" . [?=C5=8C]) diff --git a/lisp/leim/quail/latin-post.el b/lisp/leim/quail/latin-post.el index acb3ef8ede..008c949f90 100644 --- a/lisp/leim/quail/latin-post.el +++ b/lisp/leim/quail/latin-post.el @@ -2239,6 +2239,7 @@ tilde | ~ | a~ -> =C3=A3 cedilla | , | c, -> =C3=A7 ogonek | , | a, -> =C4=85 + macron | - | a- -> =C4=81 g- -> =E1=B8=A1 e/- -> =C7=A3 breve | ~ | a~ -> =C4=83 caron | ~ | c~ -> =C4=8D dbl. acute | : | o: -> =C5=91 @@ -2284,11 +2285,14 @@ ("E-" ?=C4=92) ("E." ?=C4=96) ("E/" ?=C3=86) + ("E//" ?=C3=86) + ("E/-" ?=C7=A2) ("E\"" ?=C3=8B) ("E^" ?=C3=8A) ("E`" ?=C3=88) ("E~" ?=C4=9A) ("G," ?=C4=A2) + ("G-" ?=E1=B8=A0) ("G." ?=C4=A0) ("G^" ?=C4=9C) ("G~" ?=C4=9E) @@ -2374,12 +2378,15 @@ ("e-" ?=C4=93) ("e." ?=C4=97) ("e/" ?=C3=A6) + ("e//" ?=C3=A6) + ("e/-" ?=C7=A3) ("e\"" ?=C3=AB) ("e^" ?=C3=AA) ("e`" ?=C3=A8) ("e~" ?=C4=9B) ("e=3D" ?=E2=82=AC) ("g," ?=C4=A3) + ("g-" ?=E1=B8=A1) ("g." ?=C4=A1) ("g^" ?=C4=9D) ("g~" ?=C4=9F) diff --git a/lisp/leim/quail/latin-pre.el b/lisp/leim/quail/latin-pre.el index b6a26e0b2c..55435d5675 100644 --- a/lisp/leim/quail/latin-pre.el +++ b/lisp/leim/quail/latin-pre.el @@ -1104,6 +1104,7 @@ cedilla | , ~ | ,c -> =C3=A7 ~c -> =C3=A7 caron | ~ | ~c -> =C4=8D ~g -> =C4=9F breve | ~ | ~a -> =C4=83 + macron | - | -a -> =C4=81 -/e -> =C7=A3 -- -> =C2=AF dot above | / . | /g -> =C4=A1 .g -> =C4=A1 misc | \" ~ / | \"s -> =C3=9F ~d -> =C3=B0 ~t -> =C3=BE /a -> = =C3=A5 /e -> =C3=A6 /o -> =C3=B8 symbol | ~ | ~> -> =C2=BB ~< -> =C2=AB ~! -> =C2=A1 ~? -> = =C2=BF ~~ -> =C2=B8 @@ -1112,6 +1113,23 @@ " nil t nil nil nil nil nil nil nil nil t) =20 (quail-define-rules + ("--" ?=C2=AF) + ("-A" ?=C4=80) + ("-a" ?=C4=81) + ("-E" ?=C4=92) + ("-e" ?=C4=93) + ("-/E" ?=C7=A2) + ("-/e" ?=C7=A3) + ("-G" ?=E1=B8=A0) + ("-g" ?=E1=B8=A1) + ("-I" ?=C4=AA) + ("-i" ?=C4=AB) + ("-O" ?=C5=8C) + ("-o" ?=C5=8D) + ("-U" ?=C5=AA) + ("-u" ?=C5=AB) + ("-Y" ?=C8=B2) + ("-y" ?=C8=B3) ("' " ?') ("''" ?=C2=B4) ("'A" ?=C3=81) --=20 2.35.1.607.gf01e51a7cf --=-=-=--