From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Appropriate way for package to require seq for Emacs 24.5? Date: Wed, 25 Mar 2020 14:46:42 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="34816"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Nicolas Petton , emacs-devel@gnu.org To: William Rankin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 25 19:47:29 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jHB3p-0008yy-CS for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Mar 2020 19:47:29 +0100 Original-Received: from localhost ([::1]:41502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHB3o-0001kq-E6 for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Mar 2020 14:47:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48260) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHB3B-0001KK-8b for emacs-devel@gnu.org; Wed, 25 Mar 2020 14:46:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHB39-00030x-Vs for emacs-devel@gnu.org; Wed, 25 Mar 2020 14:46:48 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:51974) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jHB39-00030I-PS for emacs-devel@gnu.org; Wed, 25 Mar 2020 14:46:47 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 660441006D1; Wed, 25 Mar 2020 14:46:46 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A3D311002FA; Wed, 25 Mar 2020 14:46:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1585162003; bh=t6pAiCDBzIJ7l9wCJBwWaUiIoRBzQQJlQGthr9muHXU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=M6aBT/s7keF90P/CaCDfaEDipTfLb+BURxfW/bl+ToQQCpFuNescH+a7V6UnFlZ74 av6D0Z881lKEeftTTJI1nPlBIIwSMh0Fm+3nrdZjXF21fscpwKjZAymHGGVWmims6s aXr5lMaYP2PaIWluqUXkYQl52i2JfPPFk8Vn6TrBg+JKjRBBHD5H2FfULGS8MMjC7C mIM92FiTWDduB3EMIUu/vMYWJ5ta/mT/CzIJnCTe1V12emIa75Wp3yq4v9WC4ICIp2 hWqEbtc93l7csBew1OR9VeKebURtpIdJOrp0OFOxb6MeIrHYhklEle6XXvxxBISvL1 xcjiZp5Bo1dJA== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 256CA12039B; Wed, 25 Mar 2020 14:46:43 -0400 (EDT) In-Reply-To: (William Rankin's message of "Thu, 26 Mar 2020 02:55:21 +1000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245791 Archived-At: >> Package-Requires: ((emacs "24.5") (seq "2.20")) > > However, I see in the seq commentary: > >> While seq.el version 1.8 is in GNU ELPA for convenience, seq.el >> version 2.0 requires Emacs>=3D25.1. > > Am I correct in interpreting that the above package header would not > work with 24.5? AFAICT it would work fine in 24.5: package seq-2.20 does not require Emacs-25, instead it comes with both the "old" API for Emacs-24 and the new API for Emacs=E2=89=A525 (concretely these are divided into two files (seq-24.el and seq-25.el) which are the two alternative implementations: the API is slightly different because seq-25.el uses cl-generic so it can be used with sequences other than lists, vectors, and strings). Stefan