From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Skilbeck Newsgroups: gmane.emacs.help Subject: Re: Rebinding keys Date: Mon, 25 Mar 2013 14:40:34 +0000 Message-ID: <20130325144034.GB18924@earth> References: <87boa7k23g.fsf@scipolis.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1364222473 8399 80.91.229.3 (25 Mar 2013 14:41:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 14:41:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Nicolas Neuss Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 25 15:41:37 2013 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 1UK8aa-0004Ei-Vf for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 15:41:33 +0100 Original-Received: from localhost ([::1]:38923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK8aC-0002G3-Ub for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 10:41:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK8Zm-0002Bm-5c for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 10:40:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK8Zh-00016f-GD for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 10:40:42 -0400 Original-Received: from li357-97.members.linode.com ([178.79.188.97]:33591 helo=mail.iammark.us) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK8Zh-00016Y-A2 for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 10:40:37 -0400 Original-Received: from mail.iammark.us (host86-156-208-228.range86-156.btcentralplus.com [86.156.208.228]) by mail.iammark.us (Postfix) with ESMTPSA id 9E3FEAB55; Mon, 25 Mar 2013 14:40:35 +0000 (GMT) Content-Disposition: inline In-Reply-To: <87boa7k23g.fsf@scipolis.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 178.79.188.97 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:89732 Archived-At: =D3la! The following ought to work (it worked for me in C-s): (define-key key-translation-map [?=E4] [?a]) -- mgsk On Mon, Mar 25, 2013 at 03:04:19PM +0100, Nicolas Neuss wrote: > Hi, >=20 > for rebinding Umlaute keys on a German keyboard to bindings which are > more useful for LaTeX, I tried the following >=20 > (global-set-key (kbd "=E4") '(lambda () (interactive) (insert "]"))) >=20 > This works when writing normal text, but unfortunately, in search mode > (after C-s, for example), pressing the respective key still searches fo= r > "=E4". >=20 > Is there a better or more complete way to redefine that key? >=20 > Thank you, >=20 > Nicolas >=20 > P.S.: This is on a Mac with Aquamacs, but the same happens with Emacs 2= 3 > under Ubuntu. >=20 > P.S.2: Under Linux/X, I usually use .xmodmap for rebinding the umlaute > keys for all applications. Does anyone here know of a similar key > rebinding for Aqua?