From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Automatic updates for loaddefs-type files Date: Wed, 06 Apr 2011 21:07:11 +0300 Message-ID: <83aag3uucw.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1302113515 9930 80.91.229.12 (6 Apr 2011 18:11:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2011 18:11:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 06 20:11:47 2011 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.69) (envelope-from ) id 1Q7XCk-0006FM-Gh for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2011 20:11:46 +0200 Original-Received: from localhost ([127.0.0.1]:54539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7XCj-0005OU-T3 for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2011 14:11:45 -0400 Original-Received: from [140.186.70.92] (port=46219 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7XAl-0004JU-25 for emacs-devel@gnu.org; Wed, 06 Apr 2011 14:09:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7XAi-0000rD-SA for emacs-devel@gnu.org; Wed, 06 Apr 2011 14:09:41 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:39977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7XAi-0000r6-Le; Wed, 06 Apr 2011 14:09:40 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LJ800500T2QZO00@a-mtaout20.012.net.il>; Wed, 06 Apr 2011 21:09:14 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.47.180]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LJ8005W0T3D4ME0@a-mtaout20.012.net.il>; Wed, 06 Apr 2011 21:09:14 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 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:138260 Archived-At: > From: Glenn Morris > Cc: emacs-devel@gnu.org > Date: Wed, 06 Apr 2011 13:17:51 -0400 > > It's just that the main loaddefs.el has timestamps for every file it > scans, so every change to such a file (even if it's just a comment and > does not affect autoloads) causes a change in the generated loaddefs > file. Well, that's why I said "move-if-changed based wizardry": I meant to make the "if-changed" part ignore the time stamps. E.g., can Diff be asked (using the -I switch) to ignore the lines with time stamps?