It looks like the index of the selection is off by 2. When you select an item and press enter, it selects the item 2 rows above it.
Seems like a simple problem to fix. This looks like it is because OS X adds this extra grey title and a space underneath it. I dunno. Sounds good ;)
/D
On Friday, March 14, 2003, at 04:10 AM, David PONCE wrote:
Hi David,
[...]Whenever I user C-c C-v C-. The drag down menu appears, but when I hit[...]
Enter nothing happens and I recieve an imenu internal bug message.
Message: Semantic Imenu override problem. (Internal bug) [2 times]
In Emacs 21.3.50, imenu implementation has changed. As JDEE's menu completion delegates the menu creation to imenu it is impacted. I did the following change to jde-complete.el to fix that:
*** jde-complete.el.ori Tue Feb 25 08:13:09 2003 --- jde-complete.el Tue Feb 25 09:08:48 2003 *************** *** 809,819 **** (car index-alist) (if use-menu ;; delegates menu handling to imenu :-) ! (imenu--mouse-menu ! index-alist ! ;; Popup window at text cursor ! (jde-cursor-posn-as-event) ! (or title "Completion")) (assoc (completing-read (or title "Completion: ") index-alist nil ;;predicate --- 809,825 ---- (car index-alist) (if use-menu ;; delegates menu handling to imenu :-) ! (let* ((jde-complete-selected-item nil) ! (imenu-default-goto-function ! #'(lambda (name pos &rest rest) ! (setq jde-complete-selected-item ! (cons name pos))))) ! (imenu--mouse-menu ! index-alist ! ;; Popup window at text cursor ! (jde-cursor-posn-as-event) ! (or title "Completion")) ! jde-complete-selected-item) (assoc (completing-read (or title "Completion: ") index-alist nil ;;predicate
Does it fix your problem?
David
