From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: greek writing language and keybindings Date: Thu, 04 Nov 2010 13:12:47 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: References: <4CCA2F86.20205@mousecar.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291896752 25911 80.91.229.12 (9 Dec 2010 12:12:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 12:12:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 13:12:29 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQfMK-00069z-Hr for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 13:12:28 +0100 Original-Received: from localhost ([127.0.0.1]:43420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQfMJ-0003nJ-GQ for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 07:12:27 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:z/K3HZD/OgiOKAIorPDPumlNYjc= Original-Lines: 31 Original-NNTP-Posting-Host: 74.125.57.36 Original-X-Trace: news.sunsite.dk DXC=RHdUTiITg_VU2L^MjW List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77015 Archived-At: On Wed, 3 Nov 2010 22:35:15 +0000 (UTC), Ilya Zakharevich wrote: > On 2010-11-03, Giorgos Keramidas wrote: >> On Fri, 29 Oct 2010 05:59:32 +0300 (EEST), Dimitrios Apostolou 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 :-)