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.

Bug 119846 - CTRL-p missing from emacs keybindings
Summary: CTRL-p missing from emacs keybindings
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Max Sauer
Depends on:
Reported: 2007-10-24 01:51 UTC by pohl
Modified: 2008-02-24 21:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description pohl 2007-10-24 01:51:38 UTC
I have noticed that the emacs keybindings in Netbeans 6b1 is missing an essential
cursor-movement key:  ctrl-p, which should move the cursor up a line.

Even more frustrating is the fact that I cannot fix this locally by customizing my
keybinding:  I get a message that says that ctrl-p is owned by the 
""code completion tip popup action".   Worse yet, the aforementioned action
does not appear to be among the actions that can be changed by the user.
(Or, at least, I was unable to find it -- a search field in the keybinding editor
would be delicious.)

Issue number 103005 appears to track a change that claims to have carefully
avoided stealing this keybinding from the emacs binding set, but that appears to
not be the case.

Unless I'm an idiot, which is very likely.
Comment 1 Vitezslav Stejskal 2007-10-24 12:29:55 UTC
The shortcut is bound to Other -> "Show Code Completion Tip Popup" in Tools-Options -> Keymap. Obviously you are not an
idiot. It's the idiotic shortcuts customizer that drives most people crazy.
Comment 2 random_tiger 2008-02-22 09:31:25 UTC
I have the same problem on Leopard with NB 6.0.1 and 6.1 M1.

the "code completion tip popup action" is bound to Meta+P, so shouldn't be a problem.
besides, the ctrl+p works on the Windows version of NB.

so what's really at fault here? unless the emacs mode works perfectly, this thing is really not usable.

Comment 3 Vitezslav Stejskal 2008-02-22 16:32:41 UTC
Max, could you please have a look? There seems to be <bind actionName="tooltip-show" key="O-P"/> binding in
defaults/src/org/netbeans/modules/defaults/Emacs-keybindings.xml file. I think this needs to be changed to 'D-P'. But
you should know this better than I now. Thanks
Comment 4 Max Sauer 2008-02-24 21:38:09 UTC
Fixed, by adding entry in Emacs-keybindings-mac.xml.
Sun Feb 24 21:35:02 2008 +0100
changeset 69535	04f657d56944