From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Cesar Crusius Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New Package: greek-polytonic.el Date: Mon, 16 Jul 2018 09:23:45 -0700 Message-ID: References: <83fu0mawzb.fsf@gnu.org> <86wotxzqsa.fsf@macmini.i-did-not-set--mail-host-address--so-tickle-me> <83o9f9acsf.fsf@gnu.org> <86sh4le0to.fsf@gmail.com> <83pnzn8982.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1531758166 7186 195.159.176.226 (16 Jul 2018 16:22:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2018 16:22:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: Cesar Crusius , jhanschoo@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 16 18:22:41 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff6Gl-0001lp-OU for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2018 18:22:39 +0200 Original-Received: from localhost ([::1]:52768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff6Is-000463-PT for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2018 12:24:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff6Hx-0003U4-ID for emacs-devel@gnu.org; Mon, 16 Jul 2018 12:23:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff6Hw-00064d-GU for emacs-devel@gnu.org; Mon, 16 Jul 2018 12:23:53 -0400 Original-Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:37114) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ff6Hw-00064G-9V; Mon, 16 Jul 2018 12:23:52 -0400 Original-Received: by mail-pf0-x241.google.com with SMTP id a26-v6so4451172pfo.4; Mon, 16 Jul 2018 09:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=pl9k0FM/Bp3EiM0j0o9/dLfZac81ZlKNH/blqpavQB0=; b=jkal9ymWW1J2MVsHM9rpFqjVR4mpujMJyMvFz10tTEJRrjGYIippsr0gRGVlc5GwKS 7r6qGvov23lUPKyfGKlhhD4dTpy9glHMfhr5XzxyAP2h8gCLrY8aJg5p4uQBBb99xBXn X+hCy1G41aZI0HolUY2UBukrED/w7g7h/LafLu7/Eajxn/LTItk/vCZj9kIGGhZSggLa Hs/ZKCvyrtZ/pDg9o9gf8YkFwn8JEhgjVfH1c0GdIlSXBko4DYvjJEPYhbnEPOqHklSi GA2olpcjmJruadRybx8Tn5//kc9p4o0eN7KQaL6B2f14EqZRt0owGzCvmrk78ifgGWlu 0aUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=pl9k0FM/Bp3EiM0j0o9/dLfZac81ZlKNH/blqpavQB0=; b=t9wqsg8E0I/B2jNKQmjjw3J2/iTf+EFoPPhyr3tWw1BKnTDCBCoWTqOXjXHXwew3dU gSNO5k+PY7NJ+i/bvjTT5jFsKJOstXH9MTHMtSsLFva2i0i6mlydmEDNnsd1uG8D/TaL MSB6Zw1C6jkw+/cVhxbHaDFZf4jnDRzdUDQ8tcIZGEMCOk+gprKchcfQScH4QEyHGfuq lK9OgnGhaHV3w0tcgQId8gHj+3xFZ4oLGRfAvP6Pr2x5wBfpYG+pyqEsM5sGh9XH1FQM CjN6M3u0IAVjZwlRIrL3V41fD1fsm74Ao9xy2bOdH2dDD+KAZo1OTUAIJkA64Qy4aBAF qpqQ== X-Gm-Message-State: AOUpUlGMDIm5tYdxJN0CvIlQjjUaQgHi2i79brL9oFY3a1QN0+CgacSB CclJcv7G2ahdmHL9f45uEVluNhFA X-Google-Smtp-Source: AAOMgpdZmotbPqt+q913CualmLE8y9v4RnJPItxo7HlUCHPM9cbugZ5DKPnucoa8nbE3d+NEzBDHEw== X-Received: by 2002:a62:d98f:: with SMTP id b15-v6mr18733952pfl.1.1531758230471; Mon, 16 Jul 2018 09:23:50 -0700 (PDT) Original-Received: from ccrusius.svl.corp.google.com ([2620:0:100e:401:512b:13da:76be:91b3]) by smtp.gmail.com with ESMTPSA id y9-v6sm42624210pgv.31.2018.07.16.09.23.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 09:23:49 -0700 (PDT) In-Reply-To: <83pnzn8982.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 16 Jul 2018 18:57:01 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::241 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227465 Archived-At: --=-=-= Content-Type: text/plain; format=flowed Eli Zaretskii writes: >> From: Cesar Crusius Cc: Cesar Crusius >> , jhanschoo@gmail.com, >> emacs-devel@gnu.org Date: Sat, 14 Jul 2018 18:37:23 -0700 >> >> I'm not sure what you mean by "want the decomposed >> >> characters >> >> to appear in the text," but when I am writing polytonic >> >> Greek and type the sequence above, all I want is to see an >> >> alpha+macron+acute in front of me. >> > On display or in the buffer? If on display, then Emacs >> > should already do that, provided that the font you are using >> > supports the composed characters. That's because by default >> > we have the auto-composition-mode turned on. I was >> > talking about what's in the buffer. I think that if the >> > user types a sequence of characters, Emacs should generally >> > put those characters unaltered in the buffer. If the user >> > wants a precomposed character, she could always type that >> > character's codepoint using "C-x 8 RET", no? But maybe I >> > don't know enough about the expectations of users who would >> > use greek-polytonic input method, maybe in some use cases >> > such automatic composition in the buffer is expected? >> Maybe we're talking about different things... (snip) > > More accurately, input methods normally read ASCII characters > and produce non-ASCII characters, whether accented or not. By > contrast, your original text: > >> For example, the sequence ++> acute accent> is not represented by any precomposed character, >> but appears frequently in critical editions of >> classics. greek-polytonic.el allows for the input of combining >> characters themselves, and substitutes such sequences with >> their Unicode-canonical precomposed equivalents if they exist; That's not mine, but the OP's text :) > led me to believe that your input method takes three non-ASCII > characters, alpha combining macron and combining acute accent, > and produce from them a single composed character which is their > NFC precomposed character. This is not what an input method > should do, IMO. > > However, I see now that no such NFC composition is being done > for non-ASCII input (right?), so I guess I misunderstood; sorry > about that. No need to be sorry about anything -- wonders of written communication. I think we're on the same page now. > (snip) > >> By the way, I'm all for greek.el supporting polytonic Greek >> natively and naturally. I don't remember what the problems >> were, but I gave up on it quickly when trying polytonic >> because it didn't work. > > I was talking about adding your input method to greek.el. Not /my/ input method, I'm just encouraging the OP to think about making this an improvement to greek.el instead of a separate package, as you suggested in your first e-mail :) Cheers, -- Cesar Crusius --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEsu/ErKn7yEV7E0FU/X9qSDfQj2EFAltMxpEACgkQ/X9qSDfQ j2HZkQv/a9lImn8Y/2eODoDdIJ5F/tGWG1m27cDMtGGuMKoVIHkZL3X+KBzR+0Qo CFYa1BpNstBeFkdwNqyE3tqjt7Q1WYglI/OXdz+LNIOVWv9U7AGXV7++97XiOpzC 6+ZyLjgBg4F67872Fd/TZr0E5u7FL73SgZt0Ro5oeyuo5iAg73lSx5Bbs0zgerNj vfLsw6uFiUmGb615Drd2RF9ftIVJwclAgfHZTuAmVh2K4agur5616uQ3DTVRo7ez p36Ipb5Wt+0Sci9u2iTqYBRcsKH1fZzsytJrhJlkcgaq3QWi2aVcjqEA0bOD3CHS ktL2hkLHa+FHInyMFzGcjMThCmN17V1J0k+MltiYsXteg6T4XC4woziu1XjiJyvX RWdqTXztxJKVp24eSaMomfLAlH+7tTveIhZV4f+JkcUVzZWTcLYwnBlVhzRXWKfY IPAqzJ2ZSsp2pryX9e3RiVdTs8zxrZzA2RGSnFH+mWA38c7ZhiIzbDTI4dC0+VG1 +BlR5nOF =9/g1 -----END PGP SIGNATURE----- --=-=-=--