From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Mendler Newsgroups: gmane.emacs.devel Subject: Re: 29.0.60; keymap-local-set and keymap-global-set became less strict Date: Sat, 4 Feb 2023 10:55:20 +0100 Message-ID: <5fa304a0-c40f-5493-d88f-5e1f7d0c24da@daniel-mendler.de> References: <5876987d-2479-f512-5767-218c8c16a909@daniel-mendler.de> <875ycngyji.fsf@gnus.org> <87zg9zvzuc.fsf@gmail.com> <831qna3frm.fsf@gnu.org> <87mt5yogct.fsf@gmail.com> <83y1pi1wz4.fsf@gnu.org> <87ilgmodk4.fsf@gmail.com> <83mt5y1r5u.fsf@gnu.org> <87bkmdo8e4.fsf@gmail.com> <831qn91qo0.fsf@gnu.org> <137753af-777d-2da3-c111-7e2d414633f1@daniel-mendler.de> <83sffpze9h.fsf@gnu.org> <309dee07-e404-4f84-a839-8b99815376f8@daniel-mendler.de> <83mt5xz42d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38776"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, rpluim@gmail.com, larsi@gnus.org, emacs-devel@gnu.org To: rms@gnu.org, Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 04 10:56:43 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 1pOFHn-0009sP-Fv for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Feb 2023 10:56:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOFGw-0007zw-M0; Sat, 04 Feb 2023 04:55:50 -0500 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 1pOFGu-0007xY-7C for emacs-devel@gnu.org; Sat, 04 Feb 2023 04:55:48 -0500 Original-Received: from server.qxqx.de ([2a01:4f8:121:346::180] helo=mail.qxqx.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOFGq-0006B3-84; Sat, 04 Feb 2023 04:55:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de; s=mail1392553390; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Bah9oVpZ7CS8rP4gRhsyqVKoqiPkAUpa2Cw1Ta2MU0A=; b=mrz52Xtq7as0OcquPVGTX2KJ3X oDu65gt47pMHALenda+C8L8lUNcsE3YSAq+zzZR1UO4dXKw2syQLG7G3Pf24lBPARrZ9ICGAj3rJn 4iQUx/BvCQcgTpEC5FV4DJaFoK4WPPpPoVjs5o6q8BwrKDzizGlVybJQP5xwxFDci3mw=; Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2a01:4f8:121:346::180; envelope-from=mail@daniel-mendler.de; helo=mail.qxqx.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-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.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:302958 Archived-At: On 2/3/23 10:56, Richard Stallman wrote: > I don't know enough about that code to follow the argument here. > Could someone tell me what the Compat library does? > Is it in Emacs -- if so, what is the file name? Compat is not part of the Emacs code base. It is instead distributed via GNU ELPA. It is an Elisp compatibility library, which allows packages to use functions and macros introduced in newer versions of Emacs, while staying backward compatible. For example, the function `keymap-local-set' will be introduced as part of Emacs 29.1. Correspondingly, Compat 29.1 provides this function too. A package targeting Emacs 24.4 and newer can then depend on Compat 29.1 and use `keymap-local-set'. See the GNU ELPA Compat page https://elpa.gnu.org/packages/compat.html and the manual linked there for more details. Daniel