From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: `package.el' and built-in packages Date: Mon, 11 Apr 2016 20:52:35 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1460422397 3545 80.91.229.3 (12 Apr 2016 00:53:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2016 00:53:17 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 12 02:53:09 2016 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 1apmZo-0005LT-Vh for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2016 02:53:09 +0200 Original-Received: from localhost ([::1]:37906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apmZl-0005u5-8A for ged-emacs-devel@m.gmane.org; Mon, 11 Apr 2016 20:53:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apmZV-0005qk-Bl for emacs-devel@gnu.org; Mon, 11 Apr 2016 20:52:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apmZR-0003CT-Bu for emacs-devel@gnu.org; Mon, 11 Apr 2016 20:52:49 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:57617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apmZR-0003Be-5A for emacs-devel@gnu.org; Mon, 11 Apr 2016 20:52:45 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1apmZO-0005Fo-46 for emacs-devel@gnu.org; Tue, 12 Apr 2016 02:52:42 +0200 Original-Received: from 104.247.234.200 ([104.247.234.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Apr 2016 02:52:42 +0200 Original-Received: from monnier by 104.247.234.200 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Apr 2016 02:52:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 104.247.234.200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:cm+KGVuCRLBON4zpAb0LZOivxuo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:202857 Archived-At: > this when trying to set up my Emacs config to automatically pull in packages > if they are not installed, which in turn failed to install a newer version > of Org that the one shipped with Emacs. `package-install` should install a newer version if one is available. I can see two reasons why it failed for you: - when you called `package-install` the package info from the archives had not yet been refreshed/loaded. IOW, maybe you should have called `package-refresh-contents` before. - Org has a messed up package versioning scheme, so maybe that got in the way (tho IIUC it should not be an issue here). > I think that `package.el’ should be able to install packages even if they > are built-in, since it install them to `~/.emacs.d/elpa’ anyways. It is able to. Stefan