[wxPython-users] Tell between menu item click and accelerator
keypress
Christopher Barker
Chris.Barker at noaa.gov
Wed Oct 10 16:29:12 PDT 2007
OT, but what the heck...
Robin Dunn wrote:
> Christopher Barker wrote:
>> though it's a bit odd -- as OS-X has both command and control!
>
> I currently have my Emacs settings on Mac using the Ctrl key for all the
> Emacsy bindings and the custom bindings I've done in my .emacs and use
> on all platforms, and the Cmd key is set to match all the standard OS X
> key bindings as much as possible. This way if I switch from some Mac
> app to Emacs and my fingers are still used to the "The Mac Way" then it
> works, and if I switch from another platform to Emacs on the Mac and my
> fingers are still in CUA mode with the Ctrl key then it also works.
As most "standard" GUI apps use the Command Key on the Mac and control
on windows and Linux (Thunderbird, Firefox, etc, etc), I kept getting
confused and trying to use ctrl+c on the mac, when I meant cmd+c. So I
mapped the ctrl key to mean "command" on the Mac. However there are
programs (unix command line stuff in particular) that need the control
key, so, since the CapLock key is evil, I've mapped CapsLock to ctrl on
all my machines -- Linux, Mac and Windows. It works for me!
-Chris
PS: I recommend everyone re-maps their CapsLock key anyway!
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list