From: Ian Zimmerman <itz@buug.org>
Subject: tags, yet again
Date: 29 Aug 2005 23:47:46 -0400 [thread overview]
Message-ID: <87d5nwgk65.fsf@buug.org> (raw)
Does anyone actually understand the algorithm for selecting a location
to jump to with Alt-. ?
The documentation for find-tag-noselect says:
When there are multiple matches for a tag, more exact matches are found first.
But, I've frequently seen Alt-. to jump to a differently capitalized version
of the symbol under point first, even when there's an exact match available.
I thought the following hack would fix it:
(defadvice tag-exact-match-p (around tag-exact-case-sensitive
activate compile)
"Exact means exact, ie. case-sensitive."
(let ((case-fold-search nil))
ad-do-it))
But _no_, it still happens <groan>. This is actually a longstanding gripe
which made me abandon tags in favor of other similar mechanisms like imenu
and id-utils. But tags do have some endearing qualities, and there's the
mystery aspect of the situation. So, how to make the exact match to be
selected first, _always_?
--
Optimist: We're only two weeks behind schedule.
Pessimist: The schedule is a whole two weeks ahead of us.
next reply other threads:[~2005-08-30 3:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-30 3:47 Ian Zimmerman [this message]
2005-08-30 16:49 ` tags, yet again Kevin Rodgers
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d5nwgk65.fsf@buug.org \
--to=itz@buug.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).