uh... actually i don't want this feature which will open the header file when hitting enter before the #include line.
But semantic did this when i tried this tonight with the latest CVS codes.
So is that a way to turn this feature off?

Thank you very much. :)

On Thu, Oct 9, 2008 at 11:44 PM, Eric M. Ludlam <eric@siege-engine.com> wrote:
Hmmm, interesting.  This had to do with an ancient semantic feature in
the function `semantic-go-to-tag' that treated include files in a
special way.

The way that function is used these days makes this feature a
detriment, so I removed it, and checked it into CVS.

If anyone really liked the old feature of selecting a #include tag to
jump to the tag, please let me know, as that feature was hidden, and
should be re-implemented explicitly.


>>> bread <breaddawson@gmail.com> seems to think that:
>I've found another "bug" which is described as following:
>for example i wrote the includes like this:
>#include <string>
>#include <vector>
>using namespace std;
>Then i noticed that i forgot to add <cctype>, and i want to add it between
><string> and <vector>, so i moved cursor to the end of the first line and
>hit enter to produce a new line. Then i found that the header file "vector"
>was opened.
>That is,  hitting enter before the #include line will open the corresponding
>header file.
>On Thu, Oct 9, 2008 at 8:09 AM, Eric M. Ludlam <eric@siege-engine.com>wrote:
>> I was able to find the problem.  There is an updated version of
>> semanticdb-find.el in CVS that should solve this.
>> ERic

Zhiqiu Kong (孔直秋)