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: master f6967d2 1/3: Allow for the completion buffer to be automatically selected Date: Thu, 23 Dec 2021 18:44:46 +0000 Message-ID: References: <87y24c4uoa.fsf@posteo.net> <86v8zgwn2e.fsf@mail.linkov.net> <87sfukwgp8.fsf@posteo.net> <865yrfb5xe.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2320"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?iso-8859-1?Q?Daniel_Mart=EDn?= , "emacs-devel@gnu.org" To: Juri Linkov , Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 23 19:52:20 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 1n0TCO-0000Q2-1t for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 19:52:20 +0100 Original-Received: from localhost ([::1]:43896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0TCL-0002OJ-VA for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 13:52:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0T5I-0007hy-Qu for emacs-devel@gnu.org; Thu, 23 Dec 2021 13:45:03 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:54836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0T5A-0008Qj-95 for emacs-devel@gnu.org; Thu, 23 Dec 2021 13:44:54 -0500 Original-Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1BNGSsfi025966; Thu, 23 Dec 2021 18:44:50 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-2021-07-09; bh=UVeMIIH/FO9eOjb651dZlwMys55SnuCZVhvlF8IQJFA=; b=EvaxCdCphtzGzlJnnG5/rBA2H7H8bdKoUEmt5V8xPl/mn368eZ/8nl4IoL2D826wMOv0 rWnw2VVK5A/D/w4gYvy1y6Q6JOAKqp5A36VEPAx7/Uz1VnEZDevFYctXmyb4iAlCMju0 ycUO3Dm16XA75jcrBKMJ0BjNUN7RRUkysXfo1cqyF1/+27y+TLJMzg063EjFFwTPEfp8 ORx8ORlMvSa0TyFQLg+FAPAxdLy3A/lJjNFyuOPOeYhzBjQkHStmT6kitRekydb8W13r ce3TDf0WzAkg9UBmUb0pAXffMJUdoLag/GLNh9j9nu7V2KChaLmoTIsbUaa/+snx7nk5 fA== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3d4f6w1wa8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Dec 2021 18:44:49 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 1BNIeZ0Y047434; Thu, 23 Dec 2021 18:44:48 GMT Original-Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1anam02lp2046.outbound.protection.outlook.com [104.47.57.46]) by userp3020.oracle.com with ESMTP id 3d193s0a27-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Dec 2021 18:44:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WEhR7//LfkoPLEu++NgHWmV3xBpRpS9xsi3u2oNI3EHRe/7r4/raSn54IhSPPxoQ0Y70LJxnrKMMIXmafX6UE0VvXngx8ncGl3kMcZOMExLeIGwM4cPKBrp/tKbuc3p+14p8i1gdl+0w1DddQyjC/HwkQixeTYeeasE1HrDvEse+KRtNQRuD1ILh2wf0p0qWLD+Zu8qcUSSjgnYbrj6eKNrMW8jTgbjx+88+Egt1dgHbiK0P2GPGRufIUJeKCdX/ftxRh7n9QSpICPN5n8aZzI6tKvMu2vyinASaPaodLA9BIgBWYzG0+jNV+WPzppJsRfYJ24khRqlqmX+doU2zlw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UVeMIIH/FO9eOjb651dZlwMys55SnuCZVhvlF8IQJFA=; b=fAryBEMqdvJrBJIkV6FiySOcXT0MtzIcMT2o5DHaCcYcydKDRcM13viII3f+OrAukcry+5TzG0Z/BPicnrgJa6Ueo3G/thwgDNrkMJQMN8D32knXMm7cLPvhXZbn5c4aVSHfZ2J/XC9fn+2zebcg20PuPlZKVGmoXAosBXEK5xjjR003L2cA7XHtA/JznnQNiqeE9RBgR+uW5kLJzsb4E+ec93QpoBIfnuyUOBDympCzqubROrxx/AY9J9+MCT0epnkfZnglaQoJ8E7WuErIsj+2DuaZSoKb0gNEz+sduCYqMWSAp1jpQ9RZoOoUlSQqZfCVXWARf7CRK2vgsYfkNA== 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=UVeMIIH/FO9eOjb651dZlwMys55SnuCZVhvlF8IQJFA=; b=KO+7c8ETrr0eNhFzoh26npGZOdizoKqrqunmXaZAcq8YEYk+vpJgGTcJaR1JtUwTDcvUiE4Z98iAo2SRmWpVZBk1nni6Z8nSuunyeBsIXPshZ0TF14iyVeVPnJGJxQ5ylvx+yG8oLwam+z1mL/OtA8JcF7QFhxJC2bhHk+z7Sak= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BYAPR10MB3381.namprd10.prod.outlook.com (2603:10b6:a03:15b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.19; Thu, 23 Dec 2021 18:44:46 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3%8]) with mapi id 15.20.4823.019; Thu, 23 Dec 2021 18:44:46 +0000 Thread-Topic: [External] : Re: master f6967d2 1/3: Allow for the completion buffer to be automatically selected Thread-Index: AQHX+COIQ1MJu/9XJkWzAbrwLIkA46xAWMVQ In-Reply-To: <865yrfb5xe.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 043deb51-dfc4-426c-e812-08d9c6444a9d x-ms-traffictypediagnostic: BYAPR10MB3381:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ymM49mWoaHPz4eF6Bb4KL69Lz08T/dKVUM2tdYqY9HZCwmjZWFMaDhSrPlLXjLvV+ibgcTIW6/VTi9m75XyuzJIDeEEolUjKH/LiG0Ls8LmoOP4gXzS9nsQtekh3CskMXwvC8atkaQJFMuxdACa8rkp8Fxn9FMR3UqZUCb/ubC11FnIoeNukEqSnB8f344tsdL3F//wYM+1vS0QxrFswduwbdWLmZYDvFuP6ME7p8PeYvUPCcE0AGjqa3Ei6ML0WSS0YlT7AS46ecio4nK0BbZ+XV3SpA7N+EZN8whXilDN+IwX+p4ENStLOEWP3G8qonw3JA8KdVq1TWtuSjEDfwcbTI3yhhzZD7r06K+ArM+L+mNNLCuGV4pmRbC+HIm9fVVk3HCmvVYLcTpqoFSJc4VkUm0wCD5dGqs+5YfEtVZ9pES0tGLKOvEkc0eBlVjgK5wrZSYn1TUCGk5TDYh3S/LBvCeSzt+uAPmHw/R7x73jgsFx3lssnZFmQ1a2dfN7x0nw814m5wPupxnQRmM8RTwbq1U5WMcrW8gpwg9oRl2L9RA9l6bOWTZ+GJ3f6cW3PBfE7plqB4vvsDCkqax2S2SVuadHZVav4MyI7N69wg1LEiPeyI0ZiWsqyJhAYhUo2ztjVcJkV3cB0FmShHr3DZRpfYECTTWb5Xq842v4yL1fFxDhQQPPZa991isNgV0PU3iBpeA33gSESed8eCj4WAA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(8676002)(44832011)(7696005)(9686003)(52536014)(6506007)(4326008)(186003)(33656002)(122000001)(8936002)(38100700002)(26005)(316002)(66946007)(76116006)(66476007)(66446008)(71200400001)(5660300002)(110136005)(508600001)(83380400001)(66556008)(38070700005)(2906002)(55016003)(54906003)(86362001)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?6nYopls5fX4Bkgf3Ol6xmIELq2D8qaJZAvfqyO1fUbCbXeWdzNj0Z1c/lh?= =?iso-8859-1?Q?Lj2YLhP2zn3H31h/DKmrmotAfo9B16e77yE625kXGoICTRNDNncUIyPW3K?= =?iso-8859-1?Q?lmj/x3/SulxJqM4iNVf7Mgh0hzRABAvhzbY4ohPlsxnFr6HxDuNcK9BIyz?= =?iso-8859-1?Q?08tnUWb2vHYplyhC3nm8Gdsmi1TTS8akTCI5uiP6byBN5E0EJbnyRmF3Es?= =?iso-8859-1?Q?3ghRdRO4xAxM3LgZdd5Oc+tC81tVSvphXJwmjDvjoJtHosxdSRm3YvZTLS?= =?iso-8859-1?Q?HhvpagI4cbRd32sc6CuhWQiVR9HsJ5Ryn+pS5vr49fwswHXpcJRnjphkiH?= =?iso-8859-1?Q?Qj2Z75XgtZsmj0Crp9hNyVrTVSmBU+x8USwUryBPaxDU9ZvSIEuSM+ODSU?= =?iso-8859-1?Q?hIuel9NCvClIOuXfExRcPXy64/23zccIdI4CajWuWgzwA/L4S9BHhJYaza?= =?iso-8859-1?Q?7HA51Chgihzby0AAIXZySEjxnaMxQk1mV7XcIDR4HSK75X06THWmh0Gc4c?= =?iso-8859-1?Q?wz+Rw1tZGcHwKu9YvFRztOEehDTpqxLDJCnqObB6qd7TkbRxgG1AJcJc7r?= =?iso-8859-1?Q?yPYF92v7JrNY8DzAHx1Lv5DSNyKlSmjNrU16ixCsqC3h9Ez8VtNVDA8TkA?= =?iso-8859-1?Q? X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 043deb51-dfc4-426c-e812-08d9c6444a9d X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Dec 2021 18:44:46.1105 (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: wlac/sOYqOIDQtSlYxr532CFD8G7sOqyQTrwuyCz/O6DTGAy9HJBdCXr6UW5kRA7YLXCPTbRw1YKOEnLAteP7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB3381 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10207 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=906 spamscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112230096 X-Proofpoint-GUID: n8svc0LEYS6INHf9Qp7XGUUS5HZIVKX_ X-Proofpoint-ORIG-GUID: n8svc0LEYS6INHf9Qp7XGUUS5HZIVKX_ Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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.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:283005 Archived-At: I hesitate to post this, in particular because I have _not_ at all been following this thread. [I also don't yet have access to a Emacs 28 pretest MS Windows binary, so I'm pretty far removed from any development these days. I fully expect (but I hope not) that when I get Emacs 28 the behavior of *Completions* and the minibuffer, especially for a standalone minibuffer frame, will be completely broken for my use. (That's already the case for Emacs 27 - but I retain hope.)] ___ Just in case it helps...here are some comments (suggestions) about key bindings, based on what I defined for Icicles. 1. TAB should be for completing. In particular, it should not be for scrolling *Completions*. (Vanilla Emacs long ago made it do both of those. That was long before Emacs supported any kind of cycling.) 2. C-v and M-v in the minibuffer should scroll *Completions*. Users know these keys, and they're a natural choice. In *Completions*, a mouse wheel should scroll. Scrolling of *Completions* should wrap around. (In *Completions*, C-v and M-v also scroll, but they don't wrap around. The global C-v and M-v bindings apply there.) 3. TAB can also be for cycling. In Icicles, 2nd and subsequent TABs cycle. TAB should cycle whether you're in minibuffer or *Completions*. Preferably, users should also have other keys, by default, that only cycle (do not complete). 4. Cycling should wrap around, by default. But this should be controllable by a user option. 5. It should be easy to move between minibuffer and *Completions*. A single key can do this. Icicles uses C-insert, by default. =20 When moving to *Completions*, C-insert moves to the current completion candidate there. When moving to the minibuffer, it inserts the candidate at point in *Completions* into the minibuffer, at point. 6. All such key bindings should only be defaults. Users should be able to change them easily, without needing to know anything about keymaps used for the minibuffer and *Completions*. In Icicles, in practice you seldom move to *Completions* (i.e., C-insert or mouse-1). You can do so at any time, but you never need to do so. Some users might sometimes like to do some things there with the mouse (a direct-access pointing device), but though you can, you never need to. ___ HTH. My advice is to keep it simple, and to not use a key such as TAB for both cycling and scrolling.