From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] Add compat.el Date: Fri, 15 Oct 2021 19:08:13 +0000 Message-ID: <87czo6qf6q.fsf@posteo.net> References: <877dfavmzw.fsf@posteo.net> <87y278ieeh.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="2196"; 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 Fri Oct 15 21:15:01 2021 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 1mbSfU-0000IT-QA for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Oct 2021 21:15:00 +0200 Original-Received: from localhost ([::1]:58742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbSfT-0006jW-Gm for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Oct 2021 15:14:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbSZ4-0002KD-Vw for emacs-devel@gnu.org; Fri, 15 Oct 2021 15:08:23 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:35025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbSZ0-0002aL-RD for emacs-devel@gnu.org; Fri, 15 Oct 2021 15:08:22 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 11FBB240026 for ; Fri, 15 Oct 2021 21:08:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634324895; bh=thPm+JcBWTF+STUUHdpsAjkSVp65LzCLpf3imf8jYeo=; h=From:To:Subject:Autocrypt:Date:From; b=rAzyJQC6pl4Knyq7AaQCHSjFsPh/2D2mpJTe9LlvB6O9Nw98EtHm03wLXb7VYn/lg JIHAfBxp1SVfJ/90iLkeR/odzu4/WNR5HjJoJN233ZmxOkt85zs6dUlREIHpC3kAmy kbLbn8ZA+G97zs76F5bX/P5xcs3aQGK9L7Sj5t5o0yFz/26ujW1BX9LCr9wVl8Ces4 FvShJcJKMtgZSd2sSPaxHoqYuzk+1HdhHOlKIVBQd9PO+wTp4ZvxCuOU7NJ51g7EpV 7jIgmGtUBSEXmkC+wh2eaeY/YLlxlpq0Yvy4KcPgFsbTH5R52Qgm4b7m3W5XTN8dmP b0dD14G2mojhQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HWG4t31Qzz9rxD for ; Fri, 15 Oct 2021 21:08:14 +0200 (CEST) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: <87y278ieeh.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 05 Oct 2021 01:00:38 +0200") Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:277139 Archived-At: Philip Kaludercic writes: > Hello again, ... and once more. > I have been working on compat.el over the last week, and have written a > number of tests. The source code has been uploaded here: > > https://git.sr.ht/~pkal/compat > > The library should be usable in it's current state, but I'd be > interested to hear from other people and developers too. There might be > missing functions or macros, edge cases that could be added to the > tests, etc. that could be improved. After debugging the code for a while, I can now say that the code is functional and passes all the tests I prepared. Sadly this required me to bump the minimal version up to 24.3. It would have been a lot easier to bump it to 24.4, but 24.3 is the oldest release still in use on CentOS 7 machines (I know this because my fathers workstation has this version of Emacs). For now I am using GitHub's CI to ensure that changes don't break the test-suit. I plan to use SourceHut's service at some later point, but for now the work of preparing old Emacs builds was already taken care of by Steve Purcell (https://github.com/purcell/setup-emacs), so I took the easier route for now. With the infrastructure ready, this means the package could be added to ELPA, and released along with Emacs 28.1, leaving my some time to improve the documentation. I'd like to once again make sure there are no fundamental objections to anything I am doing here. If so, I'd do my best to fix the issues. > Finally, compat.el now ends with these lines: > > ;; ;;;; Ensure NonGNU ELPA is in `package-archives' > ;; (with-eval-after-load 'package > ;; (unless (or (rassoc "https://elpa.nongnu.org/nongnu/" package-archives) > ;; (rassoc "http://elpa.nongnu.org/nongnu/" package-archives) > ;; (rassoc "https://elpa.nongnu.org/nongnu-devel/" package-archives) > ;; (rassoc "http://elpa.nongnu.org/nongnu-devel/" package-archives)) > ;; (add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/")))) It seems better to steer away from controversy for now, so I have removed this snippet. -- Philip Kaludercic