all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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 --
     [not found] <mailman.15272.1417723349.1147.help-gnu-emacs@gnu.org>
2014-12-04 20:10 ` The euro symbol in emacs Álvar Ibeas
2014-12-04 20:11 ` Álvar Ibeas
2014-12-04 20:22   ` Álvar Ibeas
2014-12-04 20:01 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

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.