From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: GNU ELPA security and Org-mode Date: Mon, 30 Apr 2018 17:18:02 +0200 Organization: GNU Message-ID: <871sewyb85.fsf@bzg.fr> 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 1525101399 3383 195.159.176.226 (30 Apr 2018 15:16:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Apr 2018 15:16:39 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 30 17:16:35 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 1fDAXa-0000m6-5o for ged-emacs-devel@m.gmane.org; Mon, 30 Apr 2018 17:16:34 +0200 Original-Received: from localhost ([::1]:60194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDAZh-0003py-7V for ged-emacs-devel@m.gmane.org; Mon, 30 Apr 2018 11:18:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDAZ6-0003ph-J2 for emacs-devel@gnu.org; Mon, 30 Apr 2018 11:18:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDAZ3-00064Z-Tp for emacs-devel@gnu.org; Mon, 30 Apr 2018 11:18:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDAZ3-00064R-Pr; Mon, 30 Apr 2018 11:18:05 -0400 Original-Received: from [78.192.157.63] (port=42618 helo=bzg.fr) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1fDAZ3-0008Ep-DT; Mon, 30 Apr 2018 11:18:05 -0400 Original-Received: by bzg.fr (Postfix, from userid 1000) id CC6D6380FD9; Mon, 30 Apr 2018 17:18:02 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:224990 Archived-At: Stefan Monnier writes: >>> 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. Okay. > 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). Got it, thanks. > 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). Yes, that's another topic. Do you have an example of a package where M-x [package]-version RET looks for the version in the Version: header? -- Bastien