From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David House" Newsgroups: gmane.emacs.devel Subject: Re: auto-refresh TAGS file on ChangeLog mod? Date: Mon, 25 Aug 2008 16:28:53 +0100 Message-ID: References: <86iqtyxuqc.fsf@lifelogs.com> <86tzde8oc6.fsf@lifelogs.com> <86wsi9t6d0.fsf@lifelogs.com> <86d4jxqhkf.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219678267 6264 80.91.229.12 (25 Aug 2008 15:31:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2008 15:31:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Ted Zlatanov" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 25 17:31:57 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KXe1l-00032D-9x for ged-emacs-devel@m.gmane.org; Mon, 25 Aug 2008 17:30:45 +0200 Original-Received: from localhost ([127.0.0.1]:58525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXe0n-0004a6-6p for ged-emacs-devel@m.gmane.org; Mon, 25 Aug 2008 11:29:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXe04-0003lA-Ic for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:29:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXdzz-0003ek-Om for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:28:57 -0400 Original-Received: from [199.232.76.173] (port=47147 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXdzz-0003eS-Cb for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:28:55 -0400 Original-Received: from mail-gx0-f12.google.com ([209.85.217.12]:54553) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXdzz-0002f1-5P for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:28:55 -0400 Original-Received: by gxk5 with SMTP id 5so2014868gxk.18 for ; Mon, 25 Aug 2008 08:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WJ7O+ayee8gMc5KpwLxxN9LcA/d3XOdoWOX9zw3sHeA=; b=QYucbx4uvFV391s3WSYA6HmgiKKPp0IexozNcntGBdYQUyZGBqhrhld/r2LxSAUgha Led+dQjRdaV60e7wwswcg7RD2+z6ys6eeyu6eJz2549V/LbkVlP+hLjadb8H3asqT5Wj GWzgYnNL7VpnMJroiqyK/41APD8SiH214FPtE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ChSiHx/t6A3e511uIU/ol/l+ivZK00nkqR9TPQRrBDklhQkOLdXaand2K8HZ8/omZd cMabsavoB9qkgfft7iNGyxqr3Ed4zWoERy1vm18pOW3D8YXru+uqtAPOc/HvUe+VoY2f M4nqKNVjWUCa+Yl7wz35hjDGdT2IT/xL8MfRE= Original-Received: by 10.150.57.5 with SMTP id f5mr7340675yba.60.1219678133263; Mon, 25 Aug 2008 08:28:53 -0700 (PDT) Original-Received: by 10.150.192.3 with HTTP; Mon, 25 Aug 2008 08:28:53 -0700 (PDT) In-Reply-To: <86d4jxqhkf.fsf@lifelogs.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102948 Archived-At: 2008/8/25 Ted Zlatanov : > Thanks for clarifying. That's something I did not consider. It's > probably easier to just have a Makefile that will track those > dependencies automatically. Actually, what I think may be appropriate > is just a way to say "make tags" before running `find-tag'. All the > extra intelligence is just duplicating what the user already has in the > Makefile, and what Make provides. WDYT? I think this is a good idea, as long as `make tags' is cheap, i.e., as long as it only recalculates tags for the files which have changed. This will require changes to etags as I described above, which Tom says he's implemented. Of course, the external command to run should be configurable, so people could just call "find *.c | etags -", or use make if they require more complicated dependency tracking, etc. -- -David