From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: TAGS for multiply project. Date: Fri, 23 Jul 2010 00:32:01 +0300 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1279834361 5939 80.91.229.12 (22 Jul 2010 21:32:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Jul 2010 21:32:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 22 23:32:40 2010 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.69) (envelope-from ) id 1Oc3Ne-00031t-Nt for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jul 2010 23:32:39 +0200 Original-Received: from localhost ([127.0.0.1]:40228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oc3Ne-0002qB-AH for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jul 2010 17:32:38 -0400 Original-Received: from [140.186.70.92] (port=46509 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oc3NG-0002q4-Kg for help-gnu-emacs@gnu.org; Thu, 22 Jul 2010 17:32:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oc3NF-000789-IK for help-gnu-emacs@gnu.org; Thu, 22 Jul 2010 17:32:14 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:51487) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc3NF-00077f-DY for help-gnu-emacs@gnu.org; Thu, 22 Jul 2010 17:32:13 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oc3NA-0002na-C9 for help-gnu-emacs@gnu.org; Thu, 22 Jul 2010 23:32:08 +0200 Original-Received: from 229-24-92-178.pool.ukrtel.net ([178.92.24.229]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jul 2010 23:32:08 +0200 Original-Received: from gavenkoa by 229-24-92-178.pool.ukrtel.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jul 2010 23:32:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 229-24-92-178.pool.ukrtel.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:74245 Archived-At: Usually I work on two source hierarchy simultaneously (one working and one as example code or copy of working for small fixes, testing, experimenting). It is essential have "goto definition" feature in both hierarchies. Etags/Exuberant Ctags/GNU GLOBAL allow this for single project and I actively use Etags. But in case of Etags when I switch to another project I need reset tag buffer. It is possible working simultaneously on different source hierarchy with TAGS easy? I like solution that function like: I press M-. Emacs get visited file path: /path/to/proj1/subdir/file.c and search for TAGS file in: /path/to/proj1/subdir, /path/to/proj1, /path/to, /path sequentially. With first TAGS occurrence Emacs do search in TAGS for identifier and go to its definition. For me easy put TAGS file on top of source hierarchy, so in this case prompt for TAGS path avoided. If 'find-tag' still have usable performance I will be happy!!! -- Best regards!