emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writting Greek in Emacs


From: Visuwesh
Subject: Re: Writting Greek in Emacs
Date: Thu, 19 Sep 2024 23:33:08 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

[வியாழன் செப்டம்பர் 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:
>
> έ́́́́́́́́́́́́́́́́́́́́́́
>
>
> 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
   
    https://github.com/9viz/tamil99

where I've tried to comment the UPDATE-TRANSLATION-FUNCTION as much as
possible.

HTH.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]