help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: insert unicode


From: Oliver Scholz
Subject: Re: insert unicode
Date: Tue, 28 Mar 2006 14:41:40 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Emabela" <address@hidden> writes:

[...]
> How can I map a key to insert a unicode character
>
> (say, U+XYZW)?
>
>
>
> (define-key global-map "\M-a" ?????")

In Emacs 22:

(defun my-insert-ucs (hex)
  (interactive "sHexadecimal code: ")
  (ucs-insert hex))

(define-key global-map [?\C-c ?u] #'my-insert-ucs)


    Oliver
-- 
8 Germinal an 214 de la Révolution
Liberté, Egalité, Fraternité!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]