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 15ac51e0fd: Merge branch 'feature/completions-customs' Date: Tue, 22 Mar 2022 15:52:05 +0000 Message-ID: References: <164793742180.2038.4306130819331318764@vcs2.savannah.gnu.org> <20220322082342.60DC3C051F4@vcs2.savannah.gnu.org> <87mthijpyc.fsf@yahoo.com> <87ils6m7oo.fsf@gnus.org> 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="7971"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" , Juri Linkov To: Lars Ingebrigtsen , Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 22 16:54:28 2022 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 1nWgq3-0001tE-Ka for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Mar 2022 16:54:27 +0100 Original-Received: from localhost ([::1]:51308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWgq2-0003Cz-KV for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Mar 2022 11:54:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWgo0-0001Xr-Vc for emacs-devel@gnu.org; Tue, 22 Mar 2022 11:52:21 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:37318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWgnw-0002NP-4b for emacs-devel@gnu.org; Tue, 22 Mar 2022 11:52:20 -0400 Original-Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 22MEbPBo002022; Tue, 22 Mar 2022 15:52:09 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=1aTy16OW2LBKS9Y37sOy4OoyfvqIBAxRvAIWpl+D/lw=; b=Rde5NAgcfVQkSD6siM6m2qSZMrwgBc2tAggKLjCTErLhjFFNHkRiOWzPd1MzhJszvjzz XPs1M95pqow4LCZWNFbrq9zig7zEk/3VWn5+xkqV1vKN03wtFh/7KjZ6y1Xn0vtQiZaq ehWoIZy8KeQ8oU1prn+5qafDTaUDT1Y10G/MxLh23DEObErnsvhcsDbXLAdr7A+v1Lck z79x3E3oE2yLsu2AuU1z2fNPUqpEuYC5wkZAbeL+T3AquZnH5HTQyHNgutJ3ud1qNWoa y+v/iIRWPtppG02BQZLG4NStiedNWFPPs0kb33wbFoh9WAvEZvbRrK3lpOxUPnH1Mih3 1g== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80] (may be forged)) by mx0b-00069f02.pphosted.com with ESMTP id 3ew6ss6un0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 22 Mar 2022 15:52:08 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 22MFVCmf024771; Tue, 22 Mar 2022 15:52:07 GMT Original-Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam08lp2048.outbound.protection.outlook.com [104.47.73.48]) by userp3030.oracle.com with ESMTP id 3ew49r72am-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 22 Mar 2022 15:52:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E/0LoQ/As3oxbat3VQz8LrUX0yeTSEwpgv2y8fR1dOyXixrbt45D9WGy/L+q8OugP2YL8HGFvlj9V1ugiPqAiQ04OtyW56Gw+YT3LZ4llB7tt4ukJea6p7dS6uaTjCnGLb9L3sYtv5oVD4+AQL3TcjJRMg5cOw6n61Ylp6mxXnrG559rfg6+g/CBCJRTPURou7P2ijzBTgvuFtxrMMJDV+4AP6Nw4a6evgiv9H/r62VazZHXWjm0CFmJR0RAx4uexSkz8tAUJezx2AiTr4asRicunxqegbwfXM8D62d10/1wSVMyqZG+SdHVaYCiGeKwtyKKEnwB8bopzMp1N1cwnw== 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=1aTy16OW2LBKS9Y37sOy4OoyfvqIBAxRvAIWpl+D/lw=; b=JOhkSNzxiCe2AeoYvuOYaj4eAryLAGA4oMQ8z4Ci0lFFt/po4EE3h8koIsCKDkvrFP0XrPHfLJ+hNimCCyVGjFOYC75gupjnhkHV8PJIkkCiLlOxRTT48T6os3U8q+5SIXKrKxO7avkpRdB6GFd1vshEw0QDkRO9SKmfPcnRscH7u4ceMbIbc2SNfpnnxRHLGVq9s2i03uQmPSsgcTL8cDMByUzARfmzgyTVdAtKZv1fgW8kYyCBy4vUQkTi4JjvIcc+/Oksm+1ix/t8aEiacgrGvienYJHxAKEd1AnBAvWWeUSS6tTd1EIAPE+9vpKAeDI1bM0/gGm0+9cUKl8D7g== 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=1aTy16OW2LBKS9Y37sOy4OoyfvqIBAxRvAIWpl+D/lw=; b=ua44h8iIxsF1KNPjqn3N0Iq/MwOFwOGVgthh9NiKxxN4ZuePPvsSin7OBAg+9/PxexlSB3SA0AkuJ1xD3dHI2HOfMHbqFsJ06VDrX4rsddy0b2tqP6K362AhgK32yop1rnhv+wcQrOk2PM1Do12Goe7kllXQgTbNp4o29UajhVs= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by MN2PR10MB3919.namprd10.prod.outlook.com (2603:10b6:208:1be::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.19; Tue, 22 Mar 2022 15:52:05 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::ec69:8077:89b0:4379]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::ec69:8077:89b0:4379%6]) with mapi id 15.20.5102.016; Tue, 22 Mar 2022 15:52:05 +0000 Thread-Topic: [External] : Re: master 15ac51e0fd: Merge branch 'feature/completions-customs' Thread-Index: AQHYPfL/7h7EJkG/C0CKSFiA44ndRKzLgmZA In-Reply-To: <87ils6m7oo.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 93dcd0ad-c94c-44f7-c211-08da0c1be9e6 x-ms-traffictypediagnostic: MN2PR10MB3919:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OyrIdbApvTxQCymIYwDLbvIAn1CYfXCKoEF3WvQJBI5Z5f0NezdWIuMvYcv7ncvTV1g+qZOxNRMTQ3oYtdDZC1pcmYQIPcD+VUtsO5V40Fw4UQgUuSj6KEtRoC1CuWmA9KWsJhH7t6AbMzDugxPcf4P9GKgW1oKd/oCygwNjs/t9wLO29om2BHWnir6JF10ijicH5xCsmFiqj2qJw53IS5nO+0NDQgCicAkFGeFktQJZF1bUcBcNnwgqK7D5Id7sZTDbrEJQ+Wso6fU+YEyD8Q9rp0VkMkeZ8w5eTEgcNze1jD8dKZEtmxBtBdVQsnPNanuYaWIRh9RYQ3QYjHcXx80jbhIUvDgNcm30zS4tmWIo15KniTZNVPRoRtlVpv7u9cYkq6v4+pCkSPja8wMlRs3nbjcVVbsAj9s34uqqAN86wUowY/3eO8JSkNVQ3TtHQty0DVRXkvc1vhmZ3vfCl0UDD4EdF+tnOtcPvyKEh3NwDzHhpV/dUn/maBP5jDjnzQBI5R+obggm0ZxG9JQ8LVv1qK4cbiEWTZLuBdMgoRVYT9LuQngE91mogasV0LBTliq211Fmy2rzM+mPPXxT+006Zj1fYrVb0IrREF3qZfyOApYdtd8hGXiwuD28CB9C9U8B+1L0Ukxiw0Ps7wNoQnCFqH/k0rDDmiiEltC4Hlrez6LSdSXy0uWS3B5RvZ5jyd1S+4BQOogGiIwN66hcBw== 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:(13230001)(366004)(33656002)(55016003)(86362001)(508600001)(2906002)(44832011)(52536014)(38070700005)(4326008)(76116006)(64756008)(66446008)(66476007)(66946007)(8676002)(66556008)(54906003)(8936002)(110136005)(316002)(71200400001)(6506007)(7696005)(9686003)(38100700002)(26005)(186003)(122000001)(83380400001)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Bgx71gJjdcv/ZQWk7gcatXahAnJbjACXSrkzwOEd8dMNYwTgZRDhGot7FRb0?= =?us-ascii?Q?GP328OsX7/79FwS4E5L5OeubelUy/MC98WWC1in+duEaI3lCACHH7hJp/TSX?= =?us-ascii?Q?SxKjyZJRVQtn2A8cKo7rKkY+Yjq0xe+TuvWiPc8wDnartYSHxOAJB3QsDdcY?= =?us-ascii?Q?iJg4W76UqApTR0x9biza/putg2ETn3Xe+inHKflK5aVLAEAy0Qo8R32GwNyT?= =?us-ascii?Q?v4RCKUUhpxJCr57N3x8e0pvQQ91eRzzlnODV+a/AAIOMWup6sgn2qZ1X8nni?= =?us-ascii?Q?p6NTN0vaiUK4uYArT9H+kUEXNeJkTf73kTzbrpkPUM8SSfNwEwpO9h0PAtdO?= =?us-ascii?Q?KvCIIUCNQVCkAhnMMtTtvIyg3CRbJcerCePGx9FWq/leu6yFoidNoMmNfjMc?= =?us-ascii?Q?092vFqs2S9j8c/zAmBFf5XKk0Rpup+FGa/ZLL4sqW38P/mJLtR4Cg7ZZyOnF?= =?us-ascii?Q?mPTNYt/+sd0l9+RVAxeIAPekGFus8S6KSSDO5UuYggE0xNqqap+LcE7E9WFG?= =?us-ascii?Q?Tdx/xkak+i90o6Oyvate0m8t7e/nu3crkpfB9B9byVoZe0rJVSjDsPb1mQpz?= =?us-ascii?Q?DNC+zvN7veuldrTxOZM/ZAhWDpjavFglcQf3ZhK8SF98jtLDIz+vUgIMQkYZ?= =?us-ascii?Q?BS 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: 93dcd0ad-c94c-44f7-c211-08da0c1be9e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2022 15:52:05.3117 (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: +3gkdkV2WMo943BbZg0F3CtB0dTckY7G1KGaA6/1wjXvPKIkeZdpDV94m9e1G/eqe7YP5TyeeLDG81JCIAPc1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB3919 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10294 signatures=694350 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 malwarescore=0 mlxscore=0 bulkscore=0 phishscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2203220089 X-Proofpoint-ORIG-GUID: nhrvwE0SclRfhZ0u152C-Ig8341wSQ2a X-Proofpoint-GUID: nhrvwE0SclRfhZ0u152C-Ig8341wSQ2a Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:287359 Archived-At: > put the number of completions in the mode line instead. Yes, I suggested that. And explained what other completion status it can also be useful to show there (in the mode-line). And pointed to doc with screenshots about this, as food for thought. (No response, no reply about this, sad to say.) > Yes, that's somewhat confusing. Would it be possible to not activate > the point highlight before the user has selected the completions window > (one way or another)? FWIW: In Icicles, highlighting of the current candidate goes along with changing the current candidate (duh). IOW, it happens when you cycle from one candidate to another. (There are also other ways to change the current candidate.) When no candidate is current, none is highlighted. When a candidate becomes current it's at the same time placed in the minibuffer, so hitting RET etc. chooses it. You don't need to switch focus to *Completions* to cycle. But you can do so. Users never really need to select window *Completions*, and they seldom do so. But a few actions can be easier to carry out there. You typically do everything in the minibuffer: edit, complete, cycle, choose,... `TAB' and some other keys cycle among candidates. `TAB' also initiates completion. The second `TAB' in a row starts cycling - to the first candidate, then the second, etc. in the current sort order. You don't need to use `TAB' to cycle. You can instead use keys such as `down', in which case there's no need for the key to do double duty, so no need to hit it twice to start cycling. (It's also possible to not show any candidates in *Completions*, i.e., to just cycle them into the minibuffer. That behavior's used less often, but it's available at any time.)