From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: How can I reload etags project path Date: Mon, 03 Nov 2008 17:52:40 +0100 Organization: A noiseless patient Spider Message-ID: References: <1ffcb4ce-95bf-4ccd-8fb8-63037e000d74@f37g2000pri.googlegroups.com> <8763n4iyov.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1225734310 23974 80.91.229.12 (3 Nov 2008 17:45:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 17:45:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 18:46:08 2008 connect(): Connection refused 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 1Kx3Th-0004jK-WC for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 18:44:38 +0100 Original-Received: from localhost ([127.0.0.1]:36686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kx3Sb-0006lg-8t for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 12:43:29 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2!news.eternal-september.org!news.motzarella.org!motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-X-Trace: news.eternal-september.org U2FsdGVkX18m5/D+TylnUN1JPPakURA6MymMBFDm0Q+gNTFgHUzAsa+BgEulcLSn1Slh9C77MGt5m9rf3RumCDz5TYTwz/nVCrV7ZFmb6JCJO+xs+4agk9lnja/BJCnYPgtNJMM0KBkklJcX7HogSA== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Mon, 3 Nov 2008 16:52:51 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19agwuJLUxFmhTBkPE89FQUL7vsTxNA2jwgP0zTXa+Ncw== Cancel-Lock: sha1:ZNlgN+6kdJAdRdA8b0AM/wkzXjE= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:164057 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:59400 Archived-At: Sébastien Vauban writes: > Hi yinglcs, > >> 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? > > Use: > > (require 'sure-tags) > > which will make sure that tags file exists (and builds it if it > doesn't), allowing you to first rebuild the tags file or specify > a new one when the search fails. > > Seb Looking up tags again (I use etags and cscope currently) I see this page: http://www.emacswiki.org/emacs/TagsFile#toc2 And wonder if anyone here extended GNU Global to include elisp? It seems such a waste and confusion to have a "official GNU tags system" which does not appear to support the language its flagship product uses! According to the home page it supports: support C, C++, Yacc, Java and PHP4. Anyone here using it and can recommend it? -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970