From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: The euro symbol in emacs Date: Thu, 4 Dec 2014 12:53:32 -0800 (PST) Message-ID: <98c72276-50f8-45ea-9fd9-636306b3854e@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1417726455 9315 80.91.229.3 (4 Dec 2014 20:54:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2014 20:54:15 +0000 (UTC) To: Guido Van Hoecke , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 04 21:54:08 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XwdPb-00064x-Bp for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 21:54:07 +0100 Original-Received: from localhost ([::1]:47682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwdPb-0004Gd-28 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 15:54:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwdPF-0004GQ-P5 for help-gnu-emacs@gnu.org; Thu, 04 Dec 2014 15:53:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwdP7-00061u-2H for help-gnu-emacs@gnu.org; Thu, 04 Dec 2014 15:53:45 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:36387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwdP6-00061j-SR for help-gnu-emacs@gnu.org; Thu, 04 Dec 2014 15:53:36 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sB4KrXEQ011050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 4 Dec 2014 20:53:34 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sB4KrX5H020554 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Dec 2014 20:53:33 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id sB4KrW3u022621; Thu, 4 Dec 2014 20:53:33 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101402 Archived-At: > (global-set-key (kbd "s-2") (lambda () (interactive) (insert ?=E2=82=AC= ))) >=20 > That works fine for text buffers, but it does not work in the prompt > area. The prompt area is read-only, normally. My crystal ball tells me that you really mean "in the minibuffer", i.e., during input. For that, try adding that binding to one or all of the minibuffer keymaps. It is probably enough to add it to only `minibuffer-local-map': (define-key minibuffer-local-map (kbd "s-2") (lambda () (interactive) (insert ?=E2=82= =AC)))