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: Moving kbd to subr.el Date: Fri, 22 Oct 2021 15:06:27 +0000 Message-ID: <87o87hrte4.fsf@posteo.net> References: <20211004081724.6281.11798@vcs0.savannah.gnu.org> <87mtnbtimj.fsf@gnus.org> <87wnmd13ny.fsf@gnus.org> <87sfx10xs6.fsf@gnus.org> <87h7dfpjn3.fsf@gnus.org> <31b2f1e94178d73e5f05@heytings.org> <83fsszfnjw.fsf@gnu.org> <31b2f1e9412c9002c8f4@heytings.org> <875ytvpgnn.fsf@gnus.org> <838ryqftlh.fsf@gnu.org> <87zgr487cj.fsf@gnus.org> <875ytrzg13.fsf@posteo.net> <87bl3jjdfw.fsf@gnus.org> <87lf2mwl68.fsf@posteo.net> <874k99f8ev.fsf@gnus.org> <87sfwtrttu.fsf@posteo.net> <87mtn1cdbh.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="36997"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org, gregory@heytings.org, Richard Stallman , stefankangas@gmail.com To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 22 17:08:41 2021 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 1mdw9w-0009PX-2E for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Oct 2021 17:08:40 +0200 Original-Received: from localhost ([::1]:38020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdw9u-0003H5-Ju for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Oct 2021 11:08:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdw7t-0000a3-MT for emacs-devel@gnu.org; Fri, 22 Oct 2021 11:06:33 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:37125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdw7r-00030b-I9 for emacs-devel@gnu.org; Fri, 22 Oct 2021 11:06:33 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 0D3F5240104 for ; Fri, 22 Oct 2021 17:06:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634915189; bh=pppPRRY1XNNG/B7w4k3dqAxkBMMlyLS7OMJbS98yqvU=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=CvG6g0X4+TtAcRyYqGirzKTFgxQGvgo2eQyyXpf+xcIrq4/Y2Vybj10zjyMogh1zc xSeTk8EbWQHSyh6QnGh8JaXnp7ds2rFcsQLKrKESvKCoBgGTBk/Vxvn0B720GrJ/nA izWX8S9eNN9WRqiFNY2KWVo7RJkdnRMbzoRNXh+VQU4LtjTGVPZV8X1P6gzrKidAXh h4A/acTrn1tNSNUE9Sd6dRr+Cx4g69r2Clcg905fGRuS7pW0xGqhYu9GRwiipoqvwr B+diaXtWvccEKc62vMPfOlL/UQFvhOirI+CBCvm+EycGGd0GXJ8UwgQwQQI2PGr2rV 3dmpJeh+tLx0A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HbSNg6ktbz9rxT; Fri, 22 Oct 2021 17:06:27 +0200 (CEST) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: <87mtn1cdbh.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 22 Oct 2021 17:02:42 +0200") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.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_H2=-0.001, 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.23 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:277565 Archived-At: Lars Ingebrigtsen writes: > Philip Kaludercic writes: > >>>>>> That doesn't mean that the new functions couldn't be more lax while >>>>>> parsing, and dwim when I say C-f1 for M-space. >>>>> >>>>> That sounds very lax indeed. >>>> >>>> Do you think it would be impractical? >>> >>> Depends. Do you also mean M- when you say C-? >> >> No, but I am not sure what you mean by this. >> >> My point is that instead of extending or creating a new syntax, that the >> new functions could handle a superset of what kbd currently does. So >> where as (kbd "C-f1") currently throws an error, the new functions could >> interpret the previous expression to be equivalent to (kbd "C-"). > > But you said that C-f1 should be interpreted as M-space, so I wasn't > sure what you were getting at. Oh my, now I understand what you mean. No, that was a typo ("or" -> "for"). Sorry about that. > But, no, I don't think the functions should be lax when interpreting > these strings -- it's just confusing. How come? It could just as well be argued that throwing errors while parsing key bindings is also confusing, especially when guessing that C-f1 is the same C- isn't that far of a jump. -- Philip Kaludercic