From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shakthi Kannan Newsgroups: gmane.emacs.help Subject: Switching non-English keyboard layouts and using Emacs shortcuts Date: Wed, 13 May 2015 10:05:37 +0530 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1431491754 23495 80.91.229.3 (13 May 2015 04:35:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 May 2015 04:35:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 13 06:35:53 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YsOOd-0000mf-Kq for geh-help-gnu-emacs@m.gmane.org; Wed, 13 May 2015 06:35:51 +0200 Original-Received: from localhost ([::1]:46132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsOOc-0003s7-PS for geh-help-gnu-emacs@m.gmane.org; Wed, 13 May 2015 00:35:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsOOS-0003rm-5O for help-gnu-emacs@gnu.org; Wed, 13 May 2015 00:35:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsOOR-0000k4-0N for help-gnu-emacs@gnu.org; Wed, 13 May 2015 00:35:40 -0400 Original-Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]:35243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsOOQ-0000ja-SU for help-gnu-emacs@gnu.org; Wed, 13 May 2015 00:35:38 -0400 Original-Received: by oign205 with SMTP id n205so22433071oig.2 for ; Tue, 12 May 2015 21:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6XJvzT/BO6NS3Ust0h005Sbki77xTiskhyxOunah1DY=; b=C1RvcFLFPYalMRyofgodAZR3eHHK1D7SyDYBbKi8vReyWekv9eSrlhkfIcS5lgvhaU 7zwhvBsnGX67gfbFpxopKcH8i7gng6eRqVKCrlsJPY3cl0gzdtOTZeE+0k5b6oRvd8VE UKsI0P1FY9od/DPMJ4R69FixwrmVzFofNRsQIklIsSRnSlBrObT9wH6ntbD+FwFllxc0 ZsPPkZIA92sCN2nM3brMAQDrC4yqFJG3SspX6IxVHG1xYXm1reblwF2xz+m1WuQ/pYlp nyz8LJjSh2pRcrS7A/PX3cVC8J+/c8OX0BkRtp8bYQflAia6UL1qsKkbtRAQL0uOA6XO 1qlg== X-Received: by 10.60.52.209 with SMTP id v17mr14789469oeo.68.1431491737630; Tue, 12 May 2015 21:35:37 -0700 (PDT) Original-Received: by 10.202.108.18 with HTTP; Tue, 12 May 2015 21:35:37 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104433 Archived-At: Hi, I am using GNU Emacs 24.3.1 on Ubuntu 14.10. I use the following to switch between Dvorak and Tamil (native language) keyboard layouts respectively: $ setxkbmap us -variant dvorak $ setxkbmap -layout in -variant tam_unicode When using the Tamil keyboard layout, I am able to enter unicode characters, but, the Emacs shortcuts do not work anymore. The message that I get when I want to move to the beginning of the line is "C-=E0=AE=AF= is undefined" (equivalent of C-a in Dvorak layout). I can switch to the Dvorak layout, use Emacs shortcuts and then switch back to enter unicode characters, but this is tedious. #1 Is there a way to program Emacs such that when I press "C-", then any key that follows needs to be interpreted from the Dvorak layout? #2 How do other people who use non-English layouts use Emacs shortcuts with their native language input method? Appreciate any help in this regard, Thanks! SK --=20 Shakthi Kannan http://www.shakthimaan.com