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 18:16:52 +0000 Message-ID: <87fssssz57.fsf@posteo.net> References: <20211004081724.6281.11798@vcs0.savannah.gnu.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> <87o87hrte4.fsf@posteo.net> <878rylccyi.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="26532"; 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 20:19:57 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 1mdz93-0006g8-L4 for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Oct 2021 20:19:57 +0200 Original-Received: from localhost ([::1]:52144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdz91-000861-Mz for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Oct 2021 14:19:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdz6D-0006lg-AO for emacs-devel@gnu.org; Fri, 22 Oct 2021 14:17:01 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:49017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdz68-000436-D4 for emacs-devel@gnu.org; Fri, 22 Oct 2021 14:17:01 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2F74B240029 for ; Fri, 22 Oct 2021 20:16:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634926614; bh=CrMZiuGDTJR0ffBy5WMDDLKRQhuAtmfEsv2Go6cJhmE=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=q68ZtDl92X+d8lAWj6n07bfQVops6M214XxY1YwSeLRiNiycBXtS5ZHseooIk+0V7 /T9zfvpO1z4SvzmZKcvPFHLVuYlI1N5sDesc30tO33K7EOsWxk4A3/X2n6/qXON8HU rR8duskODyBaHUuZzxUU8rLdx65reJ82Y/Lst1rz+rlS7bNLg0jrfPYVeWwM7rpxW2 7RJfANQaxveqaerSQ34NKNqnNEmMETcYkU/lV42flZQtRjK7p1IuGmT7Npk7WIbfX+ tmszHFgx23q86ecUhc1T/XvHsX6LOPWBLLyCAqaJFvmr+lgzbURQzXYBsOyOgu3AHd 4FCAg/heSgGuA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HbXcP24wgz9rxM; Fri, 22 Oct 2021 20:16:53 +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: <878rylccyi.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 22 Oct 2021 17:10:29 +0200") Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.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:277576 Archived-At: Lars Ingebrigtsen writes: > Philip Kaludercic writes: > >> 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. > > Because then you end up with code that says > > (define-keymap > ... > "C-f1" 'some-function > "C-" 'other-function) > > and the person reading it will then wonder "but what's the difference"? But doesn't this issue already exist? e.g. kbd parses both "C-c" and "^C", which might lead to the same confusion ("is one of these for X11 and the other one for TUI Emacs?", they might ask). -- Philip Kaludercic