From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: reftex.el autoloads Date: Thu, 10 Dec 2015 22:03:32 +0000 Message-ID: <87y4d22c7f.fsf@russet.org.uk> References: <87h9jqo9a5.fsf@russet.org.uk> <83wpsm9skk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1449785045 3110 80.91.229.3 (10 Dec 2015 22:04:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Dec 2015 22:04:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 10 23:03:53 2015 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 1a79JT-0000FI-R0 for ged-emacs-devel@m.gmane.org; Thu, 10 Dec 2015 23:03:47 +0100 Original-Received: from localhost ([::1]:44644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a79JS-0004te-Ut for ged-emacs-devel@m.gmane.org; Thu, 10 Dec 2015 17:03:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a79JO-0004tU-Rc for emacs-devel@gnu.org; Thu, 10 Dec 2015 17:03:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a79JN-0006rJ-Vl for emacs-devel@gnu.org; Thu, 10 Dec 2015 17:03:42 -0500 Original-Received: from cheviot12.ncl.ac.uk ([128.240.234.12]:59800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a79JI-0006qi-At; Thu, 10 Dec 2015 17:03:36 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot12.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1a79JF-0003va-CX; Thu, 10 Dec 2015 22:03:33 +0000 Original-Received: from cpc6-benw10-2-0-cust45.gate.cable.virginm.net ([92.238.179.46] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1a79JF-0007h8-Le; Thu, 10 Dec 2015 22:03:33 +0000 In-Reply-To: <83wpsm9skk.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 10 Dec 2015 18:28:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.12 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:196077 Archived-At: Eli Zaretskii writes: >> From: phillip.lord@russet.org.uk (Phillip Lord) >> Date: Thu, 10 Dec 2015 11:03:30 +0000 >> >> --- a/lisp/textmodes/reftex.el >> +++ b/lisp/textmodes/reftex.el >> @@ -2397,7 +2397,7 @@ reftex-report-bug >> ^L >> ;;; Start of automatically extracted autoloads. >> ^L >> -;;;### (autoloads nil "reftex-auc" "reftex-auc.el" >> "cf606f7918831321cb46f254436dc66e") >> +;;;### (autoloads nil "reftex-auc" "reftex-auc.el" >> "7c0e0b46919f4ceefe1026e31e73ebcd") >> ;;; Generated autoloads from reftex-auc.el >> >> (autoload 'reftex-arg-label "reftex-auc" "\ >> >> >> So, it appears that reftex.el is actually partially real source and >> partially generated during the normal build, which doesn't seem a good >> thing to me. > > These are autoloads. Yes, I know! > Several files, reftex.el among them, record autoloads for their parent > packages. Other examples include dired.el, esh-groups.el, and > rmail.el. Grep the Lisp files for 'generated-autoload-file:' (without > the quotes), and you will see them all. So, quite a lot of files seem to set generated-autoload-file to loaddefs.el which seems a bit odd (since it's the default). Of the rest, it looks like dired, rmail, reftex and eieio do this (esh-groups.el is pure autoload -- is not versioned). I am not sure why only reftex.el causes me problems -- why not the others, I wonder? Also, the changed line is actually this... >> +;;;### (autoloads nil "reftex-auc" "reftex-auc.el" "7c0e0b46919f4ceefe1026e31e73ebcd") which is a comment. I don't know what this line does in the autoload process. >> And is there a good way to fix it? > > You mean, for the bisect script? Just "git checkout" the offending > file after the build, that's all. I was thinking more generally. Having files which are generated in versioning is never great (c.f. issues with ChangeLog). Phil