From: rustom <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Working with different projects in Emacs
Date: Sun, 12 Apr 2009 01:56:09 -0700 (PDT) [thread overview]
Message-ID: <eaf68acc-bd3d-4332-b69f-0aa720eba533@k19g2000prh.googlegroups.com> (raw)
In-Reply-To: m2r5zzm4aw.fsf@hotmail.com
On Apr 11, 11:30 pm, Vagn Johansen <gonz...@hotmail.com> wrote:
> rustom <rustompm...@gmail.com> writes:
> > [Sorry for earlier post without content]
> > If I have the line
> > (setq vps-project-dir "~/.emacs.d/.emacs_vps")
>
> You don't really have to change the vps-project-dir. It just the
> location of the cached filelists, tags files, etc.
>
> But it should be OK to change it.
>
> > in my vps setup
> > I get File /home/siva/.emacs.d/.emacs_vps/Org.tags is not a valid tags
> > table
> > when I try to do vps-change-project
>
> > It seems to work if vps-project-dir is not set
>
> Whenever I see "not a valid tags table" it is because I have generated
> a TAGS file in a format that emacs does not understand.
>
> So maybe you managed to build TAGS files with Exhuberant tags(*)
> (without the -e option) when vps-project-dir had the first value,
> changed vps-project-dir and then you did something that generates
> proper emacs tags files.
>
> If you the delete ~/.emacs.d/.emacs_vps and set vps-project-dir to
> ~/.emacs.d/.emacs_vps again it would probably work. But if it works
> there is not much gained in changing anything.
>
> (*)http://ctags.sourceforge.net/ctags.html
>
> --
> Vagn Johansen
I did
rm -rf ~/.emacs.d/.emacs_vps
Made sure that my init.el contains
(setq vps-project-dir "~/.emacs.d/.emacs_vps")
(require 'vps)
Restarted emacs
M-x vps-change-project Org ;; org is one project Ive set
gives
~/.emacs.d/.emacs_vps/Org.tags is not a vaild tags table
[Looking inside ~/.emacs.d/.emacs_vps shows an Org.txt but no
Org.tags]
Now I comment out the line
(setq vps-project-dir "~/.emacs.d/.emacs_vps")
Close emacs
Remove directory
~/.emacs.d/.emacs_vps
Make sure theres no directory ~/.emacs_vps
Restart emacs
emacs asks me
Create necessary directory ~/.emacs_vps
I say yes
Then M-x vps-change-project
No problem
M-i l
shows me my files (in that project)
Note that now .emacs_vps shows both
Org.txt and Org.tags
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
Now to verify that:
Keep both dirs, remove all their contents
Restart emacs
As expected vps-change-project gives
~/.emacs.d/.emacs/vps/Org.tags
not a valid tags table
Confirm that ~/.emacs.d/.emacs_vps contains an Org.txt file but no
Org.tags file
(And ~/.emacs_vps is empty)
next prev parent reply other threads:[~2009-04-12 8:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4901.1239203083.31690.help-gnu-emacs@gnu.org>
2009-04-08 18:56 ` Working with different projects in Emacs Vagn Johansen
2009-04-09 13:44 ` rustom
2009-04-09 19:45 ` Vagn Johansen
2009-04-11 15:30 ` rustom
2009-04-11 15:51 ` rustom
2009-04-11 18:30 ` Vagn Johansen
2009-04-12 8:56 ` rustom [this message]
2009-04-12 16:26 ` Vagn Johansen
2009-04-14 15:00 ` rustom
2009-04-14 17:23 ` Vagn Johansen
2009-04-15 10:29 ` Stefan Kamphausen
2009-04-08 18:10 grischka
-- strict thread matches above, loose matches on Subject: below --
2009-04-08 12:50 Damian
2009-04-08 15:59 ` Drew Adams
2009-04-08 18:21 ` Damian
2009-04-08 18:44 ` Drew Adams
2009-04-08 19:13 ` Damian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eaf68acc-bd3d-4332-b69f-0aa720eba533@k19g2000prh.googlegroups.com \
--to=rustompmody@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.