From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: displaying the Eurosign at all Date: Mon, 07 Mar 2005 09:58:57 -0500 Organization: Bell Sympatico Message-ID: <87is43cy2s.fsf-monnier+gnu.emacs.help@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1110208662 24290 80.91.229.2 (7 Mar 2005 15:17:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2005 15:17:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 07 16:17:42 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8JsL-0007oR-AK for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2005 16:10:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8KC8-0007F3-1G for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2005 10:30:56 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wns13feed!worldnet.att.net!207.35.177.252!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:gzq9zLCCxx7YBGO+kfSQCWvTCa0= Original-Lines: 22 Original-NNTP-Posting-Host: 67.71.25.242 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1110207537 67.71.25.242 (Mon, 07 Mar 2005 09:58:57 EST) Original-NNTP-Posting-Date: Mon, 07 Mar 2005 09:58:57 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:129053 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24600 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24600 > Klaus Berndl wrote: > ... >> (global-set-key (kbd "\200") 'insert-euro) To bind a command to the euro key, I'd recommend something like: (global-set-key "€" 'insert-euro) Also instead of `insert-euro' I'd just use: (global-set-key "€" 'self-insert-command) But since "€" is already bound to self-insert-command by default, I'd recommend you don't change anything at all. BTW 128 (aka \200) is not the latin-9 encoding of the euro sign (it's 164, aka \244), AFAIK, so the problem is most likely that you haven't correctly described the coding-system used by your keyboard, which doesn't seem to be latin-9. Stefan