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

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

bug#9751: 23.3; Alternative Keyboard Feature/Bug


From: Stefan Monnier
Subject: bug#9751: 23.3; Alternative Keyboard Feature/Bug
Date: Fri, 14 Oct 2011 14:49:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

> What is the way in emacs to alias Ctr-chi to Ctr-x ?

I'd do it in input-decode-map:

  (define-key input-decode-map [?\C-χ] [?\C-x])
  (define-key input-decode-map [?\C-ψ] [?\C-s])

> (global-set-key "\C-χ\C-ψ" 'save-buffers-kill-emacs)
> returns with 
> error: Invalid modifier in string

Event sequences are vectors, the string syntax is still allowed but only
covers limited cases as you've just discovered.


        Stefan





reply via email to

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