From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.devel Subject: Re: Writting Greek in Emacs Date: Thu, 19 Sep 2024 23:33:08 +0530 Message-ID: <87wmj7frmr.fsf@gmail.com> References: <87frpvk8l9.fsf@thanosapollo.org> <86ikur8vku.fsf@gnu.org> <878qvnk3j4.fsf@thanosapollo.org> <86ed5f8ugc.fsf@gnu.org> <875xqrk20g.fsf@thanosapollo.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="27060"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Thanos Apollo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 19 20:04:02 2024 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 1srLVZ-0006vK-QD for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Sep 2024 20:04:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srLUs-0002Ws-1Q; Thu, 19 Sep 2024 14:03:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srLUq-0002Wi-LO for emacs-devel@gnu.org; Thu, 19 Sep 2024 14:03:16 -0400 Original-Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srLUo-0003Bk-W1; Thu, 19 Sep 2024 14:03:16 -0400 Original-Received: by mail-pf1-x444.google.com with SMTP id d2e1a72fcca58-718e11e4186so1087152b3a.2; Thu, 19 Sep 2024 11:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726768993; x=1727373793; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yrJCBC3eLvNLjliwq+0C3u9p00vl+ag/PjtTWkIOEvg=; b=EBzkS87pm0OZPRAthmrbUaqm50EFpA30QlEDkuiCRRQBjbDXHSqzqzNNfCBDGAVDhC z5+/AcFQ+EYqmRAtmQC5uiYmcEj3BQIFWG83jcMu8geRANib3caIj+yMPaCY/WxY8nqd t4VWkdeHm694ocd7WILBh0qygNP0sabak/Q/T+g7GMEcMjth+mDivbbhoP+Y4jXgvJsX ptS+BHEZmzoAzuwzpX/i97DtqlLyqVNXNUEY0ezXlIzQGilgnp9MJBWN/uTjPQd90cUU MwE1RMGy8W7KbChmwu4VM5MrhK/yp6Fl/OllJlrs4aTt6xOG4ztZ4llX8ey+yCEjTKyY cTMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726768993; x=1727373793; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=yrJCBC3eLvNLjliwq+0C3u9p00vl+ag/PjtTWkIOEvg=; b=pG+jtvr5Xi35+omTJgSzZy86SKUlPAWBftGfFJdPbE/uvwGQsyAnDyV7JgglR7Y02o xSZO6aVJAuxhmjc0XsPSpl0Cqv6QFdEwFoNkzw3NRMJyFb2hkcY8kXFkcMpm64XMfimk 6sy+uf+FGddpfTdVQH42fPTn/WJr8TuFTAcvyuTY/pzLjlaVAwykwNfjKAEHqCgYzco6 WtofpBFQzHKNmmCxgkctSErWm/g1ngThiAXy3WW/WNQOmUm9b8NQj+TbopZmgbdmovpE vzhxraEa5gPiLS6d8dQ1lnIffh46iZvXzVpAlQPW1HUEVT3N9ha57G302kWtwNFhvtSG loWg== X-Forwarded-Encrypted: i=1; AJvYcCX7YMsi4f82/+4KJ0oe8cQ7w/Nm9LQPIqqvgAEf7JlFk+Ka8Ht03w4Bd8h471l7zXsOPk6527jKJwFsQQ==@gnu.org X-Gm-Message-State: AOJu0YzvW6qkd8+bREols9xchbFwohtLDKoCylbTW2tx4d8plxQjSGwg E5+rHrSjr0kr2yvJ0qrpE9UGWZVgJ7vbrVwVhFlaqWAXB88DtFe1KauSRb/h X-Google-Smtp-Source: AGHT+IHmfzwSri+Yxy2JPL/wfxv7S7/A+V61UdXfknw0V3QKNg4X4BapUV5sgyg3qf4POnu7VdiaJA== X-Received: by 2002:a05:6a00:4b15:b0:717:9191:8bfb with SMTP id d2e1a72fcca58-7199c9df831mr117329b3a.17.1726768992898; Thu, 19 Sep 2024 11:03:12 -0700 (PDT) Original-Received: from localhost ([1.7.159.70]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db4999dbb0sm9560483a12.86.2024.09.19.11.03.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2024 11:03:12 -0700 (PDT) In-Reply-To: <875xqrk20g.fsf@thanosapollo.org> (Thanos Apollo's message of "Thu, 19 Sep 2024 20:05:19 +0300") Received-SPF: pass client-ip=2607:f8b0:4864:20::444; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x444.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323789 Archived-At: [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE=9A= =E0=AF=86=E0=AE=AA=E0=AF=8D=E0=AE=9F=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0= =AF=8D 19, 2024] Thanos Apollo wrote: > [...] >> Sorry, you are right. There was a discussion to add such a package to >> ELPA back in 2018, but I guess that never happened. However, you can >> find a URL of the package in that discussion: >> >> https://lists.gnu.org/archive/html/emacs-devel/2018-07/msg00528.html >> https://github.com/jhanschoo/greek-polytonic/tree/fsf > > Thank you, after a quick try of this package it still does not provide > proper polytonic support. Also, it does not follow the standard polytonic > keyboard, that is used in the education system in Greece, which is also > offered by other proprietary alternatives to emacs. There are also some > major bugs that one might encounter, e.g stacking accents: > > =CE=AD=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81= =CC=81=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81=CC=81 > > > Are there any plans to include proper support for the Greek language in > Emacs, similar to the support available in the rest of the GNU system > (e.g., xkb)? I am interested in helping with this effort. Creating a Quail input method is fairly straightforward. For the most part, it involves writing a set of "translation rules" which are essentially a mapping from the English text to Greek (in your case). There are simple and easy-to-understand examples in core: have a look at the dvorak input method. As for disallowing accent stacking, a custom UPDATE-TRANSLATION-FUNCTION (see `quail-define-package') for the input method would do the job AFAIU. I am not sure if there is a simpler way to achieve the same. Examples of such a function can be found in the Japanese input methods, and in malayalam-mozhi input method in Emacs. You may also take a look at the tamil99 input method I wrote as another example =20=20=20 https://github.com/9viz/tamil99 where I've tried to comment the UPDATE-TRANSLATION-FUNCTION as much as possible. HTH.