unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* The euro symbol in emacs
@ 2014-12-04 20:01 Guido Van Hoecke
  2014-12-04 20:44 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Guido Van Hoecke @ 2014-12-04 20:01 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <mailman.15272.1417723349.1147.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2014-12-05 17:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).