From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Moving kbd to subr.el Date: Tue, 19 Oct 2021 15:57:49 +0200 Message-ID: References: <20211004081724.6281.11798@vcs0.savannah.gnu.org> <874k9juy0r.fsf@gnus.org> <87mtnbtimj.fsf@gnus.org> <87wnmd13ny.fsf@gnus.org> <87sfx10xs6.fsf@gnus.org> <87h7dfpjn3.fsf@gnus.org> <31b2f1e94178d73e5f05@heytings.org> <87czo3pgs1.fsf@gnus.org> <31b2f1e9412d60db82df@heytings.org> <87o87moopl.fsf@gnus.org> <19fca5d18b63e6eff5de@heytings.org> <87wnmaiida.fsf@gnus.org> <87zgr6gw9s.fsf@gnus.org> <87r1chhhkh.fsf@gnus.org> <871r4hf83m.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1732"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gregory Heytings , Stefan Monnier , Emacs developers To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 19 16:03:07 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 1mcphq-0000C5-3r for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Oct 2021 16:03:06 +0200 Original-Received: from localhost ([::1]:60282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcphp-0002Em-67 for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Oct 2021 10:03:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcpcz-0005ad-Ml for emacs-devel@gnu.org; Tue, 19 Oct 2021 09:58:05 -0400 Original-Received: from mail-pg1-f173.google.com ([209.85.215.173]:41574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcpcy-00068J-4E for emacs-devel@gnu.org; Tue, 19 Oct 2021 09:58:05 -0400 Original-Received: by mail-pg1-f173.google.com with SMTP id t184so6446161pgd.8 for ; Tue, 19 Oct 2021 06:58:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=brSYlsC3ZSCsEjbNSifOZyDqFS2MO/Ox+CNPwExOiss=; b=TzQ5zQY1Mtoy31sDItJE6LklI9oimmiRQ6if0JOdAxyYhh8xCzXG9zD7moQ8XBmOA7 UvIYu6+8znsZyxffk/M5k3sHJuoAxDMnDFC92W8bG/xpDenOZLzH4GoUW1qD8nbGObMx G2swvfyGYWloVgAboALrShVbhhlDbDnxIE8QY6cXL/7aPJ9JELkQZ27FMpn+NLhuOMOD T5Ry9d+6WB97prp3Ile3mW8zt2zmg1X42sSFw+7qmWKq3OKd3rPpgk84k9zyCt3cxZfq EjvkzOZZPyqGz6TpDsG7XTI0seEEjs3juBBUfBLnZ/noWHXEaBqF9EhVTaD3DKJ1oB8m MJxQ== X-Gm-Message-State: AOAM530tPNeuobNL9V2vv6hnzxvst41c/a+tSgb8DZmxUca1SmL+2H2B Kn+o2YtA+7jvwqqGciJkp263y9Gx+WzMoxbEn1U= X-Google-Smtp-Source: ABdhPJwgWxS/u+x8t3h0XfjwXHz4lCe9cuj4YP/NrPmr3Of9RUdy8Ae1h7A6rdLwb1isBIW/RVlIDp5oL6B8xkdurwg= X-Received: by 2002:a05:6a00:1950:b0:44d:9402:3396 with SMTP id s16-20020a056a00195000b0044d94023396mr46350pfk.70.1634651881675; Tue, 19 Oct 2021 06:58:01 -0700 (PDT) In-Reply-To: <871r4hf83m.fsf@gnus.org> Received-SPF: pass client-ip=209.85.215.173; envelope-from=stefankangas@gmail.com; helo=mail-pg1-f173.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:277363 Archived-At: Lars Ingebrigtsen writes: > OK, that's fewer than I thought. So, new random thought: > > kbd-keymap > kbd-define > kbd-set-globally > kbd-unset-globally > kbd-set-locally > kbd-unset-locally > kbd-lookup I like it. (I was experimenting with a prefix "defkey" but couldn't come up with a nice set of names like the set you have above.) AFAICT, this approach has one important advantage that none of the others have: it frees us from most of the legacy stuff in one go, while still allowing us to leave the legacy interface as-is.