all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Raffaele Ricciardi <rfflrccrd@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: `find-tag-regexp` doesn't find all the matches
Date: Sat, 11 Jul 2015 18:24:17 +0200	[thread overview]
Message-ID: <d0cu9qFd6pmU1@mid.individual.net> (raw)

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.


             reply	other threads:[~2015-07-11 16:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-11 16:24 Raffaele Ricciardi [this message]
2015-07-11 21:40 ` `find-tag-regexp` doesn't find all the matches Ian Zimmerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d0cu9qFd6pmU1@mid.individual.net \
    --to=rfflrccrd@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.