all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@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: Fri, 20 Sep 2024 15:41:46 +0200	[thread overview]
Message-ID: <87zfo2fnmt.fsf@gmail.com> (raw)
In-Reply-To: <87ploya3i4.fsf@thanosapollo.org> (Thanos Apollo's message of "Fri, 20 Sep 2024 15:55:31 +0300")

>>>>> 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	other threads:[~2024-09-20 13:41 UTC|newest]

Thread overview: 32+ 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
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 [this message]
2024-09-20 13:35                     ` Eli Zaretskii
2024-09-20 13:54                       ` Thanos Apollo
2024-09-20 14:48                         ` Emanuel Berg
2024-09-20 14:23 ` Max Nikulin

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

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

  git send-email \
    --in-reply-to=87zfo2fnmt.fsf@gmail.com \
    --to=rpluim@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.