From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: Working with different projects in Emacs Date: Sat, 11 Apr 2009 08:30:53 -0700 (PDT) Organization: http://groups.google.com Message-ID: <65a6e1e7-3196-4293-9528-048d73d15e3d@n7g2000prc.googlegroups.com> References: <4a1275dc-885c-479f-9b3a-fd5b8c881de4@r15g2000vbi.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1239464455 27754 80.91.229.12 (11 Apr 2009 15:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Apr 2009 15:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 11 17:42:13 2009 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 1LsfLQ-0005Mo-TF for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Apr 2009 17:42:13 +0200 Original-Received: from localhost ([127.0.0.1]:50885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsfK2-0005Nm-8b for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Apr 2009 11:40:46 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!n7g2000prc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 59.95.2.248 Original-X-Trace: posting.google.com 1239463853 27594 127.0.0.1 (11 Apr 2009 15:30:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 11 Apr 2009 15:30:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n7g2000prc.googlegroups.com; posting-host=59.95.2.248; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:168387 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:63662 Archived-At: On Apr 10, 12:45=A0am, Vagn Johansen wrote: > rustom writes: > > [...] > > > Tried it. =A0Well getting a basic list of directories is working. Nice! > > tags is not working > > vps-make-tags gives me > > etags unknown option --members > > "--members" is a valid option for the etags program that comes with > Emacs. > > =A0 =A0http://www.delorie.com/gnu/docs/emacs/etags.1.html > > You have probably installed Excuberant tags. It (usually) installs a > ctags and an etags binary. So you are likely to have 2 etags programs > in your path. > > Try "etags --help" and "ctags --help" to see what you have got. > > I suggest you supply your own version of the vps-make-tags function > where you call the etags/ctags with the options you want. Add the > function definition AFTER the (require 'vps) > > If you have the Excuberant tags then the following should work > > (defun vps-make-tags () > =A0 (interactive) > =A0 (vps-write-filelist) > =A0 (message "%s: Making tags file" vps-project-name) > =A0 (shell-command (format "etags -L %s -f %s" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(shell-quote-argument (vps-filelis= t-filename)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(shell-quote-argument (vps-tags-fi= lename))))) > > -- > Vagn Johansen