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: Adding ELPA to Emacs core Date: Tue, 13 Mar 2018 17:16:40 -0400 Message-ID: References: <87efks1642.fsf@russet.org.uk> <83lgezu57f.fsf@gnu.org> <87k1ujzmn3.fsf@russet.org.uk> <87tvtmqnh5.fsf@russet.org.uk> <87ina1ayud.fsf@Rainer.invalid> <87h8pl0zjs.fsf@russet.org.uk> <87y3ivc3lj.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1520976551 15360 195.159.176.226 (13 Mar 2018 21:29:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Mar 2018 21:29:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 13 22:29:07 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 1evrTl-0003rZ-I0 for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2018 22:29:05 +0100 Original-Received: from localhost ([::1]:42948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evrVo-0005Dr-GP for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2018 17:31:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evrHq-0002Te-JC for emacs-devel@gnu.org; Tue, 13 Mar 2018 17:16:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evrHm-00078n-J9 for emacs-devel@gnu.org; Tue, 13 Mar 2018 17:16:46 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:51535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evrHm-00078W-Dh for emacs-devel@gnu.org; Tue, 13 Mar 2018 17:16:42 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w2DLGeE4021920; Tue, 13 Mar 2018 17:16:41 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 5FA3760026; Tue, 13 Mar 2018 17:16:40 -0400 (EDT) In-Reply-To: <87y3ivc3lj.fsf@russet.org.uk> (Phillip Lord's message of "Tue, 13 Mar 2018 17:00:56 +0000") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6241=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6241> : inlines <6480> : streams <1781304> : uri <2607688> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:223707 Archived-At: > One issue with my branch so far is that the packages that I have copied > into the build become built-in, and package.el doesn't see versions on > ELPA as upgrades. This is normally done via package--builtin-versions, set in loaddefs.el, generated from lisp/emacs-lisp/autoload.el. > Say Emacs-27 bundles bob-3.1.el which is also in ELPA. Now bob-4.1.el is > released which is an upgrade. So surely Emacs-27 should offer to update? > But, then bob-5.1.el comes out along with Emacs-28 and bob-5.1.el does > not support Emacs-27. Now Emacs-27 should no longer install > bob-5.1.el. But surely, it should allow installation of bob-4.1.el. This problem is not specific to "Emacs with ELPA packages", tho. But yes, it's a problem that would be good to fix. Stefan