From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jai Flack Newsgroups: gmane.emacs.devel Subject: Package Requiring a Commit? Date: Wed, 04 May 2022 11:44:52 +0000 Message-ID: <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="31119"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 04 14:39:56 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 1nmEIO-0007oS-4t for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 14:39:56 +0200 Original-Received: from localhost ([::1]:41822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmEIM-0001B6-S5 for ged-emacs-devel@m.gmane-mx.org; Wed, 04 May 2022 08:39:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmDRJ-0003Yl-DJ for emacs-devel@gnu.org; Wed, 04 May 2022 07:45:07 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:58021) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmDRH-0005w2-2I for emacs-devel@gnu.org; Wed, 04 May 2022 07:45:04 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 675E2240026 for ; Wed, 4 May 2022 13:44:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1651664697; bh=zQR7CTAnXXyfgWyFhhNGxksvl/FqULTeoKWfdNWGcCc=; h=From:To:Subject:Date:Autocrypt:OpenPGP:From; b=XmFVl/oT9dt2Wl8jrVGqE39Jvx0ZRb7i7g0yJqum+Khx7xztEwTjcRwtUCx8Bc0AW RChG4rN0t133MzRimQb5G6xKQBVlOoLnddC4PiGZlNIAE/X4EnU7yO4lmcPIKFAuiL bXrgyuO3iHZ94yGobR4R8BCaPUph1va2RBz/YJNFMAucI3mddFzCOIMX+ykzq2fmK6 yT/uHPXWh9+UnM6ICIQrUEJUaD4/9ySz+ljJgv7R9qKjBizkyknXtBQSc3yYKGA4fa 8DfYYhNH4RgzFvYtfFHmdvZ4jQC+DSjJoogimmDBm9ExUhCsQzCqj91S8Kh/GJAdsk S/tQa4JhmZf1w== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KtZkc12DNz9rxN for ; Wed, 4 May 2022 13:44:55 +0200 (CEST) Autocrypt: addr=jflack@posteo.net; keydata=xsFNBGJIFUgBEACetRpyAEayP9fB/LvYi9sUIQwXH5EKN6uHrjc6RqlKju6jx2tu2F0HYjsiJ1xUfUUhuwdrEFpAGxM9XHFbNhrtIAh0ckOiALMexQP+n6uJgSq/u+3gqdKVmI2cgb2ruEcDR1t9QpuETTKPNj7k8sQoUjj907kACVL/XKfJC9csbAECYtfbbWtl6KJi5qQsF1N3kyHtF6k6Ly/tkq+CPY9RkEkraWNhJtrE509g/BbIIn3BzvrtboDwOX2JucrBojfaehvRzWnwrbTxTb+tsIjBSrFNJgOwa0PYtF7F15nCZ9254DJA7oyBqY/4B8iGGYbVBeQdU0/noVtui9JlLzU9tKOfKjm+js1Eu9vlAK2poZaR7uMy3cOQ+SPh7BdMSE/4HThDil6nq/LaPmX/bS1rFR01ztLxM/YEeDTWXT9/mqWM7l06Am0xCK8m99MjKnJiWtsUu4eQdw53GJL563RRw9rnOVEib8nbZcBWu5PfF8hnzyKgPe8fTjJBln1kZbbVv/ytxFXMlwwJPSD5xVPmaTo7gn1gBgoQ2w6CH4OVAdLLa9E0cVsq4w7NcZk2wfryYRylz4h/hdxkuatjq/f6SR860IfgPcS9IFszATRw/PGswx4FeffuV6UoPvMdWQy4KJQ239ou+5Hecce6Y4gYosC1yK34YMgjXEH04um5gwARAQABzRFqZmxhY2tAcG9zdGVvLm5ldMLBlAQTAQoAPhYhBDIm8Qj4YWAFs5cgmxqfJR2Uid2eBQJiSBVIAhsDBQkFo5q ABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEBqfJR2Uid2ecj8QAJEcWZf+HM OpenPGP: url=https://posteo.de/keys/jflack@posteo.net.asc Received-SPF: pass client-ip=185.67.36.65; envelope-from=jflack@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 04 May 2022 08:37:19 -0400 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:289164 Archived-At: 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? [1] https://git.disroot.org/jflack/isearch-olc -- Thanks, Jai