From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: master d8f9cf7772: Add more characters with macron in C-x 8 map and latin input methods Date: Tue, 14 Jun 2022 11:59:20 -0400 Message-ID: References: <165522050411.13841.13546844470052834377@vcs2.savannah.gnu.org> <20220614152824.72D83C00BAF@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29461"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Robert Pluim To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 14 18:09:39 2022 Return-path: Envelope-to: ged-emacs-devel@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 1o196o-0007RJ-3G for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Jun 2022 18:09:38 +0200 Original-Received: from localhost ([::1]:43574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o196l-0003u9-O7 for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Jun 2022 12:09:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o18wz-0000WP-3p for emacs-devel@gnu.org; Tue, 14 Jun 2022 11:59:29 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o18wu-0003Rb-IE for emacs-devel@gnu.org; Tue, 14 Jun 2022 11:59:27 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B1832100392; Tue, 14 Jun 2022 11:59:22 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 075E3100182; Tue, 14 Jun 2022 11:59:21 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1655222361; bh=Tv65ydTFb4f9x5LPd6BIDHb8AR0Pe3j1rMb3QpL4C9Q=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=AIvJkesnf8TcxoQlthqXMDn2WuqvkN5tcpvdNfpq2jhI7lehFOu2kAbt2Zn3A6ngB RWWgwGkDa2Ca1aDP/ZCRa0I26jj6taVkvzIZ6aX3s/Lia1O7uaDNwFZynufX5J3d1Z Y3vjnl7Ua+QBrRhxHGs3bxdZ3WZC/Os0wpJ39Wcnw9gbucNKzAyYDSeQyTgsYocyNd TTaF/4B7GZniaT6XZq34X0tLZ92EeF3zaaho/Y4sxf6NWK6zKs9U0yA1unUS3oPCM4 4f52lFdYcE6SYAQU7EsEIFa0p9wDSCgAiLZvDcyzlWy/yCfhUd72tiM4pHzIdKv09q HfOqEPhX2AcJA== Original-Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C521812045A; Tue, 14 Jun 2022 11:59:20 -0400 (EDT) In-Reply-To: <20220614152824.72D83C00BAF@vcs2.savannah.gnu.org> (Robert Pluim's message of "Tue, 14 Jun 2022 11:28:24 -0400 (EDT)") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291182 Archived-At: It would be nice if some/most of those things could be (mostly) generated from a common source (ideally shared with the latin-ltx.el as well because I think there's some overlap there). Stefan Robert Pluim [2022-06-14 11:28:24] wrote: > branch: master > commit d8f9cf7772f87ed3f34890c16e170260fa424e19 > Author: Robert Pluim > Commit: Robert Pluim > > Add more characters with macron in C-x 8 map and latin input methods >=20=20=20=20=20 > * 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. >=20=20=20=20=20 > (Bug#55668) > --- > lisp/international/iso-transl.el | 4 ++++ > lisp/leim/quail/latin-post.el | 13 ++++++++++++- > lisp/leim/quail/latin-pre.el | 18 ++++++++++++++++++ > 3 files changed, 34 insertions(+), 1 deletion(-) > > diff --git a/lisp/international/iso-transl.el b/lisp/international/iso-tr= ansl.el > index a14253ee58..417f0076ef 100644 > --- a/lisp/international/iso-transl.el > +++ b/lisp/international/iso-transl.el > @@ -143,6 +143,10 @@ > ("=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 9573723e45..76ddf3c274 100644 > --- a/lisp/leim/quail/latin-post.el > +++ b/lisp/leim/quail/latin-post.el > @@ -2239,6 +2239,7 @@ of characters from a single Latin-N charset. > tilde | ~ | a~ -> =C3=A3 > cedilla | , | c, -> =C3=A7 > ogonek | , | a, -> =C4=85 > + macron | - | a- -> =C4=81 g- -> =E1=B8=A1 e/- -> =C7=A3 = -- -> =C2=AF > breve | ~ | a~ -> =C4=83 > caron | ~ | c~ -> =C4=8D > dbl. acute | : | o: -> =C5=91 > @@ -2256,7 +2257,7 @@ of characters from a single Latin-N charset. > Doubling the postfix separates the letter and postfix: e.g. a\\=3D'\\=3D= ' -> a\\=3D' > " nil t nil nil nil nil nil nil nil nil t) >=20=20 > -;; Fixme: =C2=A6 =C2=A7 =C2=A8 =C2=A9 =C2=AC =C2=AD =C2=AF =C2=B1 =C2=B4= =C2=B5 =C2=B6 =C2=B7 =C2=B8 =C3=97 =C3=B7 > +;; Fixme: =C2=A6 =C2=A7 =C2=A8 =C2=A9 =C2=AC =C2=B1 =C2=B4 =C2=B5 =C2=B6= =C2=B7 =C2=B8 =C3=97 =C3=B7 > (quail-define-rules > ("2/" ?=C2=BD) > ("3/" ?=C2=BE) > @@ -2315,11 +2316,13 @@ Doubling the postfix separates the letter and pos= tfix: e.g. a\\=3D'\\=3D' -> a\\=3D' > ("E-" ?=C4=92) > ("E." ?=C4=96) > ("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) > @@ -2405,12 +2408,14 @@ Doubling the postfix separates the letter and pos= tfix: e.g. a\\=3D'\\=3D' -> a\\=3D' > ("e-" ?=C4=93) > ("e." ?=C4=97) > ("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) > @@ -2475,6 +2480,7 @@ Doubling the postfix separates the letter and postf= ix: e.g. a\\=3D'\\=3D' -> a\\=3D' > ("z'" ?=C5=BA) > ("z." ?=C5=BC) > ("z~" ?=C5=BE) > + ("--" ?=C2=AF) >=20=20 > ("2//" ["2/"]) > ("3//" ["3/"]) > @@ -2530,11 +2536,13 @@ Doubling the postfix separates the letter and pos= tfix: e.g. a\\=3D'\\=3D' -> a\\=3D' > ("E--" ["E-"]) > ("E.." ["E."]) > ("E//" ["E/"]) > + ("E/--" ["E/-"]) > ("E\"\"" ["E\""]) > ("E^^" ["E^"]) > ("E``" ["E`"]) > ("E~~" ["E~"]) > ("G,," ["G,"]) > + ("G--" ["G-"]) > ("G.." ["G."]) > ("G^^" ["G^"]) > ("G~~" ["G~"]) > @@ -2613,12 +2621,14 @@ Doubling the postfix separates the letter and pos= tfix: e.g. a\\=3D'\\=3D' -> a\\=3D' > ("e--" ["e-"]) > ("e.." ["e."]) > ("e//" ["e/"]) > + ("e/--" ["e/-"]) > ("e\"\"" ["e\""]) > ("e^^" ["e^"]) > ("e``" ["e`"]) > ("e=3D=3D" ["e=3D"]) > ("e~~" ["e~"]) > ("g,," ["g,"]) > + ("g--" ["g-"]) > ("g.." ["g."]) > ("g^^" ["g^"]) > ("g~~" ["g~"]) > @@ -2677,6 +2687,7 @@ Doubling the postfix separates the letter and postf= ix: e.g. a\\=3D'\\=3D' -> a\\=3D' > ("z''" ["z'"]) > ("z.." ["z."]) > ("z~~" ["z~"]) > + ("---" ["--"]) > ) >=20=20 > ;; Derived from Slovenian.kmap from Yudit > diff --git a/lisp/leim/quail/latin-pre.el b/lisp/leim/quail/latin-pre.el > index d53da832be..48e0ce9efc 100644 > --- a/lisp/leim/quail/latin-pre.el > +++ b/lisp/leim/quail/latin-pre.el > @@ -1104,6 +1104,7 @@ of characters from a single Latin-N charset. > 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 @@ of characters from a single Latin-N charset. > " nil t nil nil nil nil nil nil nil nil t) >=20=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)