From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: Package Requiring a Commit? Date: Wed, 04 May 2022 15:59:56 +0300 Message-ID: References: <87fslp7c97.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26517"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: emacs-devel@gnu.org To: Jai Flack Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 04 15:02:30 2022 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 1nmEeD-0006ci-6F for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 15:02:30 +0200 Original-Received: from localhost ([::1]:33842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmEeB-0000qc-NK for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 09:02:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmEbv-0006vM-Im for emacs-devel@gnu.org; Wed, 04 May 2022 09:00:07 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:42015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmEbs-0005zc-6r for emacs-devel@gnu.org; Wed, 04 May 2022 09:00:05 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 883FB3200953; Wed, 4 May 2022 09:00:00 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 04 May 2022 09:00:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1651669200; x=1651755600; bh=7tFyy+QtFK r4zqg4shvOfKIdyB+bJxF84VBX7LjSNR4=; b=IdTy0KG84Nw/3y0j3iFnQPyuII rvQR4+hVpQhnaF5J1vIHOoZScXMwMugjISF4KppVQFUER4mjfP95onR+HFlNSldk KI2iKpNWDvW6wUyGoPjUb4OCKhN7wFc3okci6Arqax0kZDoZ6V/CzbJaLOw662V2 cHbMoDPMBEG/on72xk+N9vqC0YowGHTLU0iVRyVi+zjZVySYaTEPDDTjZX+JzRsF ++swCVN3GzDSC5+FnLK3CUG27RIi+BqJf4oaJwU6r4h52jkKb2f9X9sPuwigQjRQ ODee6TsRLGUaNcp0+vMGTFocUWly1LWMA39qC68bWJR0uBpmcqWiULWs8VGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1651669200; x= 1651755600; bh=7tFyy+QtFKr4zqg4shvOfKIdyB+bJxF84VBX7LjSNR4=; b=x sc1HTNF/zCzYjdRBem/o1LzxieW0SM1DWuAvG5/sC5flJoBjT+5nsvnDT+Gb5Qqy /d1bIrrQYbQhPxXVQJs+23ZvQ0Xj1tCc++lHqOsqV+RipN+1uA0Ovm35dxrwZerC LbGuTUWJvDXVXFF+MODz26CyYasjKfu7gUSNYvjJGvvivid2ohfhQGaqI2YWQtdC dedKLi+WtKyiKLZVzONuMf6vWvE79lHd2HiBacvd8Rsr/X9XYIVmE0fQZqMlHmiF G3hsPMv55FpUf11yJx+KvzHs5sfV2nLPwnwjLg8cL9Yp9csqI8b7KsJpZB7tDClH tlOGcVoPIY3lQ94Xfwn3Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdelgdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecuggftrf grthhtvghrnhepfffhjeevieeiiedutefgheffleeiveeffeeftdekleehledufeeuuedu heevieffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 4 May 2022 08:59:58 -0400 (EDT) In-Reply-To: <87fslp7c97.fsf@posteo.net> (Jai Flack's message of "Wed, 04 May 2022 11:44:52 +0000") Mail-Followup-To: Jai Flack , emacs-devel@gnu.org Received-SPF: pass client-ip=64.147.123.20; envelope-from=fgunbin@fastmail.fm; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:289169 Archived-At: On 04/05/2022 11:44 +0000, Jai Flack wrote: > Greetings Emacs Developers, > > Is there a preferred way for a package to Package-Requires on an Emacs > version more recent than the latest release? The context for this my > package isearch-olc [1] which I would like to finish testing and submit > for inclusion in GNU ELPA soon, however it requires > lazy-count-update-hook which was only introduced in a recent-ish commit. > > Is the preferred solution to check for special-variable-p and error > (possibly message on load and error on mode enable) if it hasn't been > defined yet? This should work, just use next version: ;; Package-Requires: ((emacs "29")) Then people running Emacs which was built recently from master will be able to install your package, because they're "already on 29". Filipp