This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Some emacs key bindings mix up Meta and Ctrl on Mac OS X (NB 6.0 M9) | ||
---|---|---|---|
Product: | editor | Reporter: | aufflick <aufflick> |
Component: | Key bindings | Assignee: | issues@editor <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | msauer |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
aufflick
2007-05-23 06:13:19 UTC
Reproducible, on MacOS only. Keybindings for emacs seem to be properly defined inside org.netbeans.module.defaults.Emacs-keybindings.xml. The issue seem to affect all keybindings listed there -- the D and O aliases do not work properly on Mac, eventough they work as expected on Unix or Windows. The shorcut for save action (C-x C-s) is defined somewhere else, I can't find where. The 'Ctrl' is probably hardcoded there, and that's why it works where the other shortcuts do not. --- MacOS 10.4.8 JDK 1.5.0 update 7 i386 NetBeans 070523 I think D-, O- switches are working fine. The problem is that we are using them too agresively in the Emacs profile. Basically, we use D-, O- for every shortcut that is ctrl-, alt- on win/linux and they translate to Meta- and Ctrl- on Mac. This works well for Netbeans profile, but is a disaster for Emacs profile, because suddenly on Mac a lot of Emacs shortcuts is bound to Meta- instead of Ctrl- and they seem to not work. This is exactly the case of 'caret-line-first-column' action wich is bound to D-A, translating to Ctrl-A on win/linux and Meta-A on Mac. I think we should simply stop using D- and change it to C- (hard Ctrl- without any translation) for all Emacs bindings, except of those that would conflict with MacOS functions. This is a duplicate of issue 99403. Yeah, it' looks like a duplicate. Please feel free to close dupes by yourself. *** This issue has been marked as a duplicate of 99403 *** |