Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!novavax!weiner From: weiner@novavax.UUCP (Bob Weiner) Newsgroups: comp.emacs Subject: Re: finding right tag out of many Message-ID: <1236@novavax.UUCP> Date: 28 Apr 89 02:52:23 GMT References: <41011@oliveb.olivetti.com> Organization: Nova University, Fort Lauderdale, FL Lines: 19 In-reply-to: kupfer@orc.olivetti.com's message of 25 Apr 89 23:49:27 GMT Posting-Front-End: GNU Emacs 18.47.5 of Tue Sep 15 1987 on novavax (berkeley-unix) In article <41011@oliveb.olivetti.com> kupfer@orc.olivetti.com (Mike Kupfer) writes: I just had the unhappy experience of looking for "get" in some kernel sources. There were 155 tags matching "get", and the one I wanted was around the 130th. Slogging through the other entries with C-u M-. was not a great deal of fun. Is there some clever use of the (GNU Emacs) tags package that would avoid this, or is it time to make the find-tag smarter (e.g., by first looking for an "exact" match)? Look at your TAGS file, then you can do matches that match closely what is in there, e.g. (defun get, you could also try adding a space before and after get, even though none of this does exactly what you want. Try M-, for repeating tags searches. It works perfectly for me at GNU Emacs 18.52, though it is not documented as working in this way in the manual. Possibly an ommission. -- Bob Weiner, Motorola, Inc., USENET: ...!gatech!uflorida!novavax!weiner (407) 738-2087