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: Sun, 12 Apr 2009 18:26:14 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: 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=us-ascii X-Trace: ger.gmane.org 1239554507 21192 80.91.229.12 (12 Apr 2009 16:41:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Apr 2009 16:41:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 12 18:43:06 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 1Lt2lp-0001yG-IK for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Apr 2009 18:43:01 +0200 Original-Received: from localhost ([127.0.0.1]:34300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lt2kR-0002vR-5H for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Apr 2009 12:41:35 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!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:fl+Llu2Uz3y7XzX+KsRHks1nbr8= Original-Lines: 25 Original-NNTP-Posting-Host: 89.239.230.209 Original-X-Trace: news.sunsite.dk DXC=50c6gVgT:6Z0Sc_VCmP]hZYSB=nbEKnk[CA74; ^LPKQS1]Odi5o\aCSgNbeFAXTM>U4X23ZgHoIASLIbBQDMe\E_]MbkSeP^d6P Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:168416 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:63694 Archived-At: 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. 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