unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* insert unicode
@ 2006-01-05 20:00 Emabela
  2006-01-05 21:10 ` Peter Dyballa
  0 siblings, 1 reply; 11+ messages in thread
From: Emabela @ 2006-01-05 20:00 UTC (permalink / raw)





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.





--------------------------Hirdetés-----------------------------

VÁLTSON SZÉLESSÁVRA 2006-BAN!

Kedvező árak, forgalomkorlátlan használat, és vilámgyors kiép
ítés.

Ne várjon tovább, jobbat úgysem talál!

Klikk ide: http://www.vipdsl.hu

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: insert unicode
@ 2006-01-06  8:52 Emabela
  0 siblings, 0 replies; 11+ messages in thread
From: Emabela @ 2006-01-06  8:52 UTC (permalink / raw)







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  ?ŕŞ&#6553
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és-----------------------------

VÁLTSON SZÉLESSÁVRA 2006-BAN!

Kedvező árak, forgalomkorlátlan használat, és vilámgyors kiép
ítés.

Ne várjon tovább, jobbat úgysem talál!

Klikk ide: http://www.vipdsl.hu

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <mailman.0.1136491361.26925.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2006-03-28 12:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-05 20:00 insert unicode 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
  -- strict thread matches above, loose matches on Subject: below --
2006-01-06  8:52 Emabela
     [not found] <mailman.0.1136491361.26925.help-gnu-emacs@gnu.org>
2006-01-06  2:11 ` B. T. Raven
2006-03-28 12:41 ` Oliver Scholz
2006-03-28 12:54   ` Oliver Scholz

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).