From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74561: [PATCH] Allow limiting the size of *Completions* Date: Fri, 29 Nov 2024 02:36:10 +0000 Message-ID: References: <877c8n45tg.fsf@mail.linkov.net> Reply-To: Drew Adams 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="37782"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "dmitry@gutov.dev" , "74561@debbugs.gnu.org" <74561@debbugs.gnu.org> To: Juri Linkov , Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 29 03:37:35 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tGqsx-0009i9-92 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Nov 2024 03:37:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGqsU-0001Cn-Kx; Thu, 28 Nov 2024 21:37:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGqsQ-0001Cb-9r for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2024 21:37:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tGqsP-0002Om-Vp for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2024 21:37:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:In-Reply-To:References:Date:From:To:Subject; bh=k1NyyfPAuD/+Fm/pQ/trRmc2QwEHhx+tMUgAKnzcGVM=; b=KUtf5g0hks/or3lQmfCmteDUgGoVSIFCV95NaAynIEOOfcEVmeVA0BK6SsmxQyaQJsvkdBJSX2N3zYve+AftGCuBVB2mQOLaegLVQnNwjMvls2mPfzEasB+Mwv2rEALqD0QB7LHrqF6ttyGqLykqGW6dua98qZPvZhSw/KOoLgIWyVb/ka/eOJ8qRSLRTZMh80kEP+kxp+NR0jSyQ9X6kuaXv9+CRIBUBJ8hFl5K83Gn3aOEEqpVfLKuYkQD581gxEZDzdEuGLM4eCusmV8voQDygdp+a8qx6pYthk1zBDT1jsKe5uHfP863Kr2y/i/IFs69Yq62sBWLUt/8Tmn+PQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGqsP-0001AH-PR for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2024 21:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Nov 2024 02:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74561 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74561-submit@debbugs.gnu.org id=B74561.17328477904422 (code B ref 74561); Fri, 29 Nov 2024 02:37:01 +0000 Original-Received: (at 74561) by debbugs.gnu.org; 29 Nov 2024 02:36:30 +0000 Original-Received: from localhost ([127.0.0.1]:40424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGqru-00019G-7D for submit@debbugs.gnu.org; Thu, 28 Nov 2024 21:36:30 -0500 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:23170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGqrr-000194-0X for 74561@debbugs.gnu.org; Thu, 28 Nov 2024 21:36:27 -0500 Original-Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AT1fc5u013482; Fri, 29 Nov 2024 02:36:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= corp-2023-11-20; bh=k1NyyfPAuD/+Fm/pQ/trRmc2QwEHhx+tMUgAKnzcGVM=; b= X+AWTtRYXOnudp0Oz3yOwjoDL+6n4XT7LLP2qKWY3fvXGxNlg+5NLoUhH7d9jy32 guI63bpVzCiFG+V5uRq+GsIOoYs6Wx2x1gH/u363aNnGnNNgtbcgDJUPJNBzM+Bg Qloy9inIzaNmDxTcQEY6f8DAbzNV4HNvQ8udGf89LAk3rnO3comcEgy4wDfqDLCI BSyphIUYuc2Z4O8sGDHMMK8JLH4FNJSkb/yjwtl+0I/VvyrBB4CDmSIFx9SrQxls LEFoUYmoPlA+4pv01cT/1YULgsVa0EhssT5QINpjIySf1wBAgI6ChO49or9+7/bR vGnSEco/HDMzDbTSiZCSBg== Original-Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 4366xxah89-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Nov 2024 02:36:25 +0000 (GMT) Original-Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 4AT27DIq001516; Fri, 29 Nov 2024 02:36:13 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2047.outbound.protection.outlook.com [104.47.58.47]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 436700w70y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Nov 2024 02:36:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XyG22h9Xj3BLJMt6kicbymAJ1OJkcNd8/P18Vd4eDqp95HMB9K09iiy06tCuKjjA1kcDdS5oXL5XtGnrJGcAIk408eD++OXhS3OIZjSSSJ9By2LDT9mEeGQYMOhG/otayLGXAWBdfMivTLCIzFEQRP4Kogfi3Wp4kKyes7DVPVFvO/Z3ExWSvgwK8XIjJ6DkD/ggnHpoIaHyJrk8uNF0h4mPopAjuniPuiiL8Ooj4CoHhqvnP96r/EdQcT2iNtrfcRblMtIqNavs7YaGgscLm469tbZIMqav3MVB1p654O9B0oEbt5f2g/6ldVEpR+PsGq+dYPJBv3dvdww08w/uQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=k1NyyfPAuD/+Fm/pQ/trRmc2QwEHhx+tMUgAKnzcGVM=; b=qBfcOv70IBIgnThOWI4H0fRLm14vj3NbH8lOzVc2awVIDra9DUtUfuUdIdhtMP1WihgH/hvUprIhvRTsitEqQVdp6uVumRY761vcSr+BN8RDAz0BJIBSkXHEiU1naGKYD6JaRUeo+5hPSoOWqMK+9O+0AP/YiGcfqExCWhV0qc8su7/D+/IIlcvJO31IOnyHDCEEZ/sTG3QwPAGNGgudedavGN3UXrG5SRXFBG+nUzoIzpEDtebWdwMGzYZ9KTqW8TMSQnrBxh0jRLYKUH+WFKjxRbXUZfHcSzfToimkpelAp9tlmnvrwVZVd1ZO5FoU+Svz3WbAN84E50tkZBOQeA== 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=k1NyyfPAuD/+Fm/pQ/trRmc2QwEHhx+tMUgAKnzcGVM=; b=bjwSVdso8LW3UJ6/gaDS0nNNg8Ipm78744yPCrdqlKowweMU6aypNPxcSWDMawcMP6/fDp+Y4JP9LzY0alSBmPcs8A/bzk+kuM/o8Q/NAa6n9T7es6Elhg7it2fdmxU0Gi9ciRJ4NJ1n+RtMvoETScZwiowoeqqtCKJVM0oSLDI= Original-Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24) by BY5PR10MB4305.namprd10.prod.outlook.com (2603:10b6:a03:20e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.14; Fri, 29 Nov 2024 02:36:10 +0000 Original-Received: from DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324%5]) with mapi id 15.20.8207.010; Fri, 29 Nov 2024 02:36:10 +0000 Thread-Topic: [External] : bug#74561: [PATCH] Allow limiting the size of *Completions* Thread-Index: AQHbQcS+icG8r2tUyEKr/0KnFSCsQbLNixPQ In-Reply-To: <877c8n45tg.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|BY5PR10MB4305:EE_ x-ms-office365-filtering-correlation-id: 0d839099-06b0-456c-8e89-08dd101e95aa x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: /K+Ju20iYez6za1On/pWilSGtakjUpBKTJGVhBpAUH8R0ZCncgNJharFY5WACZoADYwkxzhO0rEm9J5i1kWUOFgwx7VH1oCjXB5av3rQs3fH7Comig9r7Z+jOujMTmOnBAhtHQ0igfmO7Nwadb9WGvlMHUzd1oZBXgVbijKBUkgHOCK6U++6OtrC9DYrYKlt4gnVVM2LtGUCHZqknWt7+fU6uGWCFl/w8p5zR1xEveh2aEn6ZuvpKo0XMmfufL3Y5+MtgKxy7blMVPHlsaoSg9VubdujgCEq6NhWJMSVsjRXBe35HsE5ZC2OZRRyf7zx8Zi4ErLQoO1DwBdvJ9jpKELpOy4ovoCi0bG+SH3kwPZmuI1uiykycu8uFfhskYP9bTaCCns4mrjQ8O7tVcAayxVO7NUHtvSKx3JdbjyIP2gpbwP/eVXpvLSmVCKWgnr7orCL3dtrVfp/5/LUZ27ON+KAE9mkibzkle3pBv7YyzKr9t6mG0tZ4Vmqabsu5RDhUMKWqP4k8NshtbePFUxQIcvjtDPQVK112dGP/1mhLOUTnX266IWkM69iBtQmeoug+8S1nROMD4EzmY9KOaVgi7Wm8sn8ck/zBnDmRBbnoL7aixFEehLLIjmk1jWktWTjWUZsUa/XWglG4NyFijQQqbh1NKikihUWsPuUWX5wre32mBsskCwSvGjqv69lg2WBWdvH8XjqnkJ70vhqppJmNfzDfKE9BGggxgT006x4BwoGjJFZo2NQKxU3IN4G8 COohtCuTXGUgcBlKdeM0pBGrDUBII3f+evV7RN/8f0BQLNqHz92KxIApWWeRitefpLeaohMULRUY9FFCMpD9zOIxmqf1Den+nZ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 4iYK5BeFggfEaPYbhLjt4PWhY8nX6LFx4hg2BLj9ay8nwA9fjPcDm35PfAh2vauYEYOZPK+D2obVPTBWHx49X8B4ya+m75FoG6nQARmIzhkV9p0VbHGEZlDJjB72z+NZUPwJHrH7zvryFn02Jc2JtxBmmGyx+1rbM/LZYgmmQWTHfEfKAFmwY6KK02IgzUZoTEyPyy5miNLQok9iq51M4Mnq4st0pG4e0VEBlT2uEGEX8SRLcAdTrIErzUIuA/0nffZl/eOqObQPhucBA1vOthdRi9lu0jEe8jVht4+6WtTULApqJer72tZKpZwZmjxbbIRs/AzCx3RrR9fHEzWCp+zsLOuY3rPudfxb3luY+yIKaw54ojHOc1iljt+frOQHXP11o/Ci33wFY1JSn+DmKytliBsdV7nzsj3DpCHIwmdon3MpNxDbiNuIy4Pg2j7nKZ33a8qahPA6Zt4vTCBkH7yxnaa070lNaIA+drP1T4nt03M7/DwAyW4AFJAUi2jGxOuyVID/RXxNR+QgHCiQKzBKjh3KPvWQ7pnibkF2spOoYUqHo2jttVsmCP9HDQBaelN8Bcxh7OLLE5QsGiwRl0ZhXJVhyORrBpnMcsUO71m8PM5hGasUozWa/3Udi4uHuRG0ljVx3s/Ofsjum60JEyRZsUK0rK/WDri+iaGd4ZDDfGunR9wIr8huKMLMzQ28p6KD8Gt2Ujra3f70iK5sDxEA13RpT8q5oz0f3Ty25/qA++icW56+jEWsdB fR3UQTGyxx/TuymFRphSTPuxn8dL6b/G/EQ0P3qAkLqM6iFZV/LJ2o81BP9Q1Y+4Jm8Yv8KksCmwerD+n0Sy9GSH42a3a83p7x X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Cq/OgxqHP9Iy1UnQz8iNVVOejVafrVKZ42O446oBpPmsuOYd7ksPkZjS9jyfah7w5p/ZzdwtTBhfkYpptF7gIP9rmvJiPDnN630oe62tqFwqiRvd+FExll9YEOQOsW+KLRD3C7n6yWA+RdoQcCNIGBr4mr7N+LWP+TZrga6eoyNR/rQpB6qJPd89mgu6w6LIHRurda8x64FhK45pUQ1YXJiGdMwE3l1conRLVfVC7h//4l/joVUElhZLSUx/6ChCFBRjzo2K69dwvbozI3IaBJXjnqmm25YrbyNswPUct/HN3PDZgJqrxkGfIqTHB4YHzWkPrtE71lgx/fzCKxjAHn0cGFX/Y9mjamhIwaL5KSmqZIjEOh/iQFAqJH471kCmyjUuVSRgLu+qIVCfLmN9+tLMoX5wDsiQ/y5nkRvam1R6iUFvTdVKPwAvCdBOtOzWunywCyELkkC4b9oSX9+1XhA5X+6D4T6AwDqa+Wa6jvhvjvTiy9BPH9LPoZy6GiXAMXdgtbLKFxMbOZ5m5tOsJj+RGZNNQopUGjgX+Xg6AJ5p4toVleL8l35P/I99Byxdq6aRDPI9LRFZjOsFLNRxbLodjIa9jB2Mqi4FWQgCHLc= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d839099-06b0-456c-8e89-08dd101e95aa X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2024 02:36:10.2342 (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: JyceyguH9QnGrOgq2Wih0b3kPjK0Z/qxq5AS3rMEHINhN/Hf+68hl2b2guCYt3kOKx8YIipzlw+fi9FW7lxveA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR10MB4305 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2024-11-29_01,2024-11-28_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 phishscore=0 bulkscore=0 adultscore=0 suspectscore=0 malwarescore=0 mlxlogscore=942 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2411120000 definitions=main-2411290019 X-Proofpoint-GUID: i4q_p1fWEnt--L9WkVoq13uv3XwtkWIY X-Proofpoint-ORIG-GUID: i4q_p1fWEnt--L9WkVoq13uv3XwtkWIY X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296071 Archived-At: > > +(defcustom completions-list-max 10000 > > + "Maximum number of completions for `minibuffer-completion-help' to > list. >=20 > 10000 is too small default value. I often use 'C-x 8 RET TAB' > to browse the full list of 50866 Unicode characters > and use Isearch to find a character by name. And it's quite fast - > usually takes only 1-2 seconds to show the completion list. Why have a count as default? The option I have (`icicle-max-candidates') has default value `nil', meaning there's no limit by default.