unofficial mirror of emacs-devel@gnu.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: 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
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 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=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 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).