Hi all I'm trying help out Rob McMullen get his "Peppy" editor working well on OS-X. I'm thinking about about key bindings.
Apple has the "command" key, but also an "alt"(option) key and a "control" key. I kind of wish they had never introduced a control key, but so be it. Anyway, it seems that for the standard conventions, like cut, copy, paste, save, etc, that Macintosh apps use the "command" key where Windows (and KDE and GNOME) apps use the "control" key. This, for cross platform apps, this is what I think should be done: On the Mac, the default behavior should be for "command" to do everything that "control" does on Windows and Linux, and "control" should do nothing. The alt(option) key should do the same thing as alt on the other platforms. This seems like it makes for the best compatibility. Is this a standard and good way to do it? thanks, -Chris PS: A plug for Peppy: Peppy is yet another text editor written with wxPython. When it first came out, I though "arrggg! why another one?". But it turns out that the author's reasons for another one pretty much exactly match my reasons for never fully adopting any of the others -- they simple weren't designed to be as powerful and flexible as I need to make it my do-everything editor. I've been looking for years for an editor that meets these requirements: - Runs the same way on Linux, Windows, and OS-X - Works well for editing all the kinds of text I need to edit -- with customized modes for all of them (Or the ability to create such modes) - Good python support - Modern UI (all the "standard" keystrokes, etc), and integration with the OS (drag and drop, etc) - Scriptable in Python, so I can add the stuff it doesn't have. - Multiple top-level windows. In a nutshell, I want (X)emacs with a modern UI, and scriptable in python. Rob has set out to build exactly that, and I think he has done an admirable job of creating the kind of flexible, powerful framework that's required to really make it shine. It's still rough around the edges (particularly on the Mac -- I'm his only Mac user right now, and he doesn't have a Mac), but it would be great if some other folks could check it out and help clean up those rough edges. I urge you to give it a try. http://peppy.flipturn.org/ getting the SVN version is probably your best bet. I just added a setup_mac.py file that you can build an alias application bundle with: python setup_mac.py py2app -A I haven't yet tested a full app bundle, but it works pretty well with the Alias mode. -Chris -- 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 [EMAIL PROTECTED] _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig