unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Visuwesh <visuweshm@gmail.com>
To: Thanos Apollo <public@thanosapollo.org>
Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
Subject: Re: Writting Greek in Emacs
Date: Thu, 19 Sep 2024 23:33:08 +0530	[thread overview]
Message-ID: <87wmj7frmr.fsf@gmail.com> (raw)
In-Reply-To: <875xqrk20g.fsf@thanosapollo.org> (Thanos Apollo's message of "Thu, 19 Sep 2024 20:05:19 +0300")

[வியாழன் செப்டம்பர் 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.



  parent reply	other threads:[~2024-09-19 18:03 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-19 14:43 Writting Greek in Emacs Thanos Apollo
2024-09-19 14:57 ` Greg Farough
2024-09-19 16:12   ` Thanos Apollo
2024-09-19 16:49     ` Greg Farough
2024-09-19 16:19 ` Eli Zaretskii
2024-09-19 16:32   ` Thanos Apollo
2024-09-19 16:42     ` Robert Pluim
2024-09-19 16:44     ` Eli Zaretskii
2024-09-19 17:05       ` Thanos Apollo
2024-09-19 17:44         ` Eli Zaretskii
2024-09-19 18:06           ` Thanos Apollo
2024-09-19 18:27             ` Eli Zaretskii
2024-09-19 19:04               ` Thanos Apollo
2024-09-20  5:56                 ` Eli Zaretskii
2024-09-19 18:03         ` Visuwesh [this message]
2024-09-19 18:13           ` Visuwesh
2024-09-19 19:03           ` Thanos Apollo
2024-09-19 18:07         ` Eli Zaretskii
2024-09-19 19:02           ` Thanos Apollo
2024-09-20  5:55             ` Eli Zaretskii
2024-09-20  9:18               ` Thanos Apollo
2024-09-20  9:47                 ` Emanuel Berg
2024-09-20 10:40                 ` Eli Zaretskii
2024-09-20 11:16                   ` Thanos Apollo
2024-09-20 12:24                   ` Thanos Apollo
2024-09-20 12:39                     ` Robert Pluim
2024-09-20 12:55                       ` Thanos Apollo
2024-09-20 13:41                         ` Robert Pluim
2024-09-20 13:35                     ` Eli Zaretskii
2024-09-20 13:54                       ` Thanos Apollo
2024-09-20 14:48                         ` Emanuel Berg
2024-09-20 22:00                           ` Thanos Apollo
2024-09-21  8:19                             ` Eli Zaretskii
2024-09-21 15:31                             ` Emanuel Berg
2024-09-20 14:23 ` Max Nikulin
2024-09-20 23:53   ` Thanos Apollo
2024-09-21  5:40     ` Keybindings and changing keyboard layout [was: Writting Greek in Emacs] tomas
2024-09-21 17:55       ` Juri Linkov
2024-09-22  6:47         ` tomas
2024-09-22 11:29           ` Max Nikulin
2024-09-23  5:54             ` tomas
2024-09-24  4:22               ` Max Nikulin
2024-09-24 14:10                 ` tomas
2024-09-21  8:23     ` Writting Greek in Emacs Eli Zaretskii
2024-09-23  3:28     ` Max Nikulin
2024-09-23 14:02       ` Thanos Apollo
2024-09-24  3:53         ` Max Nikulin
2024-09-24 14:37           ` Thanos Apollo
2024-09-24 13:54         ` tomas
  -- strict thread matches above, loose matches on Subject: below --
2024-10-05 19:39 Juan Manuel Macías
2024-10-09  3:29 ` Richard Stallman
2024-10-09  5:41   ` Thanos Apollo
2024-10-09  9:03     ` Robert Pluim
2024-10-09 10:10       ` Thanos Apollo
2024-10-09 16:44     ` Juan Manuel Macías
2024-10-09 19:08       ` Thanos Apollo
2024-10-09 19:18         ` Eli Zaretskii
2024-10-09 20:03           ` Thanos Apollo
2024-10-10  4:41             ` Eli Zaretskii
2024-10-10  6:49               ` Thanos Apollo
2024-10-09 20:41         ` Juan Manuel Macías
2024-10-09 22:05           ` Thanos Apollo
2024-10-10  0:12             ` Juan Manuel Macías
2024-10-10  2:48               ` Thanos Apollo
2024-10-10  6:14                 ` Eli Zaretskii
2024-10-10 12:55                   ` Robert Pluim
2024-10-10 13:04                     ` tomas
2024-10-09 12:36   ` Eli Zaretskii
2024-10-09 16:51   ` Juan Manuel Macías

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wmj7frmr.fsf@gmail.com \
    --to=visuweshm@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=public@thanosapollo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).