From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59305: 29.0.50; keymap-global-set handling of string bindings different from global-set-key Date: Thu, 02 May 2024 12:01:41 +0300 Message-ID: <86cyq4mvt6.fsf@gnu.org> References: <87edu3cml8.fsf@gmail.com> <874junfonc.fsf@gmail.com> <87r0x1njll.fsf@gmail.com> <87bk5wqjka.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19601"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 59305@debbugs.gnu.org, stefankangas@gmail.com To: Robert Pluim , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 02 11:03:04 2024 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 1s2SLI-0004qy-3M for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 May 2024 11:03:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2SKv-0006wM-Iq; Thu, 02 May 2024 05:02:41 -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 1s2SKu-0006w4-O1 for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 05:02:40 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2SKu-0000BA-Fx for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 05:02:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2SLF-0005h5-Rm for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 05:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 May 2024 09:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59305 X-GNU-PR-Package: emacs Original-Received: via spool by 59305-submit@debbugs.gnu.org id=B59305.171464053321876 (code B ref 59305); Thu, 02 May 2024 09:03:01 +0000 Original-Received: (at 59305) by debbugs.gnu.org; 2 May 2024 09:02:13 +0000 Original-Received: from localhost ([127.0.0.1]:42507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2SKT-0005gm-FA for submit@debbugs.gnu.org; Thu, 02 May 2024 05:02:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2SKR-0005gg-Rb for 59305@debbugs.gnu.org; Thu, 02 May 2024 05:02:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2SK0-00006u-6B; Thu, 02 May 2024 05:01:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=cz7AR0/BnG49G9g+XHbxNqv9tYzuHX3kliytC3UuK4k=; b=qZmoQtbtYH0euvYL3T4a Kib8wokvRwyymNfXVnge5NjInluZVUrH7CW3OsXX0TRQWwtQWN+WxtgEDH4zaxC9sSAFIpyPubNA2 Da2ZdmaN1ZxDMSk7q15FHT/x2PavnDzOnjf9+AGH38LBI10lkRFIb6oCwvzEEgoEMmKQNHSqRvnzw 4S9BhPcdpHgmFR9D+xsIEO/A+gh5UwUszu9Jmlt+Hq8HODPXkIRZMc6q44Ay8CqyzqI/OrgDi/utW GRaVzBSyIs+uUcJ3mAhcIvsOtb154G3nSPCqG0du3PAcqY31sb9B7Xi1B5NJk9FWlx8sTTnkw+1fb a6zD0ooPc/5egw==; In-Reply-To: <87bk5wqjka.fsf@gmail.com> (message from Robert Pluim on Fri, 26 Apr 2024 16:34:29 +0200) 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:284287 Archived-At: > Cc: Lars Ingebrigtsen , 59305@debbugs.gnu.org > From: Robert Pluim > Date: Fri, 26 Apr 2024 16:34:29 +0200 > > >>>>> On Thu, 15 Dec 2022 09:42:46 +0100, Robert Pluim said: > > > Robert> Then perhaps we should just change the docstrings and manual to > Robert> explain that binding a key to a string of characters should use > Robert> `kmacro' (since `kbd' is not the right thing for ASCII-only entry) > > I was going to write 'Stefan why did you overwrite my patch', but itʼs > me who didnʼt follow up :-) > > Changing `kbd' to always return a vector, attractive as it is to the > purist in me, falls foul of existing code that expects eg `(kbd > "RET")' to return a string (and thatʼs just in Emacsʼ code). I guess > we could add an 'always produce a vector' argument to `kbd', but > perhaps just recommending `kmacro' is best, since itʼs a fairly niche > usage. > > This is against emacs-29 Stefan, any comments?