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#15735: [External] : Re: bug#15735: locate-file-completion-table should not accept incomplete input Date: Sun, 6 Feb 2022 00:29:27 +0000 Message-ID: References: <754381f4-27c1-4468-a12c-e029f5fa078b@default> <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> <87h79cao52.fsf_-_@gnus.org> <87fsow7sq7.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="14230"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , "15735@debbugs.gnu.org" <15735@debbugs.gnu.org> To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 06 01:30:24 2022 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 1nGVRg-0003Xb-0Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 01:30:24 +0100 Original-Received: from localhost ([::1]:53170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGVRf-0003wM-21 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Feb 2022 19:30:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGVRK-0003vy-OX for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 19:30:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGVRK-0002TT-Ea for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 19:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGVRK-0007M6-6q for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 19:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Feb 2022 00:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15735 X-GNU-PR-Package: emacs Original-Received: via spool by 15735-submit@debbugs.gnu.org id=B15735.164410737328219 (code B ref 15735); Sun, 06 Feb 2022 00:30:02 +0000 Original-Received: (at 15735) by debbugs.gnu.org; 6 Feb 2022 00:29:33 +0000 Original-Received: from localhost ([127.0.0.1]:36009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGVQr-0007L5-85 for submit@debbugs.gnu.org; Sat, 05 Feb 2022 19:29:33 -0500 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:28926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGVQq-0007Kw-3p for 15735@debbugs.gnu.org; Sat, 05 Feb 2022 19:29:32 -0500 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 215Ji2E5007379; Sun, 6 Feb 2022 00:29:31 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=fsqBFnKhyFZGTWc0uG1otJ3vaYaa1JCRG/dxoxhsNGM=; b=iZmiYyuDeEq0+Oi6ETCK5D31ej0sNEsnwTIOwxDsOn8Nr2y5qdyEJkpM+C6wSYiwNEa8 tsesesH5eaiA1+0qsWnJyqt26EYcCh9GWkmvemeX55gk95Aixyp+1ja+Ygm/ETlTC182 p22SLOxyoZ01bav5m3Noy2jhXYE7yHAjeAO4ywUZP+laYQj8sVnS/ftQDCuG0dPb7p0U f6aqh5RftjDPIOkG+exZPNbp1IbtSYjw9OXEyyykFGLfRQQq72/3GhNABLc1XUlVA3K7 pcgBTCeiEPoHInHQHnQ+vsPAs0evM2h7c0GTSZXy54zJ3dDLftkaXUDFsm8bE+QU0uQm zQ== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3e1gussw2b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 06 Feb 2022 00:29:30 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 2160G8ca106177; Sun, 6 Feb 2022 00:29:29 GMT Original-Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2045.outbound.protection.outlook.com [104.47.66.45]) by userp3020.oracle.com with ESMTP id 3e1jpk1vds-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 06 Feb 2022 00:29:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cHyixWLvGF/7ojaNkzci2A+jUZ9sf+GffQUs0WeQpzjv3fQQB5cjWKrA29p28zfO37JBUORpRB2weWqRocEj6APleSzMGnyadObn85wCZT4BdqowfW376FarnIxjnV58A2mMbnSsrw35rqYEfRUibrNnp4KKj52JsPgIEDpS4DlNHXeiy6DAuhjqU7uxeJCAXjyFT8yrD9+HQY2ACGveTl+ZJZ430/7bYOaBpSBDCOX/8QR4UBvwej0EDp4TQw7oLVFtiUOZRkofsb7RExoHo1RDynUleHZaxbJY0XHB0jjf7KSbuWlGrZBhYsaWFJNO5i7mUvDIrjevW7GaO8PH2Q== 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=fsqBFnKhyFZGTWc0uG1otJ3vaYaa1JCRG/dxoxhsNGM=; b=A8OpbWMH/h9kYy0H4C7rVrSWg3h6rn4d5r1cYlZ7TMqVKIZIiMrrQsqu7XMMkjYwMr+4SRYz3HjmnYbHh4uI5DmXJ/Rib9EHSx8pc7ChTKwiN7ciVvQwyXAHuHwAi9b1Su0U926Dg3icNAJclrhBkJYG6VyPOLCKnbUsDnoemS4G0Ze05vUSZioJXneoAOMrHRYKmsr5k4c05I/32ybgyabUILbEkPVHcnM9S1pQUCK2675FKITxbUndmXxcHxSi0e+a5iIUl6slaSVq+7LPtnTpiUXwiTP40woht5SXmIIx9TJpHdrgfiLXxeesvM3Ihko1nBnHSqBWLwkjM0QY8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=fsqBFnKhyFZGTWc0uG1otJ3vaYaa1JCRG/dxoxhsNGM=; b=oQjaKzVf6K9JVN8/x2bEdBsq//e6bur2gz3pUlFYU41dgNdPUqvk6ozNbBEEYpbxHLJ+bfwYo8kI0xg3s1DzQk6H469F0Dx3DYL2QF/z6Ff/cq0+MQHlN1mc6GFUX0Y9ULutpS/i9WBa/CkNEzFD96Zh3zSZIMQYypFh7ofMuc0= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BYAPR10MB2533.namprd10.prod.outlook.com (2603:10b6:a02:b4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.16; Sun, 6 Feb 2022 00:29:27 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3%7]) with mapi id 15.20.4951.018; Sun, 6 Feb 2022 00:29:27 +0000 Thread-Topic: [External] : Re: bug#15735: locate-file-completion-table should not accept incomplete input Thread-Index: AQHYGug8ldA00Rhur0OKUqkU/+JW1ayFp8cQgAAAlxSAAAGXgA== In-Reply-To: <87fsow7sq7.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9055b5d1-8279-4e06-9465-08d9e907bbb0 x-ms-traffictypediagnostic: BYAPR10MB2533:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JGju1tO3wokbl5J+d/xkrj4n20J/9y3WnK7RZCG7hJvlzinggPs70YWcDkBdaD6nYU8uDKxHvaEZ7Gy6bO4ZVGuEnOLWKYrX5M6IDFpLDXSjN0P4frnkrBhRGTDAkMPHlueBOMUGKl6haxTwA2ZX0T09wYScGXJOranNPwGO4f08qyXogta2XuLQY28a2jpkcBCQYLZp4JwKim2PCpJGSRe4gpwrNZPKuo2Gy/ob8EM9SWdJgxEX0Ry7SjiZXMqwKHDUx7LSlHuLtURu4wTPrEtfGZFxP8mymKOwjrL5rNMgIJg82Yg0DHVgGr6hJCy/VcrFxNgGrMCXOSEXrA32sbaozJXE+6nm/QcTcS0xu9IJKoSM1ohu+P3msumwGWGatSUHK+gzse0bpOxMSUfHZErTo6p/QFQ4w5fN2L/0QIqPRXre73vRs88Yy4RFGo1MR5+AEJs65t6Fu+WQ6ZJnRTzC3pM1N0+36cwapaBCQoVm0sTufddjTTnrC575+Y/z2SzVMZxFYqvc5U3l8f7ACmlGaCQ3K/w94PxfdKKA/6qaVBVQwY6ym/4uR05fUtyscDxT2hkFPuT7IAej7LsHOJW2oAk95sRiyC9D44KRxGo5/RAlXiG9CnCHsW4nBuw+81DtCdTVAzeHG54XtAWA9E7IDA64WFKcnPt9FcTkXkjfHaLzSOddMD7PthuxM8lWyjOYfeizxZaugQSWtDVNOQ== 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)(76116006)(86362001)(54906003)(66946007)(64756008)(8676002)(66556008)(66446008)(66476007)(8936002)(33656002)(508600001)(38100700002)(55016003)(44832011)(52536014)(26005)(71200400001)(38070700005)(2906002)(5660300002)(6916009)(122000001)(4326008)(186003)(316002)(6506007)(9686003)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: qixcbtl4jCa5v7O/tdTsuPdG1V8SMJBLaFbeK4eMNi2FziOMDq+/+0Yp4DKhX32w2Yee9lvx/7apzLT2VOfvUJ91PPOROCHJCKbcQy1LESZaz/16fui2ZrT/+Qlng6lTXVMIiF3yD0FMU3R6i3tJJtSYUqfiP+B0It6aumqgzFiMNbTAwtfaVkTLK0m62mm3LPB9jDhnQ+NnsFYdBrGONLiYSh6yiKWzMr7Om1w0w/jucElmuHaTng+AoIu9ex0cgGhWqLGd6gwXTiWwL0Jm1TcFGu/R/CZQ7tXsi62sDWu10EGSkNJUGhZeVtWH0X9nu+1BVXivxMvVkZEJmtTqI8tfnlFJhfHXgmmf4zyCkyT4+6LwPYUvFmuT3QxNP2BLf/d4k+ODcGrxn3phYOJTBiSxCe6ZUbS/eKcpwhphVOCLOLmvju3eeFbiGE60PNRDfI5OTTcP0lmLim8NyS5J3kjWmX3cxf04l48p9cihZm4mIEwxBQO2AQ9aQQNAeAtxYkhrkeWKtq6fgQEgH3mHYJZlHZ9Xwbpp+LFpOKiMYrljWkNu9us1VUuPE894sV/oCrOmxK+xymJ74noxb3kar1a48x0/D8nBCD4R20gwQkLSwb0HtRtjRVrFZl9gkDCIctR13GdAApUi9ZoEXea6qwyjq74ztXxDuBd3An6DYFKvaok8SEp6PnDLjRdOu9MyQ3woOF2rKvPV+BKMzcQrBvbzJSMzMBcakOEIRIOBVkWKbfffJaGM4P+Jeg tJFDmp3qXEcRjGveIRnw8ICOPYUnCqBaTW9EPxPegpwYntoMzIiLS4pnbcnbhk8TqFglTT35IbZmDFMn58ZczKLzUmyNrbYDaX 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: 9055b5d1-8279-4e06-9465-08d9e907bbb0 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2022 00:29:27.1653 (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: LmxZrQMosVVvnP1sAPyeRZOp/Cft/DzfYF3Q4uA25rcUijz58ckn4tvg5PxuWRDl7IuD0JlzIBgg0SH71J15gA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB2533 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10249 signatures=673430 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 mlxscore=0 bulkscore=0 malwarescore=0 suspectscore=0 phishscore=0 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202060000 X-Proofpoint-ORIG-GUID: SUL8cMEaaysPwNhVbul5d11UUQ18Ji-P X-Proofpoint-GUID: SUL8cMEaaysPwNhVbul5d11UUQ18Ji-P 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" Xref: news.gmane.io gmane.emacs.bugs:226123 Archived-At: > >> I've now introduced a new user option find-library-include-other-files > >> in Emacs 29 that makes `read-library-name' (and therefore > >> `find-library') behave differently -- if set to nil, it'll offer > >> completion over library files and nothing else. > > > > Thanks. But what's the default behavior, nil or non-nil? >=20 > Non-nil. So we're back to Square 1. Guess this should be filed under "won't fix" instead of "done". Instead of fixing it, e.g. as Stefan indicated, you chose to give users an option to fix it themselves, but the default value of the option doesn't fix it for them. da> It would make more sense to me if RET at this da> point did what I expected a second TAB to do: da> tell you there are no completions (beyond the da> directory name), but not exit the minibuffer. sm> Yes, that makes sense. Indeed, there's a problem in the completion sys= tem: we don't distinguish between a valid input and a completion candidate.= "ess-5.3.10/" is a valid completion candidate, but is not a valid input. sm> IIRC there are cases where the completion primitives make it difficult = to enforce this distinction (e.g. when we provide a predicate, where it can= be OK to ignore the predicate on intermediate completions like "ess-5.3.10= /"), but in the case of load-library's completion, it should be fixable wit= hout too much trouble.