help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: displaying the Eurosign at all


From: Klaus Berndl
Subject: Re: displaying the Eurosign at all
Date: 08 Oct 2002 11:36:48 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

On Tue, 08 Oct 2002, Martin Schmitz wrote:



>  Raimund.Kohl@freenet.de writes:
>  
> > I am following this discussion about the Euro-Sign ... and wonder, how to
> > produce an Euro sign within a buffer if I have NO Euro key an my keyboard.
> > I am using a US keyboard and running emacs 21.1.1. on SuSE 8.0
>  
>  (defun insert-euro ()
>    "insert the euro sign"
>    (interactive "*")
>    (insert (string (make-char 'latin-iso8859-15 164))))
>  
>  (global-set-key "your favorite key-sequence" 'insert-euro)

Yes, this does the job, great. Now i can insert the €.
Windows users could do

(global-set-key (kbd "\200") 'insert-euro)

to get the € at the same key like in other Windows-programs.

Thanks,
Klaus

-- 
Klaus Berndl                    mailto: klaus.berndl@sdm.de
sd&m AG                         http://www.sdm.de
software design & management
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220

reply via email to

[Prev in Thread] Current Thread [Next in Thread]