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 67748

Summary: [50cat] 'Ctrl-x l' is missing from Emacs keymap
Product: editor Reporter: dmocek <dmocek>
Component: -- Other --Assignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: ttran
Priority: P3 Keywords: SIMPLEFIX
Version: 5.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description dmocek 2005-10-28 22:31:28 UTC
[ BUILD # : 200510261858 ]
[ JDK VERSION : 1.5.0 ]

'Ctrl-x l' should perform the same function as 'Alt-g', to bring up the 'Goto Line' dialog.
Comment 1 Miloslav Metelka 2005-10-31 17:00:03 UTC
You've likely meant 'Ctrl-g'.

Please note that the present NB emacs profile only contains a selected subset of
the real emacs shortcuts so making this an enhancement.
Trungu, please evaluate whether we want to add this particular one into 5.0 and
change back to defect if so. Thanks.
Comment 2 enebo 2007-03-29 19:16:43 UTC
Ctrl-g is used like Ctrl-C in normal applications to interrupt whatever emacs is
doing so that is not what he meant.  Emacs goto-line function is normally bound to:

M-g g 

OR 

M-g M-g

(oddly enough I also made a custom binding C-x l for goto-line at some point in
my life -- not sure how or where I picked that binding up, but it is not a
normal emacs binding for emacs that I am aware of)

If NB is capable of these bindings I think it would be a good idea to support as
many common keybindings as netbeans can.  I have been talking to emacs users
about Ruby netbeans support at conferences and you would be surprised how many
of those people use Emacs AND are interested Netbeans Ruby support.  The better
this support the more likely they will have a positive experience in
netbeans...Not to mention that Eclipse is beating us in Emacs binding support. 
I will get off my soapbox now... :)
Comment 3 Vitezslav Stejskal 2007-03-30 02:16:17 UTC
Should not be a problem to change it to both 'M-G G' and 'M-G M-G'.
Comment 4 Max Sauer 2008-02-22 11:50:17 UTC
OK, I added both of these.
---
Fri Feb 22 12:36:30 2008 +0100
changeset 69078 12d21881bcb4