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: Tue, 14 Apr 2009 08:00:39 -0700 (PDT)
User-agent: G2/1.0

On Apr 12, 9:26 pm, Vagn Johansen <gonz...@hotmail.com> wrote:
> rustom <rustompm...@gmail.com> writes:
> > My conclusion is that the tags making part of vps is having
> > ~/.emacs_vps hardcoded though the rest (Project.txt) is picked up from
> > vps-project-dir
>
> Almost. vps-project-dir is hardcoded to the *expanded* version of
> ~/.emacs_vps.  From vps.el:
>
>   (defvar vps-project-dir (expand-file-name "~/.emacs_vps"))
>
> Note the call to expand-file-name which means that vps-project-dir end
> up containing something like /Users/john/.emacs_vps.
>
> When you set vps-project-dir to ~/.. then the etags program fails to
> find the file (and thus fails to generate a tags file). The directory
> needs to be expanded for etags to work.
>
> I have updated vps.el to automatically expand the directory wherever
> it is used.
>
> Thanks for digging into the problem.
>
> --
> Vagn Johansen

You need to quote the file name in
      (format "%s --members --output=\"%s\" -" "etags" (vps-tags-
filename)))))
in function vps-make-tags

[I am on windows and every single path is 'spaced-out' c:Documents and
Settings/... gets chopped to C:/Documents]


reply via email to

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