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.bugs Subject: bug#61184: 29.0.60; keymap-local-set and keymap-global-set became less strict Date: Mon, 30 Jan 2023 21:52:54 +0100 Message-ID: <5876987d-2479-f512-5767-218c8c16a909@daniel-mendler.de> 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="28516"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , Robert Pluim , Stefan Monnier To: 61184@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 30 21:54:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pMbAP-0007D7-Sz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Jan 2023 21:54:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMbAD-0004xz-4T; Mon, 30 Jan 2023 15:54:05 -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 1pMbAA-0004xG-V5 for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 15:54:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMbAA-00049Q-Ms for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 15:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMbAA-0006Wl-Cb for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 15:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Mendler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2023 20:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61184 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167511200225030 (code B ref -1); Mon, 30 Jan 2023 20:54:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jan 2023 20:53:22 +0000 Original-Received: from localhost ([127.0.0.1]:50697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMb9W-0006Vd-GX for submit@debbugs.gnu.org; Mon, 30 Jan 2023 15:53:22 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:37918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMb9U-0006VW-RE for submit@debbugs.gnu.org; Mon, 30 Jan 2023 15:53:21 -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 1pMb9U-0004uI-I3 for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 15:53:20 -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 1pMb9R-00045A-D3 for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 15:53:20 -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:Subject:From:Cc:To :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: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=4R0shCKuGRAq7t3ljREqH9TY5zX6CUjDdkpHz01BM/c=; b=qZhzFo5VuMkCAh4EboeYM+7FhH g6fb49GvZeyywqU3mL4CiLAH/HZ6xJvnOjnCOdWkdazHnto5xycTcEdLVQJ4XEuINRqMEqHKHIXA6 2EcO8SLK6KMxwp41BeJYQrzRRb9pRHaiNxRI1qLcxVF3k1HOF9eEuJc/z2G3ssuO5w6k=; Content-Language: en-US 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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254478 Archived-At: In patch f67a9a12b7b0cdd6030cb080a6d6838255789a08, the commands keymap-local-set and keymap-global-set became less strict for non-interactive use, which is not the intended the design. The goal is that the API only accepts strings in a single format. The vector to string conversion should happen within the interactive form. There was an old commit by Stefan Monnier, where he relaxed the API, but Lars made it clear back then that it is better to only accept a single format for the keymap API, such that guidance for the user is better due to clear error messages.