As references you can see this thread:

http://lists.gnu.org/archive/html/emacs-devel/2009-02/msg00012.html


I am able to reproduce the problems independently from AUCTeX, even if
you do not have AUCTeX installed!

To reproduce:

1. build a fresh Emacs-trunk from CVS

2. bunzip the attached (.c) test file

3. start Emacs as:

     emacs test_imenu.c -Q &

4. Now, if you type a key it appears immediately, but if...

5. M-x imenu-add-to-menubar Index

6. Now customize imenu-auto-rescan to true

7. If you now type a key as in (4.) the results are:

      on Cygwin it takes 22 seconds to appeas!
      on GNU/Linux Kubuntu 8.04.02 it takes 4 seconds to appears!

Do you think that this is normal?

8. Re-customize imenu-auto-rescan to false (the default)

9. If you repeat (7.) the character appear immediately!

With CVS <= 20090129 15:30 in all the above case the character appears
IMMediately!

I think, here you have a BUG.

For completeness I have attached also the differences 20090129
15:30-15:40 which triggers the problems.

Cheer,
   Angelo.

Attachment: test_imenu.c.bz2
Description: Binary data

Attachment: emacs-20090129-15_30-40.diff.bz2
Description: Binary data

_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to