From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Van Dusen Newsgroups: gmane.emacs.devel Subject: Re: Location-aware tags? Date: Tue, 10 Apr 2012 21:17:24 -0500 Message-ID: <293790BD-7D7F-436D-B39C-F6E1897C1164@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334110724 2063 80.91.229.3 (11 Apr 2012 02:18:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2012 02:18:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 11 04:18:44 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SHn8s-0003zG-7L for ged-emacs-devel@m.gmane.org; Wed, 11 Apr 2012 04:18:42 +0200 Original-Received: from localhost ([::1]:38576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHn8r-0002jv-H9 for ged-emacs-devel@m.gmane.org; Tue, 10 Apr 2012 22:18:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHn8n-0002ab-MR for emacs-devel@gnu.org; Tue, 10 Apr 2012 22:18:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHn8j-00051G-Vi for emacs-devel@gnu.org; Tue, 10 Apr 2012 22:18:37 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:36332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHn8j-000512-Oc for emacs-devel@gnu.org; Tue, 10 Apr 2012 22:18:33 -0400 Original-Received: by obbta14 with SMTP id ta14so695045obb.0 for ; Tue, 10 Apr 2012 19:18:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=5iF33OMi3wbY+/EXqOT6U5ktMmw/jry2i4UC1cs//II=; b=y5tBnfp6sbaKHKP6sVphqhylSeE7TyFgnvrxNzDPuMMTOfic0YioT2mkri8yGQeVTh Y53Y/5xJMQJLoeM1JQ8soGs8K+0xy4QHuae6VUG9/fZc8z/it8bhMTMkoNHKrNgib0zJ 2b3tCDg3k5zTnHoQOBUhhyFVq9j7WgNiuv5k16U4AQSgOiMQCjUTrkJDrysNrYzsiX8Z qespgpeDNvrQlM/kskciwAhzz2ADHFFbWk3fv5tbtxThNcgTeE0q8Vu3IRbOpXfHWUgS PdqdNDZVVEZX3qi2NiXcRwSAjHf3CnJV0W12R0JlT+ZMCkdcwWj1rO209CGxd22chn/e 5Plw== Original-Received: by 10.182.36.3 with SMTP id m3mr19384444obj.8.1334110711195; Tue, 10 Apr 2012 19:18:31 -0700 (PDT) Original-Received: from [192.168.1.79] (99-166-74-83.lightspeed.rcsntx.sbcglobal.net. [99.166.74.83]) by mx.google.com with ESMTPS id yv3sm1429739obb.3.2012.04.10.19.17.25 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 Apr 2012 19:18:30 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149589 Archived-At: On Apr 9, 2012, at 2:01 PM, Lars Magne Ingebrigtsen wrote: > Lars Magne Ingebrigtsen writes: >=20 >> So I'm proposing to add a new variable `tags-use-auto-tags' or >> something, that would make `M-.' always look for the nearest TAGS = file >> upwards in the directory structure, and then switch to that file = before >> looking up the symbol. >=20 > Even more super-magical would be if Emacs auto-generated the TAGS = file, > if none could be found. That is, if you `M-.' in a directory, and no > TAGS file can be found upwards, then it prompts you for where to > generate the file "from", generate it to /tmp/tmpTAGS, switch to it, = and > delete the file. >=20 > That way Emacs would magically allow you to easily browse whatever > source tree you're inspecting without you having to have any = particular > knowledge of the nitty-gritty going on behind the curtain. >=20 > (etags would be called with "find dir -type f | etags = --output=3D/tmp/foo -" > or something, I guess.) >=20 gtags.el included in GNU Global provides some (if not most) of this = functionality. Chris.=