help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rebinding keys


From: Mark Skilbeck
Subject: Re: Rebinding keys
Date: Mon, 25 Mar 2013 16:07:43 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]