From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Berndl Newsgroups: gmane.emacs.help Subject: Re: displaying the Eurosign at all Date: 08 Oct 2002 11:36:48 +0200 Organization: sd&m AG, Muenchen, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1034070247 23116 127.0.0.1 (8 Oct 2002 09:44:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Oct 2002 09:44:07 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17yquL-00060i-00 for ; Tue, 08 Oct 2002 11:44:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yqrY-0000SA-00; Tue, 08 Oct 2002 05:41:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!oleane.net!oleane!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!news.sdm.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: sachrang.muc.sdm.de Original-X-Trace: solti3.muc.sdm.de 1034069818 18345 193.102.181.147 (8 Oct 2002 09:36:58 GMT) Original-X-Complaints-To: usenet@news.sdm.de Original-NNTP-Posting-Date: 8 Oct 2002 09:36:58 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:105824 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2371 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2371 --=-=-= Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit 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 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit -- 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 --=-=-=--