From: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: insert unicode
Date: Tue, 28 Mar 2006 14:54:20 +0200 [thread overview]
Message-ID: <4429322c$0$7759$9b4e6d93@newsread4.arcor-online.net> (raw)
In-Reply-To: 44292f38$0$7760$9b4e6d93@newsread4.arcor-online.net
[Follow up to myself]
Oliver Scholz <alkibiades@gmx.de> writes:
> "Emabela" <emabela@vipmail.hu> 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)
Scrap that. Just:
(define-key global-map [?\C-c ?u] #'ucs-insert)
Oliver
--
8 Germinal an 214 de la Révolution
Liberté, Egalité, Fraternité!
next prev parent reply other threads:[~2006-03-28 12:54 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 ` insert unicode B. T. Raven
2006-03-28 12:41 ` Oliver Scholz
2006-03-28 12:54 ` Oliver Scholz [this message]
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='4429322c$0$7759$9b4e6d93@newsread4.arcor-online.net' \
--to=alkibiades@gmx.de \
/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).