From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Steve Purcell Newsgroups: gmane.emacs.bugs Subject: bug#26490: 25.1; package-buffer-info is incorrectly case-insensitive Date: Sat, 24 Aug 2019 18:35:31 +1200 Message-ID: <751C9864-CA4C-47AC-9CBF-43C676D40B00@sanityinc.com> References: Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="260416"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 26490@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 24 08:36:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i1Pek-0014QA-EZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Aug 2019 08:36:10 +0200 Original-Received: from localhost ([::1]:36110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1Pej-0006pI-37 for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Aug 2019 02:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59055) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1Ped-0006pA-0c for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2019 02:36:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1Pec-0007qb-2e for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2019 02:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60931) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1Peb-0007qP-RC for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2019 02:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1Peb-00034B-Mm for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2019 02:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Steve Purcell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Aug 2019 06:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26490 X-GNU-PR-Package: emacs Original-Received: via spool by 26490-submit@debbugs.gnu.org id=B26490.156662854911768 (code B ref 26490); Sat, 24 Aug 2019 06:36:01 +0000 Original-Received: (at 26490) by debbugs.gnu.org; 24 Aug 2019 06:35:49 +0000 Original-Received: from localhost ([127.0.0.1]:41519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1PeO-00033k-Pv for submit@debbugs.gnu.org; Sat, 24 Aug 2019 02:35:49 -0400 Original-Received: from mail.purcellpeople.com ([85.214.32.38]:60092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1PeL-00033V-W6 for 26490@debbugs.gnu.org; Sat, 24 Aug 2019 02:35:47 -0400 Original-Received: from [192.168.1.198] (122-57-139-164-adsl.sparkbb.co.nz [122.57.139.164]) by mail.purcellpeople.com (Postfix) with ESMTPSA id 6388F61E7E; Sat, 24 Aug 2019 08:35:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sanityinc.com; s=default; t=1566628539; bh=24usaoUj2fZa2AlzLDiB2BPhm64FLe1QknBDIU4OHVE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=YpbLdYmGexM81Nlvns02MD0+7ZYmmb5xODY76IgMJYu3eM62SecumI/pRVnJwT72U FKi9r/FnF3Ol1+3GhD+2gJwoRtN0URdQtdEC2+e5g+HJoc63G7xUa8nLJBHXmIGETc 0ZQk53JVBuQZ/vMDgjBV+0yb6SwxiwgMGwv9YzAY= In-Reply-To: X-Mailer: Apple Mail (2.3445.104.11) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173339 > On 24 Aug 2019, at 17:57, Stefan Kangas wrote: > Steve Purcell writes: >=20 >> Nonetheless, it has been part of the format expected by package.el = for years. >>=20 >> Making package.el more permissive over time can lead to problems with = packages >> in older Emacsen, a prime example being the recently-added >> backwards-incompatible support for version-less dependencies in the >> `Package-Requires` header: authors check their packages in a recent = Emacs and >> then find that an older otherwise-compatible Emacs can=E2=80=99t even = parse their >> package metadata. >=20 > Sure, that can be a problem. I think that means that we should not > (yet) encourage package developers to not use them in their packages. > But if we don't take a first step, we can never get rid of it. > At the end of the day, it's the job of package developers to maintain > backwards compatibility. I don't see why this change would be any > different in that respect from the many other changes that we make > between releases. My point is that if a package file can=E2=80=99t even be parsed by an = older Emacs version=E2=80=99s =E2=80=9Cpackage.el=E2=80=9D, the user of = that Emacs version will automatically get an obscure error when they try = to install it, even if the the package author was helpful enough to add = `(emacs =E2=80=9C27=E2=80=9D)` as a dependency to indicate = incompatibility. That=E2=80=99s not something that the package author = could reasonably foresee, and it feels avoidable by keeping the basic = structure of required metadata stable and backwards compatible.=