From: "Drew Adams" <drew.adams@oracle.com>
To: "'n179911'" <n179911@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: Need help in using icicle-find-tag
Date: Thu, 9 Jul 2009 08:50:57 -0700 [thread overview]
Message-ID: <F5C80047F0644703A14C1409493DA56C@us.oracle.com> (raw)
In-Reply-To: <3b9893450907082238r350e033dj6ae9a8a1576e6f1a@mail.gmail.com>
> I need help in using icicle-find-tag command.
>
> The prompt said "Find tag matching regexp: "
> I type: "ImageLoader"
> After that, the prompt said 'Choose a tag:'
> What should I do here? I don't see any result...
Hit `S-TAB', to see all possible matches (in buffer *Completions*).
Or type some text, then `S-TAB', to see all matches that also match that text.
E.g. `foo S-TAB' shows all `ImageLoader' tags that match `foo'.
> I type Ctrl-U M- . Nothing shows. I type Enter. Nothing shows. I
> just see the prompt becomes 'File or Directory'...
>
> Please help.
You are confusing vanilla `find-tag' with `icicle-find-tag'. In Icicle mode,
`M-.' is `icicle-find-tag' (by default). You can use it to visit any and all
tags that match your input - there is no need to use `C-u M-.' to visit each
alternative match.
Read the Icicles doc for this. `icicle-find-tag' is a multi-command. That means
that using it once can be like using `find-tag' any number of times (`M-.', `C-u
M-.', `C-u M-.' etc.). It is a tags browser, giving you direct access to all of
the tags (at once) that match a given pattern. And that includes alternative
tags, e.g. multiple definitions of the same function (in the same TAGS table or
different tables).
Read the doc, or at least the doc string of `icicle-find-tag':
,----
| M-. runs the command icicle-find-tag, which is an interactive compiled
| Lisp function in `icicles-cmd1.el'.
|
| It is bound to M-., <menu-bar> <search> <goto> <find-tag>, <menu-bar>
| <search> <tags> <icicles> <icicle-find-tag>.
|
| (icicle-find-tag REGEXP &optional ARG)
|
| Navigate among all tags that match REGEXP.
| You are prompted for the REGEXP to match. Enter REGEXP with `RET'.
| You can use completion to choose a tag in the current tags table as
| REGEXP. You can use `M-*' to return to your starting point.
|
| All matching tags are shown, including duplicate tags from the same or
| different source files. This means that you do not need `M-,' - you
| see all tags as candidates to visit.
|
| By default:
|
| * Tags from all tags files are candidates.
| * The source file name is shown after a tag, in buffer *Completions*.
|
| A prefix argument changes this default behavior, as follows:
|
| * ARG = 0 or ARG > 0: only the current tag table is used
| * ARG = 0 or ARG < 0: source file names are not shown
|
| By default, Icicle mode remaps all key sequences that are normally
| bound to `find-tag' to `icicle-find-tag'. If you do not want this
| remapping, then customize option `icicle-top-level-key-bindings'.
|
| If `crosshairs.el' is loaded, then the target position is highlighted.
`----
Information about using multi-commands:
http://www.emacswiki.org/emacs/Icicles_-_Multi-Commands
http://www.emacswiki.org/emacs/Icicles_-_Tripping
Information about Icicles TAGS enhancements:
http://www.emacswiki.org/emacs/Icicles_-_Tags_Enhancements
prev parent reply other threads:[~2009-07-09 15:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-09 5:38 Need help in using icicle-find-tag n179911
2009-07-09 15:50 ` Drew Adams [this message]
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=F5C80047F0644703A14C1409493DA56C@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=n179911@gmail.com \
/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.