Imenu on menubar doesn't work after switching modes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I'm using Emacs 22.2.1 on Windows and AIX. The bug exists in both Windows and AIX.
I'm using NXHTML version 1.60.
If the major mode is switched after adding an imenu to the menubar, any future imenus added to the menubar don't work.
The imenu interactive function works correctly in all cases.
To reproduce this problem:
1. Open an html file with a php chunk.
2. In the html portion of the file, add an imenu to the menubar with (imenu-
3. Click in the php portion of the file to change major modes.
4. Add the php Imenu to the menubar with (imenu-
5. Notice that phpMenu does not work.
6. Click in an html chunk to switch the major mode again.
7. Add the html Imenu to the menubar with (imenu-
8. Notice that the htmlMenu2 does not work.
Changed in nxhtml: | |
status: | In Progress → Fix Committed |
Changed in nxhtml: | |
importance: | Undecided → Medium |
Changed in nxhtml: | |
status: | Fix Committed → Fix Released |
Hi Eric
Thanks for the bug report. I am a bit unsure about this one, because I do not use imenu myself very much. So your help is very much appreciated.
I have committed a new version of mumamo.el that I hope fix the problem. Could you please check out that file and try it? (You can download it from the web interface at Launchpad if you do not use bazaar.)