From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: The new keymap functions Date: Mon, 15 Nov 2021 16:01:28 +0300 Message-ID: <43bf1f9b-55ec-67b6-1920-98179a5d6903@yandex.ru> References: <87zgq8sfw3.fsf@gnus.org> <8735o0mgj3.fsf@fastmail.fm> <87v90wi7hv.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23070"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen , Joost Kremers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 15 14:03:37 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 1mmbe5-0005n5-Lq for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Nov 2021 14:03:37 +0100 Original-Received: from localhost ([::1]:49230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmbe4-0004JQ-DH for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Nov 2021 08:03:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmbcb-0002of-Kt for emacs-devel@gnu.org; Mon, 15 Nov 2021 08:02:05 -0500 Original-Received: from [2a00:1450:4864:20::234] (port=35575 helo=mail-lj1-x234.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmbcM-0006k8-J2 for emacs-devel@gnu.org; Mon, 15 Nov 2021 08:02:05 -0500 Original-Received: by mail-lj1-x234.google.com with SMTP id 1so35379601ljv.2 for ; Mon, 15 Nov 2021 05:01:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=bYkSTPiWmBfBcObpUpDL4WwydKjCMbxy8wz7p4Dz8gU=; b=WhocJt0cRqeFbs5Ht+C1coZBfCYcHLdHeVHvxq+Pg020DIGOyJet6pBVqi1SHO6Wkc UCrrB/sLy2of3Mt1OnUhkthImC7uK8dmEVWJzJ5BykGEP8t7GQeuZxs2ulH72CJ7ADNt yjuVFgsSasGyc94GfFE4UHfG1DEPffCBUheF5C09aSeky29wy3gOmjHRmpvG16QfhBtH AoNvcvRHbadA10HOaHmDrkX3P4MfBvypIlAMgN4FOgzBPGCpwKxzuWuAJl/aioAmgyur FdorbalKmzuNx4seAE8DgZA9VtGhYNhzSIenkRxUPZSbjH8N0Xf9JSz39cUIFAtSo01r Kh0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bYkSTPiWmBfBcObpUpDL4WwydKjCMbxy8wz7p4Dz8gU=; b=uPTmGnImcUERipOkcQ8xkJNNuCdUMEKUi5K63uoWmGFm7Nl8E3P0lCYCbb39J4W6Fg +RFunmhAdNBnzzEewvEGStzejN57hCNxJU/TrHUiq0VMJxY/odvMu6e+ZTNgNaOtVMHV ivwgCAgJDzoBuL8mf13InrR28qe4pZ6ih08WKYtzgcSjN1cXOMrFL5djG1uymTP7Ge9V qTW6DWjOOeXflBP9Wjn51EqdOAu45C/VDCvqlKVKkofLFSB18KNcTIqo0TgRb/UVt1/6 uCVvaiQiYjJ5IoOo+1DAENACK3DonkbZy9dsl6l8qE+iuPMXd45cbLMgpO68XY5lb9gF 0+hQ== X-Gm-Message-State: AOAM533ITiO34k6vKhYso44ypPTcNqPhA9vEoy2uOsrLIw/esqLoZQ8R VH3AWjrzchptVXd/YZKUS5P+GEzsHOg= X-Google-Smtp-Source: ABdhPJwh5dq6pMVW1RD/+VDaDClD1x8z1v+hUuDplWhThh1W6PWpe3usflcwAODYPbhD6ue4KMsAaQ== X-Received: by 2002:a05:651c:2102:: with SMTP id a2mr39363251ljq.112.1636981298261; Mon, 15 Nov 2021 05:01:38 -0800 (PST) Original-Received: from [192.168.0.103] ([5.18.235.131]) by smtp.googlemail.com with ESMTPSA id d24sm1411170lfb.139.2021.11.15.05.01.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Nov 2021 05:01:37 -0800 (PST) In-Reply-To: <87v90wi7hv.fsf@gnus.org> Content-Language: en-US X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::234 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::234; envelope-from=raaahh@gmail.com; helo=mail-lj1-x234.google.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-2.278, PDS_HP_HELO_NORDNS=0.001, RDNS_NONE=0.793, 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:279499 Archived-At: On 13.11.2021 15:07, Lars Ingebrigtsen wrote: > Joost Kremers writes: > >> If they do something different from what `local-unset-key` and >> `global-unset-key` do, would it perhaps be useful to name them differently as >> well? Perhaps `unbind` instead of `unset`? > Or -remove, perhaps? And for symmetry with 'remove', we could use 'put' instead of 'set'. It would sound more like working with a hashmap/hashtable (which a keymap is, in a sense).