From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: master 570a11052b: keymap.el: Ease up support for non-`kbd` formats. Date: Sun, 02 Oct 2022 15:51:19 -0400 Message-ID: References: <166473415340.3541.7915775151764125824@vcs2.savannah.gnu.org> <20221002180913.AD50AC0004A@vcs2.savannah.gnu.org> <87k05i9ivs.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16292"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 02 21:52:36 2022 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 1of50t-000443-KN for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 21:52:35 +0200 Original-Received: from localhost ([::1]:39698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of50q-0001fp-Km for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 15:52:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of4zl-0008UH-KF for emacs-devel@gnu.org; Sun, 02 Oct 2022 15:51:25 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:16561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of4zj-0000qO-2G for emacs-devel@gnu.org; Sun, 02 Oct 2022 15:51:24 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BF1F6442859; Sun, 2 Oct 2022 15:51:21 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5E66D44052B; Sun, 2 Oct 2022 15:51:20 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1664740280; bh=e9vZKrUSRTCQcPahylezc/rTklguFiLe579dR9czxgw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=c0ZSADVKjEPdFznzGw4p4cZGUat0VU5TL4nlsHEN1NBL7XK/WpCANJwvT7UwW1MwO ahg4lfIjtzhnq5Wgs1Bc1dvU8o+wHobG/7tZD9enOov3sBbnGcaroFaGk9pOaCB+qr 476Ca4WxYsWhona07KlKxFqnfNNnlvUeB0MIxOmC9bjY+XAcrxVOmvVcDxM345L6Ej bZejN3AL+XX+wJSCr7ayfqWqJM/Run+jvRsILrS/kK3xWDJ9dANw0vEpQR4Iz44B8e un5jgLXJMvnGwE/nx1TKTtzxKUJ5uEQiPglAvLvoj4GZH1A2OMKhNK6kkPEC/qyjgz M+Zs94ZUB69aQ== Original-Received: from pastel (65-110-220-202.cpe.pppoe.ca [65.110.220.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3C5C71209CD; Sun, 2 Oct 2022 15:51:20 -0400 (EDT) In-Reply-To: <87k05i9ivs.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 02 Oct 2022 20:32:07 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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.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" Xref: news.gmane.io gmane.emacs.devel:296697 Archived-At: > (Re-sent to the right emacs-devel address...) [ Same here ;-) ] > Stefan Monnier via Mailing list for Emacs changes > writes: > >> While we want to standardize on the `kbd` syntax for user-facing code, >> the internal vector representation of key sequences is not going away, >> so let's not impose silly `key-description + key-parse` roundtrips. > > I don't think this is a good idea. Before this change, `keymap-set' > (and friends) provided real value in giving the users feedback on the > consistent format we've chosen to document support. With this, you > reintroduce the confusion we have with the myriad different (and > incomplete) syntaxes, and the next question will inevitably be why > `keymap-set' doesn't support the rest. I thought I explained in the commit message: the low-level vector representation is not going away any time soon (there's not even a plan for how this could happen, or anyone who mentioned a desire to make it happen). So it makes no sense to force people through (key-parse (key-description )) when they have a low-level vector keysequence to start with. Stefan