help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working with different projects in Emacs


From: rustom
Subject: Re: Working with different projects in Emacs
Date: Sat, 11 Apr 2009 08:30:53 -0700 (PDT)
User-agent: G2/1.0

On Apr 10, 12:45 am, Vagn Johansen <gonz...@hotmail.com> wrote:
> rustom <rustompm...@gmail.com> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]