From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: keyboard macro Date: Tue, 22 Oct 2013 01:25:54 +0700 Message-ID: References: <1048826531.375111.1382373351593.open-xchange@app02.ox.hosteurope.de> 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 1382379969 12845 80.91.229.3 (21 Oct 2013 18:26:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 18:26:09 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Christof Spitz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 20:26:12 2013 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 1VYKB6-0008VB-I7 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 20:26:08 +0200 Original-Received: from localhost ([::1]:41140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYKB6-0007jd-2O for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 14:26:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYKAu-0007ih-9Y for help-gnu-emacs@gnu.org; Mon, 21 Oct 2013 14:25:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYKAt-0000j0-5t for help-gnu-emacs@gnu.org; Mon, 21 Oct 2013 14:25:56 -0400 Original-Received: from mail-qa0-x233.google.com ([2607:f8b0:400d:c00::233]:47489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYKAt-0000iu-1H for help-gnu-emacs@gnu.org; Mon, 21 Oct 2013 14:25:55 -0400 Original-Received: by mail-qa0-f51.google.com with SMTP id ii20so2696335qab.17 for ; Mon, 21 Oct 2013 11:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=6cKAOej9MBYnDvJVuUGLpJEiozROlQuMCNJl3jht1hM=; b=m2m1GonuwEDpPMjaQLdnH9du3rSWy9+hZp9WtVNhbOkKZO+ySh1l+EE1pnWLjAkb/n Q9biPEHGGNRLakg5Tv0EpK7YEk4wQkO+mD5qriw5bzRj0RN/RFxUBn7I7c7Nf0kBAkm2 tMsNfkSXq4s1rLxMOouTf3DbE+GwSRdr0CQOi4VVG5nXlHNc74MeTfnAzQQFYbVQ3LgH ULlwNKPlun4eVjGg9vWrDBCYrIKLKZL5r294+qJ9bYaU77xRc5ivcs4Pj/hzLn/ECEWJ zhxvhdD/Nwr9ISBuarRepmNBevNMcCP2kRdCZasLmlw7/mCVixu0DL2ZdHh2qwa0zQQH 2fAw== X-Received: by 10.224.161.146 with SMTP id r18mr24663336qax.57.1382379954643; Mon, 21 Oct 2013 11:25:54 -0700 (PDT) Original-Received: by 10.96.179.36 with HTTP; Mon, 21 Oct 2013 11:25:54 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: uSBjWLgWzfMw-KOvpkxNqrjkM70 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::233 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:94137 Archived-At: On Tue, Oct 22, 2013 at 1:17 AM, Yuri Khan wrote: > On Mon, Oct 21, 2013 at 11:35 PM, Christof Spitz wrote: > >> I have to write special characters for transliteration of a non-european >> language (devanagari) in Emacs. These include characters like =C4=81,=C4= =AB,=C5=AB,=C5=9B,=E1=B9=A3 etc. > > It never ceases to amaze me how far people are willing to go just to > avoid using an appropriate OS-level keyboard layout. In your case, > probably, the command =E2=80=9Csetxkbmap -layout "us,in" -variant ",deva" > -options "grp:caps_toggle,grp_led:caps"=E2=80=9D will help a lot. On second reading, you want a transliteration, not real devanagari. In that case, you can create your own transliterated layout by cloning the /usr/share/X11/xkb/symbols/in file and substituting your preferred code points. (You will also need to add lines to the rules/evdev file.) Alternatively, hack the Latin-based layout of your choice to include the diacritics you need, either as dead keys or as combining characters.