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 emacs-version dependencies Date: Tue, 10 Feb 2015 09:45:00 +0000 Message-ID: References: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=089e01184a16905037050eb8bd93 X-Trace: ger.gmane.org 1423561517 27544 80.91.229.3 (10 Feb 2015 09:45:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Feb 2015 09:45:17 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 10 10:45:17 2015 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 1YL7Nc-0002ET-Np for ged-emacs-devel@m.gmane.org; Tue, 10 Feb 2015 10:45:16 +0100 Original-Received: from localhost ([::1]:38706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL7Nc-0002Bb-87 for ged-emacs-devel@m.gmane.org; Tue, 10 Feb 2015 04:45:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL7NO-0002BH-6D for emacs-devel@gnu.org; Tue, 10 Feb 2015 04:45:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YL7NN-0003CR-EZ for emacs-devel@gnu.org; Tue, 10 Feb 2015 04:45:02 -0500 Original-Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:40412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL7NN-0003C0-91 for emacs-devel@gnu.org; Tue, 10 Feb 2015 04:45:01 -0500 Original-Received: by mail-oi0-f53.google.com with SMTP id u20so10295027oif.12 for ; Tue, 10 Feb 2015 01:45:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=chi4v3jFK7Ld3o/Aow/eNJu3BUsyKsV3OAVFRTMli9g=; b=OmHZbVJHHRiUCh8SIiMB+x7e1F2uH9ykAxT8B2b2TP7MkTqLqHD6f1wdKxTMUMr509 8YA7zfzPpagIoBZFL33kmLGnR49zmqx3YRkv+kV+bMVrUxmchcFKhUaRuZEcrcEcvekW 6Yao34y/mJxIZrcWT66Bs+YAwOGGoU9FwNFrWd+0inLQXx5WPw+Gw2TKkibqtXJUCmHv Prfs6lGcdTa+NhacrRGGU5taHgHyJwYCjPxc6HbRN9BCe5ICzRUQaoUuwaSl33s34HB7 H/hUhqd0m53k3utwalXVbaNAnEnGqvLjvG+ks42mG9TmUTLs0826s0L7odYlK14L7RLx qavA== X-Received: by 10.60.84.177 with SMTP id a17mr14755989oez.17.1423561500662; Tue, 10 Feb 2015 01:45:00 -0800 (PST) Original-Received: by 10.76.125.1 with HTTP; Tue, 10 Feb 2015 01:45:00 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: EK4F2Kka7YmUhA9hap5wzcowLEQ X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182794 Archived-At: --089e01184a16905037050eb8bd93 Content-Type: text/plain; charset=UTF-8 If we agree this is a desirable feature, the following patch should do it. 2015-02-10 9:13 GMT+00:00 Artur Malabarba : > Is there any code in package.el to prevent the listing of completely > incompatible packages? > > If not, would this be a desirable feature, or do we prefer to always > display everything? > > Context: > I noticed that, on Emacs 24.3, package.el will list packages that > depend on emacs-24.4, even though they are completely uninstallable. > > I realise package.el has changed a lot since 24.3, but I didn't find a > straightforward way to check if this has changed, given that there are > no packages that depend on version > 24.4 (thus my question). --089e01184a16905037050eb8bd93 Content-Type: application/octet-stream; name="0001-emacs-lisp-package.el-Don-t-list-incompatible-packag.patch" Content-Disposition: attachment; filename="0001-emacs-lisp-package.el-Don-t-list-incompatible-packag.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i5z3qutb0 RnJvbSBhYzJiMjBiZDc5M2RmNGIzYTJiMzRiYjBkODY3ODBhNzcwNTc0OGIyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBcnR1ciBNYWxhYmFyYmEgPGJydWNlLmNvbm5vci5hbUBnbWFp bC5jb20+CkRhdGU6IFR1ZSwgMTAgRmViIDIwMTUgMDk6NDE6NTggKzAwMDAKU3ViamVjdDogW1BB VENIXSBlbWFjcy1saXNwL3BhY2thZ2UuZWw6IERvbid0IGxpc3QgaW5jb21wYXRpYmxlIHBhY2th Z2VzLgoKLS0tCiBsaXNwL0NoYW5nZUxvZyAgICAgICAgICAgICB8ICA4ICsrKysrKysrCiBsaXNw L2VtYWNzLWxpc3AvcGFja2FnZS5lbCB8IDEyICsrKysrKysrKysrKwogMiBmaWxlcyBjaGFuZ2Vk LCAyMCBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvbGlzcC9DaGFuZ2VMb2cgYi9saXNwL0No YW5nZUxvZwppbmRleCBlZWU2NzQ0Li5kYWYwMGRkIDEwMDY0NAotLS0gYS9saXNwL0NoYW5nZUxv ZworKysgYi9saXNwL0NoYW5nZUxvZwpAQCAtMSwzICsxLDExIEBACisyMDE1LTAyLTEwICBBcnR1 ciBNYWxhYmFyYmEgIDxicnVjZS5jb25ub3I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tnKQogICAgICAgICAgICAgICAgICAgICAgKHBhY2thZ2UtLWhhcy1r ZXl3b3JkLXAgcGtnIGtleXdvcmRzKSkKICAgICAgICAgICAgIChwYWNrYWdlLS1wdXNoIHBrZyAo cGFja2FnZS1kZXNjLXN0YXR1cyBwa2cpIGluZm8tbGlzdCkpKSkpCiAKLS0gCjEuNy4xMi40Cgo= --089e01184a16905037050eb8bd93--