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: zsh-like zcomplete-mode based on icomplete-mode Date: Sun, 10 Apr 2022 16:31:08 +0000 Message-ID: References: <86sfqm14g6.fsf@mail.linkov.net> <87k0byq9lp.fsf@gnu.org> <86bkx99ypv.fsf@mail.linkov.net> <87ilrhuwoh.fsf@gnu.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="3374"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Tassilo Horn , Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 10 18:32:34 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 1ndaUL-0000ae-Ak for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Apr 2022 18:32:33 +0200 Original-Received: from localhost ([::1]:33914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndaUK-00017j-9g for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Apr 2022 12:32:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndaT9-0000QS-Jb for emacs-devel@gnu.org; Sun, 10 Apr 2022 12:31:19 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:57658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndaT6-0002sF-S3; Sun, 10 Apr 2022 12:31:18 -0400 Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 23ACNNlX012645; Sun, 10 Apr 2022 16:31: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-2021-07-09; bh=pS812Oox7DXOCotHrjLelaXpoEkPlPuXEyILi2j7GG8=; b=DxaVqjNecCXlL2XOh8V8qe3Aas5IEfglca3GYlhJo29LQr+yRRSPPE0hRvJvqU+xBcdu rz7n2KqkOBQPyoYV69Kl7pFXpB4ynEVinGo6smYEGyqjIXKmfZ928LQ096ru+muALw0M 3qhhOpeyBA5sZj0GfGk3JYSYP6Oy2BAZM6GuNstaO5O0j3PxkkWleOC3VwSHj2lXwwab OOU8PCuP56gDpsyHK0zMjOxkfUlgxWuRiN0EBUGoWG8ryiI1UKQV7ak0GhBhb9ttQZA+ RJ6UP+U5IMIxkk3YB2MaSmZ8Nxt3IIEXpbHFAXoB3CgsPHS89paUDuFqVmLxZIQbuB4T 1w== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com with ESMTP id 3fb2ptsrkx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 10 Apr 2022 16:31:12 +0000 Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 23AGJ1oR006151; Sun, 10 Apr 2022 16:31:10 GMT Original-Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2042.outbound.protection.outlook.com [104.47.66.42]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3fb0k0nvya-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 10 Apr 2022 16:31:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O0e1DLePEgVoFFiLG5inBZljWp3moqJwaALGU/C5VLp+tgXhTof7BqHzmB8xO9eAvHl12QTPZ+j1WNvCQYZgDOYTbbyQlP+R/o39Xtiu+qiLTBn8rGT2YnOOv2x+kiD3Aq56p+dZRqNU9we+DF6crWtpQFoaKniMXM/CaFVhEpQnUV7vTIj5VIB1KTR6KFLe0QwdaFnrjdjpxXkfwGrmpUNMZG5TMMIT09roalH5nTAdP4GvYga3EShjKQ2KedGLMXhfkas7pasjRwMHxj7xFRZ0H4bFp0MRFtgLNEchRvUJfgyx2mYatJQegnltqDIZOjg9YiUXfS9wjyLJCvh/GQ== 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=pS812Oox7DXOCotHrjLelaXpoEkPlPuXEyILi2j7GG8=; b=iQSAG2z2Fot1IF18QLB8CKkWMT4xIiPDexo7mhTSQbh7QfKjAtqfaJcKAc65X8iQuztcOShQ9PH/TXb2hK3QF6S16WHmmEvr7T3/Zs3NhhTYnj0RyXJHTvTu/7fk7o0ed1BIneLpQ+R5zf0eiP6kB3cMZtB9QcNo3srHR0FKJEanImzSSHCD05zxrPwZYYRo9rkWFMNOP6vBsMpv02h7qPdI0GNvJ0tveOXIHrHtBSvC+P/pHBjHtn3atGfIV+sJmblWTUjo8dWuGWR8zZLV4SAjkqb9ULBZd1VAqhEAzBlVym8OMDzSzIy13iyTcI2GrApgj8jwrHyaMstvDJaEsA== 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=pS812Oox7DXOCotHrjLelaXpoEkPlPuXEyILi2j7GG8=; b=uTUScumR73xUI9FAZ2sjVcPXfy09ezU1Msgub52JiMwFJgrCCiedf13Ip2Tk9jacSPK4j1dZFPzH3N5K27EjpoQEX62LS45O9Cm9LbiiutEqZ9etKSsr35LyEr0EKdRE4yuKbjmoiYV/tcjlQXR7dnRh5NKkES/5mC/j3jO4Wmc= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by CY4PR1001MB2360.namprd10.prod.outlook.com (2603:10b6:910:48::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.30; Sun, 10 Apr 2022 16:31:08 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123%7]) with mapi id 15.20.5144.029; Sun, 10 Apr 2022 16:31:08 +0000 Thread-Topic: [External] : Re: zsh-like zcomplete-mode based on icomplete-mode Thread-Index: AQHYTL9d0Bw4E0QveUWNUFC+DxDAaKzpVWbA In-Reply-To: <87ilrhuwoh.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9d58a2d7-ee5d-4d86-3e57-08da1b0f841d x-ms-traffictypediagnostic: CY4PR1001MB2360: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: /1/u7Lng6F/OUZSAbAht6N0hr0InHsxsRKnkySR5RdjZQI7nE4+9CwQUxu820sVrRmDj/mNhIy5FwBVJXs4Y5XjJlbB8ujH8frxwnqJbSz6imtgDzlSLDofX0n41jvqY6cFc5BEa5LpaslZFs8RE3GaIUE7ea5qvEa0+tSdb+H4vs6hPhujtoKIOibsnYwoWwCM/paAP5NP5yge2XXm3ZfVol1ObOqGcz4NFaT6MShegD99KeLdTyiHYwBJDB43D7ZmlMJMjUq0aGv59eRl3+1I4Cav6WH0dQn+zqn/8uWmwMs0nwr9jF+QTQ0rd9NqxyhMp901O+EH+XDmNYUvfYwvEntBrw8TzAorvyCW42HYzANeZ+K7FqWZcw5kfpNc/2llmxL+y4VedrGfItFmOy1C0Q2PCCwpX0WBmP2+Bivpmw3AhpxEUYpjHz9QuZM1ADMntLXaxxj2Op3dST8KSfvZo11XQUYZ7iFltu+IDpkAEvVxxLeuRQWAqjfJndj3cJE6KUeMKjPz6WF0oHkAl/jGjQtIT+fW8ZuY0vjyx/8ar7dA/+7cwDpKnItvCJfGBqAg+0tioBPMgRwN+6AxaATHXAOGmlaqzOLYnjIIhGIY5QjsA1fQKytdJB09vODcHmyXRK/ktkIK6Ch2AJeU9pwdY32J3H2/54yqRuMmv+Ln2sMZfTSg6i56Jy6QP6VlOOKzUL1GZKk6T5jOuEIAzBg== 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)(52536014)(38100700002)(8936002)(186003)(2906002)(76116006)(26005)(55016003)(4744005)(83380400001)(44832011)(5660300002)(71200400001)(66446008)(122000001)(66556008)(66476007)(8676002)(86362001)(4326008)(316002)(110136005)(9686003)(6506007)(66946007)(64756008)(508600001)(7696005)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Qz38VXVAjpuTpKXLqfutrDry1an0Ru9BC7AjXVqM0tYvqmc8+OM/8LXR8hmB?= =?us-ascii?Q?fzKMocpFbUCIaU+4Mc1ify9Q2BnWtisRWR/jEng4bwK00npUfikt8l8NSnJ3?= =?us-ascii?Q?T5Hut0U/gbveYqAVvtMp1dv4/zLv/gRoPJ5BHPyNF65VpfSfJ0CBIicnG0X6?= =?us-ascii?Q?jCh76bqnPBqJ7JKr2l7FRt43qwhmmPaiuj58/d8+hJnC/1wxWar5Ow83trEQ?= =?us-ascii?Q?YLYX1vE8GO1Pi4RWBbzvlc0Rd9vnoyyNX0vijYpexajJRv2auh6dKOJGyzuZ?= =?us-ascii?Q?WILadbk9ZOHl0H8kKIpnT4RPd+UQtclK/NtLhdtOP7zkncPxPggrigPiIvlI?= =?us-ascii?Q?isgc71WVkcZ9Kjp2a5cYCPqGJC0d9kfoz5t8+NZNq1dT+Y3hNqtCr8wNMFUD?= =?us-ascii?Q?Kv81XRNBA2/RkeArcEoL/e06S1sxnpmMZBuuKKIZ2b50WGnjRQGPSFLdSqGl?= =?us-ascii?Q?6NfJ3HTRomq8j64V0h0PAprD6w7G0K4uZ6HfsQWcVCdWvbozYMwAeJc/g+9/?= =?us-ascii?Q?HuE6u7rrre6qHSJnYr6+k3LfBK33i7efpiIyZaqxgeus6JbaCxAVbh6TFoVU?= =?us-ascii?Q?SOgSGl2EWnozt/FvRsOs8JRvAJsULyP3X4ATS573uthDRkwa6kt4vVEKbK0U?= =?us-ascii?Q?eq 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: 9d58a2d7-ee5d-4d86-3e57-08da1b0f841d X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2022 16:31:08.0533 (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: B17riDN9AiG0MLECgyIhHY76iPIE8V0Zzdq6d8ZwmU7HxDRtTpCWxPeZ5oWSqTTXSgtdrPUGbnAAeEP6XJltWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1001MB2360 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425, 18.0.858 definitions=2022-04-10_06:2022-04-08, 2022-04-10 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 adultscore=0 mlxscore=0 bulkscore=0 phishscore=0 spamscore=0 mlxlogscore=956 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204100110 X-Proofpoint-ORIG-GUID: oFnMIwmhHWtEzsNHGyvkOpvdg2mJDeu0 X-Proofpoint-GUID: oFnMIwmhHWtEzsNHGyvkOpvdg2mJDeu0 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_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:288150 Archived-At: > I'm not sure if it is expected that with > zcomplete-show-matches-on-no-input enabled, > there are no *Completions* shown initially. > For example with C-x C-f, it would be nice to > immediately see the contents of the current directory. I mentioned that (1) different users have different preferences about this, and (2) it's possible to have different preferences for different commands (which is likely why you cited `C-x C-f'). Icicles provides user options for this, and it lets commands provide appropriate default behavior. E.g., a command that essentially uses *Completions* as a menu can show that initially (and nevertheless also be able to change that "menu" based on user minibuffer input (pattern filtering). There is no reasonable one-size-fits-all. There can be a reasonable default behavior. There need to be user knobs to control the behavior according to preference - and preference not only in general but even wrt particular commands and particular contexts.