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: PROPOSAL: Repurpose one key and reserve it for third-party packages Date: Mon, 8 Feb 2021 16:54:49 +0200 Message-ID: <4b051070-45e0-db53-a2ca-e1f15bd1def8@yandex.ru> References: <7ef75c33936136eb3a20@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34316"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: Gregory Heytings , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 08 21:56:11 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 1l9DZr-0008on-7D for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Feb 2021 21:56:11 +0100 Original-Received: from localhost ([::1]:52560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9DZq-0006Xi-8u for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Feb 2021 15:56:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l97wM-0007f9-Iq for emacs-devel@gnu.org; Mon, 08 Feb 2021 09:55:09 -0500 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:43448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l97wF-0000KY-B9 for emacs-devel@gnu.org; Mon, 08 Feb 2021 09:54:57 -0500 Original-Received: by mail-wr1-x430.google.com with SMTP id z6so17410619wrq.10 for ; Mon, 08 Feb 2021 06:54:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=k9URTsehllBz+SDQXa2uc2W3P510882ax5iKmYw3l6c=; b=RMAvJ6LbaPrD/IHbBcQYvvZBmV1hinTq6R1GNreUvQJxG/9zuTD3VIXDrj+vqR9Qgz lMo000OQRcE6KDDc83OmIcxWBiU0Fyjsufw6dEQUUP/xVM3n2sWkis1WBsjOWy3kuBLY w0NzDcHC3wL+xwGKtW8DVtR7H8m2CxNO1gdf4sqHFN85adrh5nl6rR82AFNUBIEiEYy2 vApmkniGglcSAQv2nrequJDZ8+hpu06tLRkkGdWF+cAsAHiRXP6ug55ClDm+dmWvXaTx BtqEm8gCTgDJfumTdewEDFjpQcSxCe9xVp47quz49z9xH0v5J69sE7iwP5V0o5SKvinX hjmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=k9URTsehllBz+SDQXa2uc2W3P510882ax5iKmYw3l6c=; b=oWautrlImO2q6ub1D+0uhvaq6UHg6h8KZrnpOakgaBjZ9cuyWTBBxprIRunBom0VEI m0WJ8CpQI9stnmGbucoHVgbK6xHy8s620dxPrEs/bpAqU5N+QD5eExZdU9+HWx/U5Prb Ee3BM9TI+l0qZZDq48STbe0ImHCqwynqk86OYiK2ny5EcOMcVaugocDgkaPl8vM2mlNY V/7HcSh19HxRXUmoWS55nlsacQbY/fJTWC0z+jo7P+u/pJUnOUcHrLaWiS5x2NuJD25s 1RcEY0JFpoVyr9AFeLs7R1R5Bf6nVpP1qKsMLq4jUGXkQ+i7Dhwhsk8FltyAHnPzj8gC iBtg== X-Gm-Message-State: AOAM532hbmRc63Y4/8kQIGObKRYBfHcxfK+BUkGjDYR857OMnLziL8aj L54xmETfygXPgppscQJf/V4uJ+0FreA= X-Google-Smtp-Source: ABdhPJwc87HhVrolj7AmPpJ39AEEWfQ3k9mo+uyetXqTlJ9RWa3aD4ybQI5RQFH8TC9BRBqZIJXMnQ== X-Received: by 2002:a05:6000:1543:: with SMTP id 3mr20549714wry.254.1612796092137; Mon, 08 Feb 2021 06:54:52 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id d23sm22023936wmd.11.2021.02.08.06.54.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Feb 2021 06:54:51 -0800 (PST) In-Reply-To: <7ef75c33936136eb3a20@heytings.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=raaahh@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.265, RCVD_IN_DNSWL_NONE=-0.0001, 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:264174 Archived-At: On 08.02.2021 00:05, Gregory Heytings wrote: > > =Proposal= > > It is proposed to repurpose one key, and to reserve it in the key > binding conventions for third-party packages.  The keys that could be > reserved for that purpose are: > > Option 1. C-z, with a single exception: "C-z C-z" would be bound to > "suspend-frame" > > Option 2. C-z and M-z, with two exceptions: "C-z C-z" would be bound to > "suspend-frame", and "M-z M-z" to "zap-to-char" This won't fly because a lot of us bind 'C-z' to 'undo' (or a similar command), and special-casing 'C-z C-z' would break that usage (calling 'undo' several times in a row is common). Finally, like Stefan K said in another thread, if we even end up changing the 'C-z' binding, let's finally make it compatible with most other editors out there, which is putting 'undo' on it. Or 'undo-only'. And as a maintainer of multiple packages, I have lost track of how many times I switch to 'emacs -Q' to reproduce some bug report, and then end up suspending the frame by accident. > Option 3. C-o, with a single exception: "C-o C-o" would be bound to > "open-line" > > Option 4. C-o and M-o, with two exceptions: "C-o C-o" would be bound to > "open-line", and "M-o M-o" to "facemenu-keymap" I'd prefer to keep 'C-o' as-is, but admittedly it's a less important binding.