From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Lewan Newsgroups: gmane.emacs.help Subject: RE: browser for bash scripts? Date: Mon, 3 Dec 2012 14:26:08 +0000 Message-ID: <155DEC68569B714B86C2C7075F5EDA9828D5E3DB@DAKIYA1.pegasus.local> References: <87vcj7bwrs.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354544710 28382 80.91.229.3 (3 Dec 2012 14:25:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2012 14:25:10 +0000 (UTC) To: "help-gnu-emacs@gnu.org" , Tom Roche Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 03 15:25:23 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TfWxW-0002d9-P8 for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Dec 2012 15:25:22 +0100 Original-Received: from localhost ([::1]:41957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfWxK-0006Ug-Ux for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Dec 2012 09:25:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfWxA-0006Rf-Qx for help-gnu-emacs@gnu.org; Mon, 03 Dec 2012 09:25:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfWx3-0002HN-HL for help-gnu-emacs@gnu.org; Mon, 03 Dec 2012 09:25:00 -0500 Original-Received: from webmail.shubertorg.com ([207.246.209.200]:37509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfWx3-0002H6-E5 for help-gnu-emacs@gnu.org; Mon, 03 Dec 2012 09:24:53 -0500 Original-Received: from dakiya1.pegasus.local ([172.16.208.201]) by DAKIYA1.pegasus.local ([172.16.208.201]) with mapi id 14.01.0339.001; Mon, 3 Dec 2012 09:26:08 -0500 Thread-Topic: browser for bash scripts? Thread-Index: AQHNQf6oFKfm3yi2/keyIKyVDlUcw5gIPdQA In-Reply-To: <87vcj7bwrs.fsf@pobox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.21.202] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 207.246.209.200 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88026 Archived-At: I use exuberant ctags. (CYGWIN delivers it. You can also get it here: http:= //ctags.sourceforge.net/.)=20 The following lines let me find shell functions as tags. etags --langdef=3Dshell --regex-shell=3D'/function [_[:alnum:]]+/[_[:alnum= :]]+/' --language-force=3Dshell files # etags might pick up tag-like things in comments. Get rid of them. sed -n -e '/#/d' -ep < TAGS > TTT && mv TTT TAGS It has changed my life. (Perhaps I need a better life....) ,Doug > -----Original Message----- > From: help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org > [mailto:help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org] On > Behalf Of Tom Roche > Sent: Sunday, 2012 June 03 23:07 > To: help-gnu-emacs@gnu.org > Subject: browser for bash scripts? >=20 >=20 > Does anyone have code to make speedbar, ECB, or other code browser > display/navigate bash scripts? I'd like, e.g., to easily navigate > between variable and function definitions and calls/uses. Currently, > for the latter, I'm `find-grep`ing '^function ': that works, but is > not nearly so pleasant as was speedbar in JDEE (back when I did mostly > java, several years ago). >=20 > TIA, Tom Roche