[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The euro symbol in emacs
From: |
Guido Van Hoecke |
Subject: |
Re: The euro symbol in emacs |
Date: |
Fri, 5 Dec 2014 08:57:06 +0100 |
Hi Drew
On 4 December 2014 at 21:53, Drew Adams <drew.adams@oracle.com> wrote:
> > (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 ?€)))
>
This sounds like the way to go, but it doen't seem to work. Tried the
minibuffer-local-map as well as all other minibuffer-*-map maps that are
listed when completing F1 v minibuffer-
Well, I'll stick with C-X 8 RET 20AC for now...
Guido