I've tried to create a tags table for my assembler project using:
etags --language=none --regex="/[ \t]*\.\([^: \t]+\)/\1/i" *.asm
Which does work to a degree, and indeed when I load the TAGS
file into Emacs, I see all the tags created just fine (from assembly labels).
My problem arises when I try and use M-.
to search for a specific tag. It only shows me a very small subset of the tags in the *completions*
buffer, despite all the tags seemingly present in the TAGS
file.
Here's an example of what I'm trying to match:
.t0 DCB 0
.t1 DCB 0
.t2 DCB 0
.t4 DCB 0
Yet when I do M-.
, only the t0
tag will be listed in *completions*
. If I manually enter t1
it can jump straight to it!
etags
program that comes with that version?etags
program that comes with it :(-e
flag. In some cases Exuberant Ctags gives significantly better results.