From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Emabela" Newsgroups: gmane.emacs.help Subject: Re: insert unicode Date: Fri, 6 Jan 2006 09:52:47 +0100 Message-ID: <20060106085247.3710.qmail@mail01.vipmail.hu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1136538384 28029 80.91.229.2 (6 Jan 2006 09:06:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Jan 2006 09:06:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 06 10:06:19 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EunXp-0002GH-5b for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jan 2006 10:05:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EunZZ-00069F-TB for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jan 2006 04:07:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EunMw-0002jh-CO for help-gnu-emacs@gnu.org; Fri, 06 Jan 2006 03:54:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EunMu-0002jG-47 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2006 03:54:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EunMt-0002jA-H6 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2006 03:54:39 -0500 Original-Received: from [193.202.83.176] (helo=mail01.vipmail.hu) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EunOc-0008AD-0M for help-gnu-emacs@gnu.org; Fri, 06 Jan 2006 03:56:26 -0500 Original-Received: (qmail 3711 invoked by uid 89); 6 Jan 2006 08:52:47 -0000 Original-To: B.T.Raven , Original-Received: from server.math.u-szeged.hu [160.114.33.195] by mail01 with HTTP; Fri, 6 Jan 2006 09:52:47 +0100 X-Priority: 3 X-Mailer: VIPmail v.2.6 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:32481 Archived-At: I forgot to mention: I use emacs 21.4. > M-a is already bound to 'backward-sentence but anyway this might work: > (global-set-key "\M-a" (lambda () (interactive) (insert ?=E0=AAᦙ= 3;))) > I have 21.3 and I do it this way: e.g. U+0A94 (some Gujarati glyph - > letter AU). Download the free (for non commercial use) Babelmap, find = your > character and then copy it into Emacs, insert it after the question ma= rk > in the above statement (in *scratch*), evaluate, test, and then put it= in > your .emacs if you want to keep it: Thanks for your help. Is it possible to specify the unicode character with latin-1 charaters? Say, (global-set-key "\M-a" (lambda () (interactive) (insert ?\u+0a94))) or something like that? (so that the command would not depend on the encoding of .emacs) ; C-q is out of question (it's too complicated) : ; If I press the key a with acute (U+00E1) in xterm, emacs thinks ; I pressed M-a (according to view-lossage), and I ; frequently use that character. Again, thanks for any help in advance. Regards, Bela --------------------------Hirdet=E9s----------------------------- V=C1LTSON SZ=C9LESS=C1VRA 2006-BAN! Kedvez=F5 =E1rak, forgalomkorl=E1tlan haszn=E1lat, =E9s vil=E1mgyors ki=E9p= =EDt=E9s. Ne v=E1rjon tov=E1bb, jobbat =FAgysem tal=E1l! Klikk ide: http://www.vipdsl.hu