all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rafal Kurcz <pawlaczus@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to use etags-select
Date: Fri, 27 Jul 2007 08:32:12 -0700	[thread overview]
Message-ID: <1185550332.397562.17110@b79g2000hse.googlegroups.com> (raw)
In-Reply-To: <1185296113.195452@sj-nntpcache-3.cisco.com>

On 24 Lip, 18:55, Scott Frazer <scfra...@cisco.com> wrote:
> Rafal Kurcz wrote:
> > On 23 Lip, 15:23, Scott Frazer <frazer.sc...@gmail.com> 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 (<Enter> 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

  reply	other threads:[~2007-07-27 15:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-21  9:57 How to use etags-select Rafal Kurcz
2007-07-23 13:23 ` Scott Frazer
2007-07-24  8:17   ` Rafal Kurcz
2007-07-24 16:55     ` Scott Frazer
2007-07-27 15:32       ` Rafal Kurcz [this message]
2007-07-27 18:35         ` Scott Frazer
2007-09-01 12:05           ` Rafal Kurcz
2007-09-04 13:31             ` Scott Frazer
2007-09-04 15:56               ` Scott Frazer
2007-09-04 16:16                 ` Richard G Riley
2007-09-05  8:27                 ` Rafal Kurcz
2007-09-08 16:41                   ` Rafal Kurcz
2007-09-09 12:01                     ` Rafal Kurcz
2007-09-10 14:33                     ` Scott Frazer
2007-09-15 10:03                       ` Rafal Kurcz
2007-09-18 13:08                         ` Scott Frazer
2007-09-19 15:22                           ` Rafal Kurcz
2007-09-25 15:41                             ` Scott Frazer
2007-09-25 16:04                               ` Gordon Beaton
2007-09-25 18:04                                 ` Scott Frazer
2007-09-25 23:36                                   ` Scott Frazer
2007-09-04 19:34               ` Vagn Johansen
2007-09-04 19:55                 ` Drew Adams

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=1185550332.397562.17110@b79g2000hse.googlegroups.com \
    --to=pawlaczus@yahoo.com \
    --cc=help-gnu-emacs@gnu.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.
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.