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.bugs Subject: bug#64656: 29.0.91; Doc of minibuffer histories and completing-read - automatic addition of completions to DEFAULT list Date: Sun, 29 Oct 2023 22:15:10 +0000 Message-ID: References: <83y1jga0nr.fsf@gnu.org> <83o7kb9a40.fsf@gnu.org> <86bkg84de3.fsf@mail.linkov.net> <86jzrhlrub.fsf_-_@mail.linkov.net> <86h6m9v1sx.fsf@mail.linkov.net> 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="8381"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , "64656@debbugs.gnu.org" <64656@debbugs.gnu.org> To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 29 23:16:26 2023 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 1qxE52-0001zw-PG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Oct 2023 23:16:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxE4O-0002B4-6P; Sun, 29 Oct 2023 18:15:44 -0400 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 1qxE49-00028C-6v for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2023 18:15:29 -0400 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 1qxE48-0001u3-V4 for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2023 18:15:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxE4f-0005sv-MW for bug-gnu-emacs@gnu.org; Sun, 29 Oct 2023 18:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Oct 2023 22:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64656 X-GNU-PR-Package: emacs Original-Received: via spool by 64656-submit@debbugs.gnu.org id=B64656.169861775422604 (code B ref 64656); Sun, 29 Oct 2023 22:16:01 +0000 Original-Received: (at 64656) by debbugs.gnu.org; 29 Oct 2023 22:15:54 +0000 Original-Received: from localhost ([127.0.0.1]:43979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxE4X-0005sV-TC for submit@debbugs.gnu.org; Sun, 29 Oct 2023 18:15:54 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:16994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxE4V-0005sM-HJ for 64656@debbugs.gnu.org; Sun, 29 Oct 2023 18:15:52 -0400 Original-Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39TLGFWN025473; Sun, 29 Oct 2023 22:15:17 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-2023-03-30; bh=IXChl4StjMehsaG8CwXGrKBobUelrw5hw3qumzPsOjE=; b=Osm87c24HTIQ2Lr3U7orqS9tom6rFy/pMbuIyapiG/aloKH+QA30RNl5TjKTD6rHp+s1 6TtKS4lEzOzupM3Pi44bVLZhccUa1UnsCvc2Zqh/yfBlhrkS8xlpQkrux/9Ypm438w05 TYnPV0QK35Y+L+/4dOGtfICaT5nzMr0xYXds7/GZlcWAI5ZEiEbuaTnLchUWY0jVRCue BMgjjKt2MArajY8DPugM3eiZ7mfYCfAxeVA7n2SPBmuBbO/14U9ti8CKZEsBuAs1xBcD TRS6zP+Lfgly7o71PO9VpVA0rZjYU0DhEqMLtwN7HAq7d2LfMspGr3te3K1YzAo+PBQz GQ== 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 3u0tbdhjuk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 29 Oct 2023 22:15:17 +0000 Original-Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 39TLx0q3029441; Sun, 29 Oct 2023 22:15:15 GMT Original-Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2041.outbound.protection.outlook.com [104.47.66.41]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3u0rr3w18e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 29 Oct 2023 22:15:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hBUtV9uMUUgq4Cm6bRMUrcGmc687YmOtmVz/c3eR86aGha7EUMqd3R42MXhCPylqO1ryCRCcKP/T1FJnP3dHg82eAyLLjeOEGczl5HMTCydFRm+R7EKOiftWkMtsSHsUpi+cDL2NOeK6/oUwKHVtmoFARJChqBHm2ERhxMKGO3B6uXtYH4Jdjh23t9soPDdj6+brCc3n9WKWutX2jAqAnzvU6WHCmtx+Y1oIb5077A3RVRfbfzAc9d+wmBBBPHM0bXSp5LXYgX/M44o/DQzOGLJg7MUEJUqVPgDeZ7yQWkff7QWWLTj92PhDJWbldUGMRXXz00zQ6Ie+VR4BCTbVvw== 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=IXChl4StjMehsaG8CwXGrKBobUelrw5hw3qumzPsOjE=; b=YOZAJ91bWk4FUpnAcVPOsIOEC6YUfbxHGAFFqbdnmiBwUS1SkswEQifWuGxPcXPpC4D6N78a27DSTB4tEbtk/zSn/zvMEUlCSoMt+smgcqcbI+c/6PXLok+tNiP/+2WvUjbFJOZQcSDe3RN3aUsRaHyKrmluKV6FmRGtfXVL8nDdk7ldsBRgysCS9o6ip0tqOcKm6O7+RlmkUMbuiOtvXtN1BOS+6J9Icz0xnPyI9HCyAlFCpOkklZcTqj+BwDZhxk9RtXhzEM7563nBq1dVPQuGTdoRnObfimiFWWfgtsGLQAND9QZiYjZcourF+cDu1Ae15lixdzGtpH3MPXTf4Q== 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=IXChl4StjMehsaG8CwXGrKBobUelrw5hw3qumzPsOjE=; b=lC0+PlVeib8fHf+t4XTA/0cpKnKYo52Q3OUh/IrOcON3WvphO8snLDlFmKpSLaqfTzb23Lb8KBJOKipYDnHoGBFF7kR8dy8SoUsskbRw5+NdtG2qpfRy9nhO8hXc53a1pjW5xBI/Jx23iCzbSkQqYe9rilvl8LeknLZGdTwYo0w= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by DM6PR10MB4332.namprd10.prod.outlook.com (2603:10b6:5:220::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.24; Sun, 29 Oct 2023 22:15:12 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::9e11:9d8c:b7f4:f45b]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::9e11:9d8c:b7f4:f45b%6]) with mapi id 15.20.6907.032; Sun, 29 Oct 2023 22:15:10 +0000 Thread-Topic: [External] : Re: bug#64656: 29.0.91; Doc of minibuffer histories and completing-read - automatic addition of completions to DEFAULT list Thread-Index: AQHaCpfChZLIzYuIwEGEXXJEmwe/xbBhUGCg In-Reply-To: <86h6m9v1sx.fsf@mail.linkov.net> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|DM6PR10MB4332:EE_ x-ms-office365-filtering-correlation-id: b0a4ab9f-c20a-4688-5799-08dbd8cc8422 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yfaDT5nWflt7l1mE9ylrE9/r92+jg0M+YB2R5sn08IB/h20SVohvA7oLmTJ+Gdzht41H04Yokj013Elg++6Gq/UOPRg6m7yn+cK9YLgUqnt9Sw550GZZhs1HqEh55xWTgiDMSW7BkSqn+kNMnreQazYeg4/9WbJn3iwyjrMosVtgXy7VFImKR5C0O4gZguRSo+oRktbfWEPUx61qI/Oba2lTMXTabJDMZlmAgkmtVXXLZAub1+ViBqsmxkETd63jhHUS0I/7WhDNrkyaURu4t0K8u4CyUUQ4RELM88A1a+OvjDQhxe7Syx8gezoxORipMJkCdNWFpSV6d73klJHYWchxV4n+azkKluhyp2mqqqGVnool8AZjF9gg851e6GuLe4cawxWM5sLNL11t3QZUOwdfDPxdqW2YuuIRj6JdXGJ550p+CQBRMjhNdv6HQuAF5+VoHcge3KeF8rTSOIN+k18f/oR21eE4yjCZg3AHudwNztjpFOwq65AjkgDuEs88FyRn5Fj2wdFuXZiHRo9mhvevTDz4OQNIbqxuhbb8FpDamoL7Xbu2hohcGftG5322rxfiI0wNIur2N0z6eWyUAjhFnCLLaDieGUXU/4vWwkxuT/+IXAh4rX2u1i5si8TqW7UB7H3WGf5YcH5lPOCAnQ== 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:(13230031)(376002)(346002)(366004)(396003)(39860400002)(136003)(230922051799003)(64100799003)(451199024)(186009)(1800799009)(5660300002)(52536014)(8936002)(4326008)(8676002)(55016003)(86362001)(41300700001)(33656002)(2906002)(44832011)(6506007)(38070700009)(9686003)(71200400001)(122000001)(26005)(966005)(83380400001)(478600001)(7696005)(38100700002)(76116006)(66476007)(66946007)(316002)(54906003)(64756008)(66556008)(66446008)(6916009)(16193025007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: J96+HKRE7g9hf0lp29/B062SFrHITWEAjL7wYD+ydIOt4gGjwZfhoIEZDVFjELwrckL87cWSeFT+w2pfgZk+J/YhcngcwWjWkAeibVYkqa+re+xWtFpXsutZGQf3v8mXD79mzVY9nMw9dJEesMTA2FFQBVMRO2aE0gvB6aE2iHoVuBnDjIjmIFPxN4P+pPWG6Pcjt0kaTZi5DzSwXBR2P1TJlVKjhBl8VYikQzG2EoLp8Y2cZY//gWmPs5+EsHYeK5AqurRFkP8m1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OKLj740HVBNOCFmqA+eVSaUdW04oSt7ILuV9PbFAyDar1axLpFvL9vg50EwvkUuGmXDpWXynWbYK/0JpIqzKXpJbxOF2hp9l1OyEMTq4m/2gAsusVEAfGAMxewHLqP0hd+yKMRVUUK0MEwJKR/aHyxNj/u3lSPu3ktZt5LAESp5H8HAx1DX6GAUXRHBtp0nJzdBNNaYS70uoo3v8Qn26ZNiOTjwxZu+dLL1aBzthZ5p+9q3O9Lij37ltVJhybRXEdEx5Rvqx2oCNrvAMDsPd9T2UhDFwfg21p9qvV79CDVukFQdaox9PeR3oqSGmoctrFhQyQKQUAJpwKje4yjpQb8oDH CAdmC6cOmNVeFR2Wf1iw4qyzNTsovEYycgxWs0J7Lj8EE1ZphkT73MOt6Rb6YP/LgSYHtlDsHi2aNfnPIA 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: b0a4ab9f-c20a-4688-5799-08dbd8cc8422 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Oct 2023 22:15:10.4325 (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: cdGtRRSMHQm19fJ5a6ZI0FpKIhZbwY0fuBkge3r738w+xqltKyvhotRQwtjODvY7OvnfOP00Y/CPtOShCUttMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4332 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-29_12,2023-10-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=498 suspectscore=0 malwarescore=0 phishscore=0 spamscore=0 adultscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2310290190 X-Proofpoint-GUID: 5pNhft47AkVNKlvPaGJP_M3T11pJ4ltb X-Proofpoint-ORIG-GUID: 5pNhft47AkVNKlvPaGJP_M3T11pJ4ltb 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:273533 Archived-At: > > Pull this misfeature out of Emacs; it > > never should have been added (and IIRC > > that was done without any discussion?). >=20 > This feature was removed by bug#5214 and bug#5364, > then later added back by the request in bug#12490 > where you participated and raised no objections. Seriously? The only "participation" I had in bug #12490 was to say that "We should never bind `C-s' in the minibuffer to anything. We shouldn't remove the ability to use Isearch there (using the global `C-s' binding)." I said nothing there about any question of jamming the completion domain (initial candidates) into the `M-n' queue. I had no idea that was going on. That wasn't the subject of bug #12490, at all! And looking now, I really don't see that it has anything to do with that thread - or with bugs #5214 and #5364. So I don't see what you're on about, here. That someone might have abused bug report #12490 to do what you say is news to me (and it's not kosher IMO). I no doubt did not follow that particular bug thread with a fine-tooth comb. If that was done then it snuck by me, I guess. But I certainly have voiced my opposition to stuffing the `M-n' queue with the completion domain. Multiple times, and likely in multiple threads. I wasn't aware that this purposeful regression was reverted in bug threads #5214 and #5364. I didn't participate in either of those threads, and was no doubt unaware that they had anything to do with this problem. And I don't even see that what you say happened. In bug #12490 I see you say this, at the outset, in reply to OP's complaint that he could no longer _search in the minibuffer_: > I want to report, that most used function stop working in Emacs 24 > (tested 2 versions 24.1.1 and latest 24.2.1). I use Search in > Mini buffer a lot (don't know if people use it or not). If you call > search C-s when inside minibuffer like C-h f C-s you can search the > content of Minibuffer like search for functions or for buffer name to > switch like C-x b C-s (better then ido mode). And in Emacs 24 M-x C-s > stop working so I you can't search for interactive function to execute > anymore. It was working in 23.3 provided by Ubuntu (package > 23.3+1-1ubuntu4). Sorry, this feature has been removed by http://debbugs.gnu.org/5214 and http://debbugs.gnu.org/5364 But it's easy to restore it with a simple patch that prepends the current default value (a command at point) to the sorted list of all available command names: And even that doesn't seem to have much, if anything, to do with adding all of the initial completions to the `M-n' queue. So I really don't follow you, here. To be very clear, I'm opposed to the misfeature of automatically jamming the initial completions onto the `M-n' queue. We have arg DEFAULTS for that. Callers of `completing-read' etc. can provide exactly the list of DEFAULTS they want to prepend to the `M-n' queue. Don't remove programmer (and user) control by smothering `M-n' with the completion candidates. Please pull this misfeature out.