I'm using the latest Emacs and cedet and i found there're always some header files opened automatically when i wrote C++. It was wired. What's more, i found some el.gz files opened automatically, too. And i found a method to reproduce this "bug"(i'm not sure if it's a bug):

Open an el file, whatever, senator-ia.el for example.  there's a (require 'senator). So, do the followings:

1. C-s, type senator.
Yes, we're searching senator, and the cursor will stop at the one in (require 'senator)

2. Hit enter and u'll find another senaotr.el.gz was opened.

I don't know why this happed and if this is related to the header files auto opened issue which was mentioned above. But it seems not a feature of cedet? And after i comment all the things related to cedet and restart emacs, everything was ok.

This is not a special case since a friend of mine can also get el.gz file opened by following the 2 steps.

so,  i think maybe it was caused by the anlyzing process of semantic? maybe semantic need to open the header files to get the tags of cpp files ,and with the same reason, semantic need to open el.gz files?


Zhiqiu Kong (孔直秋)

EDA Labs
Dept. Computer Science & Technology
Tsinghua University
P.R China

Email/Gtalk: breaddawson@gmail.com
MSN: breaddawson@msn.com
Mobile: +86 138 119 93129