From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vagn Johansen Newsgroups: gmane.emacs.help Subject: Re: Working with different projects in Emacs Date: Thu, 09 Apr 2009 21:45:54 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: References: <4a1275dc-885c-479f-9b3a-fd5b8c881de4@r15g2000vbi.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239309933 27120 80.91.229.12 (9 Apr 2009 20:45:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2009 20:45:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 09 22:46:52 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 1Ls14U-0007JB-GX for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 22:42:03 +0200 Original-Received: from localhost ([127.0.0.1]:40177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ls135-0007os-Sz for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 16:40:35 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!news.banetele.no!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin) Cancel-Lock: sha1:0z01Q1lMBzXM6BIhNup5MXQbUbY= Original-Lines: 37 Original-NNTP-Posting-Host: 89.239.230.209 Original-X-Trace: news.sunsite.dk DXC=CHfC7i1^kZYlW2_Qa?Yk]^YSB=nbEKnk[4?N7_EgM4bU1]Odi5o\aCSgNbeFAXTM>U4X23ZgHoIASLIbBQDMe\E_M9C3j_n_n1R Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:168335 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:63615 Archived-At: rustom writes: [...] > Tried it. Well 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. http://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 () (interactive) (vps-write-filelist) (message "%s: Making tags file" vps-project-name) (shell-command (format "etags -L %s -f %s" (shell-quote-argument (vps-filelist-filename)) (shell-quote-argument (vps-tags-filename))))) -- Vagn Johansen