From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dimitrios Apostolou Newsgroups: gmane.emacs.help Subject: Re: greek writing language and keybindings Date: Fri, 29 Oct 2010 05:59:32 +0300 (EEST) Message-ID: References: <4CCA2F86.20205@mousecar.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: dough.gmane.org 1288321638 20907 80.91.229.12 (29 Oct 2010 03:07:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2010 03:07:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: ken Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 29 05:07:17 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 1PBfJE-000716-SP for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Oct 2010 05:07:17 +0200 Original-Received: from localhost ([127.0.0.1]:57232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBfJD-0001hP-U8 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Oct 2010 23:07:15 -0400 Original-Received: from [140.186.70.92] (port=40563 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBfIv-0001A4-Ka for help-gnu-emacs@gnu.org; Thu, 28 Oct 2010 23:07:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBf3b-0001FJ-0s for help-gnu-emacs@gnu.org; Thu, 28 Oct 2010 22:51:08 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:57227 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PBf3a-0001FD-L8 for help-gnu-emacs@gnu.org; Thu, 28 Oct 2010 22:51:06 -0400 Original-Received: (qmail invoked by alias); 29 Oct 2010 02:51:04 -0000 Original-Received: from 178-14-100.dynamic.cyta.gr (EHLO beee.lan) [178.59.14.100] by mail.gmx.net (mp007) with SMTP; 29 Oct 2010 04:51:04 +0200 X-Authenticated: #4463548 X-Provags-ID: V01U2FsdGVkX19MTr8EV2FMGmhHD6B6zupghI/x4kATQWkgQ8Kcrq sSlmNjFvmGp8SX X-X-Sender: jimis@localhost.localdomain In-Reply-To: <4CCA2F86.20205@mousecar.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:75269 Archived-At: Hi, thanks for your reply I should note that I am already writing greek perfectly in emacs, and I am switching languages using the X server shortcut I have chosen for every X application with the following command, and I wouldn't like to change that: setxkbmap us,el -option "grp:shifts_toggle" The problem is that I have to switch back to english for the default keybindings to work, which is very irritating! On Thu, 28 Oct 2010, ken wrote: > Though I'm not the list's expert, I have dabbled in some languages with > emacs. From what I've found, there's two steps. One is to set the > buffer's language environment. UTF-8 works for many different > languages, Greek included. Select UTF-8 for the current buffer by > clicking on "Options", "MULE", and "Set Language Environment", then "URF-8". I am using emacs 23 and there is a little "U" at the lower left corner of the emacs window, doesn't that mean that UTF-8 is selected by default? > > 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? Thanks, Dimitris P.S. On a sidenote, maybe this is related to my emacs being compiled with GTK+ disabled and Motif toolkit enabled? Can someone with a GTK+ enabled emacs test whether keybindings work, when a non-latin language is enabled? > > After you find what works for you, then of course you can put something > in your ~/.emacs, but I don't know what that would be. > > hth, > ken >