all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: help-gnu-emacs@gnu.org
Subject: Re: greek writing language and keybindings
Date: Thu, 04 Nov 2010 13:12:47 +0100	[thread overview]
Message-ID: <xeiaiq0db83k.fsf@kobe.laptop> (raw)
In-Reply-To: slrnid3ot3.i4f.nospam-abuse@powdermilk.math.berkeley.edu

On Wed, 3 Nov 2010 22:35:15 +0000 (UTC), Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
> On 2010-11-03, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
>> On Fri, 29 Oct 2010 05:59:32 +0300 (EEST), Dimitrios Apostolou <jimis@gmx.net> wrote:
>>>> Next, in order to be able to type in Greek characters, you need to set
>>>> the input method.  Do this for the current buffer by clicking on
>>>> "Options", "MULE", and "Select Input Method".  In the minibuffer type
>>>> "gr", then hit Tab (C-i) and you'll see several Greek input methods.
>>>> You'll have to play around with these to find the one(s) you prefer.
>>>
>>> Thanks for the suggestion, I tried that and indeed emacs keybindings
>>> work fine like that. But that requires switching languages within emacs
>>> with C-\, overriding the setxkbmap command. Is there a better way?
>>
>> Unfortunately no.  The current XKB input method changes what Emacs sees
>> as a keypress when you switch languages through XKB.  So you have to
>> stick to C-\ and `M-x set-input-method' or keep switching back to XKB
>> English before you use an Emacs command.
>
> So what?  When a key-map gets an unknown key, cannot it call a
> user-defined function to translate stuff using a special
> translation-map?  Essentially, this would mean installing a special
> translation-map for duration of key-sequences...

Maybe.  This sounds like a useful idea...

I feel rather satisfied with the internal Emacs C-\ input selection, and
I've even patched Emacs 23.X to support Greek style «quotes», so there
is little incentive for me to patch that.

I'll gladly review any patches you write for this sort of thing :-)



      reply	other threads:[~2010-11-04 12:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-29  0:00 greek writing language and keybindings Dimitrios Apostolou
2010-10-29  2:20 ` ken
2010-10-29  2:59   ` Dimitrios Apostolou
     [not found]   ` <mailman.2.1288321622.25127.help-gnu-emacs@gnu.org>
2010-10-29 16:46     ` B. T. Raven
     [not found]     ` <xeiahbfyzoj7.fsf@kobe.laptop>
2010-11-03 22:35       ` Ilya Zakharevich
2010-11-04 12:12         ` Giorgos Keramidas [this message]

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=xeiaiq0db83k.fsf@kobe.laptop \
    --to=keramida@ceid.upatras.gr \
    --cc=help-gnu-emacs@gnu.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.