From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: GNU ELPA security and Org-mode Date: Mon, 30 Apr 2018 10:18:19 -0400 Message-ID: References: <87vacbvarw.fsf@gnu.org> <87sh7d2mln.fsf@gnu.org> <87r2mwzul3.fsf@gnu.org> <87muxkztly.fsf@gnu.org> <87a7tkzswv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1525097798 588 195.159.176.226 (30 Apr 2018 14:16:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Apr 2018 14:16:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 30 16:16:34 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fD9bV-0008WT-TB for ged-emacs-devel@m.gmane.org; Mon, 30 Apr 2018 16:16:34 +0200 Original-Received: from localhost ([::1]:59975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fD9dc-0006lC-SP for ged-emacs-devel@m.gmane.org; Mon, 30 Apr 2018 10:18:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fD9dO-0006kn-LQ for emacs-devel@gnu.org; Mon, 30 Apr 2018 10:18:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fD9dL-0005zP-F2 for emacs-devel@gnu.org; Mon, 30 Apr 2018 10:18:30 -0400 Original-Received: from [195.159.176.226] (port=54169 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fD9dL-0005yw-89 for emacs-devel@gnu.org; Mon, 30 Apr 2018 10:18:27 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fD9bC-00089N-0a for emacs-devel@gnu.org; Mon, 30 Apr 2018 16:16:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:cMcj3frFyIIFqwTRvOIxIFzqvSE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:224989 Archived-At: >> If so, why adding org-loaddefs.el since org-autoloads.el would also be >> autogenerated? >> And would org-version.el still be required? I don't really know precisely what those files are about, but to the extent that they're specific to Org, I don't see any reason to treat them differently from any other org*.el file here. AFAIK org-loaddefs.el is supposed to only be loaded when org-mode is activated, whereas org-autoloads.el is loaded at Emacs start up (so it should mostly contain an autoload for `org-mode` itself). The elpa.gnu.org scripts will not look for the package's version in org-version.el but in org.el's "Version:" header, but presumably org-version.el is used by Org, so it's probably still useful (tho Org could be changed to look for the corresponding info in org.el's "Version:" header as well). Stefan