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: The euro symbol in emacs Date: Thu, 4 Dec 2014 21:01:53 +0100 Message-ID: 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 1417723368 22681 80.91.229.3 (4 Dec 2014 20:02:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2014 20:02:48 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 04 21:02:39 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 1Xwcbm-0001TH-L9 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 21:02:38 +0100 Original-Received: from localhost ([::1]:47530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwcbl-0008GD-Q0 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 15:02:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwcba-0008FD-OL for help-gnu-emacs@gnu.org; Thu, 04 Dec 2014 15:02:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwcbZ-0003MH-MA for help-gnu-emacs@gnu.org; Thu, 04 Dec 2014 15:02:26 -0500 Original-Received: from mail-vc0-x233.google.com ([2607:f8b0:400c:c03::233]:40076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwcbZ-0003M2-HC for help-gnu-emacs@gnu.org; Thu, 04 Dec 2014 15:02:25 -0500 Original-Received: by mail-vc0-f179.google.com with SMTP id le20so8365147vcb.38 for ; Thu, 04 Dec 2014 12:02:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=StpceQ98fC4r+bvfu9/SXW1uCjDSyZ6pBjUhoFqNgU0=; b=TDEBbYdOYcrifw3VpvSl04QoMVDMFe+Z8NS2jIZGnrk+2r5GmhrxByOtccWuAAVebr XDw6duspG5+zzW6CV7DFv1kef2cKHH7cJ3zc4cGZSCxR3cUhRE3aT0XD8fKlXFpaBtYw tiMEx36zLm13BcjKDt6EbP7GWWtxSoY6/TWP78HWEhm3gRfyKkfNMRE7uNSXAltEwpZz 4GzMZlWQlC608GYRyl9cGsX2j1Yt3/T0dH9JXVOz16cZyQ3WcluIRIuOVuLc4xUyJrnH iQyLFHqxqQwOZMeN4Qc6bVBwQZDeGva2v+HzqvJ0X+IfnvJHWxxueGuBoGOBxUvPWVn2 RT/A== X-Received: by 10.52.26.168 with SMTP id m8mr5470763vdg.36.1417723344016; Thu, 04 Dec 2014 12:02:24 -0800 (PST) Original-Received: by 10.52.98.97 with HTTP; Thu, 4 Dec 2014 12:01:53 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c03::233 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:101396 Archived-At: Hi, Adapted from many posts and pages on the net, I have following piece of lisp in my .emacs to be able to insert the euro symbol: (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. It does not work e.g. when one wants to search for a =E2=82=AC in a text bu= ffer. So is there really no way to specify the character code corresponding to a key combination in such a way that it also works at the emacs prompt? Guido