From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Guido Van Hoecke Newsgroups: gmane.emacs.help Subject: Re: The euro symbol in emacs Date: Fri, 5 Dec 2014 08:57:06 +0100 Message-ID: References: <98c72276-50f8-45ea-9fd9-636306b3854e@default> 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 1417766280 6321 80.91.229.3 (5 Dec 2014 07:58:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2014 07:58:00 +0000 (UTC) Cc: help-gnu-emacs To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 05 08:57:53 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 1Xwnlw-0004wF-MZ for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Dec 2014 08:57:52 +0100 Original-Received: from localhost ([::1]:49179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwnlw-0007bU-9n for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Dec 2014 02:57:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwnlj-0007bP-MY for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 02:57:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xwnlh-0001Fi-Tt for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 02:57:39 -0500 Original-Received: from mail-vc0-x234.google.com ([2607:f8b0:400c:c03::234]:46910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwnlh-0001FP-Op for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 02:57:37 -0500 Original-Received: by mail-vc0-f180.google.com with SMTP id im6so67127vcb.39 for ; Thu, 04 Dec 2014 23:57:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Xafnz8eT71FjSYLt2yP67fn8WvQCnVf5HwgmxyjXMyo=; b=Xi5owHqqTWpiFi2tTD8dtZR/7uKgYL78QbXgIYlNGLh3r64CADPZ3Xg8drJkcObivx k74SJCT/+9JghbYFjbdqVU3e8oO40uWHeeIarmGE7lU3qmTfv1R0UD3FbeVkWBRK3NQR 77t3n8fduMktjc7/btGs7DORUVAyIasAbqx3yKkBq1dDnv/0prFamPOAL187s9um9FPy dVnWMt6ki1XeyWI4FFUmQ2btlNVxOaXZEdlfkJfdU7wYkeLmRyVYtNAdCILf232kxeFJ 7Q5h7qsIRrvU17s3EG31qR7xVHIAkZPz5QwoiH/GkJxYM/z4XnHRTmN/ODiilh1I3Irr au8A== X-Received: by 10.220.74.197 with SMTP id v5mr7566572vcj.27.1417766257205; Thu, 04 Dec 2014 23:57:37 -0800 (PST) Original-Received: by 10.52.98.97 with HTTP; Thu, 4 Dec 2014 23:57:06 -0800 (PST) In-Reply-To: <98c72276-50f8-45ea-9fd9-636306b3854e@default> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c03::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:101414 Archived-At: Hi Drew On 4 December 2014 at 21:53, Drew Adams wrote: > > (global-set-key (kbd "s-2") (lambda () (interactive) (insert ?=E2=82= =AC))) > > > > 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))) > This sounds like the way to go, but it doen't seem to work. Tried the minibuffer-local-map as well as all other minibuffer-*-map maps that are listed when completing F1 v minibuffer- Well, I'll stick with C-X 8 RET 20AC for now... Guido