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: compat.el and Emacs unstable master branch features Date: Sun, 15 Oct 2023 12:09:13 +0000 Message-ID: <874jisf5p2.fsf@posteo.net> References: <87wn1axgh6.fsf@breatheoutbreathe.in> <877cp5bmig.fsf@breatheoutbreathe.in> <871qvz4kdw.fsf@localhost> <8734zoaolv.fsf@localhost> <87fs3o8uil.fsf@localhost> <87msxwa8kd.fsf@breatheoutbreathe.in> <87il8j7ji9.fsf@localhost> <80479897-500e-fe60-6586-0a44ccb5993b@daniel-mendler.de> <877coz7f6h.fsf@localhost> <86d6e412-9e5b-9086-56ce-e3794085096a@daniel-mendler.de> <874jk37dgh.fsf@localhost> <3f6176d5-ccc9-ec37-8adc-4e221388e164@daniel-mendler.de> <87ledd85ef.fsf@localhost> <87zg1rd7zj.fsf@posteo.net> <87bke6s6tc.fsf@posteo.net> <12703bce-ede3-c337-1ad1-6b8ce2bf1e38@daniel-mendler.de> <87ttqs9sxz.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35426"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Daniel Mendler , Joseph Turner , Stefan Monnier , Adam Porter , Eli Zaretskii , phillip.lord@russet.org.uk, emacs-devel@gnu.org, ~pkal/compat-devel@lists.sr.ht To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 15 14:10:19 2023 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 1qrzwp-000929-An for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Oct 2023 14:10:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrzw0-0007md-Tf; Sun, 15 Oct 2023 08:09:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrzvx-0007mK-G8 for emacs-devel@gnu.org; Sun, 15 Oct 2023 08:09:25 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrzvv-0002ug-F1 for emacs-devel@gnu.org; Sun, 15 Oct 2023 08:09:25 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8465F240028 for ; Sun, 15 Oct 2023 14:09:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697371760; bh=U/xVeuI9Vx6BpNTmR7yWl8nU8ald3zINeAXKs/sVStQ=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version:From; b=kJnysgeQSfyGKHKrBLcSZxzBEaQFFqooGFThsKdI1jt/q7u8xH/rhOayXWaGQWECq 7keKScmLTLmiq+HgXN4QQaxCDnI6yHvLA5cKlr3poA3TS7MG/oCtQcsSGmB70Nqqgs WvyJjBrwSk0H1E8/yTuEw15y1h+yaUPJ7WexL6wDQOXVyP2wxD854P/D7RvuJTq9oW H18CbmQG/q/18W5yfIlww3Li8WZF6ldhxgT3jfSVeKkog10NHtwnlcJRP8ByAB92Bd Q81Va/glYRw0mr7/79VuvwsDs9dmiuYa4nVmQSPHUavPl8GKxTmA9awNv0As/WzbY7 IctYuep4R0PRA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S7fDZ5s9Cz6tvt; Sun, 15 Oct 2023 14:09:18 +0200 (CEST) In-Reply-To: <87ttqs9sxz.fsf@localhost> (Ihor Radchenko's message of "Sun, 15 Oct 2023 08:43:36 +0000") X-Hashcash: 1:20:231015:joseph@breatheoutbreathe.in::7izumuWlkGFgP0+2:JX0 X-Hashcash: 1:20:231015:yantar92@posteo.net::fUpmNDUUCLzNjjQO:FzX X-Hashcash: 1:20:231015:phillip.lord@russet.org.uk::Kg7k3Dmyss50GhSk:0+0r X-Hashcash: 1:20:231015:~pkal/compat-devel@lists.sr.ht::v1ZAdrgZ4YULDVe5:0SJl X-Hashcash: 1:20:231015:eliz@gnu.org::7wJ7IWCa8qSZblHP:8WZD X-Hashcash: 1:20:231015:emacs-devel@gnu.org::U+LX+oS65XGlrejt:5N8l X-Hashcash: 1:20:231015:adam@alphapapa.net::53HHEWPgk31DOvvf:9a/a X-Hashcash: 1:20:231015:mail@daniel-mendler.de::q1u66AC4YUhcJnzo:4eXp X-Hashcash: 1:20:231015:monnier@iro.umontreal.ca::UTkGTeJe5dfoQKnm:DOch Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM 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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311492 Archived-At: Ihor Radchenko writes: > Daniel Mendler writes: > >>>> Yes, if the Emacs maintainers agree I think this could be done. Take >>>> compat.el, remove the part which requires compat-29, and copy it to >>>> lisp/ or lisp/emacs-lisp/. As you said, if Compat (the package) is >>>> installed it will be preferred over the core compat.el. The advantage of >>>> this move is that core package could require compat directly without >>>> passing a noerror argument to require. Furthermore `compat-call' and >>>> `compat-function' would be available and wouldn't have to be copied as >>>> is currently the case for example in erc-compat.el. >>> >>> That sounds good! How does this look like: >> >> Yes, this is what I meant. I forgot to mention one additional advantage >> in my last mail: If the compat.el in core is registered with package.el >> as builtin with version 30, the ELPA Compat package wouldn't get pulled >> in by external packages which depend on Compat version 29. The core >> compat.el version should then be bumped together with the Emacs version. > > Nobody raised objections. I recommend sending the patch to debbugs (M-x > submit-emacs-patch), so that it can be seen by Emacs maintainers. See bug#66554. -- Philip Kaludercic