From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [External] : Re: POLL: make C-x o transient Date: Fri, 29 Jan 2021 19:12:09 +0000 Message-ID: References: <2EFBBE54-62F4-4373-82D6-DC8750B648BA@kuaishou.com> <87eei9xb5r.fsf@mail.linkov.net> <87sg6m5mjs.fsf@mail.linkov.net> <8735ykc37u.fsf@mail.linkov.net> <938445fec66b0cdb0c4e@heytings.org> <87y2gchcpm.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12197"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Stefan Monnier , Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 29 20:13:56 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 1l5ZDO-00031T-Hk for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Jan 2021 20:13:54 +0100 Original-Received: from localhost ([::1]:60434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5ZDN-000332-HB for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Jan 2021 14:13:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5ZBn-00027O-E8 for emacs-devel@gnu.org; Fri, 29 Jan 2021 14:12:15 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:33438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5ZBl-00007T-JS for emacs-devel@gnu.org; Fri, 29 Jan 2021 14:12:15 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 10TJA4ba095562; Fri, 29 Jan 2021 19:12:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=+d0+c1w+cTYFpLtphy8ZTEUHmnlkgoyvB8b2xXMtuuE=; b=cGcUDaXbW8ekWc2m/eshXluuM39qWf3yJy/6RKpjEg5++ZCFgVCQqLL+EKDKGqC776+k d9he9wQmXXwk4RkrgM+BW2pm7K4NHG64z51e+QdUc+w/Tm0dfy74NMa/PXEuAZJ0UbFT 1MPajIWL1qIKNAc7TAvAyjih7zGpoy0YfAPY1hE0EU4B4mEOKU1tjJ9kQ8t4XK38/cXK 1cRJNaxhPKVwU+mUruAeSD/JVn56MlNrkOJi5OiKLYPjWqkW0uxgj+qaY2viA92PB1bh 8dWlkG7HDIvqNwI0nvOQ55rRNRtD42f4RA3utfFKwwOoDQl5lfU5sAb8zDgwYvZ1Zzc/ Jw== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 368b7raw2p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Jan 2021 19:12:12 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 10TJBHNo116468; Fri, 29 Jan 2021 19:12:11 GMT Original-Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2046.outbound.protection.outlook.com [104.47.66.46]) by aserp3030.oracle.com with ESMTP id 368wcsm1xf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Jan 2021 19:12:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YBxBPAOfjfi9cFANVqMPy2TjZWHMhgd/9qZFIvMfZh4bPURCMz6lfl+X8i5f5oMx3ybiRSmui7wUxBSW3xdvRSLWDi7ONRQ4huFeeqyiw8R9O3LixHsWmVqLkd+/dkzbGD6HNTjWMvRRZklThJhfy72PLEmNc9W2LYYgopwjwYlDH64U3/o+CDC8jq+vW9pWRpku/WHuzPSk0zHCL/e94xLrFkAsNu7pWk3uqzuJ+c/JU+2E3IBcohwGxkQkwO/rkAmDWGvZxudDLzApfLQoWiNQVSkKS+GTmyVaW4rig/VVElu49xJ+tY0bgFvoNU0nYMiCFoVtNIGFl/dXEvVxUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+d0+c1w+cTYFpLtphy8ZTEUHmnlkgoyvB8b2xXMtuuE=; b=jIKeUQqb+L4SeIqy9K3jCm+yhtzty0CGMDn2OsDN3BE2rWMlpUFGmf079rge5R2FS7QCsRIZsccK7AH83Ek4tdQjixXDx3GPba/V3rIFpw5rOjNu5eDYeWbN5Mjs074eWbc0OzZOGphv3PG4vZDT2GYG27xiH+h2E8fElQ7eFXZf9mpyewV2Duejs1osykvq8Cqp3IWV/xXD9hOnGSLBCMHvxHg4Ds1q0DJbYBku4zrsVWpSYx4j8tXWHorB+5B3G9BKo+J9YqoPQvme4u9YYWiUSRx+qLpduKHqcqlOJHVcCr4yJzbB5T6WaJzyIEL5Th2QBTzUXk2ychFcRk/FIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+d0+c1w+cTYFpLtphy8ZTEUHmnlkgoyvB8b2xXMtuuE=; b=leXLjvxMePIXYwQA4UjJMUczFVaoSt/mLRyqpAVVKAw+kLm092bhkRzImozGW+J2iebwxdZ71KwAbP6EuI8RAghocQrr9Hv8C2Y0qFeyEb21zshOQQOWBZ+FBlmOWlX+8b3GaUzR0vE+OLhBCAKG/LQ1jTA/Fo+m64k7Hnxxs+0= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4812.namprd10.prod.outlook.com (2603:10b6:806:115::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.19; Fri, 29 Jan 2021 19:12:09 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2%7]) with mapi id 15.20.3805.019; Fri, 29 Jan 2021 19:12:09 +0000 Thread-Topic: [External] : Re: POLL: make C-x o transient Thread-Index: AQHW9nKj0WvlULYIYkSnaVdfIYbJGw== In-Reply-To: Accept-Language: en-US Content-Language: en-US authentication-results: iro.umontreal.ca; dkim=none (message not signed) header.d=none;iro.umontreal.ca; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9ce3c0ec-dac1-4200-bc96-08d8c489c67f x-ms-traffictypediagnostic: SA2PR10MB4812: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Iox5BvyyXI38pDlHfQPUm5SbQGtRjmpKcsg7q9DQrrtx8+Uetl+l6vK+tHHRKZIasi1v9OTVYQao2sjC4E+rzNRdU69WfFxSHSYKwdEnT66zI5bVoQcruSFT9h0/WVWyltSnEFwTkhYQftrpGu7ZQ1OgylDIFdpcO7fpoBAv3gzW3JiMNzncW92IKUPqsbc5a/ILeMsVw8Ke67UNLOvxvHqUpPLAvmQ5PyZS41V0soC/d/5zW8Cu+RRNtIyJNrr4TthleAm2HKzRb/TXHwlh/HCb8FT8gj5OWSXlLlIReOQK6T86xr/kV18065w87lxPcdaGPH9vGWgk86E6vY9wcog8ynplgjuvCB3tvmZC0q/XHYhGOtSxzrZ8VWn+5tNGlXfoZK4HbSJPUx2i8ZpMPPu6hA2kde8oJ9aB03dgmxbQoonPjOE1je3Wxu6ihnaL6PXIxQwaJ1e9x3Ihd/9nSKQf7Saq241/HWaVDNywUiUdkkdr8cdzJ5GRgI7WrDqoBizm1M5OwX6FpaPc+AknjQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(346002)(396003)(39860400002)(366004)(136003)(7696005)(2906002)(76116006)(6506007)(26005)(44832011)(186003)(478600001)(8936002)(86362001)(4326008)(110136005)(64756008)(5660300002)(52536014)(55016002)(9686003)(71200400001)(66446008)(8676002)(33656002)(66476007)(66556008)(316002)(66946007)(296002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Jqo9oxU+rdWcBjH9jA/FR3+caUwMkQIgsSYvMn//nqUXwd99hzAc6pn8qqO4?= =?us-ascii?Q?n6ZsAZ13zv3z+8FD648yAulpgbeAXttmD/DNzD2QIO2nP3bNOahLdBJ5ZcS/?= =?us-ascii?Q?AoiPHG5FCYdYv510VN5FbRppZRNYSlWxBpqxSM/xwZfJeM7O2dkAwo2IFpDq?= =?us-ascii?Q?ZXCRPy/27KoyaqRpGs3W6FO9PNMiuMATYPznaYTZpxrA2VPYgTrxJc+ZlD2p?= =?us-ascii?Q?Ak1Y0B2w5mFq4XEh/+ugtnw6EJRa06OR8wZ1AqqDJs7D5aj54ybSKFO3ZfiU?= =?us-ascii?Q?jZ03PbeO1WUNfaZj83eXXEKbFz9nBJH5yspEB5liH8eNn3OFuwupUKI5qap1?= =?us-ascii?Q?xLO3SkT+VFVLBRnhd3lfdQVTv2zZ+VJYXyuNOlnNfYLcxVv48ACzICbdtfNL?= =?us-ascii?Q?4py1/hwsl+1BssPyUs26E9fAbte16ERS2BwjaWdk6uf8d87/gX32tR6avsKC?= =?us-ascii?Q?G6WPaqHsShQsIQ0B2yEvcXh9PjLLPb63A8vwoVuDg2sfD6ueI7eZWVchIZdR?= =?us-ascii?Q?UUGfW1ZvieqxjQkBwnQQ/cmwdZ6usaGrEX07VOZGZM8V0ybXl/RY3kBYbwXn?= =?us-ascii?Q?gOoZXQbnmBYxqWpElVbpRh7wNoVyWEmSKDCkW1SmjwjwU60OzUboFNVPw1I5?= =?us-ascii?Q?RVC1 x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ce3c0ec-dac1-4200-bc96-08d8c489c67f X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2021 19:12:09.1345 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1SMkMQNtNytEUhpYg0qMWInl47/BPas6KD1VyTx2k61MerRD0Gnl8koLrhuD3bE2tcV6YiRTmMyJMlxW4Esl3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4812 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9879 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxscore=0 suspectscore=0 phishscore=0 mlxlogscore=571 bulkscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101290093 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9879 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 phishscore=0 adultscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 clxscore=1015 mlxlogscore=863 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101290093 Received-SPF: pass client-ip=156.151.31.86; envelope-from=drew.adams@oracle.com; helo=userp2130.oracle.com 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, SPF_HELO_PASS=-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:263584 Archived-At: > > It is to bind C-=3D to the existing "repeat" command,=20 >=20 > FWIW, I agree that `repeat` deserves a single-key bindings. > But I don't think `C-=3D` can be it, and I don't have a counter-offer. I'm probably going to be an outlier on this, as well. 1. Why is it important to save one keystroke, just to initiate repetition? What's important is to be able to repeat using a simple, single keystroke. But to initiate repetition it's not important to use a single keystroke (IMO). I don't like to see keys get appropriated by Emacs as defaults. I think that `C-x z' is a fine way to initiate repetition. I don't want to see any new key, `C-=3D' or another, "wasted" this way. 2. That said, for _specific commands_, which are already bound to keys, I think it's very helpful for some such commands to themselves be repeatable. That's different from a general key to repeat the last command (now `C-x z'). A priori therefore, my vote is for: 1. Keeping the general repeat-last-whatever on a prefix key. IOW, stick with `C-x z' or similar. 2. Make more single-use commands, themselves, repeatable. That is, commands that are already bound by default. I gave, as one example, repeatable `C-a' and `C-e'. Doing that wastes/dedicates no additional keys by default.