Select from multiple tags
M-x package-install [RET] etags-select [RET]
Open a buffer with file/lines of exact-match tags shown. Select one by going to a line and pressing return. pop-tag-mark still works with this code. If there is only one match, you can skip opening the selection window by setting a custom variable. This means you could substitute the key binding for find-tag-at-point with etags-select-find-tag-at-point, although it won't play well with tags-loop-continue. On the other hand, if you like the behavior of tags-loop-continue you probably don't need this code. I use this: (global-set-key "\M-?" 'etags-select-find-tag-at-point) (global-set-key "\M-." 'etags-select-find-tag) Contributers of ideas and/or code: David Engster James Ferguson Change log: 28 Oct 2008 -- v1.13 Add short tag name completion option Add go-if-tagnum-is-unambiguous option 13 May 2008 -- v1.12 Fix completion bug for XEmacs etags Add highlighting of tag after jump 28 Apr 2008 -- v1.11 Add tag completion 25 Sep 2007 -- v1.10 Fix save window layout bug 25 Sep 2007 -- v1.9 Add function to prompt for tag to find (instead of using what is at point) 25 Sep 2007 -- v1.8 Don't mess up user's window layout. Add function/binding to go to the tag in other window. 10 Sep 2007 -- v1.7 Disambiguate tags with matching suffixes 04 Sep 2007 -- v1.6 Speed up tag searching 27 Jul 2007 -- v1.5 Respect case-fold-search and tags-case-fold-search 24 Jul 2007 -- v1.4 Fix filenames for tag files with absolute paths 24 Jul 2007 -- v1.3 Handle qualified and implicit tags. Add tag name to display. Add tag numbers so you can jump directly to one. 13 Jun 2007 -- v1.2 Need to regexp-quote the searched-for string.