From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: global-set-key with altGr on PC
Date: Tue, 14 Oct 2003 11:01:49 -0600 [thread overview]
Message-ID: <3F8C2BFD.9060006@yahoo.com> (raw)
In-Reply-To: 3F8C1693.7050805@yahoo.com
I wrote:
> You have to modify the function bound to AltGr-e to behave differently
> when it's called with a prefix arg (C-u):
>
> (defun insert-euro (&optional arg)
> "Insert the ISO 8859-15 Euro symbol.
> With a prefix arg, insert the corresponding Unicode character instead."
> (interactive)
Oops: (interactive "*P")
> (if arg
> (insert (make-char 'mule-unicode-0100-24ff 116 76))
> (insert (make-char 'latin-iso8859-15 164))))
>
> (global-set-key [128] 'insert-euro) ; AltGr-e
--
Kevin Rodgers
next prev parent reply other threads:[~2003-10-14 17:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1662.1066134615.21628.help-gnu-emacs@gnu.org>
2003-10-14 15:30 ` global-set-key with altGr on PC Kevin Rodgers
2003-10-14 15:51 ` Sébastien Kirche
2003-10-14 16:35 ` Sébastien Kirche
2003-10-14 17:01 ` Kevin Rodgers [this message]
2003-10-14 12:28 Sébastien Kirche
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F8C2BFD.9060006@yahoo.com \
--to=ihs_4664@yahoo.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.