all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark Skilbeck <m@iammark.us>
To: Nicolas Neuss <lastname@scipolis.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Rebinding keys
Date: Mon, 25 Mar 2013 16:07:43 +0000	[thread overview]
Message-ID: <20130325160743.GC18924@earth> (raw)
In-Reply-To: <20130325144034.GB18924@earth>

Oops. That [?a] should be [?\]]

On Mon, Mar 25, 2013 at 02:40:34PM +0000, Mark Skilbeck wrote:
> Óla!
> 
> The following ought to work (it worked for me in C-s):
> 
>   (define-key key-translation-map [?ä] [?a])
> 
> -- mgsk
> 
> On Mon, Mar 25, 2013 at 03:04:19PM +0100, Nicolas Neuss wrote:
> > Hi,
> > 
> > for rebinding Umlaute keys on a German keyboard to bindings which are
> > more useful for LaTeX, I tried the following
> > 
> > (global-set-key (kbd "ä") '(lambda () (interactive) (insert "]")))
> > 
> > This works when writing normal text, but unfortunately, in search mode
> > (after C-s, for example), pressing the respective key still searches for
> > "ä".
> > 
> > Is there a better or more complete way to redefine that key?
> > 
> > Thank you,
> > 
> > Nicolas
> > 
> > P.S.: This is on a Mac with Aquamacs, but the same happens with Emacs 23
> > under Ubuntu.
> > 
> > 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?



  reply	other threads:[~2013-03-25 16:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25 14:04 Rebinding keys Nicolas Neuss
2013-03-25 14:40 ` Mark Skilbeck
2013-03-25 16:07   ` Mark Skilbeck [this message]
     [not found]   ` <mailman.22810.1364227676.855.help-gnu-emacs@gnu.org>
2013-03-25 21:59     ` Nicolas Neuss
2013-03-25 15:33 ` Peter Dyballa
2013-03-25 15:59 ` Peter Münster
2013-03-25 16:05   ` Peter Dyballa
     [not found] ` <mailman.22808.1364227190.855.help-gnu-emacs@gnu.org>
2013-03-25 18:07   ` Nicolas Neuss
2013-03-25 20:20     ` Peter Münster
2013-03-25 22:06       ` Peter Dyballa
     [not found]     ` <mailman.22827.1364242843.855.help-gnu-emacs@gnu.org>
2013-03-25 21:48       ` Nicolas Neuss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130325160743.GC18924@earth \
    --to=m@iammark.us \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lastname@scipolis.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.