From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christof Spitz Newsgroups: gmane.emacs.help Subject: keyboard macro Date: Mon, 21 Oct 2013 18:35:51 +0200 (CEST) Message-ID: <1048826531.375111.1382373351593.open-xchange@app02.ox.hosteurope.de> Reply-To: Christof Spitz 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 1382373491 29690 80.91.229.3 (21 Oct 2013 16:38:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 16:38:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 18:38:15 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 1VYIUe-0008Rc-CO for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 18:38:12 +0200 Original-Received: from localhost ([::1]:40780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYIUd-0007AN-LN for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 12:38:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYISX-0006ce-Dy for help-gnu-emacs@gnu.org; Mon, 21 Oct 2013 12:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYISQ-0002RK-5F for help-gnu-emacs@gnu.org; Mon, 21 Oct 2013 12:36:01 -0400 Original-Received: from wp255.webpack.hosteurope.de ([80.237.133.24]:59114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYISP-0002R8-VB for help-gnu-emacs@gnu.org; Mon, 21 Oct 2013 12:35:54 -0400 Original-Received: from app02.ox.hosteurope.de ([92.51.170.9]); authenticated by wp255.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:RSA_ARCFOUR_MD5:16) id 1VYISN-0002eD-JC; Mon, 21 Oct 2013 18:35:51 +0200 X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.2.2-Rev21 X-bounce-key: webpack.hosteurope.de;cs@lotsawa.de;1382373353;2a1afe01; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 80.237.133.24 X-Mailman-Approved-At: Mon, 21 Oct 2013 12:37:59 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:94130 Archived-At: Hello, 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. Basically this has become easy since Emacs supports Unicode. The question i= s how to enter those special characters easily. In Windows, I use a scripting pro= gram called "AutoHotKey". I defined macros so that, for example, when I write ".= .a" it will insert "=C4=81" etc. In Emacs, I was not able to define such macros= . I have to use the "function keys" such as f5, or Ctrl or Alt (Meta), so that I hav= e to enter f5-a to produce =C4=81, for example. That makes the typewriting slow.= If I define a macro instead, it needs to finish the string "..a" with a space to "trigger" the insert, but this is not what I want. So my question: Is there a way to define a macro/keyboard function that wil= l insert a certain character at the point when I write "..x" (not followed by= a space)? Or should I better look for a Linux scripting program that works similar to AutoHotKey in Windows? Thanks for any hints, Christof -- Christof Spitz Opitzstr. 6a 22301 Hamburg phone +49 40 38636135 mobile +49 172 9008988