Thomas Kjosmoen
kjosm****@gmail*****
Wed May 4 21:14:11 JST 2005
Hi everybody, I'm having problems using keyboard shortcuts containing the command key and the shift key. Here's an example: (setq mac-command-key-is-meta nil) (require 'redo) (global-set-key [(alt z)] 'undo) (global-set-key [(alt shift z)] 'redo) This binds the keyboard shortcuts correctly, but Emacs doesn't understand it. However, if I bind shortcuts with meta and shift, those work just fine. Checking both the A-z and the A-S-z shortcuts with C-h k, BOTH give me this message: ------->8------- A-z runs the command undo which is an interactive compiled Lisp function in `redo'. It is bound to C-_, A-z, <undo>, C-/, <menu-bar> <edit> <undo>. (undo &optional arg) Undo some previous changes. Repeat this command to undo more changes. A numeric argument serves as a repeat count. --------8<-------- It simply seems like Emacs doesn't even see that there is a difference between A-z and A-S-z. Do anyone on this mailing list have any ideas of how to fix this? For the record, I have tried this in both the Emacs on your web page, and an Emacs version I've installed using Gentoo. Best regards, Thomas Kjosmoen