[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: insert unicode
From: |
B. T. Raven |
Subject: |
Re: insert unicode |
Date: |
Fri, 06 Jan 2006 02:11:14 GMT |
"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