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 16:07:43 +0000 Message-ID: <20130325160743.GC18924@earth> References: <87boa7k23g.fsf@scipolis.de> <20130325144034.GB18924@earth> 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 1364227689 4772 80.91.229.3 (25 Mar 2013 16:08:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 16:08:09 +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 17:08:36 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 1UK9wl-0007p6-SX for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 17:08:31 +0100 Original-Received: from localhost ([::1]:57028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK9wN-0000bt-TZ for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 12:08:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK9w6-0000aq-IW for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 12:07:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK9w1-0008Fb-NM for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 12:07:50 -0400 Original-Received: from li357-97.members.linode.com ([178.79.188.97]:35820 helo=mail.iammark.us) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK9w1-0008FW-I0 for help-gnu-emacs@gnu.org; Mon, 25 Mar 2013 12:07:45 -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 904A9AB55; Mon, 25 Mar 2013 16:07:44 +0000 (GMT) Content-Disposition: inline In-Reply-To: <20130325144034.GB18924@earth> 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:89739 Archived-At: Oops. That [?a] should be [?\]] On Mon, Mar 25, 2013 at 02:40:34PM +0000, Mark Skilbeck wrote: > =D3la! >=20 > The following ought to work (it worked for me in C-s): >=20 > (define-key key-translation-map [?=E4] [?a]) >=20 > -- mgsk >=20 > 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 mod= e > > (after C-s, for example), pressing the respective key still searches = for > > "=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= 23 > > under Ubuntu. > >=20 > > P.S.2: Under Linux/X, I usually use .xmodmap for rebinding the umlaut= e > > keys for all applications. Does anyone here know of a similar key > > rebinding for Aqua?