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: Question about completion behavior Date: Mon, 14 Mar 2022 02:23:02 +0000 Message-ID: References: <8735jqhxdr.fsf@yahoo.com> <20220310140331.xa53sex6wywkr56l@Ergus> <86ee39r69o.fsf@mail.linkov.net> <20220312001752.stzknhydiep6nsxn@Ergus> <8635jn81wt.fsf@mail.linkov.net> <20220313112108.j3lvtnvgybo7em65@Ergus> <86pmmpahdm.fsf@mail.linkov.net> <20220313211512.2kqyqcdpylxe2mgb@Ergus> <20220313233800.44vfuwjje6wgsdm2@Ergus> 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="39753"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Eli Zaretskii , "emacs-devel@gnu.org" , Stefan Monnier , Juri Linkov To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 14 03:24:11 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 1nTaNX-000A8n-BN for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Mar 2022 03:24:11 +0100 Original-Received: from localhost ([::1]:60916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTaNV-0005aW-Sx for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Mar 2022 22:24:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTaMa-0004uQ-7X for emacs-devel@gnu.org; Sun, 13 Mar 2022 22:23:13 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:63556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTaMW-000200-Dg; Sun, 13 Mar 2022 22:23:10 -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 22E1vMOg017137; Mon, 14 Mar 2022 02:23:04 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=Or5nuyMCpfKgv1mzsGyLwUbpRRItf+bpt75gOB2M/H4=; b=pRrkfrKtq85zO874bftzBSWP2wPqnCyyb72rs4iHQNZNolmQ1eMfIkyJOW9wNPDS54gj ESCSN2oEw7i4geAptL4voQCdtVwf2tsxnOOzHBZp5OH9FVS0CkZCuLfLVykSuH4JWVgx HhsjGWUR9nU6AA8m2O1xlNSqalskqNpas384cHAYfwE4ELCQC7hfhZ/zN+l0MODQWrO3 oERxbh0MfbZlVy4I326qq5GF+5iZ8DekAgzs2r+PLJPewUc3gOX/NYESNl/EKlzionDE 9l4SgghZkZVSu+ElVm3bivznCi21rO5XvzZ/WzwZJcwDm40PDMKhoN3+9nDSYG99y50p PA== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 3erk4sj7ws-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Mar 2022 02:23:04 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 22E2G0J5109076; Mon, 14 Mar 2022 02:23:03 GMT Original-Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam08lp2043.outbound.protection.outlook.com [104.47.73.43]) by aserp3030.oracle.com with ESMTP id 3erjwpqs4a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Mar 2022 02:23:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YNmpmp8dT5Zw2/v90goEZ0WN7rB75ZEouiH0oGJy44v1MTxUWvDcNt1z7nG4VGm0cu9vi7JQcGEvBS6OAf3TWVeKgFASxQj6dxuNT3n61bXguqR+3DmI7Su0Sb//V13BJUj7Zs6HOunphT/DpptXUNjqY4DZ00n1bCgbCxIy1jGl/1LlKaUvGjigTNT1tm7Xzv02MCUVgQWsNZ/fJndeYeviKDgxaD+BGZOMHgnwcwHBF2HMg84t8Hxkhc3+Ngns4wAYZmGyYUFieVFPzlu29WHrWLe/23EITq8UA84wanlTX7Xo1n5JVkzgRhKWksXbOAVeCj/0NaZt0rvbP2aP7A== 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=Or5nuyMCpfKgv1mzsGyLwUbpRRItf+bpt75gOB2M/H4=; b=YWWpTiKy4FAh8ecXv8MfCMQhd7KRQqIY3MuCtTQ8saALFOgubdJMha3Ti1Apf4g1bZboLob+txTpjVl/F9mbcekYW50ayilcbayOgnM3FnjhFBb9OVfX3SnBCrgABaP7sMzJiYfz5HQ5Apyx37rjIasCQJWh+vMUYjRvfMXo6IYx6+qNpr+eOLLUR7gBBdKYTGiKpe2aMySAwjvCc7ToRT8iYjJec0lhY9Ufq2kMiOdQF3Fem3jejc+AVA/p2QTcqnoCoIS60SNx/TDrm5IARIKOJlp2U6vTxEo6/5gzk1V8rStu5NTbSjtWOt3g6QIqr69WM7h1qpmFxHHKcJX3yA== 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=Or5nuyMCpfKgv1mzsGyLwUbpRRItf+bpt75gOB2M/H4=; b=lvykFuZu+7uKbV2UbBsYDCTA6qmZij1sazo4WcnHqAxldR7Ix8Y8cajlbAqf+mFG+gK270Ev7qMWC4UHnU4BHIABRSpy51TMzwSHRYa2Na0Qpe6ukmq5P/bEx/DNMtMISQTyTL7M7WftvfJGjzK5o3UdkasTYuTD2xojfo5GPaI= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by PH0PR10MB4501.namprd10.prod.outlook.com (2603:10b6:510:43::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.24; Mon, 14 Mar 2022 02:23:02 +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.5061.028; Mon, 14 Mar 2022 02:23:02 +0000 Thread-Topic: [External] : Re: Question about completion behavior Thread-Index: AQHYNzN/QKWCy6V0nECSrphXeMGlJKy+IJzA In-Reply-To: <20220313233800.44vfuwjje6wgsdm2@Ergus> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 823896a6-412a-4414-a02d-08da05619094 x-ms-traffictypediagnostic: PH0PR10MB4501: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: 5n0D91abDdLXUI3ckSIinHc142XhlcEVhG1Gm3vEtIlbnp72tsQTYqm8ABy0aEyhbwRkL8HNUCXNXXhHN8vaGO7cJMyAagpIDgn8fUcXC5HXqjaFPAlPmSBLyj0Ti5CofkHP2DOlboWqM1OQRF7d9f6I972pnOwj7K1Q02JJ3dmR6lUGKoMknS6DFlL78ODp0o1lV522IBwQlQcocz3OZmXQoVPAILgTZXsgW7Ut3/mcoFGoBIWLlQtvaETbmgIkSMjNljO6h7GiuGfhmvilwcBYhWYRfwS/Zt3J1woDFvTohTVPm+688cq4v2XkgI8vDr+Pu0PJxrORuSkyb+BwlwcOT3GSkNts3e+w1hm/Ysni+lZRl7V/5ebwtkxXY0GOOGErQCwC5oGix/LBfoBnFQIlNiKCv6iNTVcjPYIC+M1Ofi0tPy7TjAzAPiqIrbMo7qMvBfwavxV1W2fwn4yW5TVCHcNX4LfV1n5lzvs1EYPjdG6miRP+wu6hZWXVFYina0eUxyfNUcW1Rwe+Vbdnu+9QSRPPNUAgQgeOfWOgUIbZFYs84YFLVsT5fvROG1JNE7fFmTFKJBF+i9iLkZVMdkt2xIuiVZkkqLduoCCZkPkg0PBfdG827I/OHzeXJ+AXNToP9KYBNz/MFdN2Oolm3WpPiS+ujlXilfbsQKWENO4VHLsUgI0pjWof+4eXmJSukq5TnA/rS1z7O/jq4SCzyw== 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)(186003)(26005)(86362001)(38070700005)(122000001)(38100700002)(83380400001)(8676002)(4326008)(66946007)(66556008)(66476007)(66446008)(64756008)(55016003)(76116006)(54906003)(316002)(6916009)(2906002)(5660300002)(8936002)(52536014)(44832011)(508600001)(71200400001)(6506007)(33656002)(9686003)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?G+D0pHDR1iJ1nu5MFN2mvGTdDEhUD+5IxcCE20UVJOi8byizNgrw85dAeeU7?= =?us-ascii?Q?Jj2CohnG//NYLtkriDrUxRaGrGVx/oiBOWdXKrImDHog07NpvNi8xb4teUeO?= =?us-ascii?Q?Jw9TteMDPSN5SKbDQGPtKBagGNEuWjD5Mge2b1qqzBwZNyAIgdqV30BC2uhg?= =?us-ascii?Q?94Pzvmi1qLVJLcO2UybGCpafsyH8eEc2Q4xuQxUtyhhbDv97/oSVNvL4lcha?= =?us-ascii?Q?kc60ZYfwqI0QYpvF5URZr53CTwqfqxPVHSAhSo+h740D6uoFvRmCd6GRuOr2?= =?us-ascii?Q?G9cBGK9iljfdYzI1HPetqnBWt4sAXIGWVHq1Lg6m1IACaQlL4+8qPpKVQAJd?= =?us-ascii?Q?vrq3N8McczpUXwmaUMpBupa+yIHvLMNSaDgld5nYwkY8L1WHkNoAbjotU7nr?= =?us-ascii?Q?dowBugj3PzYylx337rcxc1fj6QHGwRxKGaS/Qgu48Kd1DoaJH2wT7Wvx6s4a?= =?us-ascii?Q?uh/UazcLjVr+1QdYBIU7S2EWGiql+eZJvfO1wI2AtIJtvqQwuwNhtIzr6HBT?= =?us-ascii?Q?asVYbe9/283QwhiIs5ygfqJLhZ0qkfmPZRqkEEPWhPX4ORQi34fb8ZMgRygV?= =?us-ascii?Q?UJDv8Ii1Tt4F+3IFPaQCAKkrxYucWtJ9wpIxdsxMQXIDH1ZjGyKEvdD0eoO7?= =?us-ascii?Q?Co 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: 823896a6-412a-4414-a02d-08da05619094 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2022 02:23:02.1035 (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: Y6VUITlloMaX+lnASIz0iZbIaBDwaMCmFg+skylXcyGPd1VqniSV9yPDQ/MzGFg7NAgJXS2QXJbqlKvKE0cjMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB4501 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10285 signatures=693139 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 suspectscore=0 mlxlogscore=921 bulkscore=0 malwarescore=0 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2203140012 X-Proofpoint-GUID: C9vl5Bj3X0tBq2gUcNJWG4JRUz6oTSWO X-Proofpoint-ORIG-GUID: C9vl5Bj3X0tBq2gUcNJWG4JRUz6oTSWO 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:287103 Archived-At: > Man, please relax... Oh, I'm relaxed. Believe me, Man. ;-) > The user experience is exactly the same than before. Just that now > there is an option to change, suppress or/and get a counter with the > total number of completions I already welcomed that, in a previous message. It's helpful to tell users how many completions there are. (I suggested that the *Completions* mode-line might be a better place for it.) > where there was before just a bit superfluous > hard-coded message: "Possible completions are:" >=20 > That's it. Everything else is exactly the same. My message wasn't about your addition of the number of matches at the top of *Completions* (when there _are_ matches). > >> > Why would we ever say "0 possible completions"? > >> > Why bother with "possible"? We never show > >> > IMpossible completions, do we? > >> > > >> > When there are no matches we just tell users > >> > there's no match. Always have. Simple. > > > >And your answer is? >=20 > Because the original message was: "Possible > completions are:" and it has been there since > ever without hearing your complains about that > the completions are not IMpossible. I don't see "Possible completions are:" when there are no completions. What I see is that window *Completions* is removed when you try to complete a pattern that has no matches. (Granted, I'm looking at the latest release, 27.2, not any new work-in-progress. But you say this thing I don't see has been there forever, so I'm perplexed. We must not be smoking the same thing.) My point was that, compared to the vanilla, age-old behavior of removing the *Completions* window when you try to match an unmatchable pattern, a proposed new behavior of continuing to show *Completions*, but with a message at the top saying "0 possible completions" (or any other wording of that), sounds like a step backward, to me. That's all. Just one opinion. (And I don't even use the vanilla *Completions* behavior. I just happen to care about Emacs beyond my own use of it.) > I don't care anything about one word at all and if > the user doesn't like the word or you want to put > there "Drews completions are:", at least now > you have an option to customize it as you prefer... I don't want to put anything there. I'm asking why we'd want to show a buffer that lists no completions, instead of just removing that window. I'm asking why that would be an improvement - or even a good option to offer.