emacs-devel
[Top][All Lists]
Advanced

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

Re: Writting Greek in Emacs


From: Robert Pluim
Subject: Re: Writting Greek in Emacs
Date: Fri, 20 Sep 2024 15:41:46 +0200

>>>>> On Fri, 20 Sep 2024 15:55:31 +0300, Thanos Apollo 
>>>>> <public@thanosapollo.org> said:
    >> 
    >> Then thereʼs no issue. Just define "´´" -> "´" etc
    >> 

    Thanos> The issue is that some greek input methods, such as greek-polytinic
    Thanos> that was recommended, have that in reverse.  They first add a 
character
    Thanos> and then the user can throw unlimited accents at it, e.g

    Thanos> ᾴ́́́́́́́́́́́́́́́́́́́́̔̔̔̔̔̔̔̔̔̔̓̓̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈̈ͅͅͅͅͅͅͅͅ

    Thanos> This should be considered a different language, not Greek.

"what do you care what other people think, Mr Feynman?". If youʼre
going to define a new input method, it doesnʼt matter what the
existing ones do.

    Thanos> Combinations of accents have specific keybindings, usually using
    Thanos> modifier keys (Meta, Control).  Do you have any examples of quail 
or any
    Thanos> other input method that uses modifier keys?
    >> 
    >> I donʼt think thatʼs currently possible in quail. "quail.el"
    >> explicitly says "ASCII key string".
    >> 

    Thanos> Thank you, do you have any ideas of how to approach creating an 
input method that
    Thanos> uses modifier keys?

Iʼd take a look at input methods that have SIMPLE = nil, maybe that allows
using modifier keys.

`key-translation-map' allows it, so it should be possible with quail
as well:

    (define-prefix-command 'meta-q-map)
    (define-key key-translation-map (kbd "M-Q") meta-q-map)
    (define-key meta-q-map "a" "ᾴ")

Of course, then you get the issue that your modifier keys are likely
already bound to commands in emacs.

Robert
-- 



reply via email to

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