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: Tue, 14 Apr 2009 08:00:39 -0700 (PDT) Organization: http://groups.google.com Message-ID: <4558f167-0e4f-4df6-8dd4-5cdeda7a6d93@v23g2000pro.googlegroups.com> References: <4a1275dc-885c-479f-9b3a-fd5b8c881de4@r15g2000vbi.googlegroups.com> <65a6e1e7-3196-4293-9528-048d73d15e3d@n7g2000prc.googlegroups.com> <2c02fdb3-af4c-441a-aaa1-7518d9ca955b@v1g2000prd.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 1239723657 29889 80.91.229.12 (14 Apr 2009 15:40:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2009 15:40:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 14 17:42:16 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 1Ltkm0-0002Cx-JQ for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Apr 2009 17:42:08 +0200 Original-Received: from localhost ([127.0.0.1]:35745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ltkkc-0003OO-1U for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Apr 2009 11:40:42 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!v23g2000pro.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 220.225.70.2 Original-X-Trace: posting.google.com 1239721239 3599 127.0.0.1 (14 Apr 2009 15:00:39 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 14 Apr 2009 15:00:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v23g2000pro.googlegroups.com; posting-host=220.225.70.2; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-Via: 1.1 PT-PROXY2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:168456 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:63732 Archived-At: On Apr 12, 9:26=A0pm, Vagn Johansen wrote: > rustom 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. =A0From vps.el: > > =A0 (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=3D\"%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]