From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Cummings Newsgroups: gmane.emacs.sources,gmane.emacs.help Subject: Re: [GNU ELPA] Map version 3.2 Date: Thu, 23 Sep 2021 19:17:28 +0000 Message-ID: <0Ww226bb9COlx-Xd2_M8rgS9220VEQgQRuds0to9jte2TIRzsawQh9bHwsGHwYV_tDoA-1Xem_17CMQwZuMaGdn7x2x9nkbyKZyKtyvcOZs=@rootabega.net> References: <85ilyt3alu.fsf@elpa.gnu.org> Reply-To: John Cummings Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7796"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org, gnu-emacs-sources@gnu.org Original-X-From: gnu-emacs-sources-bounces+gnu-gnu-emacs-sources=m.gmane-mx.org@gnu.org Thu Sep 23 22:11:21 2021 Return-path: Envelope-to: gnu-gnu-emacs-sources@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTV3x-0001ot-6I for gnu-gnu-emacs-sources@m.gmane-mx.org; Thu, 23 Sep 2021 22:11:21 +0200 Original-Received: from localhost ([::1]:48970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTV3v-0007rb-M8 for gnu-gnu-emacs-sources@m.gmane-mx.org; Thu, 23 Sep 2021 16:11:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTUE1-0005Nz-3E for gnu-emacs-sources@gnu.org; Thu, 23 Sep 2021 15:17:41 -0400 Original-Received: from mail-40133.protonmail.ch ([185.70.40.133]:49713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTUDy-0004hU-ET for gnu-emacs-sources@gnu.org; Thu, 23 Sep 2021 15:17:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rootabega.net; s=protonmail; t=1632424651; bh=UJ0yD+gBs2C85c1NHLcbWtwgkJB7LHqyN4r4v5/HK9w=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=rn9gXCK5uA+ZssxKTo/sCCMWmr4tk1YCTgi0IgomiGxFxvGgoiayMIDOQQnlKX40g bZuLcpuUprptxW/CbaED0s5ByfOKh7foCVtbtYnEQEh721ycTFwNTV10H3bh5uDElE 6UvN9d9qkSbYvxWdL9tVGpezOVGfRl7UNUqSebANNQxuk3N7AznnSFFbkmqhQMI4FJ WBfxeZH7QeTiQptBQ4ikA68gVjpuqkoc0ICSQ5dcspadoJpQkf7VSJItss1wsh/w1q bxOjCVbY+86VJn75Ux4hbjC5p3sdXok778C85SxwGubyk7RtKBnsC/RQKzNvvSbBI9 nbGyFw0lUXLeA== In-Reply-To: <85ilyt3alu.fsf@elpa.gnu.org> Received-SPF: pass client-ip=185.70.40.133; envelope-from=john@rootabega.net; helo=mail-40133.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 23 Sep 2021 16:11:09 -0400 X-BeenThere: gnu-emacs-sources@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNU Emacs source code postings and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gnu-emacs-sources-bounces+gnu-gnu-emacs-sources=m.gmane-mx.org@gnu.org Original-Sender: "gnu-emacs-sources" Xref: news.gmane.io gmane.emacs.sources:6077 gmane.emacs.help:133192 Archived-At: On Tuesday, September 21st, 2021 at 5:03 PM, ELPA update wrote: > Version 3.2 of package Map has just been released in GNU ELPA. Thanks for the update! I haven't knowingly used this package before, so I downloaded it. It looks like map 3.1 and 3.2 might not be fully compatible with Emacs 26 or 27. Has anyone else experienced this? I first noticed it here, on my 26.3 Ubuntu build of Emacs, when I visited a place with dir locals, and got this error: Error reading dir-locals: (cl-no-applicable-method map-into #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125 data (nil ((tab-width . 8) (sentence-end-double-space . t) (fill-column . 70) (bug-reference-url-format . "https://debbugs.gnu.org/%s")))) list) It looks like commit 6535fd1fa9ac21238a168916249ac59677a6118e allowed generic specializers like "(eql 'list)", but since map.el updated in the same commit, that method was no longer backwards compatible in the subsequent releases (3.1 and 3.2) I confirmed that calling the same map-into method from map.el got the same cl-no-applicable-method error in a fresh repo build of Emacs 27.2 as well. I might have gotten something really wrong here, but if not, does this qualify as something to open a bug for? Do you think that the package will just have its required Emacs version bumped and republished, if that's possible? As I mentioned, I'm not too familiar with using map.el, let alone developing it, but it seems like unquoted specializers are still allowed in master, so would updating it to be backwards-compatible be on the table? Thank you!