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

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

Re: How can I reload etags project path


From: Richard Riley
Subject: Re: How can I reload etags project path
Date: Mon, 03 Nov 2008 19:44:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Scott Frazer <frazer.scott@gmail.com> writes:

> yinglcs@gmail.com wrote:
>> Hi,
>>
>> In my .emacs I have defined the etags project path like this:
>>
>>
>> (defvar etags-project-path "/media/storage/working" "*Base path for
>> your project")
>>
>> (require 'etags)
>> (setq tags-file-name (expand-file-name "TAGS" etags-project-path))
>>
>> After i open emacs, how can i point to a different project path,let's
>> say i have multiple project etag files, how can i switch dynamically?
>>
>> Thank you.
>
> I just released something to do this:
>
> http://www.emacswiki.org/emacs/EtagsTable

I must admit to be being, not for the first time, a little confused
between the tags option available in emacs. Discounting the use of GNU
Global (no elisp) support, I have used in the past (on debian) something
like

,----
| SRC=~/.emacs.d
| cd $SRC
| ctags-exuberant  -e --recurse=yes --links=yes --verbose=no
`----

to generate tags. But the info page for ctags-exuberant lists ctags and
etags. But these are different programs which do not take the same
parameters? Any clarification from someone much appreciated.


reply via email to

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