From: Drew Adams <drew.adams@oracle.com>
To: Guido Van Hoecke <guivho@gmail.com>,
help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: RE: The euro symbol in emacs
Date: Thu, 4 Dec 2014 12:53:32 -0800 (PST) [thread overview]
Message-ID: <98c72276-50f8-45ea-9fd9-636306b3854e@default> (raw)
In-Reply-To: <CAEySM9EwKChAZuc0HHxbXEjm8RR4j8OmmRvRD8qWv+vCZez3ew@mail.gmail.com>
> (global-set-key (kbd "s-2") (lambda () (interactive) (insert ?€)))
>
> That works fine for text buffers, but it does not work in the prompt
> area.
The prompt area is read-only, normally. My crystal ball tells me that
you really mean "in the minibuffer", i.e., during input.
For that, try adding that binding to one or all of the minibuffer
keymaps. It is probably enough to add it to only `minibuffer-local-map':
(define-key minibuffer-local-map (kbd "s-2")
(lambda () (interactive) (insert ?€)))
next prev parent reply other threads:[~2014-12-04 20:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 20:01 The euro symbol in emacs Guido Van Hoecke
2014-12-04 20:44 ` Eli Zaretskii
2014-12-04 20:51 ` Stefan Monnier
2014-12-04 20:53 ` Drew Adams [this message]
2014-12-05 7:57 ` Guido Van Hoecke
2014-12-05 15:15 ` Drew Adams
2014-12-05 17:39 ` Guido Van Hoecke
[not found] ` <mailman.15304.1417766262.1147.help-gnu-emacs@gnu.org>
2014-12-05 9:10 ` Ralf Fassel
2014-12-05 10:21 ` Joost Kremers
2014-12-05 12:26 ` Guido Van Hoecke
[not found] <mailman.15272.1417723349.1147.help-gnu-emacs@gnu.org>
2014-12-04 20:10 ` Álvar Ibeas
2014-12-04 20:11 ` Álvar Ibeas
2014-12-04 20:22 ` Álvar Ibeas
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=98c72276-50f8-45ea-9fd9-636306b3854e@default \
--to=drew.adams@oracle.com \
--cc=guivho@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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).