No PyIndex Menu w/ 6.0.11 / emacs 23.3 / Windows 7

Bug #1052180 reported by Aurel Wisse
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Medium
Andreas Roehler

Bug Description

Just installed python-mode 6.0.11 on emacs 23.3 / Windows 7. I can't find the IM-Python menu that allowed me to jump to specific parts in the code in version 5.1.0 (which I used previously). Can't find this in past posts or in the FAQ.

When opening a Python (*.pyw?$ ) file, emacs shows four menus : PyShell, PyEdit, PyExec and PyTools but not PyIndex.

The only other site-lisp package installed is auctex.

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 1052180] [NEW] No PyIndex Menu w/ 6.0.11 / emacs 23.3 / Windows 7

Am 17.09.2012 22:50, schrieb Aurel Wisse:
> Public bug reported:
>
> Just installed python-mode 6.0.11 on emacs 23.3 / Windows 7. I can't
> find the IM-Python menu that allowed me to jump to specific parts in the
> code in version 5.1.0 (which I used previously). Can't find this in
> past posts or in the FAQ.
>
> When opening a Python (*.pyw?$ ) file, emacs shows four menus : PyShell,
> PyEdit, PyExec and PyTools but not PyIndex.
>
> The only other site-lisp package installed is auctex.
>

If you could deliver some example code, which triggers the bug, that might help,

thanks,

Andreas

Changed in python-mode:
milestone: none → 6.1.0
assignee: nobody → Andreas Roehler (a-roehler)
importance: Undecided → Medium
Changed in python-mode:
status: New → In Progress
Revision history for this message
Aurel Wisse (aurel-wisse) wrote :

Any python code gives the same result : no PyIndex menu. (Screenshot attached). For reference : the same file in the same emacs version in Windows 7 with the file python-mode.el version 5.1.0 in site-packages shows the IM-Python menu.

Revision history for this message
Aurel Wisse (aurel-wisse) wrote :

For reference, I am also attaching my .emacs file. Just in case I messed it up here.

Revision history for this message
Andreas Roehler (a-roehler) wrote :

Checked in a fix current trunk:

 Customizable variable `py-imenu-create-index-function' provided

`py-imenu-create-index' should be good old 5.1 series index function

    `py-imenu-create-index-function' renamed into it

Also a command
    `py-switch-imenu-index-function' is accessible from menu PyTools

this needs reverting the buffer in order to take action for now

Changed in python-mode:
status: In Progress → Fix Committed
Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.