[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
`find-tag-regexp` doesn't find all the matches
From: |
Raffaele Ricciardi |
Subject: |
`find-tag-regexp` doesn't find all the matches |
Date: |
Sat, 11 Jul 2015 18:24:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
When I use `find-tag` to lookup a symbol, I get more matches than with
`find-tag-regexp`.
For example, to lookup "sscanf" with `find-tag`, I type `M-. sscanf RET`
and then `C-u M-.` repeatedly, and I get this matches, one after
another:
# define sscanf __isoc99_sscanf
sscanf,
extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s,
Then `C-u M-.` starts to find matches where "sscanf" is a substring,
therefore I stop.
If instead I type `C-M-. \_<sscanf\_> RET`, I get this match:
sscanf,
Pressing `C-u C-M-.` again sometimes finds the other matches, and
sometimes says "No more tags matching \_<sscanf\_>". However,
`M-. sscanf RET` followed by `C-u M-.` still works. It seems that
`find-tag-regexp` gets stuck, whilst `find-tag` doesn't. Maybe the
issue is that there are two tag tables in `tags-table-list` (I am
guessing because I haven't been able to reproduce this issue with one
table only).
Thanks for you help.
- `find-tag-regexp` doesn't find all the matches,
Raffaele Ricciardi <=