all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Doug Lewan <dougl@shubertticketing.com>
To: Vagn Johansen <gonz808@hotmail.com>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: IDE versus emacs
Date: Tue, 9 Oct 2012 12:48:17 +0000	[thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA9826951AC4@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <86lifkm3t1.fsf@hotmail.com>

I recently discovered that CYGWIN delivers "Exuberant Ctags" (Yes, etags too.) and it is used instead of emacs' etags. (GPL, available at http://ctags.sourceforge.net.)

Exuberant Ctags can be extended to look for other things via regular expression. It is a wonderful thing!

I can now look for tags in my shell code to by running: 
    etags --langdef=shell --regex-shell='/function [_[:alnum:]]+/[_[:alnum:]]+/' --language-force=shell
(Unfortunate side-effect: That can also pick up comments, so I also have to fix things:
    sed -n -e '/#/d' -ep < TAGS > TTT && mv TTT TAGS
Oh, well.)
Shell programming is suddenly almost pleasant!

,Doug

> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Vagn Johansen
> Sent: Saturday, 2012 October 06 03:57
> To: help-gnu-emacs@gnu.org
> Subject: Re: IDE versus emacs
>  
> Is the TAGS format extensible so a new fields could be added?
> 
> It would useful if the identifiers were tagged (pun intended) with the
> the "type": class, method, static function, constant etc.
> 
> For example find-tag could then support a customized
> find-first/find-next order (eg. class first).
> 
> You could also use it to make the function guess-class-name-at-point. I
> have previously needed this for my tempo expansions for C++ member
> functions.
> 
> --
> Vagn Johansen



  parent reply	other threads:[~2012-10-09 12:48 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-04 16:48 IDE versus emacs Wally Lepore
2012-10-04 17:26 ` Eli Zaretskii
2012-10-04 19:41   ` Wally Lepore
2012-10-04 20:19     ` v.plechinger
2012-10-04 21:41       ` Wally Lepore
2012-10-05  2:34       ` Óscar Fuentes
2012-10-04 20:20     ` Eli Zaretskii
2012-10-04 22:16       ` Wally Lepore
2012-10-04 23:46         ` Brandon Betances
2012-10-05  2:10           ` Wally Lepore
2012-10-05  2:22           ` Óscar Fuentes
2012-10-05  2:24             ` Jai Dayal
     [not found]             ` <CALDXikp5_sXOh23jBNBS=dfxzZBT2FuTMphdYDbuq-Qg07vTNg@mail.gmail.com>
2012-10-05 14:23               ` Óscar Fuentes
2012-10-05 14:49                 ` Tom
2012-10-05 17:57                   ` Suvayu Ali
2012-10-05 18:16                     ` Tom
2012-10-05 18:40                   ` Óscar Fuentes
2012-10-06  8:39                   ` Philipp Haselwarter
2012-10-06 18:13                     ` Tom
2012-10-05 22:58                 ` Tima
2012-10-05 23:05                   ` Jai Dayal
2012-10-06  4:17                   ` Bob Proulx
2012-10-06  5:43                     ` Tima
2012-10-06  7:01                       ` Eli Zaretskii
2012-10-19  7:55                         ` Steinar Bang
2012-10-19 16:27                           ` Sohail Somani
2012-10-19 17:22                             ` Drew Adams
2012-10-19 17:40                               ` Sohail Somani
2012-10-19 17:54                                 ` Brandon Betances
2012-10-20  6:01                                 ` Tom
2012-10-20 14:07                                   ` Jai Dayal
2012-10-20 14:55                                     ` Tom
2012-10-20 15:07                                       ` Jai Dayal
2012-10-19 16:42                           ` Eli Zaretskii
2012-11-02  8:27                             ` Steinar Bang
     [not found]                       ` <mailman.10421.1349506938.855.help-gnu-emacs@gnu.org>
2012-10-06  7:56                         ` Vagn Johansen
2012-10-06  8:33                           ` Eli Zaretskii
     [not found]                           ` <mailman.10424.1349512497.855.help-gnu-emacs@gnu.org>
2012-10-06 12:09                             ` Vagn Johansen
2012-10-06 12:53                               ` Eli Zaretskii
2012-10-09 12:48                           ` Doug Lewan [this message]
     [not found]                 ` <mailman.10367.1349448910.855.help-gnu-emacs@gnu.org>
2012-10-06  7:42                   ` Vagn Johansen
2012-10-05 17:00 ` Ken Goldman

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=155DEC68569B714B86C2C7075F5EDA9826951AC4@DAKIYA1.pegasus.local \
    --to=dougl@shubertticketing.com \
    --cc=gonz808@hotmail.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.