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: Sun, 13 Dec 2015 22:11:14 +0000 Message-ID: <87zixexam5.fsf@russet.org.uk> References: <87h9jqo9a5.fsf@russet.org.uk> <83wpsm9skk.fsf@gnu.org> <87y4d22c7f.fsf@russet.org.uk> <831tata1mg.fsf@gnu.org> <87d1udxaky.fsf@russet.org.uk> <83mvth6jsa.fsf@gnu.org> <87poycvrp7.fsf@russet.org.uk> <566B2BFC.1070802@cs.ucla.edu> <877fkj1q5j.fsf@russet.org.uk> <83si375x03.fsf@gnu.org> <8737v71oo0.fsf@russet.org.uk> <83r3ir5vrb.fsf@gnu.org> <87y4czz7ul.fsf@russet.org.uk> <83oadv58fm.fsf@gnu.org> <87h9jmks0u.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450044730 26228 80.91.229.3 (13 Dec 2015 22:12:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Dec 2015 22:12:10 +0000 (UTC) Cc: Eli Zaretskii , eggert@cs.ucla.edu, emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 13 23:12:01 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 1a8Es2-0007yv-Rc for ged-emacs-devel@m.gmane.org; Sun, 13 Dec 2015 23:11:58 +0100 Original-Received: from localhost ([::1]:56768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Es1-0000js-En for ged-emacs-devel@m.gmane.org; Sun, 13 Dec 2015 17:11:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Eri-0000hG-Gu for emacs-devel@gnu.org; Sun, 13 Dec 2015 17:11:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8Erh-0004Fu-Lt for emacs-devel@gnu.org; Sun, 13 Dec 2015 17:11:38 -0500 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:45249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Erb-0004EI-MV; Sun, 13 Dec 2015 17:11:31 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1a8Era-0005aL-Cu; Sun, 13 Dec 2015 22:11:30 +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 1a8ErX-00023r-NM; Sun, 13 Dec 2015 22:11:29 +0000 In-Reply-To: (Glenn Morris's message of "Sun, 13 Dec 2015 16:50:53 -0500") 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.22 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:196223 Archived-At: Glenn Morris writes: > Phillip Lord wrote: > >> 2) Just putting the autoloads into loaddefs.el. > > That's just plain wrong. Please don't do that. It may be wrong, but it's not plain. I assumed that there was a reason for not doing this. But I still do not understand what that reason is. Can you please tell me what is wrong with it, because I cannot figure it out? > The only options that make any sense are: > > 1) do nothing (which is what I would do) > > 2) forbid generated-autoload-file to ever point to a versioned file. > That means changing all these files: > > find lisp -name '*.el' -exec grep '^;.*generated-autoload-file:' {} + | \ > sed -e '/loaddefs\|esh-groups/d' -e 's|/[^/]*: "|/|' -e 's/"//g' | sort -u > > lisp/dired.el > lisp/emacs-lisp/eieio-core.el > lisp/emacs-lisp/eieio.el > lisp/htmlfontify.el > lisp/ibuffer.el > lisp/mail/rmail.el > lisp/obsolete/tpu-edt.el > lisp/ps-print.el > lisp/textmodes/reftex.el > > to load foo-loadefs.el (which in many cases will be tiny files). Yes, some of them are pretty small. Phil