unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <ecinmn@peoplepc.com>
Subject: Re: insert unicode
Date: Fri, 06 Jan 2006 02:11:14 GMT	[thread overview]
Message-ID: <6lkvf.2777$ZA2.719@newsread1.news.atl.earthlink.net> (raw)
In-Reply-To: mailman.0.1136491361.26925.help-gnu-emacs@gnu.org


"Emabela" <emabela@vipmail.hu> wrote in message
news:mailman.0.1136491361.26925.help-gnu-emacs@gnu.org...



Hello Everybody,



I know that this is the simplest question,

but I could not find the answer.

So any help would be greatly appreciated.



How can I map a key to insert a unicode character

(say, U+XYZW)?



(define-key global-map "\M-a" ?????")



Thanks.



Regards,

B.


M-a is already bound to 'backward-sentence but anyway this might work:

(global-set-key "\M-a" (lambda () (interactive) (insert  ?ઔ)))

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 mark
in the above statement (in *scratch*), evaluate, test, and then put it in
your .emacs if you want to keep it:

ઔ

Ed

       reply	other threads:[~2006-01-06  2:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.0.1136491361.26925.help-gnu-emacs@gnu.org>
2006-01-06  2:11 ` B. T. Raven [this message]
2006-03-28 12:41 ` insert unicode Oliver Scholz
2006-03-28 12:54   ` Oliver Scholz
2006-01-06  8:52 Emabela
  -- strict thread matches above, loose matches on Subject: below --
2006-01-05 20:00 Emabela
2006-01-05 21:10 ` Peter Dyballa
2006-01-06  5:24   ` Ian Zimmerman
2006-01-06  9:55     ` Peter Dyballa
     [not found]     ` <mailman.82.1136541729.26925.help-gnu-emacs@gnu.org>
2006-01-09  9:46       ` Harald Hanche-Olsen
2006-01-09 12:56         ` Peter Dyballa
2006-01-11 12:36           ` kokrhac - Ales MATAS

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='6lkvf.2777$ZA2.719@newsread1.news.atl.earthlink.net' \
    --to=ecinmn@peoplepc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).