Howdy folks,
I've been struggling with the behaviour of etags.el for quite some time
now, and I'm keen to understand what the problem is!
Given the following;
foo.hpp:
typedef unsigned long uint32;
foo.cpp:
#include "foo.hpp"
uint32 blah()
{
return 123;
}
int main(void)
{
blah();
return 0;
}
1) I do etags *.
2) "xemacs -vanilla" (xemacs-21.5b16, cygwin)
3) Do a tags search for uint32
4) I get back uint32 blah()
This is plainly incorrect. There are two potential matches in the TAGS file
(asciified for your viewing pleasure);
uint32 blah(^?2,20
and
typedef unsigned long uint32;^?uint32^A1,0
the first entry is being found, and the second entry, which contains
^?uint32^A (some type of typedef signifier?) is not getting given
preference.
Am I way off-target here? Is this expected behaviour?
Regards,
Nick