From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rafal Kurcz Newsgroups: gmane.emacs.help Subject: Re: How to use etags-select Date: Fri, 27 Jul 2007 08:32:12 -0700 Organization: http://groups.google.com Message-ID: <1185550332.397562.17110@b79g2000hse.googlegroups.com> References: <1185011823.491178.262070@d55g2000hsg.googlegroups.com> <1185197038.360649@sj-nntpcache-3.cisco.com> <1185265027.418651.315530@m3g2000hsh.googlegroups.com> <1185296113.195452@sj-nntpcache-3.cisco.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1185550853 1107 80.91.229.12 (27 Jul 2007 15:40:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jul 2007 15:40:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 27 17:40:47 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IERvq-0003dt-VW for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jul 2007 17:40:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IERvq-0005S9-H3 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jul 2007 11:40:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b79g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 65 Original-NNTP-Posting-Host: 83.14.252.50 Original-X-Trace: posting.google.com 1185550332 14078 127.0.0.1 (27 Jul 2007 15:32:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 27 Jul 2007 15:32:12 +0000 (UTC) In-Reply-To: <1185296113.195452@sj-nntpcache-3.cisco.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20070216,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 cns-gdn.emea.cpwr.corp:8001 (squid/2.5.STABLE6), 1.0 cns-gdn-ext.emea.cpwr.corp:3128 (squid/2.5.STABLE6) Complaints-To: groups-abuse@google.com Injection-Info: b79g2000hse.googlegroups.com; posting-host=83.14.252.50; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:150544 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46123 Archived-At: On 24 Lip, 18:55, Scott Frazer wrote: > Rafal Kurcz wrote: > > On 23 Lip, 15:23, Scott Frazer wrote: > >> Rafal Kurcz wrote: > >>> Hello > >>> I load TAGS table with "visit-tags-table" > >>> Then place the cursor on a function name "Action()" in a C code and > >>> execute: > >>> etags-select-find-tag-at-point > >>> I receive the following information at the bottom of the screen: > >>> No exact match for tag "Action" > > I've updated etags-select to work with the different tag types generated > by etags. See the wiki page ... > > Scott Now the numbering of tags is very, very useful. Below are my conclusions about using etags-select: 1. It is very nice that it takes advantage of searchable mini buffer - especially in case of the long list of tags. 2. How to force etags-select to be case-sensitive. I've setup (setq tags-case-fold-search nil) and it works for M-. but unfortunately it does not work in etags-select. It is very important when browsing C/C++ code. 3. It would be very nice to show more information in the list of tags. For example VIM uses the following format to show the list of tags generated by "exuberent-ctags -R": # pri kind tag file 1 FSC m speed class.cpp struct:Plane int speed; 2 FSC f speed class.cpp class:Car void speed () {return;} 3 F C f speed class.cpp struct:Bike int speed () {return 10;} 4 F C f speed class.cpp char speed (char c) {return c;} Choice number ( cancels): The source code for above example looks like: lass Car { void speed () {return;} }; struct Bike { int speed () {return 10;} }; struct Plane { int speed; }; char speed (char c) {return c;} I can see that it works partially for TAGS generated by etags from emacs but does not work for TAGS generated by "exuberent-ctags -e -R". I guess that for the sake of convinience it is better to have each tag description in a single line. Thank You for help