From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: `package.el' and built-in packages Date: Tue, 12 Apr 2016 10:07:27 -0300 Message-ID: <87y48jc6wg.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1460466496 27626 80.91.229.3 (12 Apr 2016 13:08:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2016 13:08:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 12 15:08:12 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 1apy39-0003sn-4w for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2016 15:08:11 +0200 Original-Received: from localhost ([::1]:49114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apy38-00023t-Hh for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2016 09:08:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apy30-0001xH-HP for emacs-devel@gnu.org; Tue, 12 Apr 2016 09:08:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apy2u-0001I4-Nr for emacs-devel@gnu.org; Tue, 12 Apr 2016 09:08:02 -0400 Original-Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:33071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apy2u-0001Ha-IG for emacs-devel@gnu.org; Tue, 12 Apr 2016 09:07:56 -0400 Original-Received: by mail-qk0-x242.google.com with SMTP id d3so637382qke.0 for ; Tue, 12 Apr 2016 06:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=tHrpd4qJHfN1EkK4ZLKWh/jP0NwxhCVA55tFw7+fVTk=; b=jvbGJ0oWjguSkfHNAqGsXuHRi5HahWc28OhKcFTz5F0AVDJAqACkWujoXkv8UWpm6X +rKdNPIWdXfn5Z7oDgvEPnTC6bALq5NKiHgG8zlrZDJ3foVVPA4wA+dkUIIUQOYqVkRo ec+FimrHU3srJGf72Ye4UurRW9QqgY2k5zrdy62X54z/8lXn+9twrp68SUFlkjG+LC0o CeMR5LQWYs4DFkJKqdPYMge8S5h/IyVnvhsFOHD2UeY6YOl61zZv/iskwXHtSf/45mkV A11uT6f+lEsDIdwXARHJPmve/qAyaHPYBCPD+H4ZVlpdA4VtPdgLS9uNc4xUUHexdLDs 35gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=tHrpd4qJHfN1EkK4ZLKWh/jP0NwxhCVA55tFw7+fVTk=; b=jXs6s/U7UEGrIKy6LeLfeeFD4q1pOZANqvWJSaomcOTNRx2jjCYfxHTNgtbNm0Loh2 NI4c84JzURZDFuM0usofcmukLIqC6i2v87jLuoqv4dPFBnZut2doCHH0jCGv7tvmQ3GD PjkDuaElaZIrBxnhsenBOE1JhNvtagyav74QD9z8AqnDJF+X5QNwpmLGeX7IK+QLObyU jPAZpYAsfu1flEs0hNV+e9jto5VU+44j9b+ILkA506ZC3sy/HmNx5vdowChUZ8DMjyr2 Vt7g15mDR2LkiEgHajXmDq7hk91IvOOTEbOLIJbEIKZcW+zjtNuUamn0wvY70J+aR7V5 fvkg== X-Gm-Message-State: AOPr4FW1jzOGk+kKdRpezIYZNLqxZ3ywdND7ntLFD8WNALoKRbZanREnsBB7OIOisaYJ/g== X-Received: by 10.55.18.217 with SMTP id 86mr3174407qks.99.1460466475670; Tue, 12 Apr 2016 06:07:55 -0700 (PDT) Original-Received: from Gandalf-Linux.gmail.com ([191.251.179.158]) by smtp.gmail.com with ESMTPSA id u74sm13581183qku.18.2016.04.12.06.07.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Apr 2016 06:07:54 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Mon, 11 Apr 2016 22:19:25 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::242 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:202864 Archived-At: Stefan Monnier writes: >> From a quick step through with the debugger it appears >> that (package-install 'org) quits at `package-installed-p` in >> `package-compute-transaction` without looking at the version, >> which probably means I'm missing something. > > Hmm...maybe you need to provide the exact package (with version). > In any case, I think you should M-x report-emacs-bug. > Whatever we do, I beg that we don't make this the default behaviour of package-install. There are probably plenty of people (me included) who use it as way to ensure a package is installed (without worrying about most recent version). We can add a command `package-update', or add an extra optional argument (something like `update-if-installed').