all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Guido Van Hoecke <guivho@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: The euro symbol in emacs
Date: Thu, 4 Dec 2014 21:01:53 +0100	[thread overview]
Message-ID: <CAEySM9EwKChAZuc0HHxbXEjm8RR4j8OmmRvRD8qWv+vCZez3ew@mail.gmail.com> (raw)

Hi,

Adapted from many posts and pages on the net, I have following piece of
lisp in my .emacs to be able to insert the euro symbol:

  (global-set-key (kbd "s-2") (lambda () (interactive)  (insert  ?€ )))

That works fine for text buffers, but it does not work in the prompt area.
It does not work e.g. when one wants to search for a € in a text buffer.

So is there really no way to specify the character code corresponding to a
key combination in such a way that it also works at the emacs prompt?

Guido


             reply	other threads:[~2014-12-04 20:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-04 20:01 Guido Van Hoecke [this message]
2014-12-04 20:44 ` The euro symbol in emacs Eli Zaretskii
2014-12-04 20:51 ` Stefan Monnier
2014-12-04 20:53 ` Drew Adams
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEySM9EwKChAZuc0HHxbXEjm8RR4j8OmmRvRD8qWv+vCZez3ew@mail.gmail.com \
    --to=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.
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.